Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

How to speed up IP-camera object detection ?

I have done facial detection and TLD(using OpenTLD) on opencv 2.4 C++ . To alter the code to stream ipcamera i did this.

VideoCapture captureDevice; string videoStreamAddress = "http://admin:[email protected]:80/video/mjpg.cgi?&.mjpg"; captureDevice.open(videoStreamAddress); //in main loop captureDevice>>frame; //in main loop

It feels like it waits for each frame to process unlike webcam which maybe dropping frames . i have done ipcamera opencv video stream (without object detection code) using wired ethernet and its quite realtime like webcam , but when i run object detection on it , it delays much more than webcam .Video resolution of both are same.

please help.

How Object detection on ipcamera is delayed as compared to speed up IP-camera object detection webcam why ?

I have done facial detection and TLD(using OpenTLD) on opencv 2.4 C++ . To alter the code to stream ipcamera i did this.

VideoCapture captureDevice; string videoStreamAddress = "http://admin:[email protected]:80/video/mjpg.cgi?&.mjpg"; captureDevice.open(videoStreamAddress); //in main loop captureDevice>>frame; //in main loop

It feels like it waits for each frame to process unlike webcam which maybe dropping frames . i have done ipcamera opencv video stream (without object detection code) using wired ethernet and its quite realtime like webcam , but when i run object detection on it , it delays much more than webcam .Video resolution of both are same.

please help.