3928| 1
|
[求助] MaixPy读取SD卡中图片报错 |
点灯鼠 发表于 2021-4-12 09:41 files = uos.listdir('/sd/images') # 读入文件夹 num_jpg = len(files) # 统计文件夹中的文件个数 for file in files: #读取SD卡内照片特征 img_name = file print("/sd/images/" + img_name) img_path = "/sd/images/" + img_name img = image.Image(img_path) 显示:Memoryerror : Out of normal Micropython Heap Memory ! Please reducethe resolution of the image you are running this algorithm on to bypasshis issue |
© 2013-2024 Comsenz Inc. Powered by Discuz! X3.4 Licensed