serkanMzlm / OpenCV-Adafruit-NeoPixel-Control

Controlling Adafruit NeoPixel lights using data captured from a camera with Python and OpenCV.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Adafruit NeoPixel control with OpenCV

Using Python with OpenCV, the project allows users to select regions of interest (ROI) on images displayed on the screen (R-G-B) and send information about the desired intensity of red, green, and blue to an Arduino board. The Arduino receives this data and adjusts the Adafruit NeoPixel lights accordingly.

Note: To prevent sudden color bursts from the Arduino side, linear Kalman filtering has been incorporated into the code.

Used Python Modules:

  • opencv-python
  • cvzone
  • HandDetector
  • pyserial
  • mediapipe
test.webm

About

Controlling Adafruit NeoPixel lights using data captured from a camera with Python and OpenCV.


Languages

Language:Python 42.7%Language:C++ 28.9%Language:Jupyter Notebook 28.4%