Skip to content

Latest commit

 

History

History
28 lines (19 loc) · 955 Bytes

README.md

File metadata and controls

28 lines (19 loc) · 955 Bytes

riceup

A research about rice bug detection.

System Setup

  1. Update raspberry pi
    sudo apt update && sudo apt upgrade -y

  2. Install pip3 and camera
    sudo apt install python3-pip python3-picamera -y && sudo pip3 install adafruit-python-shell

  3. Download and install raspi-blinka
    wget https://raw.githubusercontent.com/adafruit/Raspberry-Pi-Installer-Scripts/master/raspi-blinka.py && sudo python3 raspi-blinka.py

  4. Download and install i2smic
    wget https://raw.githubusercontent.com/adafruit/Raspberry-Pi-Installer-Scripts/master/i2smic.py && sudo python i2smic.py

  5. Download riceup
    git clone https://github.com/dvbondoy/riceup.git

  6. Install requirements
    cd riceup && pip3 install -r requirements.txt

  7. Copy 'asoundrc' to /home/pi and rename it to '.asoundrc'. cp asoundrc /home/pi && mv /home/pi/asoundrc /home/pi/.asoundrc

  8. Configure settings in config.ini

  9. Run python main.py or ./main.py