logo

OpenMV加载SD卡舌苔图像路径错误问题

2026-01-20 09:58
O
okb746t226c6

OpenMV加载SD卡舌苔图像路径错误问题

用户在使用OpenMV进行舌苔匹配时,尝试从SD卡加载存储的舌苔数据库图片,但始终提示路径找不到。已尝试多种路径格式均无效。

sample_img = image.Image(f"shetou/p{person}/{sample}.jpg")
sample_img = image.Image(f"/shetou/p{person}/{sample}.jpg")
sample_img = image.Image(f"./shetou./p{person}./{sample}.jpg")
image.png
2026-01-20 13:20
Z
星小瞳xs

模板匹配不是用jpg文件:

模板匹配 · OpenMV中文入门教程