# MaixPy
**Repository Path**: Sipeed/MaixPy
## Basic Information
- **Project Name**: MaixPy
- **Description**: Sipeed/MaixPy 镜像仓库,star、 提问、贡献代码请到 https://github.com/sipeed/maixpy
- **Primary Language**: Unknown
- **License**: Apache-2.0
- **Default Branch**: main
- **Homepage**: https://github.com/sipeed/maixpy
- **GVP Project**: No
## Statistics
- **Stars**: 2
- **Forks**: 0
- **Created**: 2024-01-20
- **Last Updated**: 2026-08-28
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
MaixPy (v4)
======

[](https://www.kickstarter.com/projects/zepan/maixcam2-build-your-next-gen-4k-ai-camera)
**🚀 [MaixCam 2 is LIVE: Build Your Next-Gen 4K AI Camera!](https://www.kickstarter.com/projects/zepan/maixcam2-build-your-next-gen-4k-ai-camera) 🚀**
**MaixPy** (v4): Easily create AI projects with Python on edge device
[](https://github.com/sipeed/MaixPy/stargazers)
[]("https://github.com/sipeed/MaixPy/blob/main/LICENSE.md)
[](https://pypi.python.org/pypi/maixpy/)
[](https://pypi.org/project/maixpy/)

[](https://github.com/sipeed/MaixPy/actions/workflows/build_maixcam.yml)
[](https://github.com/sipeed/MaixPy/actions/workflows/trigger_wiki.yml)
English | [中文](./README_ZH.md)

## Feature Overview
MaixPy offers simple Python programming combined with powerful edge computing hardware. Integrated hardware peripheral operations, video streaming, AI vision algorithms, audio algorithms, and LLM / VLM etc. With its plug-and-play design, MaixPy enables you to quickly implement your intelligent projects.
Additionally, MaixPy provides the MaixVision IDE, MaixHub online training platform, detailed documentation, and even a C/C++ SDK with identical APIs, ensuring seamless development and production deployment.
Here is a partial video demonstration of the features. For more documentation, please visit the **official website: [wiki.sipeed.com/maixpy/](https://wiki.sipeed.com/maixpy/)**
> If you like this project, please click **Star** on the top right of the [MaixPy Project](https://github.com/sipeed/maixpy) to encourage us to develop more exciting content!
[](https://www.youtube.com/watch?v=qV1lw0UVUYI)
## Concise and Efficient Code (API) Design
With MaixPy you can easily create **AI vision project** within **10 lines of code**:
```python
from maix import camera, display, image, nn
classifier = nn.Classifier(model="/root/models/mobilenetv2.mud")
cam = camera.Camera(classifier.input_width(), classifier.input_height(), classifier.input_format())
disp = display.Display()
while 1:
img = cam.read()
res = classifier.classify(img)
max_idx, max_prob = res[0]
msg = f"{max_prob:5.2f}: {classifier.labels[max_idx]}"
img.draw_string(10, 10, msg, image.COLOR_RED)
disp.show(img)
```
Result:

## Edge(embeded) friendly
Simply use hardware **peripheral** like serial port:
```python
from maix import uart
devices = uart.list_devices()
serial = uart.UART(devices[0], 115200)
serial.write_str("hello world")
print("received:", serial.read(timeout = 2000))
```
## MaixVision workstation
We also provide a handy **[MaixVision](https://wiki.sipeed.com/en/maixvision)** workstation software to make development easier and faster:
**YOLOv5s**:
224x224: **100fps**
320x256 **70fps**
640x640: **15fps**
**YOLO11n**:
224x224: **175fps**
320x224: **120fps**
320x320: **95fps**
640x640: **23fps**
| **YOLOv5s**:
224x224: 495fps
320x256: 400fps
640x480: 106fps / 73fps / 103fps
640x640: 80fps
**YOLO11n**:
224x224: 1214fps
640x480: 168fps / 77fps / 143fps
640x640: 113fps / 56fps / 98fps
**YOLO11s**:
640x480: 87fps / 53fps / 83fps
640x640: 62fps / 39fps / 59fps
**YOLO11l**:
640x640: 19fps / 16fps / 19fps
|
| LLM | ❌ | ❌ |
\[include pre-post process parts(Python)\] /
\[dual buff mode(Python)\]