You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 1, 2025. It is now read-only.
When I run: python extract.py there seems to be something missing and it's not creating theresult_struct.json file in the videos/myvideofile/ directory.
(5/6) createImageOverlay: videos/2001_test_02 Traceback (most recent call last): File "extract.py", line 165, in <module> extractVideo(mypath+video,mypath+foldername,captionfrequency) File "extract.py", line 139, in extractVideo addToList(outputdir,framefreq, framerate) File "extract.py", line 104, in addToList getImageFeatures(inputdir,framerate) File "extract.py", line 87, in getImageFeatures getImageSentence(inputdir,framerate) File "extract.py", line 76, in getImageSentence createImageOverlay(inputdir,framerate) File "extract.py", line 46, in createImageOverlay with open(inputdir + '/result_struct.json') as data_file: IOError: [Errno 2] No such file or directory: 'videos/2001_test_02/result_struct.json'
The script successfully generates still frames for the video file and creates the audio file. It stops at (5/6) where it tried to load the .json file
When I run:
python extract.pythere seems to be something missing and it's not creating theresult_struct.jsonfile in thevideos/myvideofile/directory.(5/6) createImageOverlay: videos/2001_test_02 Traceback (most recent call last): File "extract.py", line 165, in <module> extractVideo(mypath+video,mypath+foldername,captionfrequency) File "extract.py", line 139, in extractVideo addToList(outputdir,framefreq, framerate) File "extract.py", line 104, in addToList getImageFeatures(inputdir,framerate) File "extract.py", line 87, in getImageFeatures getImageSentence(inputdir,framerate) File "extract.py", line 76, in getImageSentence createImageOverlay(inputdir,framerate) File "extract.py", line 46, in createImageOverlay with open(inputdir + '/result_struct.json') as data_file: IOError: [Errno 2] No such file or directory: 'videos/2001_test_02/result_struct.json'The script successfully generates still frames for the video file and creates the audio file. It stops at (5/6) where it tried to load the .json file