Skip to content

dvbondoy/riceup

Repository files navigation

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

About

Rice bug detection

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages