how to add data to a frame
I get image from camera: CvCapture* input = cvCaptureFromCAM(0); CvVideoWriter writer = createVideoStream( "film.avi"; ...); IplImage colourImage = cvQueryFrame(input); // Here, I will add data (for exemple text) associated to the image cvWriteFrame( writer, colourImage );
Is there a way to add information into the AVI file linked to the frame
Best regards
Firstly, as it has already mentioned before quite some times, please switch to the newer version of OpenCV. Secondly, I do not really get what you want to do. If you could provide more information, I think that it would be helpful.
My AVI file is not a collection of following pictures, because I get only picture corresponding to movement detection. So I want to add the specific time stamp of each picture. I do that in jpeg file, and I want to do that in AVI file.