Skip to content
This repository has been archived by the owner on May 13, 2022. It is now read-only.

Latest commit

 

History

History
executable file
·
32 lines (27 loc) · 1.2 KB

README.md

File metadata and controls

executable file
·
32 lines (27 loc) · 1.2 KB

PotholeRepair

Setup

Install OpenCV for Raspberry Pi

Follow the the instructions at this link

Setup I2C for IR Temperature Sensor

  • Enable I2C for Raspberry Pi
    • Run sudo raspi-config
    • Under Advanced settings, select enable I2C and reboot
  • Installing the bcm2835 module
    • Untar the given bcm2835 tarball
    • Enter the unpacked directory
    • Run ./configure && make && sudo make install
    • Run sudo modprobe bcm2835
  • Test installation
    • Enter the tempProgram directory and run ./runTemp
    • If this program returns any values, I2C is successfully setup

Source Dependencies

Should be in the virtual enviornment when installing these

  • pip3 install adafruit-circuitpython-motorkit
  • pip3 install flask
  • pip install "picamera[array]"
  • pip install opencv-contrib-python
  • pip install imutils
  • sudo apt-get install rpi.gpio

Create Wireless AP

  • Use the following link
  • SSID must be "Repairinator" in order to work with iOS app