AttributeError: module 'supervision' has no attribute 'get_video_frames_generator' #984
Unanswered
ArupSankarRoy
asked this question in
Q&A
Replies: 4 comments
|
What version of supervision are you using? |
0 replies
|
0.1.0 |
0 replies
Update: I checked whether the feature is there or not. but since init.py wasn't configured probably as it is today you can't directly call via "sv. get_video_frames_generator("file.mp4")" you need to type the whole library path to call it. Using the latest would be a lot easier to get it done. Old version URL: https://github.com/roboflow/supervision/blob/0.1.0/supervision/video/source.py |
0 replies
|
I am converting this to Q&A since it is not a bug. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Search before asking
Bug
AttributeError Traceback (most recent call last)
in <cell line: 2>()
1 # extract video frame (get image from the video)
----> 2 generator = sv.get_video_frames_generator(VIDEO_PATH)
3 iterator = iter(generator)
4 frame = next(iterator)
5 sv.plot_image(frame,(16,16))
Environment
No response
Minimal Reproducible Example
No response
Additional
No response
Are you willing to submit a PR?
All reactions