1
0
mirror of https://github.com/opencv/opencv_contrib.git synced 2025-10-15 03:38:39 +08:00
Commit Graph

4302 Commits

Author SHA1 Message Date
Alexander Smorkalov
de41bb94d2 Merge pull request #3340 from cudawarped:cudacodec_add_codecs
Add support for missing codecs to cudacodec
2022-08-30 19:04:09 +03:00
Alexander Smorkalov
06e1f629cc Merge pull request #3287 from AleksandrPanov:wechat_fix_large_img
Fix large image handling in WeChat QrCode detector
2022-08-29 16:35:06 +03:00
AleksandrPanov
2b0bbb581d add scaleFactor/setScaleFactor/getScaleFactor
add test

add dnn data search
2022-08-29 10:44:58 +03:00
Mathijs de Groot
087a100465 Merge pull request #3313 from Qubiz:Qubiz-find-hdr-parser-path-using-OpenCV_SOURCE_DIR
matlab: Use OpenCV_SOURCE_DIR instead of CMAKE_SOURCE_DIR to find the modules root

* Set HDR_PARSER_PATH using OpenCV_SOURCE_DIR var

This sets the `HDR_PARSER_PATH` variable using `OpenCV_SOURCE_DIR` instead of using `CMAKE_SOURCE_DIR`.
This allows for more flexibility in how the user's project can be structured.

* Find OpenCV module root using OpenCV_SOURCE_DIR
2022-08-27 00:25:50 +03:00
James Bowley
66809ea929 Fix memory leak caused by incorrect use of smart pointer. 2022-08-25 14:41:57 +03:00
Biswapriyo Nath
4e4e3c3465 sfm: Fix redefinition error in 32 bit mingw-w64 environment
sincos function is defined by mingw-w64 for both 32 bit and 64 bit environments.
Previously, sincos function was hidden for 64 bit mingw-w64 with __MINGW64__ macro.
This change also hides the sincos definition for 32 bit mingw-w64 with __MINGW32__ macro.
2022-08-24 00:41:19 +05:30
Kishor
9685382eb6 Set window_size to 1 if round down results in 0. Without this fix, we will get a floating point error in calCoherence method due to divide by zeor 2022-08-21 11:32:36 +05:30
Alexander Alekhin
d85887cd8b Merge pull request #3329 from Biswa96:sfml-uint-error 2022-08-20 17:32:01 +00:00
Biswapriyo Nath
b06dbd2b13 sfm: Fix unknown uint type error in mingw
uint is defined in sys/types.h in Linux for compatibility.
But it is not defined in Win32 platform. This fixes the following error:

