Sunday, April 22, 2012

Android-OpenCV Object-Tracking


Tracking a ping-pong ball using Android-OpenCV Library


source code:
svn co http://yus-repo.googlecode.com/svn/trunk/Android/apps/objtrack
* needs Android-NDK to build.
modify objtrack.cpp to detect other objects/colors


pre-built installer: Object-Track.apk
* only for Android phones with ARMv7-capable CPU and Gingerbread OS.

references:
OpenCV for Android (see Tutorial 2 Advanced - 1. Add Native OpenCV)
Tracking colored objects in OpenCV
Android-OpenCV Google-Group

##############################################
edit 05-05-12
interfacing the app to philrobokit-Anito board (observe the LEDs+buzzer states with respect to the ball position).

* Data are being transmitted via the usb2serial adapter (built-in to the kit) using android-serialport-api.

35 comments:

  1. Nice work could post more article about object tracking method
    i'm new Android developer and now i'm study about connecting your Object-Tracking with IOIO board.

    ReplyDelete
  2. download your files and ndk-build

    but not build..

    ndk-build help.....

    ReplyDelete
  3. hey mate, it is cool to see that works with robotics shield, though there are no motors to actually put that into actions. how about using an arduino uno and its motor shield and the motors make the phone runs onto front of the object, mate? that's like putting it in real application, beyond concept proving, mate

    ReplyDelete
  4. sir do you have a square detection code for opencv in android. i need it badly, please help me.Thanks!

    ReplyDelete
  5. This comment has been removed by the author.

    ReplyDelete
  6. hey dude can u please give me your contact info?? i have some queries about one of your project.it will be very helpful for me, i am gonna screw my final project otherwise

    ReplyDelete
  7. Hi! I work with engineering website EEWeb.com and would love to do an exchange of website links and feature you as a site of the day on EEWeb. Let me know if this is of interest to you! I can be reached at claire@eeweb.com.

    ReplyDelete
  8. ta are being transmitted via the usb2serial adapter Let me know if this is of interest to you!Billig WOW Gold
    World of Warcraft Gold Kaufen Billig

    ReplyDelete
  9. This is also quite easy to implement using the camera from an Android device, OpenCV for Android, and IOIO board; as shown here:

    http://youtu.be/IpGD7KBM4zA

    ReplyDelete
  10. How to get X and Y coordinates of tracked object ?

    ReplyDelete
  11. Caralase - Women's Clothing Online Store in USA. Shop latest trends apparels from our wide range of chevron maxi skirt dresses, sweaters, maxi, tops, skirts, shorts, jumpers, coats, pullovers, cardigans and more at best prices.

    ReplyDelete
  12. I wonder the source.. ㅠㅠ Could you show me the source..?

    ReplyDelete
  13. Hi,thanks for the tutorial Man you did great...is this still run on android studio now as it is made in eclipse.
    what are the steps to follow.
    if you/anyone just tells the steps to import in studio then it would be great help thanks BTW.

    ReplyDelete
  14. Excuse me ,What is this phone model?

    ReplyDelete
  15. Excuse me,what is this phone model?

    ReplyDelete
    Replies
    1. just download the apk into your mobile if its your mobile's CPU is supporting then it must show you output.
      I've used qmobile A30 to run the apk as the link is given above.Read the above content you will find these lines just download the apk file.And run it on your mobile.



      pre-built installer: Object-Track.apk
      * only for Android phones with ARMv7-capable CPU and Gingerbread OS.

      Delete
  16. Hi! I think the source code link is gone, can you fix itor send me the apkcode?? Thanks

    ReplyDelete
  17. Got the object tracking apk but the source code link is not working!!!
    Kindly updated it so everyone can it with the object tracking demo.

    Mobile apps development company in Indore

    ReplyDelete
  18. Thanks for taking the time to discuss this, I feel strongly about it and love learning more on this topic. If possible, as you gain expertise, would you mind updating your blog with extra information? It is extremely helpful for me.
    SEO Company in Bhopal

    ReplyDelete
  19. Thank You so much for this informative post. Thanks for sharing how you are doing it and I am sure a lot of people will be helped through the resource you shared. Take a look also at new technology in android development

    ReplyDelete
  20. Very Helpful Information
    https://gasagencydistributor.com/

    ReplyDelete
  21. Very educative!
    https://gasagency-dealership.in/

    ReplyDelete
  22. Interesting. Learnt alot
    https://lpgdealership.co.in/

    ReplyDelete
  23. I am so impacted
    https://lpgdistributor.in/

    ReplyDelete
  24. Wao! This is really impressive
    https://lpgvitarakchayanhelpline.in/

    ReplyDelete
  25. I’m glad to find another amazing app development blogger.

    on demand app development

    ReplyDelete
  26. very interesting , good job and thanks for sharing such a good information.
    recipe meal kit app development

    ReplyDelete
  27. Get Upto 90% Discount on Fastcomet Hosting Discount and Enjoy cloud hosting with 99.9% uptime.
    Get Upto 90% Discount on Hostarmada Discount and Enjoy cloud hosting with 99.9% uptime.

    ReplyDelete
  28. This comment has been removed by the author.

    ReplyDelete