[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y ] [Home]
4chanarchives logo
Hello Did anyone here work with SimpleCV before ? I've made
Images are sometimes not shown due to bandwidth/network limitations. Refreshing the page usually helps.

You are currently reading a thread in /g/ - Technology

Thread replies: 11
Thread images: 2
File: 1424966132517.jpg (164 KB, 620x849) Image search: [Google]
1424966132517.jpg
164 KB, 620x849
Hello
Did anyone here work with SimpleCV before ?
I've made a robot and equipped it with a camera.
I want to make it follow a certain object around.
For example if the object is to the left the robot should turn to the left to face it. If it's too far it should advance towards it and so on.
How do I go about detecting the position of the object on the image and its size. The size doesn't have to be exact, just enough to tell the robot to advance or go backwards
>>
>>54594382
Mine does never look this good.
>>
>>54594382
You do http://docs.opencv.org/2.4/doc/tutorials/imgproc/histograms/template_matching/template_matching.html

If the object is simple you can use Hough transform.

If you have a lot of photos of your object you can train classifier. This is the most universal approach.
>>
>>54596563
that's in C++, I've already implemented the communication using python.
>>
>>54596896
Don't be a babby http://opencv-python-tutroals.readthedocs.io/en/latest/py_tutorials/py_imgproc/py_template_matching/py_template_matching.html
>>
>>54597088
I think i'm better off with colour matching like following some ball of some colour
>>
>>54597171
Yup, this is the easiest. Ball following is commonly implemented via HSV color matching and locating the largest blob. Or even with plain RGB http://www.pyimagesearch.com/2015/09/14/ball-tracking-with-opencv/
>>
>>54597324
I'm using this
http://www.instructables.com/id/Raspberry-Pi-Ball-tracking/
I'm now stuck in identifying where the ball coordinates. I need them for the robot to go left or right forward or backwards. Any thoughts ?
>>
>>54597468
just google it
>>
>>54597586
like I haven't already
>>
File: large[1].png (450 KB, 600x626) Image search: [Google]
large[1].png
450 KB, 600x626
garlic bread
Thread replies: 11
Thread images: 2

banner
banner
[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y] [Home]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
If a post contains personal/copyrighted/illegal content you can contact me at [email protected] with that post and thread number and it will be removed as soon as possible.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com, send takedown notices to them.
This is a 4chan archive - all of the content originated from them. If you need IP information for a Poster - you need to contact them. This website shows only archived content.