Skip to content

import error exposure #29

@raymondwjang

Description

@raymondwjang

Hello,

love the library so far. just one thing - would it be possible to expose the error trace for opencv import error? took me a bit longer than it should've to figure out that i need to separately add opencv-python to the env, as the only error shown when i ran

video = VideoProxy(path=video_path)
return video.shape

was Nonetype is not callable. (because VideoCapture gets automatically initialized as None when there's a cv2 import error.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions