- Downloads clips from the VLOG Dataset containing desired object classes.
- Segments and removes the objects from the frame.
- In-paints the removed region.
- Computes surface normals for the new frame without the objects.
-
(Highly recommended) Create a fresh Anaconda environment
conda create -n vlog python=3.6 anaconda conda activate vlog
-
Clone the repository
git clone --recursive https://github.com/pasawaya/VLOGDataset.git
-
Run the setup script
cd VLOGDataset/ sh setup.sh
Download and process VLOG dataset at 4 fps and resize results to 320 x 240:
python vlog.py --w=320 --h=240 --fps=4
Download and process VLOG dataset and only save high confidence detections regardless of object size:
python vlog.py --confidence_threshold=0.95 --area_threshold=1.0
Process videos in local directory:
python vlog.py --input_dir=/path/to/videos