Alexander Alekhin
701760dbeb
calib3d: use `Mat::reserveBuffer()` instead of `.create()`
...
to allocate memory >2Gb
6 years ago
Alexander Alekhin
0f9f2696be
imgproc: small code refactoring (findContours -> l_cinfo)
6 years ago
Alexander Alekhin
65a0587ce8
imgproc(segmentation): don't increase mask NULL pointer
...
Avoid manual address arithmetic
6 years ago
Hamdi Sahloul
78835ad87a
Support enum arguments for Java binding
6 years ago
Hamdi Sahloul
4e6be21a44
Support enum arguments for Python binding
6 years ago
Hamdi Sahloul
f89e4e7dd0
Support parsing C++11 `enum struct` and `enum class`
6 years ago
Hamdi Sahloul
669ee0415a
Rewrite the UMat Python wrapper
6 years ago
Vitaly Tuzov
0f2b535fcc
Bit-exact GaussianBlur reworked to use wide intrinsics ( #12073 )
...
* Bit-exact GaussianBlur reworked to use wide intrinsics
* Added v_mul_hi universal intrinsic
* Removed custom SSE2 branch from bit-exact GaussianBlur
* Removed loop unrolling for gaussianBlur horizontal smoothing
6 years ago
Vitaly Tuzov
e345cb03d5
Bit-exact resize reworked to use wide intrinsics ( #12038 )
...
* Bit-exact resize reworked to use wide intrinsics
* Reworked bit-exact resize row data loading
* Added bit-exact resize row data loaders for SIMD256 and SIMD512
* Fixed type punned pointer dereferencing warning
* Reworked loading of source data for SIMD256 and SIMD512 bit-exact resize
6 years ago
Jakub Golinowski
9f1218b00b
Merge pull request #11897 from Jakub-Golinowski:hpx_backend
...
* Add HPX backend for OpenCV implementation
Adds hpx backend for cv::parallel_for_() calls respecting the nstripes chunking parameter. C++ code for the backend is added to modules/core/parallel.cpp. Also, the necessary changes to cmake files are introduced.
Backend can operate in 2 versions (selectable by cmake build option WITH_HPX_STARTSTOP): hpx (runtime always on) and hpx_startstop (start and stop the backend for each cv::parallel_for_() call)
* WIP: Conditionally include hpx_main.hpp to tests in core module
Header hpx_main.hpp is included to both core/perf/perf_main.cpp and core/test/test_main.cpp.
The changes to cmake files for linking hpx library to above mentioned test executalbles are proposed but have issues.
* Add coditional iclusion of hpx_main.hpp to cpp cpu modules
* Remove start/stop version of hpx backend
6 years ago
berak
e13f6ded7f
ml: fix adjusting K in KNearest ( #12358 )
6 years ago
Dmitry Kurtaev
50bceea038
Include preprocessing nodes to object detection TensorFlow networks ( #12211 )
...
* Include preprocessing nodes to object detection TensorFlow networks
* Enable more fusion
* faster_rcnn_resnet50_coco_2018_01_28 test
6 years ago
Alexander Alekhin
c557193b8c
dnn(test): use dnnBackendsAndTargets() param generator
6 years ago
Alexander Alekhin
3e6b3a6856
dnn(perf): fix and merge Convolution tests
...
- OpenCL tests didn't run any OpenCL kernels
- use real configuration from existed models (the first 100 cases)
- batch size = 1
6 years ago
Alexander Alekhin
d52cef1719
js: use generated list of OpenCV headers
...
- replaces hand-written list
6 years ago
Alexander Alekhin
fcfa488250
build: fix js build (make video->calib3d dependency optional)
...
- estimateRigidTransform() is excluded from JS bindings
6 years ago
Alexander Alekhin
0d4fd20a73
imgcodecs: add null pointer check
6 years ago
Hamdi Sahloul
2bbe31a8f6
Support non-static phantom methods for binding generator
6 years ago
Hamdi Sahloul
7cdb0eafeb
Enable the binding generator to parse shadow files
6 years ago
Alexander Alekhin
0515f930e8
imgcodecs(webp): multiple fixes
...
- don't reallocate passed 'img' (test fixed - must use IMREAD_UNCHANGED / IMREAD_ANYCOLOR)
- avoid memory DDOS
- avoid reading of whole file during header processing
- avoid data access after allocated buffer during header processing (missing checks)
- use WebPFree() to free allocated buffers (libwebp >= 0.5.0)
- drop unused & undefined `.close()` method
- added checks for channels >= 5 in encoder
6 years ago
Vitaly Tuzov
c894fc5bae
countNonZero function reworked to use wide universal intrinsics instead of SSE2 intrinsics
6 years ago
take1014
e1ee744e15
resolve #5788
6 years ago
Alexander Alekhin
e86287d8ae
cleanup: IPP Async (IPP_A)
...
except header file with conversion routines (will be removed in OpenCV 4.0)
6 years ago
Dmitry Kurtaev
ea43e28a37
Replace Slice layer to Crop in Faster-RCNN networks from Caffe
6 years ago
Hamdi Sahloul
532eace7d6
Extensive wrapping of CUDA functionalities for Python
6 years ago
Hamdi Sahloul
d4ac4fcde1
Python binding: METH_STATIC instead of METH_CLASS for static functions
6 years ago
Maksim Shabunin
cecf84410c
Added option to fail on missing testdata
6 years ago
berak
72f422c7dc
java: fix LIST_GET macro
6 years ago
Wu Zhiwen
ca51bbb7ff
dnn: fix variance setting bug for PriorBoxLayer
...
- The size of second channel should be size[2] of output tensor,
- The Scalar should be {variance[0], variance[0], variance[0], variance[0]}
for _variance.size() == 1 case.
Signed-off-by: Wu Zhiwen <zhiwen.wu@intel.com>
6 years ago
Dmitry Kurtaev
4062ef5fcb
Fix lifetime of networks which are loaded from Model Optimizer IRs
6 years ago
take1014
1ae477a46d
fix typo
6 years ago
Alexander Alekhin
af0c930e77
ts: don't pass NULL for std::string() constructor
6 years ago
Dmitry Kurtaev
3e027df583
Enable more deep learning tests using Intel's Inference Engine backend
6 years ago
Alexander Alekhin
acfdd0e1fc
core: fix MSVS "unreachable code" warnings
6 years ago
Alexander Alekhin
9fb8f6347f
core: don't call std::string(NULL)
6 years ago
Alexander Alekhin
7f73b105ca
core: std::string more changes
6 years ago
Vladislav Sovrasov
ae8dcdf40d
core: get rid of built-in String type
6 years ago
Suleyman TURKMEN
6d165dae5e
related moved enums
6 years ago
Maxim Smirnov
c94d75874b
`CV_Assert`s changed
...
Some `CV_Assert`s changed to `CV_Assert_N`s according to https://github.com/opencv/opencv/issues/12304
6 years ago
berak
21f3987d53
python: add support for NMSBoxes
6 years ago
Hamdi Sahloul
b5eb65e53e
Improve Python binding generator with mappable types and phantom headers
6 years ago
Hamdi Sahloul
f1ca05c822
Extend python exception `cv.error`
...
to provide `file`, `func`, `line`, `code`, `msg`, and `err` attributes
6 years ago
Hamdi Sahloul
900df21b7d
Support enum-type detection for binding generator
6 years ago
Hamdi Sahloul
93bad514a8
Easy binding for python code generator
6 years ago
berak
bd7bf39b4b
java: change MatOfRotatedRect to CV_32FC5
6 years ago
Dmitry Kurtaev
472b71ecef
Merge pull request #12243 from dkurt:dnn_tf_mask_rcnn
...
* Support Mask-RCNN from TensorFlow
* Fix a sample
6 years ago
Suleyman TURKMEN
d8cd1d8fcc
Merge pull request #12246 from sturkmen72:move_enums
...
* Update core.hpp
* Update imgproc.hpp
* Update ImgprocTest.java
* Update CameraCalibrator.java
* Update OnCameraFrameRender.java
* Update FindContoursDemo.java
* Update IntroductionToSVMDemo.java
* Update NonLinearSVMsDemo.java
* Update IntroductionToPCADemo.java
* Update Smoothing.java
* Update MainActivity.java
* Update CalcBackProjectDemo1.java
* Update CornerSubPixDemo.java
* Update CornerDetectorDemo.java
* Update GoodFeaturesToTrackDemo.java
6 years ago
Hamdi Sahloul
4d78342919
Closes #12281 - a bug in cuda::pow with negative base values
6 years ago
logic1988
b47c9ac643
Update aff_trans.cpp
...
When the fullAffine parameter is set to false, the estimateRigidTransform function maybe return empty, then the _localAffineEstimate function will be called, but the bug in it will result in incorrect results.
6 years ago
berak
1c20a7f008
java: add a MatOfRotatedRect class
6 years ago