/bluetooth-video-streaming

Stream webcam video between two raspberry pi's

Primary LanguagePython

bluetooth-video-streaming

Stream video between two raspberry pi's over bluetooth

openCV dependencies:

  • sudo apt-get install libjpeg-dev libtiff5-dev libjasper-dev libpng12-dev
  • sudo apt-get install libavcodec-dev libavformat-dev libswscale-dev libv4l-dev
  • sudo apt-get install libxvidcore-dev libx264-dev
  • sudo apt-get install qt4-dev-tools
  • sudo apt-get install libatlas-base-dev
  • sudo apt-get install libhdf5-dev
  • sudo apt-get install libhdf5-serial-dev
  • sudo apt-get install libatlas-dev

Install openCV:

  • pip3 install opencv-python

Install Bluez: (import bluetooth)

  • pip install pybluez

Bluetooth Terminal Commands:

  • List Bluetooth Adaptors: hciconfig
  • Scan for Bluetooth devices: hcitool scan
  • Make Device Discoverable: sudo hciconfig hci0 piscan

Errors:

  • ./.local/lib/python3.5/site-packages
    • Delete the numpy and opencv folder and files in ./local/lib/python[version]/site-packages and reinstall opencv

*installation source: https://www.youtube.com/watch?v=npZ-8Nj1YwY