1 | initial version |
1) HOG.detect() can only detect objects in exactly the size it was traained upon (faster)
2) HOG.detectMultiScale() applies a scale pyramid on the image, so it can also find objects closer or more far away (slower)
3) you can only detect a single class of objects per HogDescriptor
(you can also only set a single SVMDetector per instance) ofc. you can try to train several, and use several instances, but this will be terribly inefficient. if you need multiple classes, have a look at SSD, YOLO or RCNN neural networks in the dnn module.
2 | No.2 Revision |
1) HOG.detect() can only detect objects in exactly the size it was traained trained upon (faster)
2) HOG.detectMultiScale() applies a scale pyramid on the image, so it can also find objects closer or more far away (slower)
3) you can only detect a single class of objects per HogDescriptor
(you can also only set a single SVMDetector per instance) ofc. you can try to train several, and use several instances, but this will be terribly inefficient. if you need multiple classes, have a look at SSD, YOLO or RCNN neural networks in the dnn module.