a. Process a video with canny
You will learn nothing new in this section. The piece of code below just mix the two chapters of image filter and video reading. This example just apply the canny algorithm on the video to find contours on the video.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 |
|
Original image:
Canny image:
b. Haar Object detection
Once again a simple adaptation of the Haar Object detection with the webcam.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
|