Commit Graph

53 Commits

Author SHA1 Message Date
Patrick Snape dd922c668f Add example of python correlation tracker
This replicates the c++ example.
2015-05-20 12:25:28 +01:00
Davis King d1a5815cb9 Added default upsampling amount to detector.run(). Also moved the
new example code into face_detector.py and added some comments.
2015-03-28 23:16:54 -04:00
Davis King 216eb3f30f Merge branch 'py_det_conf_and_idx' of https://github.com/jackculpepper/dlib into jackculpepper-py_det_conf_and_idx 2015-03-28 22:48:19 -04:00
Davis King e00f6f63ca Replaced the raw_input() calls with a call into dlib since raw_input() isn't
available in python3.
2015-03-22 18:45:08 -04:00
Jack Culpepper f2f4e9d0bf run on telling example 2015-03-12 07:48:21 +00:00
Davis King 154f435427 Added notes about installing skimage. 2015-03-07 14:14:47 -05:00
Davis King 5b5393f6ac clarified example 2015-01-03 23:33:46 -05:00
Davis King ab424628dc Made this file executable 2015-01-03 23:26:02 -05:00
Vinh Khuc 067e36b505 Added a Python example for find_candidate_object_locations 2015-01-03 14:45:46 -05:00
Davis King ef06f0e8d5 Fixed grammar 2014-12-27 18:15:07 -05:00
Davis King 1ab3482597 Clarified a few comments and simplified the serialization code a bit.
Also just cleaned up a few minor details.
2014-12-27 15:30:56 -05:00
Patrick Snape 37af35b55e Re-add the cached object detector
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
2014-12-12 16:22:57 +00:00
Patrick Snape fbe597be03 Add facial landmark prediction examples for Python 2014-12-11 15:01:08 +00:00
Patrick Snape af82bc402f Sort out PEP8 issues in the examples 2014-12-11 09:44:50 +00:00
Patrick Snape 60318cb308 Add example of testing detector using existing data 2014-12-10 17:45:51 +00:00
Patrick Snape cc3bb4993c Python3 friendly printing in examples 2014-12-10 17:45:51 +00:00
Davis King cd71dab3f2 Updated the Python API, train_simple_object_detector() so you can call it
directly on already loaded data rather than needing to use an XML file as
input.
2014-08-12 19:47:41 -04:00
Davis King 64a0d7a77d changed python example so that running it without commands doesn't trigger a testing
failure in the makedocs script
2014-03-09 13:37:30 -04:00
Davis King b48db9de66 grammar 2014-03-08 11:32:12 -05:00
Davis King d4fcaba87a Fixed incorrect comment. 2014-03-02 11:59:31 -05:00
Davis King 2369ae1e57 Made the python object detection tools process color images
in color instead of always converting to grayscale.
2014-03-02 11:19:06 -05:00
Davis King 11ae48d0df fixed grammar 2014-02-23 18:16:15 -05:00
Davis King f72305b2d9 Added python object detection examples 2014-02-23 16:56:14 -05:00
Davis King 9b16325df6 fixed more grammar 2014-02-22 16:08:34 -05:00
Davis King 17b8f97c9a Added face detection python example 2014-02-09 13:23:44 -05:00
Davis King bb49be31d8 Added comments about python not being threaded for the structural SVM 2013-10-04 21:37:22 -04:00
Davis King 3bfece9aec Added a max_cost_assignment python example 2013-08-09 11:36:34 -04:00
Davis King 5be1478295 Clarified comments 2013-08-08 19:37:39 -04:00
Davis King cf8774b3c3 Fixed grammar in comment 2013-08-08 18:13:22 -04:00
Davis King 1dd9888bae Added more comments about sparse vectors to the python examples 2013-08-08 11:40:03 -04:00
Davis King c0c1995d50 Clarified example 2013-07-27 02:49:50 +10:00
Davis King a6c9767e6b Minor change to made code work in python 2.6 2013-07-08 21:32:09 -04:00
Davis King 44fd6f4279 refined example 2013-07-07 17:43:04 -04:00
Davis King aa46752d89 updated example program 2013-07-07 16:37:18 -04:00
Davis King cc9ff97a29 Cleaned up python svm struct code a little. 2013-07-07 12:28:31 -04:00
Davis King 9f50ab67fb Added more stuff to example 2013-07-02 22:53:07 -04:00
Davis King 097b4eab22 Added initial version of structural svm python example program. 2013-06-26 22:34:29 -04:00
Davis King 54d7150a0d Added clarifying comments. 2013-06-11 22:18:59 -04:00
Davis King c4ba79883c clarified python usage instructions 2013-06-08 00:57:00 -04:00
Davis King fba1e06436 Fixed spelling error 2013-06-08 00:50:58 -04:00
Davis King 4a8e882f35 Added more comments and discussion of how to use sparse vectors 2013-06-08 00:39:09 -04:00
Davis King ff27f789c9 Added svm-rank python example 2013-06-08 00:07:13 -04:00
Davis King 97f82b1e4f Made decision functions and segmenter objects callable like normal functions. 2013-06-07 23:30:43 -04:00
Davis King 802e5205e4 fixed bug 2013-06-06 20:40:57 -04:00
Davis King c588d9409c improved example 2013-06-06 20:38:52 -04:00
Davis King c1c6fb505a improved sequence segmentation examples 2013-06-06 20:27:29 -04:00
Davis King e1267e0e81 slightly improved example 2013-06-01 14:37:22 -04:00
Davis King 45da41c55f Fleshed out example program. 2013-05-27 23:23:06 -04:00
Davis King 0dd6aad116 Added license header 2013-05-26 20:45:16 -04:00
Davis King b425666f14 Made the script runnable 2013-05-26 20:44:00 -04:00