Latest commit 61ffdb3 Oct 24, 2018

Webcam and Jupyter notebook demo

This folder contains a simple webcam demo that illustrates how you can use maskrcnn_benchmark for inference.

You can start it by running it from this folder, using one of the following commands:

# by default, it runs on the GPU
# for best results, use min-image-size 800
python --min-image-size 800
# can also run it on the CPU
python --min-image-size 300 MODEL.DEVICE cpu
# or change the model that you want to use
python --config-file ../configs/caffe2/ --min-image-size 300 MODEL.DEVICE cpu
# in order to see the probability heatmaps, pass --show-mask-heatmaps
python --min-image-size 300 --show-mask-heatmaps MODEL.DEVICE cpu