As part of an online course, I currently take “Computer Vision with Embedded Machine Learning” where is need to collect images to make the dataset. I modified the original code so I can use my regular Linux box and webcam, not Raspberry Pi. The programme counts down and saves images every 7 seconds. That isContinue reading “Continuous image capture from webcam”
Tag Archives: webcam
Motion detection on the webcam
It is surprisingly easy to make a small Python script that takes a webcam or any other video and detects when something is moving there. It uses the OpenCV library. 1. Difference between frames Compares two frames and displays only what are change. The rest is black. 2. Binary image Turn it into binary: onlyContinue reading “Motion detection on the webcam”