Skip to content

sakanaou/lego-boost-face-tracking-robot

Repository files navigation

A Lego Boost based face tracking robot

This repository holds the source code for a Lego Boost based robot which does face tracking via OpenCV or TensorFlow Lite. The robot will be part of our booth at the JAX 2020.

The face detection will be done via OpenCV or a pre-trained Machine Learning model via TensorFlow Lite. To speed up the inferencing of the ML model support for the Google Coral AI Edge TPU Accelerator is provided.

Prerequisites

Prior execution ensure that the dependencies are installed via

pip install -r requirements.txt

By default the OpenCV-based face detector will be used.

If you want to use the TensorFlow Lite detector (enabled via --detector tflite) install the appropiate extension as described here: https://www.tensorflow.org/lite/guide/python

If you want to use the Google Coral AI Edge TPU Accelerator (enabled via --detector edgetpu) install its driver and the appropiate extension as described here:

Machine Learning model

The TensorFlow Lite version makes uses of a pre-trained and pre-compiled model available here:

Credits

The project is heavily inspired by

About

A face tracking robot with Lego Boost

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages