python

Maix2 Dock Camera Test

Paul Goulbourn
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