April 2020
Intermediate to advanced
438 pages
12h 2m
English
First, download the pretrained Mask R-CNN model from http://download.tensorflow.org/models/object_detection/mask_rcnn_inception_v2_coco_2018_01_28.tar.gz (the model being trained with tensorflow on the MS-COCO dataset again with Inception v2 as the backbone network), and extract the compressed model in the appropriate path inside the models folder. Import all of the necessary packages using the following command:
import cv2print(cv2.__version__)# 4.1.1import numpy as npimport os.pathimport sysimport randomimport matplotlib.pylab as plt
Read now
Unlock full access