1. 23 Jun, 2016 1 commit
    • nxwhite-str's avatar
      Add detection threshold adjustment to object detection python interface (#140) · b53e9cf0
      nxwhite-str authored
      * Add cmake option to use external libjpeg on Mac OS
      
      * Add adjust_threshold to python object detector
      
      * Add cmake option to use external libjpeg on Mac OS
      
      * Add adjust_threshold to python object detector
      
      * Revert "Add cmake option to use external libjpeg on Mac OS"
      
      This reverts commit 01f7fd13ea3f2b519312900333f9b68847fd1633.
      
      * Update detector example to set adjust_threshold
      b53e9cf0
  2. 30 Mar, 2016 1 commit
  3. 20 May, 2015 1 commit
    • 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
  4. 29 Mar, 2015 1 commit
  5. 12 Mar, 2015 3 commits
  6. 04 Jan, 2015 2 commits
  7. 03 Jan, 2015 1 commit
  8. 28 Dec, 2014 1 commit
  9. 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
  10. 11 Dec, 2014 7 commits
    • 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
      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
    • Patrick Snape's avatar
      Add a new conversion header · 315a2b1c
      Patrick Snape authored
      This deals with converting python objects to dlib objects
      315a2b1c
    • Patrick Snape's avatar
      Refactor rgb_pixel out of object detection · 68ae858f
      Patrick Snape authored
      Also, move the vectorize template into its own header to
      stop having to declare it again in vector.
      68ae858f
    • Patrick Snape's avatar
      First attempt at adding to the boost API · 70db61c5
      Patrick Snape authored
      Exposes the test method, but takes in images and bounding boxes.
      Seems fairly simply to extend the API
      70db61c5
  11. 15 Nov, 2014 1 commit
  12. 13 Aug, 2014 1 commit
  13. 10 Mar, 2014 1 commit
  14. 03 Mar, 2014 1 commit
  15. 24 Feb, 2014 4 commits
  16. 10 Feb, 2014 1 commit