In this recipe, you will learn how to detect pedestrians using a pre-trained SVM model with HOG features. Pedestrian detection is an important component of many Advanced Driver Assistance Solutions (ADAS). Pedestrian detection is also used in video surveillance systems, and many other computer vision applications.
A simple pedestrian detector using the SVM model
Getting ready
Before you proceed with this recipe, you need to install the OpenCV 3.x Python API package and the matplotlib package.
How to do it...
- Import the modules:
import cv2
import matplotlib.pyplot as plt...