OpenCV: reading video with multiple cores

I am working on a program that does simple analysis (color, etc.) of videos, in particular films. Since movies are often thousands of frames, I figured that using a movie with the function cap.read()

could simply not be used to capture each frame individually. I would like to use multiple cores or processes to read and store the relevant information from each frame for specific sections of the video; for example, one core reads and analyzes frames from the first quarter of a video, while another core does the same for the other parts and merges the information after all frames have been read. How can I do that?

I am relatively new to opencv and multithreading practice, but I really want to learn. Even if you can provide some resources for me, I would appreciate it!

+3
c ++ multithreading opencv video


source to share


No one has answered this question yet

Check out similar questions:

1675
Why is reading lines from stdin much slower in C ++ than Python?
1518
Image processing: improvement of the algorithm for the recognition of "Coca-Cola Can"
26
How to process video images, frame by frame in video streaming using Opencv python
4
Reading mp4 video (Go Pro) using OpenCV
1
How do I compare a video to a reference video using OpenCV and Python?
1
OpenCV program multithreading
0
How to extract GPS frame information in Python?
0
Black / clear frame detection in video with OpenCV
0
Why is Objective-C not showing the output frames of a video captured by OpenCV?
0
How to overlay video over webcam streaming using opencv or ffmpeg in Java



All Articles
Loading...
X
Show
Funny
Dev
Pics