Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

How to rotate captured video from camera

I have OpenCV project using C language. I wish to rotate the captured video from camera, how I can do that? What is the rotate function in OpenCV? My code as below

static CvCapture * cap;

cap = cvCaptureFromCAM(cam_index);

Flip(cap, 0);

But it got error. How I can rotate my video? Please help