Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Not sure why, I suspect its likely to do with the video you are reading rather than the imwrite function. Does cv.imshow("Frame", frame) show them upside down? The simplest solution might be to just use flip.

frame = cv2.flip(frame, 1 )

Not sure why, I suspect its likely to do with the video you are reading rather than the imwrite function. Does cv.imshow("Frame", frame) show them the iamge upside down?

The simplest solution might be to just use flip.

frame = cv2.flip(frame, 1 )

Not sure why, I suspect its likely to do with the video you are reading rather than the imwrite function. Does cv.imshow("Frame", frame) show the iamge image upside down?

The simplest solution might be to just use flip.

frame = cv2.flip(frame, 1 )

Not sure why, I suspect its likely to do with the video you are reading rather than the imwrite function. Does cv.imshow("Frame", frame) show the image upside down?

You can check for the video file property 'Rotation' or 'Composite:Rotation' using some exif-reader tool e.g. exiftool. and see if it has any value other than 0.

The simplest solution might be to just use flip.

frame = cv2.flip(frame, 1 )

Not sure why, I suspect its likely to do with the video you are reading rather than the imwrite function. Does cv.imshow("Frame", frame) show the image upside down?

You can check for the video file property 'Rotation' or 'Composite:Rotation' using some exif-reader tool e.g. exiftool. (e.g. exiftool) and see if it has any value other than 0.

The simplest solution if you are just looking to dump the images, might be to just use flip.flip before imwrite.

frame = cv2.flip(frame, 1 )

Not sure why, I suspect its likely to do with the video you are reading rather than the imwrite function. Does cv.imshow("Frame", frame) show the image upside down?

You can check for the video file property 'Rotation' or 'Composite:Rotation' using some exif-reader tool (e.g. exiftool) and see if it has any value other than 0.

The simplest solution if you are just looking to dump the images, might be is to just use flip before imwrite.

frame = cv2.flip(frame, 1 )

Not sure why, I suspect its likely to do with the video you are reading rather than the imwrite function. Does cv.imshow("Frame", frame) show the image upside down?

You can check for the video file property 'Rotation' or 'Composite:Rotation' using some exif-reader tool (e.g. exiftool) and see if it has any value other than 0.

The simplest solution if you are just looking to dump the images, images is to just use flip before imwrite.

frame = cv2.flip(frame, 1 )