I\'ve been trying to make auto train with python using those commands:
opencv_createsamples -img {image_name} -bg bg.txt -info info/info.lst -pngoutput info -