opencv_contrib/modules/sfm/src/libmv_light/libmv/multiview/robust_estimation.h:59:8: error: 'uint' does not name a type; did you mean 'int'?
   59 | static uint IterationsRequired(int min_samples,
      |        ^~~~
      |        int
2022-08-18 21:45:28 +05:30
Alexander Alekhin
2a6cc95b10 Merge remote-tracking branch 'upstream/3.4' into merge-3.4 2022-08-14 15:39:47 +00:00
Alexander Alekhin
0da725559e Merge pull request #3319 from alalek:rework_psabi_warning 2022-08-13 15:06:21 +00:00
Alexander Smorkalov
c5f4dffbe5 Merge pull request #3324 from kevinchristensen1:gftt-cuda-fix
Fix CUDA mem leak in GFTT and move CUDA malloc out of critical path
2022-08-12 10:46:27 +03:00
Kevin Christensen
1d1dbe37f4 destroy texture object 2022-08-10 07:17:37 -07:00
Kevin Christensen
843df494c7 fix cuda mem leak and move cuda malloc out of critical path 2022-08-09 20:21:39 -07:00
Yannis Guyon
cd97cad52d Use T as temp var type in polyanticlockwise()
To match the input data type.
Cast inner computation to double to prevent int overflows for any
input type.
2022-08-08 22:44:21 +02:00
Yannis Guyon
badef606c2 Remove unused size of get_subbox_chart_physical()
The argument size of get_subbox_chart_physical() is unused.
get_subbox_chart_physical() is called only in one place.
The local variable h could overflow the cast to int and lead to a
SIGILL in some environments.
2022-08-08 21:54:35 +02:00
Alexander Alekhin
839db44377 Revert "suppress warning on GCC 7 and later"
This reverts commit a96a930f12.
2022-08-07 15:41:00 +03:00
Alexander Smorkalov
8eaa8ac1cb Merge pull request #3240 from AleksandrPanov:aruco_add_class_API
aruco refactoring and class interface
2022-08-05 14:16:53 +03:00
James Bowley
9e591fba37 Add support for av1 and update fourcc mapping to deal with all combinations of expected codecs. 2022-08-05 09:13:44 +03:00
AleksandrPanov
230b6c9a44 add set/get/dictionary/objPoints, update tests 2022-08-03 16:30:04 +03:00
Alexander Smorkalov
3a3e40a447 Merge pull request #3310 from asenyaev:asen/rename_jobs 2022-08-02 09:20:19 +00:00
Alexander Smorkalov
9ffa7ac992 Merge pull request #3309 from asenyaev:asen/ubuntu14.04_workflow_contrib 2022-08-02 09:19:20 +00:00
Andrey Senyaev
0fe993d919 Rename jobs in GHA for 4.x 2022-07-27 10:39:11 +03:00
Andrey Senyaev
e5aa1385c3 Workflow on Ubuntu 14.04 for 3.4 branch 2022-07-27 10:25:35 +03:00
AleksandrPanov
1f003fe9e4 fix readWrite() 2022-07-25 17:31:11 +03:00
Aleksandr Panov
39dabc1d48 add const 2022-07-25 17:31:11 +03:00
Aleksandr Panov
d1fe61a467 add CV_WRAP, add default Board constructor 2022-07-25 17:31:11 +03:00
AleksandrPanov
ba4d60ee8c add charucoImpl 2022-07-25 17:31:11 +03:00
AleksandrPanov
b511cfa5be add gridImpl 2022-07-25 17:31:11 +03:00
AleksandrPanov
4326ae5b17 remove readWrite() from API 2022-07-25 17:31:11 +03:00
AleksandrPanov
db55474a7b fix indentation, add enum prefix 2022-07-25 17:31:11 +03:00
AleksandrPanov
64804f06b3 fix docs/API 2022-07-25 17:31:11 +03:00
AleksandrPanov
774faf3a67 update docs and refactoring 2022-07-25 17:31:11 +03:00
AleksandrPanov
3a41fd6e68 move april module
create aruco_utils.hpp

move Board, GridBoard, CharucoBoard to board.hpp/board.cpp

refactoring _getSingleMarkerObjectPoints()

refactoring _extractBits()

refactoring _findMarkerContours()

fix _copyVector2Output() in detectMarkers()

move testCharucoCornersCollinear() to board.hpp/board.cpp

move poseEstimate()/calibAruco() to aruco_calib_pose.hpp

reduce include files

move detectMarkers() to class ArucoDetector

move refineDetectedMarkers() to class ArucoDetector

add C API wrapper to detectMarkers(), refineDetectedMarkers()

update tests and samples to class API

add py tests: test_aruco_detector, test_aruco_detector_refine

refactoring, fix docs

add java tests: testArucoIssue3133, testArucoDetector

add readWriteParameter(), update readParameter()

implemented cv::Algorithm - read/write, added read/write to RefineParameters, added write to DetectorParameters

merge PatternPos/EstimateParameters after rebase

remove empty docstring for private function

fixes

fixes license
2022-07-25 17:31:11 +03:00
Alexander Alekhin
07daac3e2f Merge pull request #3306 from huangqinjin:fix 2022-07-24 02:37:53 +00:00
huangqinjin
f4712664ea ximgproc: fix mismatched new delete 2022-07-23 21:42:04 +08:00
Alexander Alekhin
ca2f33362a Merge pull request #3298 from tomoaki0705:fixWarnings 2022-07-08 13:48:24 +00:00
Tomoaki Teshima
a96a930f12 suppress warning on GCC 7 and later 2022-07-06 23:27:45 +09:00
Alexander Alekhin
79122d67f4 Merge pull request #3292 from jspricke:jpg_png 2022-07-04 22:57:38 +00:00
Gary Allen
9d0a451bee Merge pull request #3296 from gvcallen:4.x
Allow new glog in SFM CMake Project

* Allow new glog in SFM CMakeLists.txt

* Fix typo

* Fixed missing bracket
2022-07-01 01:01:52 +03:00
Iago Suárez
940d9104b0 Merge pull request #3277 from iago-suarez:4.x
Add BAD descriptor to xfeatures2d module

* Adding new BAD descriptor to xfeatures2d module

* Changing BAD name by TEBLID and using int threshold again for BEBLID

* Changing link to AKAZE tutorial and moved parameters initialization to ::create()

* Adding f suffixes to floating-point parameters and using arrays again
2022-06-30 00:56:33 +03:00
Kumataro
3951e0338a Merge pull request #3288 from Kumataro:4.x-issue_contrib3276
freetype: support 8UC1/8UC4 image

* freetype: add parameter test

* freetype: support CV_8UC3 and CV_8C4

* freetype:fix for gcc5.4

* freetype: delete newline

* freetype:fix for python binding

* freetype: Revert 3rd argument type of loadFontData() to use int.

- Revert 3rd argument type of loadFontData() to use "int".
- Use cvtest::debugLevel instead to OUTPUT_FILE define.
- Change type of idx_range list and ctol_range list to use "int".
- fix typo.
2022-06-25 18:39:02 +03:00
Jochen Sprickerhof
377e856803 Fix file ending 2022-06-24 18:31:19 +02:00
Alexander Alekhin
d502f4ca1a Merge pull request #3284 from alalek:aruco_merge_fixes 2022-06-17 19:21:56 +00:00
Alexander Alekhin
911ab34eaa aruco: fix solvePnP parameters 2022-06-16 12:12:00 +00:00
Alexander Alekhin
7b77c355a8 Merge remote-tracking branch 'upstream/3.4' into merge-3.4 2022-06-16 11:05:24 +00:00
Alexander Alekhin
aca2aec780 Merge pull request #3280 from fengyuentau:macOS_workflows_for_4.x 2022-06-15 09:36:46 +00:00
Alexander Alekhin
fc4e8cb7d0 Merge pull request #3281 from fengyuentau:macOS_workflows_for_3.4 2022-06-15 09:35:27 +00:00
fengyuentau
19769f03f3 add workflows for macOS for contrib 3.4 2022-06-15 11:17:06 +08:00
fengyuentau
344295eef2 add workflows for macOS for contrib 4.x 2022-06-15 11:16:10 +08:00