Skip to content

Pet Detector application uses Tensorflow Lite, OpenCV, and Paho MQTT Client to detect objects and publish MQTT messages in order to trigger automatic processes

Notifications You must be signed in to change notification settings

daysleeperx/Pet-Detector

Repository files navigation

Pet Detector

Pet Detector application uses Tensorflow Lite, OpenCV and Paho MQTT Client to detect objects and publish MQTT messages in order to trigger automatic processes.

Configuration

Settings can be configured in config.ini file. Example configuration can be found in config.ini.sample.

Installation

Compatible only with Rasbpian Buster or Rasbpian Stretch

Camera needs to be enabled in raspi-config

Raspberry Pi needs to be updated

sudo apt-get update
sudo apt-get dist-upgrade

start with venv

chmod +x venv_start.sh
./venv_start.sh

Edge TPU

Install necessary dependencies

echo "deb https://packages.cloud.google.com/apt coral-edgetpu-stable main" | sudo tee /etc/apt/sources.list.d/coral-edgetpu.list
curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo apt-key add -
sudo apt-get update
sudo apt-get install libedgetpu1-std

Change following lines in config.ini

tflite_file = edgetpu.tflite
edgetpu = true

About

Pet Detector application uses Tensorflow Lite, OpenCV, and Paho MQTT Client to detect objects and publish MQTT messages in order to trigger automatic processes

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published