1
0
mirror of https://github.com/opencv/opencv_contrib.git synced 2025-10-15 20:37:07 +08:00
Commit Graph

4302 Commits

Author SHA1 Message Date
DumDereDum
342f8924cc Merge pull request #2926 from DumDereDum:iss2925
KinFu fix (iss2925)

* add TODO

* rewrite render

* docs fix

* remove extra comment
2021-04-17 19:33:20 +00:00
Alexander Alekhin
11cda6f8c7 cmake: fix handling of glog/gflags 2021-04-17 09:39:00 +00:00
Killer_Quinn
e673aa450a Merge pull request #2757 from Certseeds:Barcode-Support
1D Barcode support

* init barcode interface.

* barcode: update readme.

* now it is just interface, do not need CMakeLists to compiler it.

Signed-off-by: Killer_Quinn <51754303+Certseeds@users.noreply.github.com>

* fix-trailing whitespace of docs-build.

Signed-off-by: Killer_Quinn <51754303+Certseeds@users.noreply.github.com>

* Branch: Barcode-Support,replace vector<RotateRect> to vector<vector<Point2f>>,
barcodeDirectly now just output one string,
this commit is still only contain interface, barcode module will not be compile.

Signed-off-by: Killer_Quinn <51754303+Certseeds@users.noreply.github.com>

* add implementation details

* fix doc bug

* not generate python bindings temporarily

* add barcode group for doxygen

* generate python bindings and improve performance

* remove win10 build warnings in detect stage

* remove win10 build warnings on decode stage

* add samples and accuracy tests

* Update README.md

* add tutorial, part of content is to be done.

* add decode and EAN part in tutorial

* refactor imports

* delete decodeDirectly api for simplicity

* add super resolution and optimize code format

* Use @snippet / @include doxygen statements for embedding code from .cpp files

* improve decoding performance

* optimize code and slightly improve the performance

* add ean8 support

* add references and use uint type for some non-negative variables

* support java bindings

* optimize wording in source code and documentation

* refine code

* whitespace

* bugfix: forget to clear list

Co-authored-by: darkliang <11710911@mail.sustech.edu.cn>
Co-authored-by: WangberlinT <11711613@mail.sustech.edu.cn>
Co-authored-by: Junhao Liang <43094337+darkliang@users.noreply.github.com>
2021-04-16 20:00:55 +00:00
Alexander Alekhin
201cd5ba34 Merge remote-tracking branch 'upstream/3.4' into merge-3.4 2021-04-15 20:50:17 +00:00
Alexander Alekhin
18823d8b51 Merge pull request #2924 from alalek:cmake_completelly_disable_cnn_3dobj 2021-04-15 20:00:30 +00:00
Alexander Alekhin
6d146a0702 Merge pull request #2922 from apatsekin:fix-cudafeatures2d-python-bind 2021-04-15 19:59:37 +00:00
Alexander Alekhin
0b721cdc04 cmake: completelly disable cnn_3dobj
- used FindGlog.cmake has buggy implementation
2021-04-14 16:27:48 +00:00
Aleksandr Patsekin
69a5fdb8e5 fixing return value of python bindings for cudafeatures2d methods 2021-04-12 14:58:32 -07:00
Alexander Alekhin
70f7ca4541 Merge pull request #2920 from shimat:createRLEImage_const 2021-04-11 22:04:18 +00:00
shimat
cf2e899486 [ximgproc::rl::createRLEImage] make runs const 2021-04-11 07:35:35 +09:00
Alexander Alekhin
9163f86a40 Merge pull request #2918 from alalek:fix_whitespace 2021-04-09 10:27:27 +00:00
Alexander Alekhin
f7c034c399 fix whitespace 2021-04-08 22:21:11 +00:00
Alexander Alekhin
4a36e77dba Merge remote-tracking branch 'upstream/3.4' into merge-3.4 2021-04-08 10:49:48 +00:00
Alexander Alekhin
31c657e037 Merge pull request #2912 from sturkmen72:update_fast_line_detector 2021-04-08 09:28:13 +00:00
DumDereDum
da6a95e0db Merge pull request #2878 from DumDereDum:colored_kinfu
Colored Kinect Fusion

* create dummy unworked classes

* dummy class works

* colored kinfu demo minor changes

* add simple rgb reader and writer

* add rgb info to tsdf

* add new raycast

* replace TsdfVoxel with RGBTsdfVoxel; integrate done

* add colors info to raycast

* just render colors

* color processing fix

* intergrate color fix

* add simple shift; minor fixes

* add cv_errors for not implemented functions

* minor fixes

* made calibration

* makeColoredFrameFromDepth works

* remove comments

* makeColoredFrameFromDepth fix

* RGBSoure remove extra code

* RGBSoure remove extra code 1

* simple fix of bug with rgb size

* minor fix

* docs fix

* docs fix

* unused parameter fix

* warnings fix

