![]() Am I creating the writer wrong? The 'print fourcc' outputs 0.0 but I've tried with many FOUR_CC values. Saving the frames as images works fine so I know there's nothing wrong with the capture. Writer = cv.CreateVideoWriter('ok.mov', int(fourcc),fps,(int(width),int(height)),1) Width = cv.GetCaptureProperty(capture, cv.CV_CAP_PROP_FRAME_HEIGHT)įps = cv.GetCaptureProperty(capture, cv.CV_CAP_PROP_FPS)įourcc = cv.GetCaptureProperty(capture, cv.CV_CAP_PROP_FOURCC) ![]() It can process images and videos to identify objects, faces, or even the handwriting of a human. OpenCV supports a wide variety of programming languages like Python, C++, Java, etc. Height = cv.GetCaptureProperty(capture, cv.CV_CAP_PROP_FRAME_WIDTH) OpenCV is a huge open-source library for computer vision, machine learning, and image processing. The error I'm getting is this: Traceback (most recent call last):Ĭv.WriteFrame(writer, cv.LoadImage(fileName)) ![]() I keep getting an assertion error when I'm trying to write frames to video.
0 Comments
Leave a Reply. |