Implement Real-Time Semantic Segmentation with Mask_RCNN.
- Ubuntu 16.04
- Python 3.5
- Tensorflow 1.8
- Keras 2.1.6
- OpenCV 3.4
Creating virtualenv
$ cd Mask-RCNN
$ virtualenv env --python=python3.5
$ source env/bin/activate
Install Dependencies
$ pip install -r requirements.txt
$ pip install git+https://github.com/philferriere/cocoapi.git#subdirectory=PythonAPI
Using pre-trained weights for MS COCO
It is included in {detector_demo.py} that downloading the pre-trained weights for MS COCO.
Run Demo
$ python detector_demo.py {YOUR_TEST_VIDEO}