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.

8 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