Open Call-Me-You opened 3 years ago
Simply changing cv2.imwrite("frame%d.jpg" % count, image)
to cv2.imwrite("frame%d.png" % count, image)
appears to solve this problem
Had the same issue... As @dobroben said, you should update the image extension on the bot python script for the error to disappear.
path = "frames/frame"+str(i*4)+".png" #<--- path to folder containing every frame of the video cv2.imwrite("frame%d.jpg" % count, image)