createsamples

opencv_createsamples: command not found ubuntu

爷,独闯天下 提交于 2021-01-28 14:24:07
问题 I am following Creating your own Haar Cascade OpenCV Python Tutorial But when I get to making the samples I get opencv_createsamples: command not found I am using this to create the samples opencv_createsample -img img.jpg -bg bg.txt -info info/info.lst -pngoutput info -maxxangle 0.5 -maxyangle 0.5 -maxzangle 0.5 -num 573 but I know the command exists because when I do man opencv_createsamples it pulls up the man page. I am using ubuntu 20.04.1 回答1: I have also met this same problem while