Welcome aboard on this thrilling journey into the world of MaixPy3! This Python3 toolkit, based on CPython, simplifies the development of applications on Linux AI edge devices. Despite being deprecated, it remains handy for Sipeed Maix-II-Dock (v831) board users. So, let’s roll up our sleeves and dive right in!
Why Choose MaixPy3?
MaixPy3 is designed specifically to ease your programming experience, particularly with camera and image stream capabilities. It’s your go-to toolkit for creating powerful applications on edge devices.
Want to know more about the future of MaixPy? Navigate to SipeedMaixPy for the latest updates and recommendations.
Setting Up Your Environment
Before the fun begins, ensure your Linux Ubuntu 20.04 desktop is ready for action. Follow these steps:
- Update your package list:
sudo apt update
sudo apt install libjpeg-dev gcc libopencv-dev -qq -y
wget http://mirrors.kernel.org/ubuntu/pool/main/libf/libffi/libffi6_3.2.1-8_amd64.deb
sudo apt install ./libffi6_3.2.1-8_amd64.deb -qq -y
Installing MaixPy3
Time to install MaixPy3! Run the following command:
python3 -m pip install pybind11 maixpy3
Creating Your First Application
Now, let’s put the toolkit to the test. Try the following Python code to capture and display an image:
python3
from maix import camera, display
display.show(camera.capture().draw_string(0, 0, 'hello world!'))
Building for Linux
If you are developing on a Linux x86_64 system, use these commands to build:
python3 setup.py build
python3 -m pip install .
Platforms in Development
Here’s a snapshot of available platforms and their statuses:
| Platform | Status | Progress | Toolchain |
|---|---|---|---|
| linux_pc | working | [linux_desktop](.envs/linux_desktop.py) | [develop.md](.docs/develop.md) |
| maix_v83x | working | [maix_v83x](.envs/maix_v83x.py) | [v83x_linux_x86_python3.8_toolchain](https://github.com/sipeed/MaixPy3/releases/tag/20210613) |
| maix_r329 | working | [maix_r329](.envs/maix_r329.py) | [r329_linux_x86_python3.9_toolchain](https://github.com/sipeed/MaixPy3/releases/tag/20211101) |
Troubleshooting Tips
Encountering issues? Here are some troubleshooting strategies:
- If you face installation issues, ensure your system libraries are up-to-date by re-running the update commands.
- Check for compatibility of your Python version; MaixPy3 requires Python 3.5 or higher.
- For more insights, updates, or to collaborate on AI development projects, stay connected with fxis.ai.
Conclusion
At fxis.ai, we believe that such advancements are crucial for the future of AI, as they enable more comprehensive and effective solutions. Our team is continually exploring new methodologies to push the envelope in artificial intelligence, ensuring that our clients benefit from the latest technological innovations.
Now that you’re equipped with the knowledge of MaixPy3, set sail on your development adventures! Good luck!

