Object detection (other than faces) in OpenCV?

asked 2017-12-26 06:04:39 -0600

Santhosh1 gravatar image

updated 2017-12-26 06:05:15 -0600

I have been looking for object detection under OpenCV, where I can train for my own set of objects. Only supported feature I found for Object Detection in OpenCV 3.3.1 was WBDetector Class Reference

Looking in further I came across WaldBoost – Learning for Time Constrained Sequential Detection, which in simple words is best or gave best results only on being tested asFace Detection Algorithm

Is there any actual object detection (Other than faces for other objects) algorithm that can be trained and implemented using OpenCV?

edit retag flag offensive close merge delete

Comments

what are your objects ? you also seem to have missed this

berak gravatar imageberak ( 2017-12-26 06:48:00 -0600 )edit

@berak Simple objects like fruits or vegitables? I only see face detection when I check out object detection in OpenCV nothing more

Santhosh1 gravatar imageSanthosh1 ( 2017-12-26 07:17:06 -0600 )edit

fruits are difficult ! (they have no reproducable "texture", whatever there is, is usually random)

you'll probably get better results, retraining an existing yolo or ssd dnn network

berak gravatar imageberak ( 2017-12-26 07:30:28 -0600 )edit
1

@berak I want to be sure that there is no other way apart from Neural Networks YOLO and SSD.

Santhosh1 gravatar imageSanthosh1 ( 2017-12-26 07:39:33 -0600 )edit
1

@berak I have to convince my professor(who's totally against NN) that Neural Networks are far more worth investing time and resources into.

Santhosh1 gravatar imageSanthosh1 ( 2017-12-26 08:10:33 -0600 )edit

my argument would be:

none of opencv's builtin detection method looks at color, and they're all not robust against variation in the surface texture

(also, i've yet to meet someone, who used the wbdetector successfully for anything)

berak gravatar imageberak ( 2017-12-26 13:55:33 -0600 )edit

@berak Have you ever come across any-other framework other than Neural Network. That has ever detected any object apart from just faces, using image processing concepts?

Santhosh1 gravatar imageSanthosh1 ( 2017-12-26 23:19:12 -0600 )edit
1

there are pretrained dpm models in opencv_contrib, for a subset of VOC, like cars,persons,cows, and such, they're quite good ! and the HOGDescriptor comes with 2 prelearned person detectors

berak gravatar imageberak ( 2017-12-27 02:47:36 -0600 )edit

@berak What are these Deformable Part Models DPM? Can't seem to find an idea of how these are implemented. I did find a recent paper DeformablePartbasedFullyConvolutionalNetworkforObjectDetection https://arxiv.org/pdf/1707.06175.pdf

Santhosh1 gravatar imageSanthosh1 ( 2017-12-27 04:19:34 -0600 )edit

https://cs.brown.edu/~pff/latent-rele... for the opencv implementation, look here

(but training still has to be done from matlab, iirc)

berak gravatar imageberak ( 2017-12-27 04:27:10 -0600 )edit