Commit Graph

4582 Commits

Author SHA1 Message Date
Davis King 07541b4255 clarified docs 2014-08-24 09:01:41 -04:00
Davis King 687799f3f1 fleshed out the spec 2014-08-24 09:01:31 -04:00
Davis King 581af78978 updated docs 2014-08-23 23:33:00 -04:00
Davis King 946601ec2e updated docs 2014-08-23 21:24:01 -04:00
Davis King 954612b67c Cleaned up the code a bit. Still more cleaning to do. 2014-08-23 21:00:33 -04:00
Davis King b191400a00 Added initial version of shape training example 2014-08-21 22:42:48 -04:00
Davis King 5ae170c461 Added a face landmarking example program 2014-08-21 22:11:55 -04:00
Davis King c9f24f3da4 upped the imglab version number 2014-08-21 21:27:51 -04:00
Davis King e677b0570f Made the way the image_display draws parts not so awful. Now the parts
will have a reasonable size based on the current zoom level.
2014-08-21 21:07:45 -04:00
Davis King 1524020303 Added image shape prediction code. It works well, just need to fill out the
spec and add asserts.
2014-08-21 20:42:16 -04:00
Davis King 5de8793283 A minor change to avoid a compiler warning from gcc with -Wall is on. 2014-08-21 19:29:27 -04:00
Davis King adc4d68250 Made code work in C++03 and fixed a linker error 2014-08-21 19:16:49 -04:00
Davis King 878ded28ba Incorporated Changjiang Yang's patch that makes load_image() use the file
headers to decide how to load images instead of using their file extensions.
This makes load_image() work even when the files have the incorrect file
extensions.
2014-08-21 19:07:16 -04:00
Davis King 5a4f282348 Made the image views do range checking when asserts are enabled. 2014-08-19 21:00:26 -04:00
Davis King 320a48499b updated readme 2014-08-19 19:11:24 -04:00
Davis King 992175a6ee Fixed spelling error and clarified docs 2014-08-19 19:10:28 -04:00
Davis King 6b4d17e51e updated docs 2014-08-18 20:32:12 -04:00
Davis King 5ff02a2a2a Fixed the cmake files to avoid getting an error if the word cmake or various
other words appear in the file path to the source code.
2014-08-18 20:18:06 -04:00
Davis King 9069f30a6d minor code cleanup 2014-08-17 19:30:15 -04:00
Davis King 0b5cb827e2 Made the version of draw_line() that draws onto a regular image use alpha
blending for drawing diagonal lines.
2014-08-17 17:26:44 -04:00
Davis King 413096982b updated docs 2014-08-17 17:25:54 -04:00
Davis King 25a5455676 Added find_similarity_transform() 2014-08-16 12:47:07 -04:00
Davis King 3d9496d73d Renamed a variable to avoid a name conflict on windows which was pointed out by
Ahti Leppänen.
2014-08-15 20:16:21 -04:00
Davis King 55a0ee9c8d fixed typo in spec 2014-08-14 20:40:42 -04:00
Davis King e1887a24f7 Changed the evaluate_detectors() routine so that it applies non-max suppression
to each detector individually.  This way one detector doesn't stomp on the
output of another detector.
2014-08-13 19:06:26 -04: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 ae9546cbdc Made svd3 faster when working on small matrices. 2014-08-11 19:51:05 -04:00
Davis King f9fac06e16 Made inv() handle singular matrices in a more reasonable way. Now it will make
some effort to detect them and output an identity matrix in that case.
2014-08-02 18:56:01 -04:00
Davis King f5c7248b20 Added assignment operator for scalar float assignments. 2014-07-24 21:38:26 -04:00
Davis King 679e75ae34 updated docs 2014-07-20 19:19:58 -04:00
Davis King aa1ccfcdfb clarified spec 2014-07-20 19:18:40 -04:00
Davis King 43f37209e3 Added links to the generic image definition in all the relevant abstract files. 2014-07-20 17:18:34 -04:00
Davis King a6dc296219 Fixed a bug where the imglab tool would sometimes start out with an annoyingly
small window when the first image was bigger than the screen.
2014-07-20 14:47:05 -04:00
Davis King 6d55fcc260 Made the disabled version of pyramid_down support the new image interface.
Also added an overload of operator() for pyramid_down that takes just
a single image and downsamples it.
2014-07-20 08:07:59 -04:00
Davis King 0eb725fc4f Clarified the exact size of the HOG feature maps produced by
extract_fhog_features().  Also fixed a minor bug where empty planar HOG feature
maps had 0 planes in them rather than 31 empty planes as the spec says they
should.
2014-07-19 12:09:55 -04:00
Davis King 98602c332a Fixed a color space handling bug in resize_image() 2014-07-18 22:44:11 -04:00
Davis King d75e747a1d Added a typedef to the object_detector that allows you to find out
what scanner type it is using.
2014-07-18 22:22:31 -04:00
Davis King ac2f95505d removed more double __ 2014-07-18 22:05:06 -04:00
Davis King ca498ac2d2 Just removed double __ from the inclusion guard names. 2014-07-18 21:46:24 -04:00
Davis King 7ce265f538 Just fixed some funny typos in some comments. 2014-07-18 21:31:55 -04:00
Davis King ec67e23372 Removed Ohloh link because it was slowing down the page loading. 2014-07-18 20:34:53 -04:00
Davis King 64bf558373 Fixed a few things so they work with the new image generic interface. 2014-07-17 22:29:06 -04:00
Davis King fa2499d8e2 Added a file that defines a new generic image interface for images in dlib.
This is the dlib/image_processing/generic_image.h file.  Then I changed all the
image processing functions so that they use this interface.  All the changes
are very minor, but there are just a lot of them.

Any user code that was using array2d objects to represent images will still
work.  However, this change makes it so that users can use their own custom
image objects with dlib by simply implementing a few global functions for their
image object.
2014-07-17 19:23:43 -04:00
Davis King dc0fd24d89 Harmonized the array2d::set_size and matrix::set_size methods.
In particular, array2d::set_size() now simply allows any row and
column sizes so long as they are non-negative.
2014-07-12 14:47:52 -04:00
Michael Yee c7d67d8e14 Removed another unused typedef to avoid a compiler warning in gcc 4.8.1. 2014-07-09 10:06:30 -07:00
Davis E. King 01e8e0fd06 Removed unused typedef to avoid compiler warnings. 2014-07-09 12:47:28 -04:00
Davis King f3ce10594f Changed the serialization code for C-strings so that they don't save the null terminator
byte.  This makes their serialization format the same as the format for std::string.  I had
to revert the previous mod for this because it didn't work in visual studio.  This change
fixes that.  The code should still be able to read all previously serialized data correctly.
Moreover, any char arrays that aren't null terminated will still be read and written in
their entirety.
2014-07-08 21:50:50 -04:00
Davis King 06bf7e0e38 merged 2014-07-08 19:28:34 -04:00
Davis E. King 2e3d77f196 Changed the code so that literal strings "i.e. stuff like this" are
serialized using the same format as std::string.  Previously, the
trailing 0 was also saved so if you deserialized them into a std::string
you ended up with a trailing 0 in the std::string which isn't what you
want.
2014-07-07 15:22:36 -04:00
Davis King 0ad899c6f8 Added a Google custom search box to the web page. 2014-07-02 22:30:40 -04:00