Skip to content

Commit

Permalink
Merge pull request #128 from vinamramunot-tech/master
Browse files Browse the repository at this point in the history
Add support installation instruction for Raspberry Pi
  • Loading branch information
chandrikadeb7 authored May 12, 2021
2 parents 21ef1e1 + 3bf2bb0 commit 23a1432
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,35 @@ Follow this format:
- Title or description of document.
- URL.

---

## Internet of Things Device Setup

### Expected Hardware
* [Raspberry Pi 4 4GB with a case](https://www.canakit.com/raspberry-pi-4-4gb.html)
* [5MP OV5647 PiCamera from Arducam](https://www.arducam.com/docs/cameras-for-raspberry-pi/native-raspberry-pi-cameras/5mp-ov5647-cameras/)

### Getting Started
* Setup the Raspberry Pi case and Operating System by following the Getting Started section on page 3 at `documentation/CanaKit-Raspberry-Pi-Quick-Start-Guide-4.0.pdf` or https://www.canakit.com/Media/CanaKit-Raspberry-Pi-Quick-Start-Guide-4.0.pdf
* With NOOBS, use the recommended operating system
* Setup the PiCamera
* Assemble the PiCamera case from Arducam using `documentation/Arducam-Case-Setup.pdf` or https://www.arducam.com/docs/cameras-for-raspberry-pi/native-raspberry-pi-cameras/5mp-ov5647-cameras/
* [Attach your PiCamera module to the Raspberry Pi and enable the camera](https://projects.raspberrypi.org/en/projects/getting-started-with-picamera/2)

### Raspberry Pi App Installation & Execution

> Run these commands after cloning the project
| Commands | Time to completion |
|------------------------------------------------------------------------------------------------------------------------------|--------------------|
| sudo apt install -y libatlas-base-dev liblapacke-dev gfortran | 1min |
| sudo apt install -y libhdf5-dev libhdf5-103 | 1min |
| pip3 install -r requirements.txt | 1-3 mins |
| wget "https://raw.githubusercontent.com/PINTO0309/Tensorflow-bin/master/tensorflow-2.4.0-cp37-none-linux_armv7l_download.sh" | less than 10 secs |
| ./tensorflow-2.4.0-cp37-none-linux_armv7l_download.sh | less than 10 secs |
| pip3 install tensorflow-2.4.0-cp37-none-linux_armv7l.whl | 1-3 mins |

---

## :eyes: License
MIT © [Chandrika Deb](https://github.com/chandrikadeb7/Face-Mask-Detection/blob/master/LICENSE)
Expand Down

0 comments on commit 23a1432

Please sign in to comment.