Alexander Duda
44560c3e50
calib3d: add estimateChessboardSharpness
...
Image sharpness, as well as brightness, are a critical parameter for
accuracte camera calibration. For accessing these parameters for
filtering out problematic calibraiton images, this method calculates
edge profiles by traveling from black to white chessboard cell centers.
Based on this, the number of pixels is calculated required to transit
from black to white. This width of the transition area is a good
indication of how sharp the chessboard is imaged and should be below
~3.0 pixels.
Based on this also motion blur can be detectd by comparing sharpness in
vertical and horizontal direction. All unsharp images should be excluded
from calibration as they will corrupt the calibration result. The same
is true for overexposued images due to a none-linear sensor response.
This can be detected by looking at the average cell brightness of the
detected chessboard.
2020-03-09 08:58:18 +01:00
Dmitry Kurtaev
b927ce18b2
Support for MobileNetV3-SSD from TensorFlow
2020-03-08 21:09:21 +03:00
Alexander Alekhin
969cc3dd95
Merge pull request #16743 from alalek:ts_dump_exception_content
2020-03-07 19:07:18 +00:00
Alexander Alekhin
198b5096aa
Merge pull request #16754 from alalek:issue_16752
...
* core(test): FP16 norm test
* core: norm()-FP16 disable OpenCL
* core(norm): fix 16f32f local buffer size
2020-03-07 19:06:47 +00:00
Eduard Trulls
7e637c134f
Expose maxIters in findFundamentalMat
...
Lets the user choose the maximum number of iterations the robust
estimator runs for, similary to findHomography. This can significantly
improve performance (at a computational cost).
2020-03-07 18:03:44 +03:00
Alexander Alekhin
619180dffd
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2020-03-06 20:41:30 +00:00
Alexander Alekhin
6d113bd03f
Merge pull request #16751 from alalek:core_coverity_issues
2020-03-06 19:07:21 +00:00
Alexander Alekhin
a76c72acdd
Merge pull request #16738 from dkurt:onnx_broadcast
2020-03-06 19:04:43 +00:00
Alexander Alekhin
e9655cf646
Merge pull request #16697 from alalek:imgcodecs_jpeg_drop_unnecessary_code
2020-03-06 19:03:43 +00:00
Alexander Alekhin
34530da66e
core: fix coverity issues
2020-03-06 18:12:45 +00:00
Alexander Alekhin
6271192a32
Merge pull request #16694 from alalek:dnn_disable_nn_builder_api
2020-03-06 13:18:41 +00:00
Alexander Alekhin
3a2f40ac6f
core: don't allow reallocation in add/div/sub/bitwise aug operators
2020-03-06 13:00:40 +00:00
Alexander Alekhin
094a5b0cba
Merge pull request #16719 from alalek:dnn_disable_nn_builder_api_3.4
2020-03-06 12:26:48 +00:00
Alexander Alekhin
a55cc07548
ts(gtest): dump exception message from EXPECT_NO_THROW()
2020-03-06 12:08:43 +00:00
Manoj Gupta
880d2afb67
Fix building with ToT libc++
...
ToT libc++ (LLVM) no longer includes <sstream>
as part of <complex> which breaks building opencv.
Include <sstream> header explcitly to fix this.
2020-03-05 17:10:43 -08:00
Dmitry Kurtaev
9e332dc5fb
Broadcasting from ONNX
2020-03-06 00:58:59 +03:00
Alexander Alekhin
a694e5074f
Merge pull request #16723 from jansol:master
2020-03-05 12:25:20 +00:00
Alexander Alekhin
90a4d67e8d
Merge pull request #16513 from pwuertz:cuda_py_interop
2020-03-05 11:56:07 +00:00
Alexander Alekhin
23bc89d6fc
Merge pull request #16577 from Volskig:mp/ocv-gapi-work
2020-03-05 10:58:51 +00:00
Alexander Alekhin
73ddc091a2
Merge pull request #16693 from Volskig:mp/ocv-gapi-add-include
2020-03-05 10:53:23 +00:00
Maxim Pashchenkov
bce9837604
Added assert for create Mat with negative dims, added tets for this case
2020-03-05 11:52:10 +03:00
Maxim Pashchenkov
f3a50224f2
Rm imgproc from render.cpp
2020-03-05 11:41:36 +03:00
Alexander Alekhin
d4a17da7b2
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2020-03-04 20:49:09 +00:00
Alexander Alekhin
4f288a1e28
Merge pull request #16704 from alalek:core_log_once_log_if
...
* core(logger): add CV_LOG_ONCE_xxx() CV_LOG_IF_xxx() macros
* core(logger): keep tests disabled
2020-03-04 20:42:41 +00:00
Alexander Alekhin
fd09413566
Merge pull request #16731 from alalek:issue_16708
...
* imgproc(integral): avoid OOB access
* imgproc(test): fix integral perf check
- FP32 computation is not accurate
* imgproc(integral): tune loop limits
2020-03-04 19:28:04 +00:00
Jan Solanti
ad16c243ca
core(ocl): Don't query image formats when none exist
...
clGetSupportedImageFormats returns CL_INVALID_VALUE if called with
num_entries 0 and a non-NULL image_formats pointer so let's not do that.
2020-03-04 14:15:33 +02:00
Alexander Alekhin
da6ad1c640
Merge pull request #15765 from zachlowry:patch-1
...
Use argument value for 'mat' in call to format for vector_mat and vector_mat_template
2020-03-04 11:42:31 +03:00
Liubov Batanina
9ed1332355
Merge pull request #16722 from l-bat:reshape_opset_11
...
* Supported Div op for constants
* Added Mul test
2020-03-04 11:27:10 +03:00
Vadim Levin
90ec651bd7
test: Add test to verify correct mat substitution into the template in header parser
2020-03-04 08:14:19 +03:00
Zach Lowry
0aa5391c4b
Use argument value for 'mat' in call to format for vector_mat and vector_mat_template
...
The hard-coded string value "Mat" was used in the two format strings for vector_mat and vector_mat_template, preventing UMat arguments to functions that have these types from working correctly. as noted in #12231 .
2020-03-04 08:14:11 +03:00
Alexander Alekhin
57cf120118
Merge pull request #16709 from ashishkrshrivastava:cvonnx
2020-03-03 20:23:10 +00:00
ashishiva3@gmail.com
e18d5e94c7
Gather-Cast, Mul-Cast fusion
2020-03-03 21:08:28 +05:30
Maksim Shabunin
219ef95dd8
MSMF: fixed issue with camera format selection
2020-03-03 13:17:32 +03:00
Anton Potapov
8ed89bae84
KW: G-API tests - fixes for uninitialized variables
2020-03-03 11:37:40 +03:00
Alexander Alekhin
124bf8339f
dnn(IE): use HAVE_DNN_IE_NN_BUILDER_2019 for NN Builder API code
...
- CMake option: OPENCV_DNN_IE_NN_BUILDER_2019
2020-03-03 08:07:54 +00:00
Alexander Alekhin
29d214474f
dnn(IE): use HAVE_DNN_IE_NN_BUILDER_2019 for NN Builder API code
...
- CMake option: OPENCV_DNN_IE_NN_BUILDER_2019
2020-03-03 07:45:09 +00:00
Alexander Alekhin
4d0f13544d
Merge pull request #16700 from alalek:fix_core_matexpr_size_gemm
...
core: fix MatExpr::size() for gemm()
* core(test): MatExpr::size() test for gemm()
* core: fix MatExpr::size() for gemm()
2020-03-02 17:13:02 +03:00
Liubov Batanina
b1b78aedd2
Skipped ResizeUnfused test on Builder API
2020-03-02 15:45:29 +03:00
Alexander Alekhin
599a595c6f
Merge pull request #16573 from ashishkrshrivastava:opencvonnx
2020-02-29 21:20:40 +03:00
ashishiva3@gmail.com
8559237d4e
ONNX: upsample subgraph fusion added
2020-02-29 15:24:06 +05:30
Yashas Samaga B L
8808aaccff
Merge pull request #16658 from YashasSamaga:cuda4dnn-refactor-activations
...
cuda4dnn(activations, eltwise, scale_shift): refactor to reduce code duplication
* refactor activations
* refactor eltwise kernels
* move all functors to functors.hpp
* remove bias1 and scale1 kernels
2020-02-29 11:46:14 +03:00
Alexander Alekhin
333a767be4
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2020-02-28 18:34:37 +00:00
Peter Würtz
5012fc5d23
Merge pull request #16684 from pwuertz:ignore_clang_mat_inl
...
* Ignore clang warnings for deprecated enum+enum operations in mat.inl.hpp
* build: added customization macros, cmake flags for OpenCV build
2020-02-28 21:21:03 +03:00
firebladed
f00607c8ac
Merge pull request #16626 from firebladed:firebladed-v4l2_pix_fmt_y12
...
V4L2: Add V4L2_PIX_FMT_Y12 (12 bit grey) support
2020-02-28 21:17:30 +03:00
Chip Kerchner
8c24af66bd
Merge pull request #16556 from ChipKerchner:vectorizeIntegralSumPixels
...
* Vectorize calculating integral for line for single and multiple channels
* Single vector processing for 4-channels - 25-30% faster
* Single vector processing for 4-channels - 25-30% faster
* Fixed AVX512 code for 4 channels
* Disable 3 channel 8UC1 to 32S for SSE2 and SSE3 (slower). Use new version of 8UC1 to 64F for AVX512.
2020-02-28 19:34:06 +03:00
Alexander Alekhin
7ffab23a53
Merge pull request #16535 from jshiwam:exifbugfix
2020-02-28 16:31:59 +00:00
Alexander Alekhin
4a39b12a78
imgcodecs(jpeg): drop unnecessary code
...
- standard huffman tables are handled by modern libjpeg-turbo
2020-02-28 18:55:14 +03:00
Alexander Alekhin
1bc607e8d8
Merge pull request #16677 from Bleach665:Qt_imshow_clipbrd
2020-02-28 14:41:07 +00:00
jshiwam
1f48940a93
bug fix to Inconsistent comment for EXIF issue id #15706 stream added final
...
removed all the changes occured while trying to resolve conflicts
2020-02-28 15:01:17 +05:30
Yuriy Obukh
edcc762f7a
add "Copy to clipboard functional" to imshow wnd with Qt
2020-02-28 00:03:38 +02:00
Alexander Alekhin
db5f1c3554
Merge pull request #16688 from alalek:issue_16679
2020-02-27 20:55:49 +00:00
Alexander Alekhin
9c4b1d0a51
Merge pull request #16685 from YashasSamaga:cuda4dnn-fix-tests-pr16595
2020-02-27 20:42:45 +00:00
YashasSamaga
98b5fb4b9f
disable MaskRCNN test for CUDA_FP16
2020-02-28 15:44:37 +05:30
Alexander Alekhin
e93c51762b
gapi(test): fix check
2020-02-27 19:43:06 +00:00
Alexander Alekhin
b16c1096d1
Merge pull request #16682 from alalek:dnn_test_keypoints_face_myriad
2020-02-27 19:04:28 +00:00
Alexander Alekhin
cc0066d38d
dnn(test): adjust check tolerance in Keypoints_face
2020-02-27 19:44:51 +03:00
Dmitry Kurtaev
5bbe116f89
Track Hetero execution for nGraph networks using ngraph::Function
2020-02-27 17:45:28 +03:00
Rajkiran Natarajan
b17e9c614b
Fix annoying compiler warning.
2020-02-26 22:59:02 -08:00
Alexander Alekhin
45d073f889
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2020-02-26 20:09:03 +03:00
Alexander Alekhin
af9ded89d0
core: fix build getNumberOfCPUs for JavaScript
2020-02-26 18:54:23 +03:00
Alexander Alekhin
c13a62ce10
Merge pull request #16638 from mshabunin:use-safe-buffers
2020-02-26 14:54:57 +00:00
Dmitry Kurtaev
d8dea7896b
Merge pull request #16628 from dkurt:dnn_ngraph_custom_layers
...
* Custom layers with nGraph
* nGraph: multiple outputs from nodes
2020-02-26 17:51:18 +03:00
Ganesh Kathiresan
09df7810d1
Merge pull request #16457 from ganesh-k13:bugfix/getCPUCount-fix
...
* Fixed getCPUCount
Minor new line changes
Android fix | efficient linux checks
Android fix 2
Fixed cpu logic for non linux platforms
Android fix 3
Android fix 4
* No v1 case handle | Refactor long lines
* Refined Cgroups logic | Combine Android and Linux
* Fixed directives
* Added support for --cpus | Fixed minor bug in Andriod | Change file read logic
* Added macro checks for apple errors
* Fixed macro to include android
* Addressed review comments
* Fixed android macro
* Refined return values
* Fixed apple warning
* Addressed review comments
* Fixed whitespace
* Android Fix try 1
* Android Fix try 2
* Android Fix try 3
* Removed unwanted endif
* Android Fix try 4
* Android Fix try 5
* Macro Restructure
* core: updates to CPUs detection (minor)
2020-02-26 17:48:50 +03:00
Alexander Alekhin
95aa6d7307
Merge pull request #16657 from alalek:issue_16655_master
2020-02-26 14:36:08 +00:00
Alexander Alekhin
2617c9aa64
Merge pull request #16673 from alalek:exclude_contrib_modules_4.x
2020-02-26 14:03:52 +00:00
Alexander Alekhin
f48c84eaee
Merge pull request #16656 from alalek:issue_16655
2020-02-26 12:47:46 +00:00
Alexander Alekhin
84bb67e49b
exclude opencv_contrib modules
2020-02-26 15:12:45 +03:00
Alexander Alekhin
f2d3edec80
gapi(test): ban and get rid of countNonZero() checks
2020-02-26 14:19:19 +03:00
Peter Würtz
53c0189ed7
Allow access to CUDA memory and stream pointers for interoperability.
2020-02-26 11:11:03 +01:00
Maksim Shabunin
bf96d8239d
Use BufferArea in more places
2020-02-26 11:45:19 +03:00
Alexander Alekhin
a5d0c7b02c
Merge pull request #16650 from ashishkrshrivastava:cvdarknet
2020-02-25 12:57:11 +00:00
Alexander Alekhin
c2f5f5a202
dnn(test): configure filtering for 32-bit systems (part 2)
2020-02-24 18:18:33 +00:00
YashasSamaga
5e082ab852
resize tensor on reuse if required
2020-02-24 10:45:59 +05:30
Alexander Alekhin
fce6e7248e
Merge pull request #16629 from alalek:dnn_test_32bit
2020-02-23 17:09:31 +00:00
Alexander Alekhin
d54d01ca46
core(MatExpr): fix .type() bug
2020-02-23 17:05:05 +00:00
ashishiva3@gmail.com
2b96a485e7
Darknet_io: Parsing for cost layer added
2020-02-23 21:06:48 +05:30
Alexander Alekhin
8eafddf211
Merge pull request #16647 from YashasSamaga:cuda4dnn-hotfix-i16568
2020-02-22 22:21:56 +00:00
Alexander Alekhin
1540ae340f
dnn(test): configure filtering for 32-bit systems
2020-02-22 17:35:26 +00:00
YashasSamaga
c23ab37355
fix weights rank assertion in InnerProductOp
2020-02-22 16:59:09 +05:30
Alexander Alekhin
01048e5603
Merge pull request #16616 from alalek:dnn_fix_input_shape
...
* dnn: fix processing of input shapes
- importer: avoid using of .setInput() => .setInputShape()
- setInput: shape limitation check (partial)
* dnn(test): test .setInput() in readNet()
2020-02-21 22:39:54 +03:00
Alexander Alekhin
102ef39a27
Merge pull request #16225 from berak:dnn_pose_estimation
...
dnn: small fix in pose estimation model
2020-02-21 22:37:23 +03:00
Alexander Alekhin
966c2191cb
Merge pull request #13928 from catree:add_matx_div_operations
2020-02-21 22:35:03 +03:00
Vadim Pisarevsky
8f3867756c
Merge pull request #16594 from vpisarev:hull_ordering_fix
...
fixed the ordering of contour convex hull points
* partially fixed the issue #4539
* fixed warnings and test failures
* fixed integer overflow (issue #14521 )
* added comment to force buildbot to re-run
* extended the test for the issue 4539. Check the expected behaviour on the original contour as well
* added comment; fixed typo, renamed another variable for a little better clarity
* added yet another part to the test for issue #4539 , where we run convexHull and convexityDetects on the original contour, without any manipulations. the rest of the test stays the same
2020-02-21 18:18:24 +03:00
Alexander Alekhin
a0f5eb282c
Merge pull request #16635 from mshabunin:fix-avx512-cvt
2020-02-21 13:15:40 +00:00
Vadim Pisarevsky
07b475062f
Merge pull request #16608 from vpisarev:fix_mac_ocl_tests
...
* fixed several problems when running tests on Mac:
* OCL_pyrUp
* OCL_flip
* some basic UMat tests
* histogram badarg test (out of range access)
* retained the storepix fix in ocl_flip only for 16U/16S datatype, where the OpenCL compiler on Mac generates incorrect code
* moved deletion of ACCESS_FAST flag to non-SVM branch (where SVM is shared virtual memory (in OpenCL 2.x), not support vector machine)
* force OpenCL to use read/write for GPU<=>CPU memory transfers on machines with discrete video only on Macs. On Windows/Linux the drivers are seemingly smart enough to implement map/unmap properly (and maybe more efficiently than explicit read/write)
2020-02-21 16:13:41 +03:00
Alexander Duda
a41cbbdc99
findChessboardCornersSB: performance + support for full FOV boards with markers
...
Changes:
* UMat for blur + rotate resulting in a speedup of around 2X on an i7
* support for boards larger than specified allowing to cover full FOV
* support for markers moving the origin into the center of the board
* increase detection accuracy
The main change is for supporting boards that are larger than the FOV of
the camera and have their origin in the board center. This allows
building OEM calibration targets similar to the one from intel real
sense utilizing corner points as close as possible to the image border.
2020-02-21 14:01:47 +01:00
Maksim Shabunin
8b2c499be6
intrin: fixed int64->double conversion for AVX-512
2020-02-21 15:20:00 +03:00
Alexander Smorkalov
c87b99e82b
Added test for new MatX division.
2020-02-21 10:08:55 +03:00
Alexander Alekhin
96b26dc8f4
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2020-02-20 19:47:27 +03:00
berak
4fdf4d380c
dnn: small fix in pose estimation model
2020-02-20 17:08:55 +01:00
Alexander Alekhin
30331eef4b
Merge pull request #16595 from dkurt:dnn_ie_mask_rcnn
2020-02-20 12:50:27 +00:00
Yashas Samaga B L
1f695c4532
Merge pull request #16161 from YashasSamaga:cuda4dnn-concat-fusion
...
cuda4dnn(concat): write outputs from previous layers directly into concat's output
* eliminate concat by directly writing to its output buffer
* fix concat fusion not happening sometimes
* use a whitelist instead of a blacklist
2020-02-20 15:43:05 +03:00
Dmitry Kurtaev
f3eef792eb
Enable Mask R-CNN with Inference Engine. Full coverage with nGraph
2020-02-20 10:13:40 +03:00
cyy
450b96510e
fixes #16500
2020-02-20 11:10:12 +08:00
Alexander Alekhin
4b0d3316f6
Merge pull request #16617 from alalek:dnn_fix_caffe_importer
2020-02-19 10:57:27 +00:00
Alexander Alekhin
7ac7aca33b
dnn(caffe): fix net.input_dim handling in Caffe importer
2020-02-19 07:37:27 +00:00
Alexander Alekhin
6713063a8d
Merge pull request #16612 from rabbull:master
2020-02-18 19:31:38 +00:00
Karl Liu
331a96c670
transplant 8p's normalization to 7p
...
use const instead of constexpr
2020-02-18 23:39:52 +08:00
Alexander Alekhin
1602a38fa9
Merge pull request #16572 from alalek:dnn_test_dldt_ir_v10
...
* dnn(test): test DLDT IRv10 model, drop old models
* dnn(test): don't expect bitexact results in DLDT IR tests
2020-02-18 17:57:46 +03:00
Dmitry Matveev
dae1fc8889
Merge pull request #16555 from dmatveev:dm/ocv_blog_sample
...
* G-API/Samples: Added a simple "privacy masking camera" sample
The main idea is to host this code for an opencv.org blog post only
* G-API/Samples: Modified privacy masking camera code to look better for the post
* G-API/Samples: fix Windows (MSVC) support in Privacy Masking Camera
* G-API/Samples: Addressed the majority of review comments in PMC
* G-API/Samples: Use TickMeter to measure time + more info in cmd options
* G-API/Samples: fix yet another Windows warning in PMC
* G-API/Samples: Fix wording in PMC cmd arg parameters
* Fix wording, again
* G-API/Samples: Fix PMC cmd-line arguments, again
2020-02-18 15:11:44 +03:00