Skip to main content

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 .

Metadata

Release files for aiymakerkit 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for aiymakerkit 1.0.0
File Size Uploaded Provenance
aiymakerkit-1.0.0.tar.gz 15.7 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for aiymakerkit 1.0.0
File Interpreter ABI Platform
aiymakerkit-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 32.8 kB

Release files / aiymakerkit-1.0.0.tar.gz

Download URL aiymakerkit-1.0.0.tar.gz
Size 15.7 kB
Tags Source
SHA-256 checksum
How to use checksums
59e415b10325b19506f09fa76d91b1f385db1b6bedb553af7297fb6fea2f78c3
BLAKE2b-256 checksum
How to use checksums
7685efadb1980f4319b6ba5095cc698c905927a4b28b814d618b14e19f6b7b8f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.9.10

Release files / aiymakerkit-1.0.0-py3-none-any.whl

Download URL aiymakerkit-1.0.0-py3-none-any.whl
Size 17.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
41866a2b3a9d5e04cb8eded43fff347fd751044b7442dc8322c59467a28bde08
BLAKE2b-256 checksum
How to use checksums
b028dfde977e9ee20c18292dec5ee5167b10c0eebd6e58b53daeeeb579592f36
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.9.10

Security for aiymakerkit 1.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page