Commit Graph

4989 Commits

Author SHA1 Message Date
nate.crosswhite 01f7fd13ea Add cmake option to use external libjpeg on Mac OS 2015-07-14 10:29:48 -04:00
Davis E. King 97dc30bc63 Merge pull request #20 from Abai/master
Replace add_definitions with CMAKE_CXX_FLAGS in cmake file
2015-07-13 19:28:58 -04:00
Aziz Baibabaev bd664d9aa1 Replace add_definitions with CMAKE_CXX_FLAGS in cmake file
When using add_definitions erroneous flags are passed to dll resource compiler under MinGW. This breaks the build for anything linked to dlib, using a dll rc and MinGW.

The proper way is to append to CMAKE_CXX_FLAGS.

For CMake 2.8.12 and higher the proper way is add_compile_options(-Wreturn-type) OR target_compile_options(dlib PRIVATE -Wreturn-type)
2015-07-13 17:30:14 +02:00
Davis King 95887df088 Gave imglab the ability to jump to a specific image via a keyboard command. 2015-07-12 13:50:40 -04:00
Davis King a3c98799e7 Added has_input_focus() to the field_field. 2015-07-12 13:48:12 -04:00
Davis King dbc1ea4ddd Added --rmdupes. 2015-07-05 14:36:39 -04:00
Davis King 11e0382238 Added --rmtrunc, made --rmdiff mark a box as ignored rather than
totally removing it, and also made --stats print the number of non-ignored
boxes.
2015-07-04 20:45:07 -04:00
Davis King d6cd6a2ade Fixed a bug that crashed imglab when trying to cluster datasets with empty or
really small boxes.
2015-07-04 20:28:52 -04:00
Davis King 2651becf91 fixed bad input validation 2015-07-04 09:41:34 -04:00
Davis King 0b8e2a99af Added the --rotate option to imglab. 2015-07-04 09:37:02 -04:00
Davis King aa4e230db0 Removed conditional compilation regarding jpeg and png support. It's just
always going to be required for imglab.
2015-07-04 09:15:02 -04:00
Davis King 7aed6b3a84 Added the --cluster option to imglab. 2015-07-03 11:58:59 -04:00
Davis King 16efd4698c Added a version of set_aspect_ratio() that works for drectangle. 2015-07-03 11:54:56 -04:00
Davis King ad9a9e6efa A minor optimization 2015-07-02 08:27:51 -04:00
Davis King a8568a351b Added the --tile option to imglab. 2015-07-02 08:24:41 -04:00
Davis King b52e50a30b Added a .revert() to the locally_change_current_dir object. 2015-07-02 08:20:27 -04:00
Davis King 484448113c updated docs 2015-07-01 17:30:00 -04:00
Davis King 986273f20e Added find_clusters_using_angular_kmeans() 2015-07-01 17:26:05 -04:00
Davis King 2c8b159ece updated docs 2015-06-23 08:28:56 -04:00
Davis King a2c8aab219 Added bottom_up_cluster() 2015-06-23 08:24:48 -04:00
Davis King c9c3fa17b5 Made max_cost_assignment() give an error if you incorrectly give it a
non-square matrix.
2015-06-18 17:42:43 -04:00
Davis King 3286a0a342 Fixed a minor bug in extract_highdim_face_lbp_descriptors() which was pointed
out by Yan Xu.  One of the face locations was mistakenly used twice while
another was skipped.  This change breaks backwards compatibility with the
previous feature extraction output but should slightly improve accuracy of
classifiers trained using these features.
2015-06-08 18:26:56 -04:00
Davis King a14938ae41 Created release v18.16 2015-06-03 20:16:37 -04:00
Davis King 8606e33844 Added tag v18.16 for changeset 42a25c606cf9 2015-06-03 20:16:37 -04:00
Davis King 40cb07b4b9 improved python example testing 2015-06-03 20:15:06 -04:00
Davis King 119ce9e8c8 A minor change to avoid a compiler warning 2015-06-03 17:33:55 -04:00
Davis King 6527b76a67 updated docs 2015-06-03 08:21:37 -04:00
Davis King 3044fff8fc Improved the depth testing for the perspective_display. 2015-06-03 07:53:43 -04:00
Davis King acca22a9e2 Made the camera_transform output the point's distance. 2015-06-02 18:06:29 -04:00
Davis King 1294d6d398 fleshed out this example with comments 2015-06-02 17:47:46 -04:00
Davis King c290381bf0 Made the solver use an SMO type iteration in the beginning before
switching to projected gradient steps.
2015-06-02 08:12:28 -04:00
Davis E. King 1a494a912b Merge pull request #14 from fabioperez/master
Revise help message
2015-05-30 21:06:11 -04:00
Fabio Perez 5fb4c584bd Revise help message 2015-05-30 22:00:36 -03:00
Davis King 2b14122cae updated docs 2015-05-30 19:07:07 -04:00
Davis King 52f3e558a4 Added initial version of model predictive control example program. 2015-05-30 19:04:50 -04:00
Davis King c9d60d98fa Fixed compile time bug and also made it so you can set all the targets at once. 2015-05-30 19:03:06 -04:00
Davis King c4e4cd00d5 merged 2015-05-30 10:05:57 -07:00
Davis King d5170a3941 Made cmake check which version of python is currently in the user's path
and try to link against that one rather than whatever might be installed
system wide.
2015-05-30 10:05:11 -07:00
Davis King eadb9ee104 updated docs 2015-05-29 21:09:23 -04:00
Davis King b975cdf639 Cleaned up this code, filled out spec, added asserts. 2015-05-29 18:00:42 -04:00
Davis King 78dc4a1b05 more cleanup of the spec 2015-05-27 18:04:04 -04:00
Davis King e89046b1b3 Added tests for the MPC tool 2015-05-27 17:38:39 -04:00
Davis King 1a70c82730 Added initial version of linear mpc 2015-05-27 08:10:29 -04:00
Davis King 2cab4c5dec Added messages saying how to install Boost on UNIX systems if it isn't
installed already.
2015-05-25 17:43:04 -07:00
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