/OpenCV-Adafruit-NeoPixel-Control

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

Primary LanguagePython

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