* - moved for_each_in_tuple() to algs.h. Seems like a better place
- took the opportunity to deprecated the old type traits and make them aliases to things in the standard library
* - made bools() constexpr
* - removed ugly template recursion version of for_each_in_tuple(). Recursion is bad and is one of the reasons why buid times are so long.
- Use generic lambdas. Much better.
* - missing include
* - just make old deprecates stuff aliases to standard library things
- use switch_() for compile time branching. It's awesome. It means less code and less templates.
* - fixed make_compile_time_integer_range. Didn't realize it counted like Matlab. Very weird
* - nice example usage of switch_(). it will be trivially updated to if constexpr() in a couple years when dlib requires C++17
* - deduce return type
- use generic lambdas
* - for some reason these have to specify the return type. I don't understand. Will fix in a bit.
* - yet another template recursion removed. Better compile times in theory. Every little helps
* whoops
* use decay_t
* - type traits go in type_traits.h
- things found in <utility> go in utility.h
- algs.h doesn't contain any type traits. It just includes type_traits.h
* only need type_traits.h header
* use fold expressions if possible
* use is_any from type_traits.h
* - moved is_convertible to type_traits.h. Also make it an alias for std::is_convertible
* moved is_convertible
* use type traits in standard library
* - use standard library
* use standard library
* MSVC bug workaround
* missing dlib namespace
* fix typo
* - reverting back compile_time_integer_list and make_compile_time_integer_range
* - making sure nothing uses compile_time_integer_list or make_compile_time_integer_range
* - added pop_front for index_sequence
- making sure nothing uses compile_time_integer_list or make_compile_time_integer_range
- use auto
* - use integer_sequence
* - added docs for get_type_id(tag)
* - use __type_pack_element if available
* - hmm, reverting, some pre-processors break here. Don't know why.
Co-authored-by: pf <pf@me>
* Add python api that generates desciptor(s) from the aligned image(s)
* Remove asserts from face_recognition.py example/tutorial
* In batch_compute_face_descriptors_from_aligned_images, use for-in loop to simplify the code
Improvde the document on binding methods and the error message if the aligned image is not of size 150x150
* added scale_image python binding which returns an image resized by the provided scale factor
* added scale_rect for rectangle and drectangle. returns a rectangle scaled by the provided scaling factor
* - do not cast scale_rect coordinates to long for drectangle
- document scale_rect for drectangle and rectangle in _abstract.h
- change python binding scale_image to resize_image
- update documentation for resize_image to describe behaviour