For the AndroidDatasetIterator, write the function to generate a depth map video at the file path self.depth_mp4_path. Ideally the generated depth map video has the same resolution and frame rate as the original video at self.mp4_path, but to generate lots of data quickly, provide options to reduce resolution, frame rate.
Make use of multiprocessing to generate multiple depth frames if possible.
For the
AndroidDatasetIterator
, write the function to generate a depth map video at the file pathself.depth_mp4_path
. Ideally the generated depth map video has the same resolution and frame rate as the original video atself.mp4_path
, but to generate lots of data quickly, provide options to reduce resolution, frame rate.Make use of multiprocessing to generate multiple depth frames if possible.
Use of Adobe's Monocular Boosting for this
This code will be run on a server for a long time to generate this video file.
https://github.com/PW22-SBN-01/dataset_pipeline/blob/26c31afd799bc6823ed68191da66b3f379c99528/dataset_helper/dataset_iterators.py#L191-L194