Ask Your Question
0

Color and Shape tracking question, please help.

asked 2014-02-12 09:00:55 -0600

john1991 gravatar image

updated 2014-02-12 09:01:50 -0600

berak gravatar image

I am trying to integrate a color detection code and a shape detection code into one, so instead of tracking the shape or color of a particular object, I would like to track both shape and color of the object using one code. is this achievable?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
1

answered 2014-02-17 02:54:06 -0600

prakharmohan gravatar image

Here is a blog post on that which might help you.

For shape detection you can use simple things like extracting features like edges, regions, textures, contours etc.

For color detection you can access the Scalar information of the image and then use it to detect whichever color you want and even decide the threshold.

And yes, as far as I know, both can be one simultaneously although the final program might be computationally expensive. Hope this helps :)

edit flag offensive delete link more

Comments

If you think the answer helps you then please accept it too :)

prakharmohan gravatar imageprakharmohan ( 2014-02-17 21:40:55 -0600 )edit

Question Tools

Stats

Asked: 2014-02-12 09:00:55 -0600

Seen: 1,336 times

Last updated: Feb 17 '14