Hzzone / pytorch-openpose

pytorch implementation of openpose including Hand and Body Pose Estimation.
2.03k stars 390 forks source link

report bug : Error saving video #36

Open salorsmile opened 3 years ago

salorsmile commented 3 years ago

hello, Thank you very much for sharing the code. When I save the video processing results, there is a bug. The program (demo_camera.py)ends but the video is not saved. The output size will be 6KB or 8KB or other. At first, I thought it was a video coding format error, but it's not. Finally, I found that the problem was that the size of the frame was changed after the hand model calculation. The input size changed from 720 × 1280 to 400 × 711, which led to the failure of cv2. Videowriter() to save the video. Please verify and fix this bug.

yxzai commented 1 year ago

Hello, have you solved this problem and how?