Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我对 SimpleCV 比较陌生。我在 Windows Vista 上运行最新版本的 SimpleCV。问题:如何将包含图像的 zip 文件导入 SimpleCV?
该系统可以正常导入 (1) 本地驱动器上的单个图像和 (2) url 链接,但我无法将单个文件夹 (.zip) 从本地数据库导入系统。这就是我所做的:
machine_learning_data_set = "/Users/Arenzky/Desktop/testdataset.zip"
有人可以告诉我我做错了什么吗?
谢谢
目前我们不支持加载 zip 文件,尽管这可以作为一项功能添加。但是,我们可以加载图像目录。因此,如果您下载并解压缩文件,您可以使用以下命令加载目录:
from SimpleCV import ImageSet imgs = ImageSet('/path/to/dir/images/')