Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

strcpy - you got src & dest in the wrong order.

not an opencv problem at all, please get a c++ book !

maybe even you should avoid using those c string functions, and use:

cv::String filename = cv::format( "frame_%06d.jpg", frame_count);
cv::imwrite(filename, frame);