Skip to content
This repository was archived by the owner on Jul 1, 2025. It is now read-only.
This repository was archived by the owner on Jul 1, 2025. It is now read-only.

result_struct.json not found/generated #1

@adamhrv

Description

@adamhrv

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions