Ask Your Question

Revision history [back]

It is possible, but it takes time. Look at the speed-up available in OpenCV: GPU or parallel_for_ (multi-threaded CPU). Or create multiple native threads to detect on multiple streams in the same time.

If you want to do it in real time, it means you have to make 496 detection per second. If you use a single threaded approach, you have to make each detection in less than 0.002 second, which will be difficult, but using 8 threads (assuming you have 8 CPU/Hyperthreading) you get 0.016 second for each detection. If you also used your GPU to perform another detection, you could increase this number. But everything will be so easy, you have to test it, look at the transfer time from CPU to GPU, etc.