Skip to content

Latest commit

 

History

History
24 lines (20 loc) · 1.14 KB

File metadata and controls

24 lines (20 loc) · 1.14 KB

This is a code to blink a led/leds by detecting colors with Raspberry Pi using a Raspberry Pi camera module with opencv and picamera2 in python.

Recomended skills:

python,remote ssh or setting up Raspberry Pi in desktop setting,basic knowledge of opencv.

recommended software: opencv: https://pypi.org/project/opencv-python/ ,gpiozero library: https://gpiozero.readthedocs.io/en/latest/installing.html# , Picamera2: https://github.com/raspberrypi/picamera2 , Setting up Raspberry Pi os: https: //www.raspberrypi.com/documentation/computers/getting-started.html numpy: https://numpy.org/doc/stable/user/index.html

Required tools

1x Raspberry Pi 4/5, 1x micro sd card (16Gb or more) with Raspberry Pi os installed, 1x raspberry Pi power supply(offcial or similar product or 1 x powerbank with usb cable compatable with the Paspberry Pi), 3x leds for gpio control, 6x m/f dupont cable(20mm or longer recomended), 1x m/m dupont cable(20mm or longer recomended, 1x Raspberry Pi camera module, 1x Raspberry Pi camera cable.

If you like my projects you can subscribe to my youtube channel if you want it here: https://youtube.com/@dawsatek22?si=SBDC27nE33tXiP_Q