-
-
Notifications
You must be signed in to change notification settings - Fork 56.3k
added charuco board generation to gen_pattern.py #23363
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
OpenCV supports gziped files with |
doc/tutorials/calib3d/camera_calibration_pattern/camera_calibration_pattern.markdown
Outdated
Show resolved
Hide resolved
General remark on text: ChAruco is abbreviation. Please presume the original spelling in tutorial text and printed messages. |
doc/tutorials/calib3d/camera_calibration_pattern/camera_calibration_pattern.markdown
Outdated
Show resolved
Hide resolved
doc/tutorials/calib3d/camera_calibration_pattern/camera_calibration_pattern.markdown
Outdated
Show resolved
Hide resolved
doc/tutorials/calib3d/camera_calibration_pattern/camera_calibration_pattern.markdown
Outdated
Show resolved
Hide resolved
|
|
@vovka643 I fixed predefined dictionaries search path, but the new tests still fail. The generated template (png) does not look correct. Also path to files are messed in tests. |
np.testing.assert_allclose(markerCorners_svg, markerCorners_cv, 0.1, 0.1) | ||
np.testing.assert_allclose(markerIds_svg, markerIds_cv, 0.1, 0.1) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The files in tmp are not removed by test. It will produce a lot of garbage on CI. Please take a look on test for aruco:
def test_write_read_dictionary(self): |
finally: | ||
if os.path.exists(filesvg): | ||
os.remove(filesvg) | ||
if os.path.exists(filepng): | ||
os.remove(filepng) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It removes files for the last loop iteration, but not all temporary files.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
Added charuco board generation to gen_pattern.py opencv#23363 added charuco board generation in gen_pattern.py moved aruco_dict_utils.cpp to samples from opencv_contrib (opencv/opencv_contrib#3464) ### Pull Request Readiness Checklist See details at https://github.com/opencv/opencv/wiki/How_to_contribute#making-a-good-pull-request - [x] I agree to contribute to the project under Apache 2 License. - [x] To the best of my knowledge, the proposed patch is not based on a code under GPL or another license that is incompatible with OpenCV - [x] The PR is proposed to the proper branch - [x] There is a reference to the original bug report and related work - [x] There is accuracy test, performance test and test data in opencv_extra repository, if applicable Patch to opencv_extra has the same branch name. - [x] The feature is well documented and sample code can be built with the project CMake
Added charuco board generation to gen_pattern.py opencv#23363 added charuco board generation in gen_pattern.py moved aruco_dict_utils.cpp to samples from opencv_contrib (opencv/opencv_contrib#3464) ### Pull Request Readiness Checklist See details at https://github.com/opencv/opencv/wiki/How_to_contribute#making-a-good-pull-request - [x] I agree to contribute to the project under Apache 2 License. - [x] To the best of my knowledge, the proposed patch is not based on a code under GPL or another license that is incompatible with OpenCV - [x] The PR is proposed to the proper branch - [x] There is a reference to the original bug report and related work - [x] There is accuracy test, performance test and test data in opencv_extra repository, if applicable Patch to opencv_extra has the same branch name. - [x] The feature is well documented and sample code can be built with the project CMake
added charuco board generation in gen_pattern.py
moved aruco_dict_utils.cpp to samples from opencv_contrib (opencv/opencv_contrib#3464)
Pull Request Readiness Checklist
See details at https://github.com/opencv/opencv/wiki/How_to_contribute#making-a-good-pull-request
Patch to opencv_extra has the same branch name.