正在关注 this tutorial ,我已经创建了我的阳性样本,但现在需要使用 mergevec 合并它们。我下载了提供的 mergevec.exe 二进制文件并获得了两个必需的 dll cxcore100.dll
和 highgui100.dll
.但是,当我这样运行它时:
mergevec samples.txt samples.vec
它给了我错误:
ERROR: Input file <filename> does not exist or not readable.
我应该怎么做才能解决这个问题?我的 vec 文件很好,因为我可以使用 opencv_createsamples
查看它们公用事业。所以我知道他们很好。
最佳答案
我也遇到了这个问题,并制作了一个结合 .vec 文件以避免再次安装 openCV 的 python 实用程序:https://github.com/wulfebw/mergevec
希望对您有所帮助。
关于c++ - OpenCV 训练 : Mergevec error: Input file does not exist or not readable,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/22915363/