Skip to content
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

segment_videos function #22

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

cellistigs
Copy link

I'm starting a pull request for the video segmentation we discussed. Nothing is implemented yet, but I've stubbed out the relevant functions in 'src/contrib/segment_videos.py'. Please feel free to add to this pr if you like.

@cellistigs cellistigs changed the title stubbed out segment_videos function (please do not merge) stubbed out segment_videos function Sep 14, 2021
@cellistigs cellistigs changed the title stubbed out segment_videos function segment_videos function Sep 14, 2021
@cellistigs
Copy link
Author

I've added functions to segment the videos into n frames before running inference. I've also integrated this into the run_dgp_demo.py code, using two flags:

  • --split is a boolean flag that tells the script to segment each video in the video_sets variable.
  • --splitlength gives the length in frames of each video chunk.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant