Ask Your Question

Find object in video

asked 2015-11-29 12:15:08 -0600

asdhjk gravatar image

Hi everybody I work about videos and I wote a code for finding eyes and face It is succesfully but I want to find another object in video For instance blue shoes There is a video and I should blue shoes and how many blue shoes But I dont know how ı can do it Any advice or any example Thanks advice

edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted

answered 2016-07-06 07:25:06 -0600

You could create a HAAR or LPB cascade for blue shoes using the opencv_traincascade application. You will need to collect images of those shoes from a couple of different angles and place them in pictures of different environments. You also need a lot of pictures without the shoes in them as negatives. I would suggest trying LPB cascades first, as they use integers and training can be fully parallelized, making it a lot faster than training a HAAR cascade which uses floats and is largely single threaded. You can find a tutorial on the training process here:

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2015-11-29 12:15:08 -0600

Seen: 288 times

Last updated: Nov 29 '15