1. 03 Feb, 2016 5 commits
  2. 29 Sep, 2015 1 commit
  3. 21 Aug, 2015 2 commits
  4. 20 Aug, 2015 5 commits
  5. 13 Aug, 2015 1 commit
  6. 19 Jun, 2015 1 commit
  7. 26 May, 2015 1 commit
  8. 20 May, 2015 5 commits
    • Patrick Snape's avatar
      Add overlay overload for drectangle · 23343f3d
      Patrick Snape authored
      This is useful for visualizing the tracking results.
      23343f3d
    • Patrick Snape's avatar
      Update docs on corr tracker, return side lobe · 60475dda
      Patrick Snape authored
      Added the missing documentation for the correlation tracker.
      Didn't realise that the tracker returned the side lobe ratio,
      so fixed the API to return it properly.
      60475dda
    • Patrick Snape's avatar
      Add an API for the correlation tracker · e3c3d39a
      Patrick Snape authored
      This aids an API for the correlation based tracker that Davis
      recently added to Dlib. I've made sure to allow overrides for
      passing normal rectangles rather than drectangles (which isn't
      currently supported in the Dlib C++ API). This is mostly
      because I imagine people might initialize the tracking using
      something like a bounding box from a detector (e.g.
      load_frontal_face_detector).
      e3c3d39a
    • Patrick Snape's avatar
      Preparing for correlation tracker - add drectangle · c4cf31a7
      Patrick Snape authored
      The correlation tracker deals with the drectangle
      (double rectangle) class which currently isn't wrapped. Therefore,
      I add the drectangle class and refactor rectangles into their
      own file. I also added a load of methods on rectangle that might
      be useful such as intersection/contains/area etc.
      c4cf31a7
    • Patrick Snape's avatar
      Incorrect IFDEF name for shape predictor · 8568c262
      Patrick Snape authored
      The word detector didn't make much sense!
      8568c262
  9. 29 Mar, 2015 1 commit
  10. 26 Mar, 2015 1 commit
  11. 23 Mar, 2015 1 commit
  12. 12 Mar, 2015 4 commits
  13. 08 Mar, 2015 1 commit
  14. 04 Jan, 2015 2 commits
  15. 03 Jan, 2015 1 commit
  16. 28 Dec, 2014 1 commit
  17. 13 Dec, 2014 1 commit
    • Patrick Snape's avatar
      Re-add the cached object detector · 37af35b5
      Patrick Snape authored
      A little bit hacky, but should be fine. Supports both fhog
      detectors and the "cached" simple_object_detector. Also, maintains
      the upscale parameter for testing
      37af35b5
  18. 11 Dec, 2014 6 commits
    • Patrick Snape's avatar
      Change logic for upsampling printing · 30869fbe
      Patrick Snape authored
      30869fbe
    • Patrick Snape's avatar
      Update the interface to be more Pythonic · dd19ce84
      Patrick Snape authored
      This is the biggest change so far. Now, there are two different
      classes of interface. One where you pass ONLY file paths,
      and one where you pass ONLY Python objects.
      
      The file paths are maintained to keep a matching interface with
      the C++ examples of dlib. So shape predicition and object
      detection can be trained using the dlib XML file paths and then
      serialize the detectors to disk.
      
      Shape prediction and object detection can also be trained using
      numpy arrays and in-memory objects. In this case, the predictor
      and detector objects are returned from the training functions.
      To facilitate serializing these objects, they now have a 'save'
      method.
      
      Tetsing follows a similar pattern, in that it can take either XML
      files are or in-memory objects. I also added back the concept of
      upsampling during testing to make amends for removing the
      simple_object_detector_py struct.
      dd19ce84
    • Patrick Snape's avatar
      Add a save method to detectors and predictors · 8db3f4e5
      Patrick Snape authored
      Also, removed the saving of the upsample which I missed from
      before (since I'm not using the struct now). I understand why
      the upsample was being saved, but I don't necessarily agree it
      is particularly useful as you should really be upsampling on
      a case by case basis at test time.
      8db3f4e5
    • Patrick Snape's avatar
      Properly handle turning the GUI off · 5b485a62
      Patrick Snape authored
      5b485a62
    • Patrick Snape's avatar
      Refactor the GUI code out · e801bd6a
      Patrick Snape authored
      I also cleaned up a bunch of code. I'm not sure why the
      simple_object_detector was keeping track of the upsample amount,
      since it can't even be passed as an argument to the constructor.
      Therefore, I removed the simple_object_detector_py and the second
      declaration of the hog object detector. I also changed the
      view code to optionally take keyword args of color and added
      a single view of a rectangle.
      
      Finally, I added viewing of the shape parts.
      e801bd6a
    • Patrick Snape's avatar
      Add rendering of faces (lines) · 697aecb4
      Patrick Snape authored
      Can either be a list of full_object_detections or a single
      full_object_detection. I couldn't get the vector type to work
      for full_object_detection due to a template error.
      697aecb4