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
StevenPuttemans
488babf3b3
fixing undesired behaviour
10 years ago
StevenPuttemans
2738939126
add same functionality as 2.4
10 years ago
StevenPuttemans
f5a14e5594
fix message of preloaded parameters
10 years ago
Maksim Shabunin
da383e65e2
Remove deprecated methods from cv::Algorithm
10 years ago
Maksim Shabunin
a5a510da4b
Support for compound modules, support for contrib_world
10 years ago
VBystricky
f5987c258f
Fix small error in traincascade application
10 years ago
Alexander Smorkalov
6bb6039ebb
Fixes for QNX 6.6 Neitrino support.
10 years ago
Stephen Mell
5947519ff4
Check sure that we're not already below required leaf false alarm rate before continuing to get negative samples.
10 years ago
Adil Ibragimov
8a4a1bb018
Several type of formal refactoring:
...
1. someMatrix.data -> someMatrix.prt()
2. someMatrix.data + someMatrix.step * lineIndex -> someMatrix.ptr( lineIndex )
3. (SomeType*) someMatrix.data -> someMatrix.ptr<SomeType>()
4. someMatrix.data -> !someMatrix.empty() ( or !someMatrix.data -> someMatrix.empty() ) in logical expressions
10 years ago
Alexander Alekhin
55188fe991
world fix
10 years ago
Vadim Pisarevsky
c20ff6ce19
made everything compile and even run somehow
10 years ago
Joan Puigcerver
16a82b1747
Added an option to traincascade program to select the maximum number of threads to use during training
10 years ago
vbystricky
fd51c133df
Add depends from highgui to imgcodecs and videoio. And include header from imgcodecs and videoio to imgcodecs
10 years ago
StevenPuttemans
03fe86f0a3
added extra warning about the automatic parameter loading for traincascade application when the param.xml file already exists
11 years ago
vbystricky
4286f60387
Extract imgcodecs module from highgui
11 years ago
Vadim Pisarevsky
3858f2291d
removed contrib, legacy and softcsscade modules; removed latentsvm and datamatrix detector from objdetect. removed haartraining and sft apps.
...
some of the stuff will be moved to opencv_contrib module.
in order to make this PR pass buildbot, please, comment off opencv_legacy, opencv_contrib and opencv_softcascade test runs.
11 years ago
Alexander Smorkalov
3ebdcafdd3
All installed files marked with component names for install customization.
...
(cherry picked from commit b75cbfde45
)
Conflicts:
cmake/OpenCVModule.cmake
11 years ago
Alexander Smorkalov
b75cbfde45
All installed files marked with component names for install customization.
11 years ago
Anatoly Baksheev
37a754621a
Fixed compilation errors: removed using namespace from hpp file. This led to pulling cv::ACCESS_MASK to global namespace where conflict with the same name in 'windows.h'
...
Conflicts:
apps/traincascade/boost.cpp
11 years ago
Andrey Kamaev
bef34093aa
Remove all using directives for STL namespace and members
...
Made all STL usages explicit to be able automatically find all usages of
particular class or function.
(cherry picked from commit 2a6fb2867e
)
(only cherry picked "apps/trancascade")
11 years ago
StevenPuttemans
a4239f972b
Added extras to traincascade functionality
11 years ago
StevenPuttemans
e59912f803
Applied fix mentioned in bugreport 3370. Seems to solve the issue.
11 years ago
Anatoly Baksheev
0dad070473
Fixed compilation errors: removed using namespace from hpp file. This led to pulling cv::ACCESS_MASK to global namespace where conflict with the same name in 'windows.h'
11 years ago
Alexander Alekhin
555c505b70
update cmake 'install' target for Windows platform
...
Allow to build samples via OpenCV binaries from distribution package
(find_package with OpenCV_DIR).
11 years ago
Vladislav Vinogradov
0c7663eb3b
Merge branch 'master' into gpu-cuda-rename
...
Conflicts:
modules/core/include/opencv2/core/cuda.hpp
modules/cudacodec/src/thread.cpp
modules/cudacodec/src/thread.hpp
modules/superres/perf/perf_superres.cpp
modules/superres/src/btv_l1_cuda.cpp
modules/superres/src/optical_flow.cpp
modules/videostab/src/global_motion.cpp
modules/videostab/src/inpainting.cpp
samples/cpp/stitching_detailed.cpp
samples/cpp/videostab.cpp
samples/gpu/stereo_multi.cpp
11 years ago
Roman Donchenko
2a2c21bb63
Replace an incorrect usage of Ptr with a simple vector.
11 years ago
Roman Donchenko
34af7eeb84
Boring changes - apps.
11 years ago
Roman Donchenko
e9a28f66ee
Normalized file endings.
11 years ago