Commit e0cddbb7 authored by Gökce Ergün's avatar Gökce Ergün
Browse files

wrote ReadMe and added images for ReadMe

parent 26c29b2c
Pipeline #1178 passed with stages
in 35 seconds
# OSLab_aruco_calib
the calibration using opencv Aruco markers and CCalib
\ No newline at end of file
This repository provides a multi-camera calibration tool. The calibration is done using opencv Aruco markers and CCalib library. The main source code can be seen under: <a href="">/ccalibTool/src directory</a>
The calibration tool supports only random pattern. For detail see <a href=""><b>randomPattern.hpp</b></a>. Both pinhole and omnidirectional cameras are supported. For detail about omnidirectional camera see <a href=""><b>omnidir.hpp</b></a>
The multi-camera calibration tool can be through Command Prompt. It tooks one input:
* the json config file. It contains information about width and heigth of pattern, input filename (xml file), output filename, and the parameters that will be used during calibration process. An example config file is shown below.
<img src= "doc/ConfigFile.PNG" />
<b>Input File (xml file)</b>
The xml file. contains the pattern filename, and the photo names. photo names should be in form of cameraIdx-timestamp.*, and cameraIdx starts from 0.
An example xml file can be seen below.
<img src= "doc/xml_file.PNG" />
An example python code to create xml can be found under<a href=""><b></b></a>
<b> pattern file</b>
<img src= "tests/Test1/pattern/ArucoMarkerBoard2.bmp" />
An example command line for calibration by using Aruco pattern:
C:\\OSLab_CCALIB\\build\\Release>OSLab_Aruco_calib.exe -i path_to_ConfigFile
It returns a an output xml file that contains the camera parameters. An example of it can be seen under <a href=""><b>Output_cmd.xml</b></a>
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment