Commit Graph

6829 Commits

Author SHA1 Message Date
Davis King 8bfd227930 Changed to slightly better default recommendations for parameters. 2017-09-16 15:14:13 -04:00
Davis King de32c75c15 Merge branch 'visionworkz-master' 2017-09-16 14:54:56 -04:00
Davis King 532552627a Cleaned up code and comments.
In particular, these new functions don't need to be inside the face
recognition class.  So I moved them out.  I also fixed many incorrect
copy/pasted comments and clarified parts of the example code.
2017-09-16 14:53:11 -04:00
Davis King 5cf80dda6a Merge branch 'master' of git://github.com/visionworkz/dlib into visionworkz-master 2017-09-16 14:18:44 -04:00
Davis King b4bd6f8dee More cleanup 2017-09-16 14:10:09 -04:00
Davis King ffe1167952 Made deserialize print more informative error messages. 2017-09-16 14:08:41 -04:00
Davis King 57b6cd1b80 clarified error message 2017-09-16 14:01:34 -04:00
Davis King 37e0b9ea68 Updated comments. 2017-09-15 22:16:00 -04:00
Davis King 68d39c708f Changed TIME_THIS() to use std::chrono::high_resolution_clock 2017-09-15 21:58:03 -04:00
Davis E. King 0f8b227e47 Fixed typo in comment 2017-09-15 21:02:39 -04:00
Davis King fb5cae063b Added this program for historical reference. 2017-09-15 20:20:08 -04:00
Davis King 41c2f217c6 Changed code to recommend users use the new 5 point face landmarking model. 2017-09-15 19:58:27 -04:00
Davis King f56ba6b04f Changed code to recommend users to use the new 5 point face landmarking model. 2017-09-15 19:57:54 -04:00
Davis King 80222b5987 Fixed grammar 2017-09-15 19:57:33 -04:00
Davis King 4fcc5faa39 Fixed grammar 2017-09-15 19:57:16 -04:00
Davis King f84194f643 Upgraded face recognition input validation checks to allow use of 5 point face
landmarking models.
2017-09-15 19:56:38 -04:00
Davis King 1c7bbbd4b6 Upgraded render_face_detections() and get_face_chip_details() to support 5
point face landmark models.
2017-09-15 19:55:47 -04:00
Davis King 3fff7f8414 Added more options to control how the feature pool region is defined. 2017-09-15 19:54:22 -04:00
Davis King 347863c34f Added loss_ranking_ layer 2017-09-15 11:15:34 -04:00
Davis King b6dc0d8e4b merged 2017-09-10 22:24:34 -04:00
Davis King bd26a5d030 fix awkward grammar 2017-09-10 22:23:31 -04:00
Davis King 8de1a1ed6a Improved citations 2017-09-10 22:22:55 -04:00
Davis King 205b26f831 Improved citations 2017-09-10 22:16:54 -04:00
Juha Reunanen 308bfa3833 MMOD: fix loss from ignored rects when using loss_per_missed_target != 1 (#813) 2017-09-10 10:53:03 -04:00
Varun 93a1aba096 Added threshold to clustering call 2017-09-10 06:15:42 +08:00
Davis King 04e034a70f Made object part annotations shown on the image_display scale relative to the size of their bounding box. 2017-09-09 09:23:24 -04:00
Davis King 85c94dc1e4 removed extraneous print statement. 2017-09-07 19:11:18 -04:00
Davis King ef57efc742 Fix compiler error in visual studio. 2017-09-06 10:33:53 -04:00
Davis King 16327b658e Made input_rgb_image_pyramid use the GPU if available. So it's now a lot
faster.  The CPU path is also a lot faster as well.
2017-09-06 07:55:27 -04:00
Davis King abf392538e Made cpu version of tt::resize_bilinear() use SIMD instructions and multiple
CPU cores.
2017-09-06 07:53:49 -04:00
Davis King 07483b1fe9 Added overloads of sub_image() that take raw pointers so you can make
sub_images of anything.  Also made the resize_image() functions a little more
flexible and compatible with the other image interpolation code in dlib.
2017-09-05 22:06:07 -04:00
Visionworkz 8b48c09c7b Added face clustering example to Python API 2017-09-06 02:05:42 +08:00
Davis King a0febe7f69 Clarified spec 2017-09-05 06:16:32 -04:00
Davis King 9e54a2088a Refactored create_tiled_pyramid() code to remove unnecessary copying. It's now
about 2x faster.  The code is cleaner too.
2017-09-04 21:56:24 -04:00
Davis King 8c2d87db09 Added find_pyramid_down_output_image_size() 2017-09-04 16:27:56 -04:00
Davis King 9ba4b45ffd Upgraded resize_bilinear() to let the user specify independent row and channel
stride values.  This lets you run the tensor resizing routine on subwindows in
a tensor.
2017-09-04 15:42:34 -04:00
Davis King f5a68ded86 mmod_options would pick bad window sizes in some corner cases. This has been fixed. 2017-09-03 17:16:56 -04:00
Davis King 14ae224ecd Made it so you can press END or i to ignore boxes in imglab. I did this
because it's a much less stressing hand motion to hit END that i in most cases.
2017-09-03 12:54:18 -04:00
Davis King 38db737860 Fixed a bug in test_object_detection_function() which was just introduced. The
problem was that it wasn't counting detection boxes as false alarms if the
detection boxes had labels that never appeared in the truth dataset.
2017-09-03 12:15:36 -04:00
Davis King 770781ac1e Added a label field to mmod_rect and updated code that uses this object to use
the label in the way you would expect.  In particular, loss_mmod_ is now a
multi-class loss and therefore capable of learning a detector that can output
detections with different labels.
2017-09-02 22:07:07 -04:00
Davis King b56f73cef2 Added box_percent_covered() 2017-09-02 08:42:36 -04:00
Davis King ac5206eb10 merged 2017-09-01 23:08:25 -04:00
Davis King e5df3d8e49 merged 2017-09-01 23:07:12 -04:00
Davis King 60d474a8b7 merged 2017-09-01 21:24:38 -04:00
Davis King 972bf3c46b Made the box colors in imglab spread more evenly over the color space. 2017-09-01 17:38:41 -04:00
Davis King 511c05adbe Updated spec 2017-09-01 17:35:32 -04:00
Davis King 5940ebf375 Made it so crossed out overlay boxes are drawn slightly faded. 2017-09-01 16:47:27 -04:00
Davis King f53c6c32fc Fixed a bug in the extract layer that trigged when a tensor with a different
number of samples than the tensor used to initialize the network was passed
through the layer.
2017-08-31 09:27:04 -04:00
Davis King 9e67724d43 Clarified spec 2017-08-31 09:25:27 -04:00
Davis King b8dc0044fb Improved error message. 2017-08-31 09:25:07 -04:00