1. 21 Nov, 2018 1 commit
  2. 17 Jun, 2018 1 commit
  3. 11 Jun, 2018 1 commit
  4. 09 Jun, 2018 1 commit
  5. 26 May, 2018 1 commit
  6. 07 May, 2018 1 commit
  7. 28 Apr, 2018 1 commit
  8. 12 Feb, 2018 2 commits
  9. 16 Jan, 2018 1 commit
  10. 25 Jan, 2017 1 commit
  11. 03 Feb, 2016 1 commit
  12. 26 May, 2015 1 commit
  13. 26 Mar, 2015 1 commit
  14. 28 Dec, 2014 1 commit
  15. 11 Dec, 2014 4 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
      Make shape predictor pickleable · 32ad0ffa
      Patrick Snape authored
      Fix typo as well
      32ad0ffa
    • Patrick Snape's avatar
      Add wrappers for the shape predictors · e3aee32f
      Patrick Snape authored
      This includes the full_object_detection, a new struct in the same
      vein as the simple_object_detector_training_options and of
      course, the shape predictor classes themselves.
      
      All of training, fitting and testing are wrapped.
      e3aee32f