We will build the code to perform person detection (The code file and corresponding recommended dataset link is available as Anchor_box_based_person_detection.ipynb in GitHub along with the recommended dataset):
- Download the dataset that contains a set of images, the objects contained in them, and the corresponding bounding boxes of the objects in the images. The recommended dataset and the corresponding code files that you can work on are provided in GitHub.
A sample image and its corresponding bounding box location output would look similar to the one that we saw in step 1 of "Object detection using region proposal based CNN" recipe.
- Import the relevant packages, as follows:
import matplotlib.pyplot as plt%matplotlib ...