dlib-python

Why is dlib so slow finding an object?

冷暖自知 提交于 2021-01-29 04:24:25
问题 I'm testing some stuff with Dlib and I selected rectangles around instances of an object I want to recognize, using the compiled tool included in tools/imglab/build/imglab. With this xml file describing a few different views of the object I want to detect I run the train object predictor with a few changes: training_xml_path = os.path.join(faces_folder, "cooldataset.xml") testing_xml_path = os.path.join(faces_folder, "cooldataset.xml") and running in the images directory, makes a detector.svm

D-lib object detector training

喜夏-厌秋 提交于 2019-12-24 08:33:39
问题 I am trying to train an object detector using D-lib. I selected close to 100 images for training. I am using the Python environment. As per documentation, I used the Imglab tool to draw the bounding boxes across the images. Every image is almost 4000*3000 pixels in size. And then placed the generated XML file into my location and called the detector program. Here are my doubts and questions. What should I use as the testing XML file while running the program? I ran without assigning any