- 28 Dec, 2014 4 commits
- 
- 
Davis King authoredAlso just cleaned up a few minor details. 
- 
Davis King authored
- 
Davis King authored
- 
Davis King authoredI changed the spec to reflect this. 
 
- 
- 13 Dec, 2014 1 commit
- 
- 
Patrick Snape authoredA little bit hacky, but should be fine. Supports both fhog detectors and the "cached" simple_object_detector. Also, maintains the upscale parameter for testing 
 
- 
- 11 Dec, 2014 18 commits
- 
- 
Patrick Snape authored
- 
Patrick Snape authored
- 
Patrick Snape authoredThis 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. 
- 
Patrick Snape authoredAlso, 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. 
- 
Patrick Snape authored
- 
Patrick Snape authoredI 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. 
- 
Patrick Snape authoredCan 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. 
- 
Patrick Snape authored
- 
Patrick Snape authoredFix typo as well 
- 
Patrick Snape authored
- 
Patrick Snape authored
- 
Patrick Snape authoredThis 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. 
- 
Patrick Snape authoredThis deals with converting python objects to dlib objects 
- 
Patrick Snape authored
- 
Patrick Snape authoredAlso, move the vectorize template into its own header to stop having to declare it again in vector. 
- 
Patrick Snape authoredAlso, change point x and y to be properties 
- 
Patrick Snape authored
- 
Patrick Snape authoredExposes the test method, but takes in images and bounding boxes. Seems fairly simply to extend the API 
 
- 
- 10 Dec, 2014 5 commits
- 
- 
Davis King authored
- 
Davis King authored
- 
Davis King authored
- 
Davis King authored
- 
Davis King authored
 
- 
- 09 Dec, 2014 8 commits
- 
- 
Davis King authored
- 
Davis King authored
- 
Davis King authored
- 
Davis King authored
- 
Davis King authored
- 
Davis King authored
- 
Davis King authored
- 
Davis King authored
 
- 
- 08 Dec, 2014 4 commits
- 
- 
Davis King authoredbut didn't link to the approrpiate library. 
- 
Davis King authored
- 
Davis King authored
- 
Davis King authored
 
-