Juha Reunanen
0aa8b4cbfc
Treat warnings as errors ( #2490 )
2022-04-12 18:53:52 -04:00
Juha Reunanen
cf5e25a95f
Problem: integer overflow when calculating sizes (may happen e.g. with very large images) ( #1148 )
...
* Problem: integer overflow when calculating sizes (may happen e.g. with very large images)
Solution: change some types from (unsigned) long to size_t
# Conflicts:
# dlib/dnn/tensor.h
* Fix the fact that std::numeric_limits<unsigned long>::max() isn't always the same number
* Revert serialization changes
* Review fix: use long long instead of size_t
* From long to long long all the way
* Change more types to (hopefully) make the compiler happy
* Change many more types to size_t
* Change even more types to size_t
* Minor type changes
2018-03-01 07:27:29 -05:00
Davis King
114f677d74
Fixing grammar in comments.
2014-02-22 16:07:17 -05:00
Davis King
ba37c88fbf
Clarified examples now that we have more object detectors in the library.
2014-01-11 10:40:39 -05:00
Davis King
e0a6e30581
Refactored the image pyramid code. Now there is just one templated object,
...
pyramid_down and you give it the downsampling amount as a template argument.
2013-10-03 21:36:51 -04:00
Davis King
1b23bb13e9
Updated comments in examples to account for recent code change.
2013-07-25 20:38:23 +10:00
Davis King
50b636c131
Added notes that the object detector validation methods also output MAP values.
2013-03-31 15:45:56 -04:00
Davis King
1f8f1261e3
Added scope qualifiers to dlib::array so there isn't a name conflict
...
on C++11 compilers.
2013-03-03 10:40:33 -05:00
Davis King
7b43a3c6ac
All I did in this change was switch from using #include "" syntax
...
to #include <> syntax.
2012-12-08 09:32:13 -05:00
Davis King
8319811880
Simplified example programs slightly
2012-10-21 22:08:48 -04:00
Davis King
ad1c665ab4
All I did in this commit was remove any of the ::kernel_1a, ::expand_1a,
...
qualifiers from any uses of dlib::array.
2012-03-10 14:51:55 -05:00
Davis King
3a4f1c0e4d
Further simplified these examples.
2012-01-21 16:52:54 -05:00
Davis King
55c1d6cdef
Simplified these examples slightly.
2012-01-21 16:43:08 -05:00
Davis King
8808006cf2
updated examples
2011-12-26 21:43:07 -05:00
Davis King
b194c7b148
Cleaned up example slightly
2011-11-06 09:45:19 -05:00
Davis King
afddb2d43b
fixing grammar.
2011-10-22 11:42:10 -04:00
Davis King
428a36efdf
fixed grammar
2011-09-18 22:12:11 -04:00
Davis King
948340478e
minor fix
2011-09-17 16:30:38 -04:00
Davis King
ed7c344a53
Added some examples for the new object detection stuff.
2011-09-17 16:23:06 -04:00