1
0
mirror of https://github.com/opencv/opencv_contrib.git synced 2025-10-18 00:01:17 +08:00
Commit Graph

3489 Commits

Author SHA1 Message Date
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
AleksandrPanov
230b6c9a44 add set/get/dictionary/objPoints, update tests 2022-08-03 16:30:04 +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
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
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
jmackay2
e182fc8675 Fix ceres manifold build 2022-06-09 22:06:33 -04:00
Alexander Alekhin
98f6a2e554 Merge pull request #3271 from twistedfall:ovis-build-fix 2022-06-09 12:23:23 +00:00
Pavel Procopiuc
57db17eca2 Fix building error with OGRE 1.12.9 2022-06-09 13:57:15 +02:00
Vincent Rabaud
30dc847100 Fix compilation because of pointer/int comparison.
Without this fix, the error is:

"ordered comparison between pointer and zero ('volatile unsigned int *' and 'int')"
2022-06-08 15:09:19 +02:00
Alexander Alekhin
db16caf6ce Merge pull request #3269 from alalek:aruco_merge_fixes 2022-06-05 15:13:46 +00:00
Alexander Alekhin
2e3f918ff7 aruco: fix missing solvePnP parameter, build warning 2022-06-05 10:02:13 +00:00
Alexander Alekhin
442085f859 Merge pull request #3267 from cudawarped:fix_python_bindings 2022-06-04 23:06:09 +00:00
Alexander Alekhin
4eae7c872c Merge pull request #3266 from nglee:fix_return_by_const_value 2022-06-04 23:05:58 +00:00
Alexander Alekhin
6fdb6e2b17 Merge remote-tracking branch 'upstream/3.4' into merge-3.4 2022-06-04 19:13:53 +00:00
cudawarped
d2760791a4 Fix cudacodec and cudastereo python bindings. 2022-06-02 13:35:44 +01:00
cudawarped
b2904b9441 Merge pull request #3247 from cudawarped:videoreader_add_rtsp_feature
Add RTSP features to cudacodec::VideoReader

* Add live video source enhancements, e.g. rtsp from ip camera's
Add error logs.

* Fix type.

* Change badly named flag.

* Alter live source flag everywhere to indicate what it does not what it is for, which should be left up to the documentation.

* Prevent frame que object from being reinitialized which could be unsafe if another thread and/or object is using it.
2022-06-02 09:32:29 +00:00
Alexander Panov
0eda296f40 Merge pull request #3256 from AleksandrPanov:fix_aruco_axes_docs
fix axes and docs

* fix axes docs, tutorial and add estimateParameters, change estimateParameters in test

* update docs, add singlemarkersaxes2.jpg

* fix docs
2022-06-02 11:50:08 +03:00
Namgoo Lee
97a855fcfc remove const from functions returning by value 2022-06-01 15:05:20 +09:00
Vincent Rabaud
63cab1b0ee Merge pull request #3243 from vrabaud:3.4_ceres
* Use ceres::Manifolds instead of ceres::LocalParameterization.

The latter is deprecated.

* Fix typo.

* Fix version check.

* And more version fixes.
2022-05-30 19:13:25 +00:00
Alexander Alekhin
84f8ea8e99 Merge pull request #3264 from sturkmen72:update_python_samples 2022-05-27 08:38:40 +00:00
cudawarped
9c4738b527 Merge pull request #3248 from cudawarped:videoreader_decode_all_to_nv12
Force VideoReader to decode all YUV video formats to NV12

* Force decoding of all supported YUV inputs  to NV12 and log warning to indicate this is taking place.
Add YUV output.

* Update to include missing CUDA stream argument to raw frame copy.

* Fix copy paste oversight.
2022-05-27 11:36:55 +03:00
Suleyman TURKMEN
a590a59055 update python samples 2022-05-25 16:10:48 +03:00
Simon Traub
3ae17ac161 Update video_reader.cpp
Tried to build opencv with cmake and got that error:

openCV/opencv_contrib/modules/cudacodec/src/video_reader.cpp:99:14: error: extra qualification ‘{anonymous}::VideoReaderImpl::’ on member ‘set’ [-fpermissive]
   99 |         void VideoReaderImpl::set(const ColorFormat _colorFormat) CV_OVERRIDE;
      |              ^~~~~~~~~~~~~~~

Would propose do delete VideoReaderImpl:: in line 99
2022-05-25 09:51:17 +02:00
Alexander Alekhin
47d476e753 Merge remote-tracking branch 'upstream/3.4' into merge-3.4 2022-05-23 14:53:34 +00:00
Alexander Alekhin
ac6a5d44d6 build: GCC12 warnings 2022-05-15 16:21:48 +00:00
huangziqing
4c76620299 Extend the interface of the ORB class 2022-04-29 23:13:53 +08:00
Alexander Panov
f6a39c5d01 Merge pull request #3229 from AleksandrPanov:add_Dictionary_bindings
* add Dictionary bindings

* add python tests
2022-04-25 19:05:28 +00:00
OpenCV Developers
b8e4061a3f Merge remote-tracking branch 'upstream/3.4' into merge-3.4 2022-04-15 18:41:06 +00:00
AleksandrPanov
7b707a051a fix ArucoThreading test 2022-04-15 17:58:47 +03:00
Alexander Panov
76cd35ec1a Merge pull request #3200 from AleksandrPanov:aruco_improvements
Aruco improvements

* add writeDictionary(), dict distance, fix readDictionary(), readDetectorParameters()

* add aruco_dict_utils.cpp

* add py test_write_read_dict

* update tutorial
2022-04-14 11:43:21 +00:00
Matti Jukola
0596c05087 Merge pull request #3220 from buq2:aruco-apriltag-infinite-loop-fix
Fix infinite loop on ArUco apriltag refinement

* Fix infinite loop on ArUco apriltag refinement

Software entered infinite loop when image height
was smaller than 10*cv::getNumThreads(). With high
core count machines this could happen with very
reasonable image sizes.

Fix is to ensure that chunksize is at least 1.

* Test aruco detection with different number of threads

Test ensures that different aruco detection methods do not
produce different results based on number of threads.

Test was created after observing infinite loop caused
by small image and large number of threads when using
apriltag corner refinement.

* Test refactoring.

* Syntax fix for pre-C++11 compilers.

Co-authored-by: Alexander Smorkalov <alexander.smorkalov@xperience.ai>
2022-04-14 11:42:21 +00:00
AleksandrPanov
2e9505617e fix testBoardSubpixelCoords 2022-04-11 17:50:33 +03:00
Alexander Alekhin
3b5a55876f Merge remote-tracking branch 'upstream/3.4' into merge-3.4 2022-04-02 19:38:28 +00:00
Pranay Pandit
da967e070e Merge pull request #3207 from aimbot6120:swtfix
replaced recursion DFS to stack DFS
2022-04-01 22:14:58 +00:00
Alexander Alekhin
fe43396536 Merge pull request #3199 from kim-ninh:wechatqr/hybrid_binarizer 2022-04-01 10:07:44 +00:00
Vincent Rabaud
1276bb86cb Remove unused nrot variable.
This is to quiet the -Wunused-but-set-parameter clang diagnostic warning.
2022-04-01 09:50:37 +02:00
Ninh Huynh
a2550a59b9 re-implement blockIntegral calculation 2022-03-31 07:16:54 +07:00