1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-30 15:53:03 +04:00

Merge branch 4.x

This commit is contained in:
Alexander Smorkalov
2025-04-28 22:13:51 +03:00
243 changed files with 12965 additions and 3216 deletions
@@ -11,7 +11,7 @@ Create calibration pattern {#tutorial_camera_calibration_pattern}
| Compatibility | OpenCV >= 3.0 |
The goal of this tutorial is to learn how to create calibration pattern.
The goal of this tutorial is to learn how to create a calibration pattern.
You can find a chessboard pattern in https://github.com/opencv/opencv/blob/5.x/doc/pattern.png
@@ -47,14 +47,14 @@ create a ChAruco board pattern in charuco_board.svg with 7 rows, 5 columns, squa
python gen_pattern.py -o charuco_board.svg --rows 7 --columns 5 -T charuco_board --square_size 30 --marker_size 15 -f DICT_5X5_100.json.gz
If you want to change unit use -u option (mm inches, px, m)
If you want to change the measurement units, use the -u option (e.g. mm, inches, px, m)
If you want to change page size use -w and -h options
If you want to change the page size, use the -w (width) and -h (height) options
If you want to use your own dictionary for ChAruco board your should write name of file with your dictionary. For example
If you want to use your own dictionary for the ChAruco board, specify the name of your dictionary file. For example
python gen_pattern.py -o charuco_board.svg --rows 7 --columns 5 -T charuco_board -f my_dictionary.json
You can generate your dictionary in my_dictionary.json file with number of markers 30 and markers size 5 bits by using opencv/samples/cpp/aruco_dict_utils.cpp.
You can generate your dictionary in the file my_dictionary.json with 30 markers and a marker size of 5 bits using the utility provided in opencv/samples/cpp/aruco_dict_utils.cpp.
bin/example_cpp_aruco_dict_utils.exe my_dict.json -nMarkers=30 -markerSize=5