1. 初始化AI摄像头

CameraV831(tx=Pin.P16, rx=Pin.P15)

tx 串口发送引脚

rx 串口接收引脚

例如:

from mpython import *
from camera import *
camera = CameraV831(tx=Pin.P16, rx=Pin.P15)

1.1. mPython图形化示例

../_images/face_detect.png