ermig1979 / Simd

C++ image processing and machine learning library with using of SIMD: SSE, AVX, AVX-512, AMX for x86/x64, NEON for ARM.
http://ermig1979.github.io/Simd
MIT License
2.06k stars 412 forks source link

Does it support HOG+SVM for object detection? #103

Closed zanazakaryaie closed 5 years ago

zanazakaryaie commented 5 years ago

Hi

I want to train a HOG+SVM detector in OpenCV and then use your library for acceleration. Does it support both HOG and SVM?

ermig1979 commented 5 years ago

Simd does not support OpenCV HOG models. Although Simd contains primitives for optimizations of HOG detector. But I have opinion that using of HOG/HAAR/LBP detectors is not best way to achiev of best accuracy and performance now. In present there is only one good way for object detection - neural networks.

zanazakaryaie commented 5 years ago

Sure. DNNs are generally better than classical algorithms that work based on hand-crafted features. But it all depends on the processor power. I'm using a low-end ARM processor. Even the fastest deep object detectors like Yolo or SSD are too slow for my application. I'm looking for a lower accuracy but much higher performance.

ermig1979 commented 5 years ago

Lately I develop a project to fast inference of previously trained neural models. It is something like Inference Engine but it also supports ARM CPU. May be it will be useful for you. For our purposes (faces and licence plates detection) on mobile CPU its performance is good enough.

zanazakaryaie commented 5 years ago

Hi again. Thank you very much. I didn't know that. I will test it as soon as possible. Thanks again :)