问题描述
使用sensor分通道,通道0用于保存图片
sensor.set_framesize(width=800, height=480, chn=CAM_CHN_ID_0)
sensor.set_pixformat(Sensor.RGB888, chn=CAM_CHN_ID_0)
在下方
cam_frame = sensor.snapshot(chn=0)
save_path = f"{SAVE_DIR}/test.jpg"
cam_frame.save(save_path)
会报错
OSError: current format not support save function!
请问img.save支持保存什么格式图片
硬件板卡
01Studio CanMV K230
软件版本
CanMV_K230_01Studio_micropython_v1.6-50-g297b646_nncase_v2.11.0