Simple API for ML inferencing with TF Lite and Coral Edge TPU
Project description
AIY Maker Kit Python API and examples
The aiymakerkit API greatly simplifies the amount of code needed to perform common operations with TensorFlow Lite models, such as performing image classification, object detection, pose estimation, and speech recognition (usually in combination with the Coral Edge TPU).
This repo also includes scripts to collect training images and perform transfer learning with an image classification model, directly on your device (such as a Raspberry Pi).
This project was designed specifically for the AIY Maker Kit, which uses a Raspberry Pi with a Coral USB Accelerator, camera, and microphone.
Learn more
To get started, see the AIY Maker Kit documentation. It includes complete setup instructions with a Raspberry Pi, project tutorials, and the aiymakerkit API reference.
Install on Raspberry Pi OS
If you're on a Raspberry Pi, we recommend you flash our custom Raspberry Pi OS system image before installing this library, as documented at https://aiyprojects.withgoogle.com/maker/. That way, you're sure to have all the required software installed and there should be no trouble.
But if you want to do things differently and can tolerate some extra steps and risk troubleshooting, you can build our system image yourself and/or install the required libraries on an existing RPI OS system as documented at https://github.com/google-coral/aiy-maker-kit-tools (but we do not recommend it).
Install manually
For other situations where you want to install only the aiymakerkit
library,
you must manually install the libedgetpu
and pycoral
libraries first.
Assuming that you are also using the Coral USB
Accelerator, you can get these libraries by following the Coral USB Accelerator
setup guide at coral.ai.
Then you can clone this repo and install the library as follows:
git clone https://github.com/google-coral/aiy-maker-kit.git
cd aiymakerkit
python3 -m pip install .
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file aiymakerkit-1.0.0.tar.gz
.
File metadata
- Download URL: aiymakerkit-1.0.0.tar.gz
- Upload date:
- Size: 15.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.9.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 59e415b10325b19506f09fa76d91b1f385db1b6bedb553af7297fb6fea2f78c3 |
|
MD5 | 9d7eba528a0d390a68cae16817e3fdfb |
|
BLAKE2b-256 | 7685efadb1980f4319b6ba5095cc698c905927a4b28b814d618b14e19f6b7b8f |
File details
Details for the file aiymakerkit-1.0.0-py3-none-any.whl
.
File metadata
- Download URL: aiymakerkit-1.0.0-py3-none-any.whl
- Upload date:
- Size: 17.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.9.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 41866a2b3a9d5e04cb8eded43fff347fd751044b7442dc8322c59467a28bde08 |
|
MD5 | 90945a977171b006341f0349c0e0a31a |
|
BLAKE2b-256 | b028dfde977e9ee20c18292dec5ee5167b10c0eebd6e58b53daeeeb579592f36 |