April 2020
Intermediate to advanced
438 pages
12h 2m
English
First, download the pretrained mask-RCNN model from the model zoo (http://download.tensorflow.org/models/object_detection/mask_rcnn_inception_v2_coco_2018_01_28.tar.gz), extract the frozen_inference_graph.pb file, and save it to the models folder. Import all the required libraries to start with:
import numpy as npimport timeimport cv2import osimport randomimport matplotlib.pylab as pltprint(cv2.__version__)# 4.1.0
Read now
Unlock full access