Create Video from images using VideoCapture (OpenCV)

后端 未结 1 787
-上瘾入骨i
-上瘾入骨i 2021-01-15 16:38

I would like to write all my image files entitled \"pictures_1/2/3/etc...\" into a video file.

The code below is creating the video.avi file successfully. However, t

1条回答
  •  有刺的猬
    2021-01-15 17:15

    Possible reason for no video created.

    1. Make sure that your image is successfully loaded, just use imshow() in while loop.

    2. Your image size can be any size other than 1989X1680, so either resize your image to given size or set out video resoluton to input image size.

    0 讨论(0)
提交回复
热议问题