Error “Train dataset for temp stage can not be filled.” while using traincascade tool of OpenCV

前端 未结 10 1099
灰色年华
灰色年华 2020-12-16 20:35

I\'m building the opencv_traincascade.exe tool from source code (OpenCV 2.4.0) using vs2010 on windows 7. I want to train a LBP classifier, so I\'m using opencv_traincascade

10条回答
  •  生来不讨喜
    2020-12-16 20:56

    I am also learning how to use OpenCV object detection tools.

    I noticed that if the bg file (in your case "D:\OpenCV\Classifiers\lbpclassifier1\temp\negative\infofile.txt") has a wrong format or contains a entry with non-existent file, opencv_traincascade produces error.

    Hope it helps.

提交回复
热议问题