Alexander Alekhin
1c88e1fd19
Merge pull request #19661 from alalek:ffmpeg_fixes_3.4
...
* videoio(ffmpeg): eliminate MSVC build warnings
* videoio(ffmpeg): update initialization code
- repair FFmpeg logger settings on each .open() call
4 years ago
SamFC10
96947c30c0
Added exp layer
...
backport of commit: 6111935835
partial backport of commit: dd5976162b
4 years ago
Federico Bolelli
9695165877
Merge pull request #19631 from prittt:sota-ccl
...
* Add Spaghetti algorithm for CCL
* Add stat tests for new and old algorithms
* Switch license header to short version
4 years ago
LaurentBerger
84080c12fd
python binding blendLinear
4 years ago
Federico Martinez
773262bc09
Fix UB in CopyMakeConstBoder_8u
...
Caused by overflow of arithmetic operators conversion rank
4 years ago
Alexander Alekhin
fadb25baf8
imgproc(warpAffine): avoid buffer indexes overflow in SIMD code
4 years ago
Maksim Shabunin
b2321576bc
Fixed several issues found by static analysis
4 years ago
WeiChungChang
d4d12164aa
Merge pull request #19529 from WeiChungChang:3.4
...
* improve map allocation check
* fix accoring to CR
4 years ago
Alexander Alekhin
86cb435adf
dnn: fix build (nullptr issue)
4 years ago
WeiChungChang
f6bc4fd4c6
Merge pull request #19552 from WeiChungChang:partialSort
...
apply partial sort to save computations
* apply partial sort
* fix typo
* fix accroding to CR
4 years ago
Alexander Alekhin
309e1e2b1d
core(InputArray): replace STD_ARRAY to MATX
...
- remove duplication kind
4 years ago
Sergey Krivohatskiy
af13f61a43
Merge pull request #19580 from SergeyKrivohatskiy:patch-1
...
* Fixed OCL implementation of pyrlk
If prevPts size is (N, 1) (which is a default layout for converting `vector<Point2f>` to `UMat`) the `prevPts.cols == 1` and optical flow will be calculated for the first point only.
Getting `prevPts.total()` as in line 1048 is the correct way to get points count.
* fixed compilation warning (size_t to int)
Signed-off-by: Sergey Krivohatskiy <s.krivohatskiy@gmail.com>
4 years ago
Dale Phurrough
4badf640bf
add noexcept to default constructors of cv::ocl
...
- follows iso c++ guideline C.44
- enables default compiler-created constructors to
also be noexcept
original commit: 77e26a7db3
- handled KernelArg, Image2D
4 years ago
Giles Payne
5cf08b0722
Fix/optimize Android put/get functions
4 years ago
Aryansh Omray
601851cc7e
TanH darknet and test
4 years ago
Matt Alvarado
0a7a54f312
Merge pull request #19498 from mattalvarado:fix_findcirclesgrid
...
* Properly handle empty centers in findCirclesGrid
* Address alalek comments. Add unit test to validate bugfix
* fix build warnings, remove unrelated comment
4 years ago
Alexander Alekhin
0885a79c28
imgcodecs(test): don't include png.h
4 years ago
Alexander Alekhin
6d3502833f
core: include version.hpp in cvdef.h, fix precomp.hpp usage
4 years ago
Qoo
bc8727786b
save allocation of memory for fake image
4 years ago
amir.tulegenov
cbb230fdfc
fix getDefaultName()
4 years ago
Tomoaki Teshima
5d1540f4fc
remove danger race condition
4 years ago
Zhuo Zhang
743099f9f9
Merge pull request #19521 from zchrissirhcz:3.4-fix-core-module-android-arm64-build
...
* fix core module android arm64 build
* fix core module android build when neon is off
When building for Android ARM platform, cmake with
`-D CV_DISABLE_OPTIMIZATION=ON`, the expected behavior is
not using ARM NEON, using naive computation instead.
This commit fix the un-expected compile error for neon intrinsincs.
4 years ago
Alexander Alekhin
d2d6eba16a
cmake: fix add_apple_compiler_options() calls and OBJCXX handling
4 years ago
Qoo
c909693d45
refine
4 years ago
Zhuo Zhang
84a290097b
fix link order: put zlib after png/tiff/openexr
...
Previous link dependency: imgcodecs --> zlib --> libpng
this can generate imgcodecs shared lib, until Visual Studio integrated
with vcpkg, which will additionally specify LIBPATH, pointing to vcpkg
installed zlib (if any), which links the wrong zlib.
Fixed link dependency: imgcodecs --> libpng --> zlib
in this fixed case, symbols in zlib referenced in libpng will be found
in the build-from-source static zlib, instead of the vcpkg one.
related discussion:
- https://github.com/microsoft/vcpkg/issues/16165
- https://github.com/opencv/opencv/issues/17051
- https://github.com/opencv/opencv/issues/10576
MSVC linking order reference pages:
- https://docs.microsoft.com/en-us/cpp/build/reference/link-input-files?view=msvc-160
for link order
- https://docs.microsoft.com/en-us/cpp/build/reference/linking?view=msvc-160
LIB environment variable, for library file searching
- https://docs.microsoft.com/en-us/cpp/build/reference/libpath-additional-libpath?view=msvc-160
LIBPATH option, for library file searching
4 years ago
Francesco Petrogalli
6ee23c9b85
Merge pull request #19486 from fpetrogalli:dotprod_fast-3.4
...
* [hal][neon] Optimize the v_dotprod_fast intrinsics for aarch64.
On Armv8 in AArch64 execution mode, we can skip the sequence
v<op>_<ty>(vget_high_<ty>(x), vget_high_<ty>(y))
in favour of
v<op>_high_<ty>(x, y)
This has better changes for recent compilers to use less data movement
operations and better register allocation. See for example:
https://godbolt.org/z/bPq7vd
* [hal][neon] Fix build failure on armv7.
* [hal][neon] Address review comments in PR.
PR: https://github.com/opencv/opencv/pull/19486
* [hal][neon] Define macro to check for the AArch64 execution state of Armv8.
* [hal][neon] Fix macro definition for AArch64.
The fix is needed to prevent warnings when building for Armv7.
4 years ago
Rachel A
650836d700
Exif parsing for PNG files to support Exif orientation tag. Moved decoder specific Exif parsing to JPEG and PNG decoders, respectively. Issue 16579
4 years ago
Alexander Smorkalov
3b9aebee11
Not not test stitiching with SURF, if NONFREE is disabled
4 years ago
Vincent Rabaud
847b16fb76
Disable thread sanitization when CV_USE_GLOBAL_WORKERS_COND_VAR is not set.
...
This fixes #19463
4 years ago
Polina Smolnikova
0be18f5cb0
Merge pull request #19407 from rayonnant14:issue_19363
...
QRCodeDetector::decodeMulti() fixed invalid usage fixedType()
* fixed invalid usage fixedType()
changed default barcode type to CV_8UC1
added tests
added assert in case multi channel straight barcode input
* deleted extra wrap into OutputArray
* fix warnings
* objdetect(qr): remove unnecessary checks
Co-authored-by: Alexander Alekhin <alexander.a.alekhin@gmail.com>
4 years ago
Jebastin Nadar
09d2ca17cf
Merge pull request #19449 from SamFC10:tf-leakyrelu
...
* add LeakyRelu to tf-importer
* fix whitespace error
* added test for leakyrelu
4 years ago
Alexander Alekhin
83aa711346
dnn: rename clamp() => normalize_axis()
4 years ago
Pavel Rojtberg
6c1a433c4c
python: also catch general c++ exceptions
...
they might be thrown from third-party code (notably Ogre in the ovis
module).
While Linux is kind enough to print them, they cause instant termination
on Windows.
Arguably, they do not origin from OpenCV itself, but still this helps
understanding what went wrong when calling an OpenCV function.
4 years ago
Alexander Smorkalov
0016c25b58
Guard non-free usage in stitching as contrib can be built without it.
4 years ago
Liubov Batanina
68eb54dc13
Added ONNX NormalizeL2 subgraph
4 years ago
Liangda-w
b08d67c4e1
Merge pull request #19419 from Liangda-w:patch-1
...
* Fix error in documentation for RGB->HSV convertion
* Update colors.markdown
4 years ago
Alexander Alekhin
30bef20e22
js: fix SIMD build
4 years ago
Alexander Alekhin
c5bf15e009
build: fix cv2.cpp compilation
4 years ago
Sergey Slashchinin
e2949c7d0a
Align 3.4 branch with master
4 years ago
Dale Phurrough
5c70a2015f
fix python test runner wildcard handling
...
* fix opencv/opencv#19402
4 years ago
Liubov Batanina
c12930cdde
Merge pull request #19372 from l-bat:lb/onnx_pads_calc
...
* Fixed bug with constant Div
* Supported constant mul and div for inputs with different shapes
4 years ago
Tomoaki Teshima
96e0902f39
fix peaky test failure
...
* follow the review comment
4 years ago
Vadim Levin
1d3207d7c7
feat: common fixed size sequence conversion for Python bindings
4 years ago
Tomoaki Teshima
3cfe7b9af9
fix wrong index
4 years ago
Alexander Alekhin
37e656082b
core(ocl): update isOpenCLActivated()
...
- reuse g_isOpenCLAvailable variable instead
4 years ago
Christoph Rackwitz
0c0cf8b19f
highgui: remove gutter in window_w32
4 years ago
Liubov Batanina
38a49f92ab
Added shared weights for MatMul
4 years ago
Maksim Shabunin
f65d75f5c8
Updated more links to forum.opencv.org
4 years ago
Vadim Levin
a0bdb78a99
feat: add overload resolution exception for Python bindings
4 years ago
Alexander Alekhin
212815a10d
core(ocl): fix lifetime handling of Image kernel args
4 years ago