Brenda Armour
Published © Apache-2.0

WildCam Detecting Red Foxes with Mange

Using Camera Vision and tinyML to detect foxes with mange.

IntermediateFull instructions providedOver 1 day185
WildCam Detecting Red Foxes with Mange

Things used in this project

Story

Read more

Code

Edge Impulse on Raspberry 4

Python
Let's start by installing edge-impulse-linux on the Raspberry Pi 4.
$ curl -sL https://deb.nodesource.com/setup_12.x | sudo bash -
$ sudo apt install -y gcc g++ make build-essential nodejs sox gstreamer1.0-tools gstreamer1.0-plugins-good gstreamer1.0-plugins-base gstreamer1.0-plugins-base-apps
$ sudo npm install edge-impulse-linux -g --unsafe-perm

Connect to Raspberry Pi Camera

Python
This code will connect your Raspberry Pi camera to Edge Impulse
pi@raspberrypi:~ $ edge-impulse-linux
Edge Impulse Linux client v1.2.6

[SER] Using microphone hw:0,0
[SER] Using camera mmal service 16.1 starting...
[SER] Connected to camera
[WS ] Connecting to wss://remote-mgmt.edgeimpulse.com
[WS ] Connected to wss://remote-mgmt.edgeimpulse.com
[WS ] Device "Raspberry_Pi" is now connected to project "WildCam"
[WS ] Go to https://studio.edgeimpulse.com/studio/43287/acquisition/training to build your machine learning model!

Credits

Brenda Armour

Brenda Armour

7 projects • 7 followers
IT analyst and animal welfare advocate in Prince Edward Island Atlantic Canada

Comments