First time here? Check out the FAQ!

Ask Your Question
0

search object in video opencv

asked May 5 '13

ryodo gravatar image

my problem I want to get an object in a video stream

Example: I want my cam either start once I pass a pen I want the system tells me that this is a pen if I switch my phone I want the system tell me that the phone

Preview: (hide)

Comments

Please stick to this forum for your problems about openCV. French isn't my mother tongue, so emails stating extra problems are NOT wanted on my work email. I have deleted your request by email and will continue to do so in the future. I keep my OpenCV activities restricted to this forum only.

StevenPuttemans gravatar imageStevenPuttemans (May 7 '13)edit

2 answers

Sort by » oldest newest most voted
3

answered May 7 '13

Everything you need is here: replace face by pen and eyes by phone. You could also try Local Binary Patterns which are faster and maybe easiest to train... Nevertheless, you need many true positive of your objects and false positive (images of everything that are neither pen or phone). You could also try Machine Learning algorithms included in OpenCV here, but you always need many images of your objects.

Preview: (hide)

Comments

3

As an addition to this, if you are going to use a pen or phone in all possible orientations / scales, be prepared to get a gigantic data set and to actually train multiple models for different orientations. Or rotate image in steps and perform detection on that is also a way to go. Never try to include all orientations into a single model, it will create a poor model that works almost never (got this from experience)

StevenPuttemans gravatar imageStevenPuttemans (May 7 '13)edit
0

answered Jun 2 '13

ryodo gravatar image

Thank you for your reply but I did not understand how to use it is that I should create an xml file for each object (phone, pen)?

Preview: (hide)

Question Tools

Stats

Asked: May 5 '13

Seen: 430 times

Last updated: Jun 02 '13