Commit Graph

5145 Commits

Author SHA1 Message Date
Davis King
5cfff271a1 minor change to avoid compiler warning 2015-05-25 17:32:37 -07:00
Davis King
c2ee7bbfd5 Fixed a bug where the last column of data in a file wasn't loaded on
some OS X machines when load_libsvm_formatted_data() was called.
2015-05-25 16:39:53 -07:00
Davis E. King
03cfc68af8 Merge pull request #13 from patricksnape/py_corr_tracker
Add a Python interface for the Correlation Tracker
2015-05-21 20:12:11 -04:00
Patrick Snape
dd922c668f Add example of python correlation tracker
This replicates the c++ example.
2015-05-20 12:25:28 +01:00
Patrick Snape
23343f3de6 Add overlay overload for drectangle
This is useful for visualizing the tracking results.
2015-05-20 12:24:42 +01:00
Patrick Snape
60475dda9b Update docs on corr tracker, return side lobe
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.
2015-05-20 11:52:29 +01:00
Patrick Snape
e3c3d39ab1 Add an API for the correlation tracker
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).
2015-05-20 11:29:14 +01:00
Patrick Snape
c4cf31a746 Preparing for correlation tracker - add drectangle
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.
2015-05-20 10:46:01 +01:00
Patrick Snape
8568c262e9 Incorrect IFDEF name for shape predictor
The word detector didn't make much sense!
2015-05-20 09:37:33 +01:00
Davis King
d3a3288ef4 Added a max iterations option to the sequence labeling and segmentation
learning tools.
2015-05-05 18:01:52 -04:00
Davis King
28da58f0ba Added a max iterations option to the svm_multiclass_linear_trainer. 2015-05-05 17:54:04 -04:00
Davis King
1372472d4c Added an optional hard limit on the number of iterations in the
structural SVM solver.
2015-05-05 17:46:56 -04:00
Davis King
65d838e6e8 fixed typo in assert message 2015-05-05 08:15:12 -04:00
Davis King
a33ff09cfc Added checks to avoid redefining #defines that already exist. 2015-05-03 14:30:18 -04:00
Davis King
28f6e51b1f merged 2015-04-30 18:36:12 -04:00
Davis King
d25df5a9f3 Fixed a bug in the eigenvalue_decomposition which could occur when
a symmetric matrix was used along with the LAPACK bindings.
2015-04-30 08:25:08 -04:00
Davis King
610ed9905f Created release v18.15 2015-04-29 21:39:59 -04:00
Davis King
cc99892a4d Added tag v18.15 for changeset feaff82884de 2015-04-29 21:39:59 -04:00
Davis King
555de01d1e updated release notes 2015-04-29 08:21:20 -04:00
Davis King
57a0cda903 updated docs 2015-04-29 08:04:04 -04:00
Davis King
8685719045 Filled out spec for the reinforcement learning stuff. 2015-04-28 18:31:05 -04:00
Davis King
eec8979303 Made the perspective display resort the points with the proper z order
whenever you release the mouse button or add more points.
2015-04-22 08:01:39 -04:00
Davis King
53e825d35c Added a convenient overload of translate_point. 2015-04-22 07:40:06 -04:00
Davis King
dd43ba44b7 Added an implementation of the least-squares policy iteration algorithm. 2015-04-20 07:58:35 -04:00
Davis King
7d32c4d1cf merged 2015-04-13 03:53:37 -04:00
Davis King
083780d91b Improved assert error message in cv_image's constructor. 2015-04-13 03:52:45 -04:00
Davis E. King
f3ef255edc Merge pull request #12 from Abai/master
Fix dlib tests for c++11
2015-04-09 18:17:54 -04:00
Aziz Baibabaev
c1cb614de2 Fix dlib tests for c++11
c++11 std::mutex clashes with dlib::mutex when:

using namespace std;
using namespace dlib;
2015-04-09 15:17:13 +02:00
Davis King
7ce411c030 Added missing scope qualifiers to assert statement code so that calls to these
macros compile when invoked outside dlib namespace.
2015-04-08 04:14:44 -04:00
Davis King
5b36df00f3 Merged changes and modified them slightly. In particular, the class already
has a timeout parameter, so the connect() call should use that rather than
adding another.
2015-04-06 17:47:18 -04:00
Suresh Namla
e0cabc8975 Dlib::http_client - Changes for configured Socket Connection Initialization Timeout 2015-04-06 15:05:07 +05:30
Davis King
98910caacc Made the perspective widgets draw lines first. 2015-04-04 13:45:09 -04:00
Davis King
12f6520c55 Added another add_overlay() overload to perspective_window and also fixed a
rendering problem in perspective_display that appeared when drawing lines on
displays that weren't positioned at the upper left corner of the entire window.
2015-04-04 13:41:44 -04:00
Davis King
80ea9c665b The shape_predictor and shape_predictor_trainer had a non-optimal behavior when
used with objects that have non-square bounding boxes.  This has been fixed but
will cause models that were trained with the previous version of dlib to not
work as accurately if they used non-square boxes.  So you might have to retrain
your models when updating dlib.
2015-04-03 13:20:09 -04:00
Davis King
805aec8d00 updated README 2015-03-29 16:49:00 -04:00
Davis King
0d6830a48d added comments about using imglab 2015-03-29 16:47:37 -04:00
Davis King
03b6fb0b7e updated version number and about docs 2015-03-29 16:44:31 -04:00
Davis King
958a21a09b Now you can move overlay rectangles and their parts around on the image_display
by holding shift and right clicking and dragging.
2015-03-29 16:41:25 -04:00
Davis King
0209f51a39 clarified documentation 2015-03-29 16:35:23 -04: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
35b74d1b0f updated ignore list 2015-03-28 23:16:35 -04:00
Davis King
c00edf8cb6 Merge branch 'jackculpepper-py_det_conf_and_idx' 2015-03-28 22:49:15 -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
edb85555e5 Fixed the get_best_hough_point() function so that it works on generic
images.
2015-03-25 18:00:40 -04:00
Davis King
2e2a14879b Renamed the lambda variable since it clashes with a python keyword. 2015-03-25 17:45:12 -04:00
Davis King
a16515eac7 updated docs 2015-03-24 17:48:39 -04:00
Davis King
38ad98f546 Fixed some bug in the point rotation code and added more unit tests. 2015-03-24 17:36:07 -04:00
Davis King
898c948f5a Minor change to avoid compiler warning 2015-03-24 17:28:07 -04:00
Davis King
c41f532284 reworked the how to compile page 2015-03-24 08:02:33 -04:00
Davis King
14a15e4f2f Added the apt-get statement to install libx11-dev 2015-03-24 07:40:50 -04:00