Alexander Alekhin
c1f3c41bab
apps: add missed 'break'
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
Maksim Shabunin
f49936a849
Fixed cmake and build issues when using Visual Studio 2015
9 years ago
StevenPuttemans
d0344cd308
add checks for valid input data given to parameters
...
make the software system dependent
add LICENSE on top
9 years ago
StevenPuttemans
ba7bf1ef68
add checks on input parameters for valid path and folder
...
opening a folder is system specific - made system specific code
added license
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
3419c704a9
adding usage information
10 years ago
StevenPuttemans
a58bfbf3c7
info on how to use the tool
10 years ago
StevenPuttemans
cdbb661eab
update cmakelists of annotation tool
10 years ago
StevenPuttemans
217f628915
update cmakelists for annotation tool
10 years ago
StevenPuttemans
488babf3b3
fixing undesired behaviour
10 years ago
StevenPuttemans
0833352660
add annotation tool master branch
10 years ago
StevenPuttemans
387a0f26fb
fix annotation tool, add auto make of tool
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
StevenPuttemans
30d46313ec
adding a universal OpenCV based annotation tool for cascade classifier training
10 years ago
vbystricky
c48f30d4ec
Move createsamples application from 2.4 version
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
Grigory Serebryakov
18c0511d3c
Warning on converting int to bool fixed
10 years ago
Grigory Serebryakov
06a1c90679
Include for cvSameImage corrected
10 years ago
Grigory Serebryakov
d1229efeec
No output image resize in case of PNG dataset
10 years ago
Grigory Serebryakov
74d8527f8a
Naming fixes and code beautification
10 years ago
Grigory Serebryakov
57cf3d1766
Class naming update
...
Documentation improvement
Bug in output format for JPG set fixed
10 years ago
Grigory Serebryakov
f81b3101e8
Typo in string fixed
10 years ago
Grigory Serebryakov
81aefed13a
Can create training set in PNG format
...
The format of the training set can be changed with the `-pngoutput` key.
Output image will be resized to a 640x480 size if greater.
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