Closed xl736592857 closed 3 years ago
代码如下:from PIL import Image, ImageFont, ImageDraw from maix import display, camera import time img = camera.capture() img.save('/mnt/UDISK/%d.jpg' % int(time.time()), quality=100)
from PIL import Image, ImageFont, ImageDraw from maix import display, camera import time img = camera.capture() img.save('/mnt/UDISK/%d.jpg' % int(time.time()), quality=100)
等一下 0.3.1 的更新 https://github.com/sipeed/MaixPy3_scripts
这种情况多数是上电启动的时候,ISP 还没打开导致的。
代码如下:
from PIL import Image, ImageFont, ImageDraw from maix import display, camera import time img = camera.capture() img.save('/mnt/UDISK/%d.jpg' % int(time.time()), quality=100)