Vitaly Tuzov
51cb56ef2c
Implementation of bit-exact resize. Internal calls to linear resize updated to use bit-exact version. ( #9468 )
2017-12-13 15:00:38 +03:00
Maksim Shabunin
7349b8f5ce
Build for embedded systems
2017-12-11 13:27:37 +03:00
Alexander Alekhin
0ed3209b00
ocl: avoid unnecessary loading/initializing OpenCL subsystem
...
If there are no OpenCL/UMat methods calls from application.
OpenCL subsystem is initialized:
- haveOpenCL() is called from application
- useOpenCL() is called from application
- access to OpenCL allocator: UMat is created (empty UMat is ignored) or UMat <-> Mat conversions are called
Don't call OpenCL functions if OPENCV_OPENCL_RUNTIME=disabled
(independent from OpenCL linkage type)
2017-11-28 14:02:42 +03:00
catree
f9aa411c92
Fix double definitions, correct comment.
2017-10-25 18:11:31 +02:00
Geoff McIver
b2d8e8c508
This statement was keeping HAAR cascades from leveraging opencl on nvidia devices. "localSize" on the featureEvaluator remains Size(0, 0) which sets the bool "use_ocl" to false. Adding this allows NVidia GPUs to leverage opencl HAAR Cascades
2017-10-11 09:32:38 +13:00
Vadim Pisarevsky
3562a05d90
Merge pull request #8940 from 678098:nonblocking_haar_detector_parallel_for
2017-10-10 13:51:40 +00:00
Vitaly Tuzov
9a70fd0123
Disabling reset of 'weights' array for reject level mode of groupRectangles function.
2017-09-21 18:21:50 +03:00
Vadim Pisarevsky
258b13f2e0
Merge pull request #9600 from StevenPuttemans:fix_9583
2017-09-13 13:27:04 +00:00
Steven Puttemans
98e0d13f99
fixing issue 9583 - issue in cascadeclassifier code clipObjects
2017-09-11 09:15:04 +02:00
Maksim Shabunin
248e2c7d47
Fixed some issues found by static analysis
2017-09-08 12:22:12 +03:00
Vladislav Sovrasov
f2105419fa
objdetect: fix wrong cxx11 features check
2017-09-07 12:49:49 +03:00
Alexander Alekhin
bc3280d64d
Merge pull request #9414 from gadcam:HOGDescriptor-winSigma
2017-08-24 15:57:18 +00:00
Pavel Vlasov
a57718e1ac
ICV2017u3 package update;
...
- Optimizations set change. Now IPP integrations will provide code for SSE42, AVX2 and AVX512 (SKX) CPUs only. For HW below SSE42 IPP code is disabled.
- Performance regressions fixes for IPP code paths;
- cv::boxFilter integration improvement;
- cv::filter2D integration improvement;
2017-08-23 14:24:43 +03:00
Camille Barneaud
d5e64f4eb2
Avoid HOGDescriptor with sigma = 0
...
Solve #9307 .
2017-08-19 15:03:16 +02:00
Alexander Alekhin
5a54acef4e
Merge pull request #9130 from alalek:android_define
2017-07-14 17:17:24 +00:00
Alexander Alekhin
431e2e6d68
Merge pull request #9042 from terfendail:haar_avx
...
AVX optimized implementation of haar migrated to separate file
2017-07-14 15:05:11 +00:00
Alexander Alekhin
a4a47b538c
build: detect Android via '__ANDROID__' macro
...
https://sourceforge.net/p/predef/wiki/OperatingSystems
2017-07-10 12:43:59 +03:00
Vitaly Tuzov
77264dcca9
AVX optimized implementation of haar migrated to separate file
2017-07-04 16:54:48 +03:00
Maksim Shabunin
1f23202ad8
Issues found by static analysis (5th round)
2017-07-01 18:56:24 +03:00
Maksim Shabunin
e0393f8557
Fixed some issues found by static analysis (4th round)
2017-06-30 12:26:53 +03:00
Maksim Shabunin
a769d69a9d
Fixed several issues found by static analysis
2017-06-28 18:06:18 +03:00
Maksim Shabunin
32d4af36e2
Fixing some static analysis issues
2017-06-27 14:30:26 +03:00
678098
d0ab595f52
batch-oriented mutex locking in parallel haar detect loop body
2017-06-21 23:25:57 +03:00
Vladislav Sovrasov
6c164d86b9
obdetect: fix in SSE code
2017-05-26 14:26:05 +03:00
Pavel Vlasov
11c2ffaf1c
Update for IPP for OpenCV 2017u2 integration;
...
Updated integrations for:
cv::split
cv::merge
cv::insertChannel
cv::extractChannel
cv::Mat::convertTo - now with scaled conversions support
cv::LUT - disabled due to performance issues
Mat::copyTo
Mat::setTo
cv::flip
cv::copyMakeBorder - currently disabled
cv::polarToCart
cv::pow - ipp pow function was removed due to performance issues
cv::hal::magnitude32f/64f - disabled for <= SSE42, poor performance
cv::countNonZero
cv::minMaxIdx
cv::norm
cv::canny - new integration. Disabled for threaded;
cv::cornerHarris
cv::boxFilter
cv::bilateralFilter
cv::integral
2017-04-25 15:53:12 +03:00
Vadim Pisarevsky
a57d144076
Merge pull request #7462 from alalek:cpu_multi_target
2017-03-21 19:51:32 +00:00
Maksim Shabunin
9333f82be0
Reduce dependencies between modules
2017-03-15 17:58:52 +03:00
Alexander Alekhin
e16227b53c
cmake: support multiple CPU targets
2017-02-13 19:52:59 +03:00
Alexander Alekhin
44d9d59f08
ocl: stop using of OpenCL without explicit UMat arguments
2016-12-04 02:34:17 +03:00
mshabunin
3e28d51779
Fixed several OpenCL compiler warnings
2016-11-07 16:49:12 +03:00
Eric Sommerlade
049a894986
fixed detection_based_tracker on visual studio 2013 and later
...
modules/objectdetect/src/detection_based_tracker.cpp: made unique_lock<mutex> local to each function
samples/cpp/dbt_face_detection.cpp: fixed warnings on loop in Visual Studio
2016-10-31 11:07:09 +00:00
StevenPuttemans
ca762a6ba7
allow minObjectSize==maxObjectSize for single scale detection capability
2016-10-13 16:05:23 +02:00
Pavel Vlasov
30a6cee2fe
Instrumentation for OpenCV API regions and IPP functions;
2016-08-19 18:10:03 +03:00
Tomoaki Teshima
59fabb2767
use NEON as same as SSE
2016-07-09 16:53:01 +09:00
StevenPuttemans
89df7923a7
revert PR 5362
2016-02-04 13:20:21 +01:00
Vadim Pisarevsky
a0f6cd8df5
Merge pull request #5362 from Dikay900:cascade_reject_stage
2015-12-10 10:51:42 +00:00
Alexander Alekhin
e860ed7689
Merge pull request #5714 from ajbernal:OCL_HOG_Fix
2015-11-30 09:44:37 +00:00
Ariel Bernal
5c8683139f
Fix for #5710 . OpenCL HOG Object detect assigns the wrong SIMD size.
...
In oder to guarantee SIMDness between the two compilation steps we choose the
highest SIMD size that is optimized in the kernel for the first step.
2015-11-25 16:20:04 -08:00
Vadim Pisarevsky
3942b1f362
Merge pull request #5340 from alalek:ocl_off
2015-11-10 16:53:36 +00:00
Maksim Shabunin
6e9d0d9a0c
Visual Studio 2015 warning and test fixes
2015-10-20 12:48:37 +03:00
Dikay900
7b0b12de58
appropriate logic behind last accepted stage when rejectingLevels is true
2015-10-09 23:19:42 +02:00
Pavel Vlasov
e837d69f8f
IPPInitSingelton was added to contain IPP related global variables;
...
OPENCV_IPP env var now allows to select IPP architecture level for IPP9+;
IPP initialization logic was unified across modules;
2015-10-01 09:58:48 +03:00
Pavel Vlasov
62854dcc0d
Enables support of IPP 9.0.0;
...
HAVE_IPP_ICV_ONLY will be undefined if OpenCV was linked against ICV packet from IPP9 or greater. ICV9+ packets will be aligned with IPP in OpenCV APIs
This will ease code management between IPP and ICV
2015-09-29 17:27:13 +03:00
Alexander Alekhin
7213e5f68a
ocl: correct disabling of OpenCL code
2015-09-13 20:28:23 +03:00
Vadim Pisarevsky
b46719b093
Merge pull request #4074 from vpisarev:objdetect_fixes
2015-05-28 19:43:51 +00:00
Vadim Pisarevsky
882c0321f4
clip the found objects in HOG as well ( http://code.opencv.org/issues/3825 ); added test to check CascadeClassifier on small images ( http://code.opencv.org/issues/3710 )
2015-05-28 21:02:27 +03:00
Vadim Pisarevsky
8c3c6b31fc
make sure the returned rectangles are inside the image ( http://code.opencv.org/issues/3136 )
2015-05-28 20:15:22 +03:00
Vadim Pisarevsky
5a94a95fbf
improvements in Haar CascadeClassifier: 1) use CV_32S instead of CV_32F for the integral of squares (which is more accurate and more efficient); 2) skip the window if its contrast is too low
2015-05-28 19:33:21 +03:00
Vadim Pisarevsky
f7ad192842
Merge pull request #4063 from Dikay900:2_4_to_master
2015-05-28 14:49:13 +00:00
Vadim Pisarevsky
5f8f56ea0e
report an error when trying to load HOG cascade
2015-05-28 17:24:22 +03:00