Color Based Object Tracking
Top Comments
All Comments (32)
-
Wow!
Pleace send my open source abysoft@mail.ru
Thank you!
-
yo hice algo parecido pero opencv
-
Write your own codes bitches.. Nice work!
-
I can't believe so many ppl want the code for this. It is exactly as battlezed98 states.
Determine your language, I like java in Netbeans, but it can be a bit slow.
Google a method to import an image (or video), so that you have access to each pixel, in each frame.
Now, split each pixel in to components (RGB), or grayscale the image.
Then you can filter (median?), threshold, blob detect (grass-fire, or sequencial), and do whatever once you've found your object, paint and export to whereever.
-
very beautiful!!!
Please send me the source code? i need it very much
amanymohamed80@yahoo.com
-
can u post the source code? how did u get the coordinates?
-
if u dun even to share the code, can u reply which framework u use it to get the image position and size ? I think that sharing can't make u problem!!!
Thanks
-
Nice movie !
Please share this movie's source code.
waajhjj@nate.com
plz share source code
bigboysbang 2 years ago 9
this uses matlab...u first take the green matrix from the RGB matrix,then threshold it to get a pure black and white image.then select the largest white blob which in this case is the ball n plots the center of the blob.hope this helped.i went 1 step ahead n divided the screen into a grid of 9 parts.then the camera determines in which grid the center of the blob is in and then 2 axis stepper motors attempt to bring it to the center of the center grid.hence the camera effectively follows the ball
battlezed98 2 years ago 5