Hi, All
I'm trying to work with jOpenCV lib for custom object set recognition\identification.
But i have found that only reading the video stream and showing the frames by jOpenCV lib (without any processing) consumes lots of CPU time:
The threading lib is ... hard for me to try to use here, especially when the debugging in the Debug mode is required.
So, i guess, maybe for the better speed - is there any lib to just read the frames from a video stream of IP-camera ? To read frames by the separate app (in the separate CPU thread) and save as just JPG pictures. And the main app with jOpenCV is just reading these pictures (and deletes) to process in its separate thread.
Any idea about such lib to read the IP-camera stream ?
I'm trying to work with jOpenCV lib for custom object set recognition\identification.
But i have found that only reading the video stream and showing the frames by jOpenCV lib (without any processing) consumes lots of CPU time:
- FullHD video reading without showing on the screen: 25% of CPU (AMD Ryzen5. Intel i7 was better, lower)
- FullHD video reading with showing on the screen: ~35%
- FullHD video reading with showing on the screen, and with some recognition processing: 100% of CPU with interval about 800...1200 ms between frames (iterations)
- VGA video (640 x 480) reading with showing on the screen: 10%
- VGA video (640 x 480) reading with showing on the screen and with some recognition processing: ~70 - 80% of CPU with interval about 200 ms between frames (iterations)
The threading lib is ... hard for me to try to use here, especially when the debugging in the Debug mode is required.
So, i guess, maybe for the better speed - is there any lib to just read the frames from a video stream of IP-camera ? To read frames by the separate app (in the separate CPU thread) and save as just JPG pictures. And the main app with jOpenCV is just reading these pictures (and deletes) to process in its separate thread.
Any idea about such lib to read the IP-camera stream ?