* fix tsdf errors; rgbd_perf warnings

* fix errors

* minor fix

* debug print

* debug print 2

* debug print 3

* invoker fix

* minor fix

* remove debug cout

* add simple tests

* docs fix

* warnings fix

* minor fix

* function warning fix

* add vectorized code

* minor fixes

* minor speed up

* minor fixes; renaming

* new minor fixes

* bug fix

* minor fix

* test update

* extra code removed

* bugfix; warning fix

* simple interpolation

* minor fix

* color work minor fix

* vectorized interpolation

* minor fix
2021-04-07 20:49:57 +00:00
Suleyman TURKMEN
14b43012da update fast_line_detector.hpp 2021-04-07 22:15:39 +03:00
Alexander Alekhin
dc3cd0e3c0 Merge pull request #2916 from berak:wechat_qr_fix_iconv_mingw 2021-04-07 18:30:53 +00:00
Alexander Alekhin
cc36f58d36 Merge pull request #2915 from alalek:backport_2716 2021-04-07 18:30:36 +00:00
berak
ee5c1847ff wechat_qr: disable iconv dependancy for mingw 2021-04-07 11:42:00 +02:00
TT
930eca198d 3.4/ximgproc: Added edge input feature to fast_line_detector
backport of commit: d8197c6ad6
2021-04-06 20:19:12 +00:00
Alexander Alekhin
a4e601f36d Merge pull request #2914 from pathbreak:dnn-sr-doc 2021-04-06 19:48:47 +00:00
pathbreak
87ce2b7345 dnn_superres: Fix arXiv URL typos in README.md 2021-04-06 22:50:29 +05:30
Alexander Alekhin
746acb9a30 Merge pull request #2909 from alalek:build_warnings 2021-04-05 12:52:39 +00:00
Alexander Alekhin
e59b8f7853 eliminate build warnings 2021-04-05 10:43:22 +00:00
Alexander Alekhin
f5d7f6712d Merge pull request #2906 from SunAriesCN:patch-2 4.5.2 2021-04-02 10:28:23 +00:00
LaurentBerger
5e0ff400fc Merge pull request #2882 from LaurentBerger:python_viz
* python binding for viz

tutorial widget pose

reset

test_tutorial 2 & 3

sample py

9 test sur 22

test PyWCloudNormal

16 sur 22

end?

python test

* oops

* bug

