amanwalia123 / KeyFramesExtraction

This repository contains script to divide a video into key frames.
MIT License
158 stars 34 forks source link

how to run this program #4

Closed yuanyuan1993 closed 5 years ago

yuanyuan1993 commented 5 years ago

I run it by: python scene_div.py 1.mp4 ./data/ 10
But the program reported an error: File "scene_div.py", line 63 raise ValueError, "smooth only accepts 1 dimension arrays." ^ SyntaxError: invalid syntax Please tell me the correct command to run,thank you.

amanwalia123 commented 5 years ago

can u put print(diff_array.shape) after line 169 and tell me the result

yyyufei commented 3 years ago

Did you solve it?