StevenPuttemans
6aedd4f7b0
fixing SVM negative value rounding
...
Conflicts:
modules/objdetect/src/hog.cpp
fix android build
10 years ago
rajithr
ff6881efbf
Fix for a potential data race condition
10 years ago
Dikay900
a5242265d7
cleanup after last PR
10 years ago
David Hirvonen
cab0ecdf19
Avoid clearing HaarEvaluator::tofs variable (introduced fb8478eb7b
) in HaarEvaluator::setImage(...) since it won't be recomputed by HaarEvaluator::computeOptFeatures() for cases where the input image dimensions and requested search scales are the same as the previous. If none of the above change then it should be correct, and if they do change it will be computed correctly inside HaarEvaluator::computeOptFeatures() (in commit 952f9dbe62
)
...
I'm guessing there is a unit test for this that needs to be called 2x with the same image and search parameters (or another image with the same size) to illustrate the problem.
10 years ago
Michaël Sdika
ab40c2acf7
added the signedGradient varaible to the HOGDescriptor class.
...
when true, use signed gradient for the angular histogram computation.
default to false for backward compatibility.
10 years ago
lujia
17cc5e2c40
bugfix_for_hog_detectMultiScale_with_weights
...
(cherry picked from commit 7ce116695d
)
10 years ago
lujia
b73894b271
bugfix_for_hog_detectMultiScale_with_weights
10 years ago
lujia
7ce116695d
bugfix_for_hog_detectMultiScale_with_weights
10 years ago
Dikay900
952f9dbe62
initialize tiltedOffset variable at correct location
...
do not use this variable if it is not an tilted feature
10 years ago
Yan Wang
433c3da7cf
Optimize the performance of cascade OpenCL kernel.
...
1. Use built-in mad() instead of += and *.
2. For stump stages, if weight.z == 0, avoid unnecessary calculation
because some features only have 2 rectangles..
It could improve
OCL_Cascade_Image_MinSize_CascadeClassifier.CascadeClassifier/*
about 10% mean values.
Signed-off-by: Yan Wang <yan.wang@linux.intel.com>
10 years ago
Dikay900
fb8478eb7b
add resetting the offset variable after setting a new image
10 years ago
Dikay900
80069f384a
resolve crash of haarclassifier when using a tilted feature
10 years ago
Naer Chang
cdc9bc397d
Revert "issue 3710"
...
Trying to fix whitespace issue.
This reverts commit dcc2512f58
.
10 years ago
Naer Chang
dcc2512f58
issue 3710
...
added a check to prevent illegal access to operator[] when vector is empty
10 years ago
Maksim Shabunin
37c74e38f4
Python support
10 years ago
Maksim Shabunin
457123027e
Modified java wrapping mechanism
10 years ago
Vladislav Vinogradov
cda6fed41f
move tegra namespace out of cv to prevent conflicts
10 years ago
Vladislav Vinogradov
44e41baffe
use new functions before all tegra:: calls
10 years ago
Yan Wang
99aaf4030a
Remove unnecessary barrier in runHaarClassifier().
...
Signed-off-by: Yan Wang <yan.wang@linux.intel.com>
10 years ago
Andrew Senin
52535b356c
Fix for assert in compute when subimage is used (see issue #4149 )
10 years ago
Yan Wang
df697f6520
Optimize runLBPClassifierStumpSimple by built-in mad24.
...
Signed-off-by: Yan Wang <yan.wang@linux.intel.com>
10 years ago
Yan Wang
f5b21e8141
Avoid deadlock becasue some work item couldn't reach barrier in loop
...
and unsynchronized.
Signed-off-by: Yan Wang <yan.wang@linux.intel.com>
10 years ago
Guo Yejun
595ec6b852
correct the size of buf which holds integral sum/sumsq
...
layer_dy is not initialized correctly, it results in a small height
of the buffer, and so memory write is out of range in cv::integral.
10 years ago
Yan Wang
07ab0c1c53
Avoid compile unnecessary OpenCL kernel.
...
Signed-off-by: Yan Wang <yan.wang@linux.intel.com>
10 years ago
Alexander Smorkalov
1fa37fe733
OpenCV for Tegra compilation fix for
...
- Gaussian blur;
- CascadeClassifier;
- Blenders in stitching module;
- Laplacial pyromids in stitching module.
10 years ago
Yan Wang
9699fde8d2
Use hypot to do vector calculation.
...
Signed-off-by: Yan Wang <yan.wang@linux.intel.com>
10 years ago
Maksim Shabunin
d01bedbc61
Removed Sphinx documentation files
10 years ago
Maksim Shabunin
c485aee464
Included c-headers for better 2.4 compatibility
10 years ago
Maksim Shabunin
91e21847e2
Some changes to make migration to 3.0 easier
10 years ago
Yan Wang
efa84d8225
Use preprocessor for constant values in OpenCL kernel instead of
...
the parameter variable.
It could improve the performance of
OCL_Cascade_Image_MinSize_CascadeClassifier.CascadeClassifier/*.
Especially,
OCL_Cascade_Image_MinSize_CascadeClassifier.CascadeClassifier/15
OCL_Cascade_Image_MinSize_CascadeClassifier.CascadeClassifier/16
could be improved about 2% in Intel platform.
Signed-off-by: Yan Wang <yan.wang@linux.intel.com>
10 years ago
Maksim Shabunin
03e213ccae
Doxygen documentation: BiB references and fixes
10 years ago
Maksim Shabunin
1523fdcc1c
Doxygen documentation: more fixes and cleanups
10 years ago
Maksim Shabunin
8e9ea0e3d1
Doxygen doucmentation: ml module
10 years ago
Ari Suwendi
b14f7c99d2
bug fix for a crash when input image is small
10 years ago
StevenPuttemans
8bf58937a9
fixing SVM negative value rounding
10 years ago
Maksim Shabunin
09fb7512ed
Fixed iOS framework compilation warnings
10 years ago
Alexander Smorkalov
6bb6039ebb
Fixes for QNX 6.6 Neitrino support.
10 years ago
Maksim Shabunin
ef3d02214b
Fixing iOS clang warnings, part 2
10 years ago
Pavel Vlasov
45958eaabc
Implementation detector and selector for IPP and OpenCL;
...
IPP can be switched on and off on runtime;
Optional implementation collector was added (switched off by default in CMake). Gathers data of implementation used in functions and report this info through performance TS;
TS modifications for implementations control;
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
2fd01dcced
fixed doc builder warnings
10 years ago
Vadim Pisarevsky
1ad9827fc4
removed ERFilter (to be moved to opencv_contrib/modules/text) and lineMOD (to be moved to opencv_contrib/modules/rgbd)
10 years ago
vbystricky
4286f60387
Extract imgcodecs module from highgui
11 years ago
Vadim Pisarevsky
c4fdf71bb3
fixed some more compile warnings on Windows
11 years ago
Vadim Pisarevsky
8f2aaff6d7
fixed compile warnings on Windows
11 years ago
Vadim Pisarevsky
66f2e527b6
removed extra whitespaces
11 years ago
Vadim Pisarevsky
07c0d50edf
put the detection-based tracker back (to objdetect module), so that the Android face detection sample builds fine. The patch by Konstantin Matskevich that adds C++11 threads support has been merged in too. Also, fixed compile error in the doc builder.
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
Sancho McCann
e1e243588e
Bugfix: Memory leak in deletion of er_stack nodes of ERFilter.
11 years ago