December 2019
Intermediate to advanced
468 pages
14h 28m
English
In this section, we'll use a pretrained PyTorch Faster R-CNN with a ResNet50 backbone for object detection. This example requires PyTorch 1.3.1, torchvision 0.4.2, and python-opencv 4.1.1:
import os.pathimport cv2import numpy as npimport requestsimport torchvisionimport torchvision.transforms as transforms
Read now
Unlock full access