Open PetervanLunteren opened 1 week ago
@PetervanLunteren, does the --include_all_processed_frames option to process_video.py already do what you're looking for?
If you already have a .json file that came from somewhere else, and you want to use the same mechanics, you can use the frame_results_to_video_results function, which is what process_video uses to convert frame-level results to video-level results. It takes an options object that has an include_all_processed_frames option.
Let me know if that already does what you're looking for, or if not, how the behavior you're looking for is different?
Either way, I think we're between 90% and 100% of the way there.
For the EcoAssist and Timelapse integration of video processing results, we need an option to get a video JSON file with detection results for all frames processed.
Now I do it inside EcoAssist like so:
That would result in something like this:
But it feels quite cumbersome to convert this inside EcoAssist (and error prone), if MegaDetector had removed them earlier. What are you're thoughts about this?