title: Why is dlib so slow finding an object?
body: <p>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:</p>
  
  <pre><code>training_xml_path = os.path.join(faces_folder, "cooldataset.xml")
  testing_xml_path = os.path.join(faces_folder, "cooldataset.xml")
  </code></pre>
  
  <p>and running in the images directory, makes a detector.svm.</p>
  
  <p>Now I run a modified object detector for an image, it detects many of the objects it should and puts a rectangle around them, yet it takes almost 2 seconds to find them in a 1920x1080 screenshot! This is on a i5-3230M CPU @ 2.60GHz × 4 so I wonder if there is some compression or other step that I'm missing to make it go faster or work on less powerful device. This is compiled on Ubuntu from dlib-18.16 if that matters.</p>