* comment but( this is not solved https://github.com/opencv/opencv_contrib/pull/2882#discussion_r591659839

* review 2

* oversight

* oversight oops

* viz: move out Py* classes from public C++ headers

* viz: recover PyColor

Co-authored-by: Alexander Alekhin <alexander.a.alekhin@gmail.com>
2021-04-02 10:21:37 +00:00
Sun Aries
0b5300f74b consider the rectangle marker in the future.
It is now had been what was wanted to be here. Or we may do some asserts before e.g. `CV_ASSERT(candidateBits.rows == candidateBits.cols); `.
2021-04-02 16:23:21 +08:00
Alexander Alekhin
a75800a3ad Merge remote-tracking branch 'upstream/3.4' into merge-3.4 2021-04-02 01:54:04 +00:00
Suleyman TURKMEN
f7efcbab61 Merge pull request #2313 from sturkmen72:test_Edge_Drawing_Algos
* EdgeDrawing algorithms (ED EDPF EDLines EDCircles)

* eliminate build warning
2021-04-02 01:38:00 +00:00
Alexander Alekhin
1491a5d3ae Merge moved code from opencv/3.4 2021-04-01 21:47:26 +00:00
Rostislav Vasilikhin
1341c05766 Merge pull request #2892 from savuor:posegraph_no_ceres
Pose Graph rewritten without Ceres

* Works well on g2o dataset, cumulative:
1. Pose3d done w/o Eigen types;
2. PoseGraph nodes vector<Node> -> map<int, Node>
3. Eigen is not used in cost function or parametrization
4. Cost function debugged & fixed (original one was wrong), rewritten from Automatic to Analytic

* g2o dataset reading added to PoseGraph

* sparse solver fixes from DynaFu draft

* Eigen cost function and parametrization removed + g2o reading fixed

* refactored: pose error, pose graph edge, pose graph node

* sparse solve: templated

* MyOptimize(): 1st version

* several fixes and TODOs for future

* sparse block matrix: val functions, template type

* works at Ceres quality (cleanup needed)

* MyOptimize() is set to default optimizer

* Ceres thrown away, PoseGraph class and header/source code reorganized

* pose, node, edge -> nested for PoseGraph

* warnings fixed

* jacobiScaling disabled for better performance + minors

* trailing whitespace fixed

* more warnings fixed

* message added: Eigen is required for build + minors

* trying to fix warning

* try to fix "unreachable code" warning

* trying to fix unreachable code, pt.3

* trying to fix unreachable code, pt. 5

* trying to fix unreachable code, pt. the worst + minors

* try to fix unreachable code, pt. the ugliest

* trying to fix unreachable code, pt. the grumpiest

* cout -> CV_LOG_INFO

* quat matrix functions moved outside cv and kinfu namespaces

* unused function fix

* pose graph made public (but in detail namespace) + test for pose graph

* minor: prints

* Pose Graph interface settled

* Pose graph interface and its use updated

* cos -> std::cos

* cout -> CV_LOG_INFO

* pose graph interface updated: implementation

* Pose Graph Node and Edge: extra fields dropped

* more minor refactor-like fixes

* return and finish condition fixed

* more updates to test

* test disabled for Debug builds because 400 sec is too much

* whitespace

* Disable pose graph test if there's no Eigen

* more unused vars

* fixing unused function warning

* less includes

* "verbose" removed

* write obj to file only when debug level is raised

* License + include guard

* skip test using tags and SkipTestException

* suppress "unused function" warning

* minor
2021-04-01 20:59:16 +00:00
Alexander Alekhin
38ab933851 Merge pull request #2903 from alalek:cmake_fix_tracking_headers 2021-04-01 20:38:04 +00:00
DumDereDum
c287e526f1 Merge pull request #2854 from DumDereDum:rgbd_test_refactoring
RGBD tests refactoring

* add GPU and CPU versions of tests

* reduce time for demo show

* add assert info and scene minor fix

* add display to perf_test

* replace extra code by function in perf_test

* add display func for tests

* add settings class for test

* remove extra code

* replace scene in perf test

* main dug fixed

* fix the same bug

* fix

* docs fix

* minor fix

* namespace fix

* tsdf cpu getnormal fix

* add folder ocl with simple tests

* build error fix
2021-04-01 14:45:13 +00:00
Alexander Alekhin
a124db8895 Merge pull request #2900 from spirraw:master 2021-04-01 12:25:36 +00:00
Alexander Alekhin
4b20db546b [moved from opencv] cuda: fix inplace condition in cv::cuda::flip
original commit: e4b0251e9d
2021-04-01 02:26:59 +00:00
Alexander Alekhin
0042b40c29 cmake: fix tracking detail headers 2021-03-31 21:33:47 +00:00
Alexander Alekhin
4739973b9c Merge pull request #2897 from Chester-zZz:wechat-qrcode 2021-03-30 21:33:35 +00:00
Jan-Kristian Herring
068b6c700e Fix aruco _filterTooCloseCandidates
_filterTooCloseCandidates was occasionally not choosing the biggest
contour of a candidate group.

Firstly, if the biggest contour of a candidate group happened to be
the first candidate of that group, it would never be chosen due to the
comparison loop skipping it.

Secondly, contour sizes were being compared by their circumference
(via counting the number of points in a contour) rather than area.
In some cases it is possible for a smaller candidate to have more
points than a bigger one. This was fixed by comparing the contour
area as defined by the contour's corners.
2021-03-24 15:23:30 +02:00
Alexander Alekhin
7f6004eabb Merge pull request #2896 from paroj:otest 2021-03-24 09:45:19 +00:00
Alexander Alekhin
bc49c5a482 Merge remote-tracking branch 'upstream/3.4' into merge-3.4 2021-03-22 11:56:06 +00:00
chester
ba281ca104 fix: add a safe score threshold(1E-5) to wechat_qrcode detector 2021-03-21 16:45:11 +08:00
Pavel Rojtberg
bf067b4c43 ovis: add software-renderer based unit testing 2021-03-19 13:58:31 +01:00
Alexander Alekhin
4de4edeba6 Merge pull request #2894 from berak:imgproc_fix_thinning 3.4.14 2021-03-17 09:05:31 +00:00
berak
22cbfd6718 ximgproc: add an assert in thinning() 2021-03-17 09:28:15 +01:00
Alexander Alekhin
d882e6c873 Merge remote-tracking branch 'upstream/3.4' into merge-3.4 2021-03-13 12:59:00 +00:00
Alexander Alekhin
eb2c9bd183 Merge pull request #2890 from dzywater:master 2021-03-13 12:40:06 +00:00
dzyGIT
9240579e72 Update omnidir.cpp
Fixed R2
2021-03-13 05:23:21 +00:00
Dimitrios Psychogyios
0165d48da4 Merge pull request #2869 from dimitrisPs:QDS_getDisparity
Remove normalization in cv::stereo::QuasiDenseStereo getDisparity().

* Remove normalization in getDisparity. The function returns CV_32F disparity maps with nan values for unknown matches.

* Switch to GTEST and replace license header
2021-03-01 11:52:49 +00:00
Alexander Alekhin
974f90f079 Merge pull request #2875 from rgolovanov:master 2021-02-23 21:51:23 +00:00
Alexander Alekhin
8ab00205b3 Merge moved code from opencv/3.4 2021-02-21 20:14:16 +00:00