Ask Your Question

Is it possible to detect an object from a video Stream

asked 2018-05-07 09:49:30 -0500

ram992 gravatar image

Hello, I am developing a project in which I need to detect a specific object in the video stream that is supplied to my video player. Is it possible with openCV, if so any source on how to do this.

edit retag flag offensive close merge delete



sorry to say so, but your question is far too broad to be answered. please be more explicit, about what you're trying to achieve. (also, please do some research on your own !)

berak gravatar imageberak ( 2018-05-07 11:03:14 -0500 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2018-05-07 10:57:25 -0500

TylerL gravatar image

It is possible, it completely depends on your use case.

Is your object a specific color? Then you could threshold based on the color.

Is your object a specific shape? Then you could detect contours in your image and find a specific one

Otherwise, you could look into keypoint detection methods that are invariant to scaling and rotation, and do a feature comparison.

edit flag offensive delete link more


Your solutions are very specific. Some more general ones are: template matching, sliding window + classifier (svm, boosting, forests, naivebayes, ann, ...), cascade classifiers and of course the deep learning ones like SSD and YOLO.

StevenPuttemans gravatar imageStevenPuttemans ( 2018-05-08 08:00:59 -0500 )edit

Question Tools

1 follower


Asked: 2018-05-07 09:49:30 -0500

Seen: 87 times

Last updated: May 07 '18