c++ - OpenCV 训练 : Mergevec error: Input file does not exist or not readable

标签 c++ opencv cascading training-data haar-classifier

正在关注 this tutorial ,我已经创建了我的阳性样本,但现在需要使用 mergevec 合并它们。我下载了提供的 mergevec.exe 二进制文件并获得了两个必需的 dll cxcore100.dllhighgui100.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/

相关文章:

c++ - 安装 Open GRM thrax 时出错

java - Android 中乐谱图像的线检测

c++ - Mat 的 tcp 发送缓冲区错误

scala - 计算 Hadoop 上偶数/奇数对的总和?

hadoop - 将MAP上的Hive侧面 View /爆炸转换为级联框架

java - 是否可以在 Java 中使用 SQOOP 从 MySQL 读取/写入 Hadoop 作业?

c++模板或+运算符从指针创建 vector

c++ - 如何在 SDL 2.0 中清除屏幕的一部分

c++ - 继承和 memcpy - 它是如何协同工作的?

python - cv.MinAreaRect2 和 ArcGIS(GIS 软件)之间的结果差异。可能的错误?