Maix2 Dock Camera Test

You can write a small amount of python to test that the image you have created works correctly.

The following is a tiny python script that takes an image from the camera and displays it on the built-in screen.

Connect to the device via the serial link or over ssh.

Create a test.py file with the

#!/usr/bin/env python
from maix import display, camera
while True:
	display.show(camera.capture())

Make the script executable via

chmod +x test.py

Run the script

./test.py

The rear display should now show images of what the camera points at.

The built-in firmware includes a demonstration application that can do image recognition for a set of objects. You can launch this by running the main.py script.