Click to play video:
-
Color Features
- Color Histogram
- Color Spaces (HSV, LUV, etc.)
- Spatial Binning (
cv2.resize()
)
-
Gradient Features
- Histogram of Oriented Gradients (HOG)
- Normalize each feature, then combine into one feature vector
- Train-Test split
- Could even use a decision tree for feature selection
- Be careful of time dependencies, even w/ a random train-test split
Train SVM to classify Car/Not Car.
Slide a window (at different scales) over the frames and for each window, classify car/not-car.
Click to play video:
Learning the features directly.
Click to play video: