deepgraphpose
deepgraphpose copied to clipboard
segment_videos function
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.
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:
--splitis a boolean flag that tells the script to segment each video in thevideo_setsvariable.--splitlengthgives the length in frames of each video chunk.