Search code examples
opencvobject-detection

How to detect an object after the sobel detection in OpenCV


Is there anyway to detect a car (object) after a sobel detction in opencv?

This is my current's work as shown as the image below:

enter image description here

Advanced thanks for any guidelines or solutions!


Solution

  • Object detection task need quite a bit of effort. First, extract relevant features from object you want to detect: histogram of oriented gradient should be fine for car detection. So, you need to get database of car images. Second, you need to learn models using machine learning algorithm. Boosting or support vector machine should do the work. You will find the implementation in opencv.