-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support loading url video in demo #165
Conversation
Codecov Report
@@ Coverage Diff @@
## master #165 +/- ##
==========================================
- Coverage 85.92% 85.89% -0.03%
==========================================
Files 77 77
Lines 4845 4849 +4
Branches 765 765
==========================================
+ Hits 4163 4165 +2
- Misses 557 559 +2
Partials 125 125
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
add this to docs/docstring, and news/changelog |
docs/getting_started.md
Outdated
@@ -262,6 +291,8 @@ the param `video` should be `VIDEO.mp4` (`VIDEO_NAME`). | |||
|
|||
* When rawframes path is `VIDEO_NAME/img_xxxxx.jpg`, and `data_prefix` is None in the config file, the param `video` should be `VIDEO_NAME`. | |||
|
|||
* In the video url case, it is the same with that of giving a video file path. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can also pass a url instead of a video file path.
This PR make
OpenCVInit
support to load a video in a url format, which is corresponding with the changes in mmcv