C
C
calculator2122022-01-27 09:30:21
C++ / C#
calculator212, 2022-01-27 09:30:21

How to properly store video in opencv c++ memory?

In general, the task is such that a video stream comes from the camera, I process it through some opencv methods, but I need to store a small part of the video in memory for 5-10 seconds. Maybe I searched badly, but the answers that I found that there is no such possibility in opencv.
So I wanted to know if it's okay to just keep a few hundred frames in memory and use them when needed, or is there a simpler solution?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question