/wavechord

MakeUofT2021 Project. OpenCV, Kinect, Raspberry Pi 3B+, PyAudio

Primary LanguagePython

wavechord

MakeUofT2021 Project. OpenCV, Kinect, Raspberry Pi 3B+, PyAudio

Setup

Hardware

  • Raspberry Pi 3 B+
  • Kinect (V1)

Software

  • Raspbian Stretch
  • OpenCV 3.4.3 (compiled on Raspi)
  • Python 3.5.3
  • PyAudio
  • fswebcam

To run:

  • Compile OpenCV 3.4.3 with this guide

  • Note: reference this gist to install all the prequisites for ffmpeg, libgstreamer!!

  • Note: make sure you configure more swap space, around 1 GB is good for OpenCV.

  • Install fswebcam

  • May have to run these commands to get Kinect working with fswebcam.

  • Get audio on the Pi working with this guide

  • Optional: install realvnc and use this command to connect via SSH to the Pi.

  • Run finger_count.py

  • Moving your hand left to right over the kinect should generate I, IV, and V chords.