AttributeError: module 'supervision' has no attribute 'get_video_frames_generator' #984
Replies: 4 comments
-
What version of supervision are you using? |
Beta Was this translation helpful? Give feedback.
-
0.1.0 |
Beta Was this translation helpful? Give feedback.
-
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 |
Beta Was this translation helpful? Give feedback.
-
I am converting this to Q&A since it is not a bug. |
Beta Was this translation helpful? Give feedback.
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?
Beta Was this translation helpful? Give feedback.
All reactions