Live cam
Configuration of a live cam.
Next, we want to configure a live cam connected to the Raspberry. With a cam, there can be multiple applications:
24h live stream of whatever. Exposing a port in the local network should suffice.
Take a picture at a certain point of the day and save it. Then, timelapse can be done.
source:
To use cv2:
Create virtual environment
python3 -m venv venv
Activate it
. venv/bin/activate
Install cv2
pip install opencv-python
Install extra libs required
sudo apt-get install libatlas-base-dev
Run following script
Play with waitKey(*) to let some seconds to focus light. Also, adjust cam.
Last updated