Brian Wignall
f9c514b391
Fix spelling typos
...
backport commit 659ffaddb4
5 years ago
Brian Wignall
659ffaddb4
Fix spelling typos
5 years ago
kupferb
f024425dd0
Update haarfeatures.cpp
...
Detailed description for my proposal can be found here
https://github.com/opencv/opencv/issues/14128
6 years ago
michal-kowalczyk
a246d8d8e9
Merge pull request #13709 from michal-kowalczyk:flush-processed-samples-number
...
* Add flushing to printing number of processed positive/negative samples so that user is informed of updates quickly.
* use flush C api instead of C++ api
6 years ago
klemens
5d9c6723ee
spelling fixes
...
backport 997b7b18af
6 years ago
klemens
997b7b18af
spelling fixes
6 years ago
Vadim Pisarevsky
0f622206e4
completely new C++ persistence implementation ( #13011 )
...
* integrated the new C++ persistence; removed old persistence; most of OpenCV compiles fine! the tests have not been run yet
* fixed multiple bugs in the new C++ persistence
* fixed raw size of the parsed empty sequences
* [temporarily] excluded obsolete applications traincascade and createsamples from build
* fixed several compiler warnings and multiple test failures
* undo changes in cocoa window rendering (that was fixed in another PR)
* fixed more compile warnings and the remaining test failures (hopefully)
* trying to fix the last little warning
6 years ago
Michał Janiszewski
85b9960f62
Fix clashing include guards
...
Relevant guards can be found in
ef5579dc86/modules/features2d/src/kaze/AKAZEConfig.h (L8)
and
ef5579dc86/modules/ml/include/opencv2/ml.hpp (L44)
6 years ago
Alexander Alekhin
b80c978f5d
core: change cv::Ptr DefaultDeleter
6 years ago
Alexander Alekhin
9097ccf515
drop legacy headers
6 years ago
Alexander Alekhin
8a3c394d6a
don't use constructors for C API structures
6 years ago
Alexander Alekhin
b09a4a98d4
opencv: Use cv::AutoBuffer<>::data()
6 years ago
Maksim Shabunin
a2bc075924
cmake: function for application creation ( #11736 )
...
* apps: add Win32 friendly opencv_version app
Improve experience of launching app from explorer:
- application just flash (open/close) the console window
Suggested Win32 application flavor additionally shows MessageBox
and waits for User interaction.
* cmake: added unified application creation function
6 years ago
Maksim Shabunin
b88609a921
Reduced direct TBB dependencies
7 years ago
Alexander Alekhin
39f15be59e
apps: apply CV_OVERRIDE/CV_FINAL
7 years ago
luz.paz
d47b1f3b70
Misc. ./apps ./doc ./platoforms typos
...
Found via `codespell -q 3 --skip="./3rdparty" -I ../opencv-whitelist.txt`
7 years ago
Vitaly Tuzov
51cb56ef2c
Implementation of bit-exact resize. Internal calls to linear resize updated to use bit-exact version. ( #9468 )
7 years ago
Pavel Rojtberg
6fb9d42c3f
Hid symbols in static builds, added LTO flags, removed exports from ts
7 years ago
Maksim Shabunin
184daa155f
Fixed minor issues reported by GCC 7.2
7 years ago
Bhanudutta
dcaad315e7
Edit spelling mistake in my previous pull request
7 years ago
Bhanudutta
c95f3eff6e
Added a couple of comments to the interface of traincascade.cpp in order to tell user about the usage of traincascade.cpp file and to learn how Github submitting works
7 years ago
StevenPuttemans
db7922b9ee
fix timing of traincascade
8 years ago
Kevin Hughes
0d32bec5c3
add the type_id to the old save format
8 years ago
Alexander Alekhin
cc09f5a7de
Merge pull request #7854 from alalek:backports_2016
...
(2.4) Backports from master branch (#7854 )
8 years ago
mshabunin
695c518384
Updated TBB search script and code checks
8 years ago
Alexander Alekhin
5da8d65371
eliminate compiler warnings
8 years ago
sourin
a34fbf7bb1
Fixed identifiers warns
8 years ago
sourin
d2e23008ab
Fixed traincascade read issue
8 years ago
Julien Nabet
a29c814bd8
cppcheck: fix some reports
...
All of these: (performance) Prefer prefix ++/-- operators for non-primitive types.
[modules/calib3d/src/fundam.cpp:1049] -> [modules/calib3d/src/fundam.cpp:1049]: (style) Same expression on both sides of '&&'.
9 years ago
StevenPuttemans
2a0a27d3f2
add cascade classifier info - total number of unique features passed to boosting process
9 years ago
StevenPuttemans
b5fbb2b1c8
add cascade classifier info - total number of unique features passed to boosting process
9 years ago
Pranav Ganorkar
4a5ed70175
removed dirname variable
9 years ago
Matt Leotta
912592de4c
Remove "INSTALL_NAME_DIR lib" target property
...
The INSTALL_NAME_DIR property of a target specifies how a dynamic library should
be found on OS X. If INSTALL_NAME_DIR is not specified the loader will search
relative to the standard search paths. If specified it should either be
an absolute path or relative path prefixed with either @executable_path ,
@load_path , or @rpath . Specifying "lib" does not make sense here and
causes linking error as documented here:
http://answers.opencv.org/question/4134/cmake-install_name_tool-absolute-path-for-library-on-mac-osx/
and here
http://stackoverflow.com/questions/26978806/dyld-library-not-loaded-lib-libopencv-core-3-0-dylib-reason-image-not-found
This patch removes INSTALL_NAME_DIR everywhere it is set to "lib".
An alternate solution would be to set an absolute path like
"${CMAKE_INSTALL_PREFIX}/lib" or relative path like
"@executable_path/../lib". However, if there is not specific need for
specifying a path, it is probably best left unset.
9 years ago
Teng Cao
25b044e6c3
fix a bug in updateTrainingSet
...
In case fillPassedSamples find zero passed negatives and leafFA is achieved, function updateTrainingSet will return false and print misleading information, this PR fix the case.
9 years ago
Teng Cao
efacf7b6de
Update haarfeatures.cpp
9 years ago
Teng Cao
8a36402ec0
Update haarfeatures.cpp
9 years ago
Teng Cao
d68c392b42
calculate innTilted only for Haar::ALL mode
...
major time consuming part for training app is in function fillPassedSamples for negatives,
this change make SetImage quicker, in a test of my own data, the total time for SetImage decrease from 9177666 to 5839263,
only help for Haar feature and non Haar::ALL mode which is the most commonly case
9 years ago
Teng Cao
07a58c47cb
Update cascadeclassifier.cpp
...
minor fix since predict() returun int
9 years ago
teng88
8562bb7092
Update cascadeclassifier.cpp
...
minor fix since predict() returun int
9 years ago
zenev
5cb70d34d7
fixed vector out of range exception in nextImg
10 years ago
Maksim Shabunin
35b2139929
Basic HAL module
10 years ago
Vadim Pisarevsky
052593c760
1. Input/OutputArray optimizations;
...
2. Algorithm::load/save added (moved from StatModel)
3. copyrights updated; added copyright/licensing info for ffmpeg
4. some warnings from Xcode 6.x are fixed
10 years ago
greensea
7274e2ff1a
Fix a segment fault issue in cascade classfier
10 years ago
greensea
52c727f09a
Fix a segment fault issue in cascade classfier
...
work_var_count and sample_count are both 32bit integer, if the product of work_var_count and sample_count is bigger than 2^31, the compiler will treat (work_var_count*sample_count) as a negative number. Force work_var_count as an unsigned 64bit integer to avoid this issue.
10 years ago
StevenPuttemans
796c15d3e6
fixing wrong equation in accuracy break rule
10 years ago
StevenPuttemans
e30139edc3
add the possibility to add traincascade accuracy
10 years ago
StevenPuttemans
7e35f76d06
allowing people to manually define how sharp a cascade classifier model should be trained
10 years ago
StevenPuttemans
d0ad599a24
update traincascade assigned memory buffers
10 years ago
StevenPuttemans
bf16f74618
fixing universal location execution
10 years ago
StevenPuttemans
9f0cd9ee10
upgrade traincascade default memory
10 years ago