File tree Expand file tree Collapse file tree 1 file changed +18
-8
lines changed Expand file tree Collapse file tree 1 file changed +18
-8
lines changed Original file line number Diff line number Diff line change @@ -4,22 +4,32 @@ Calibrate your camera using OpenCV.
4
4
5
5
## Using the C++ code
6
6
### Compilation
7
- To compile the ` cameraCalibration.cpp ` code, use the following:
7
+ To compile the ` cameraCalibration.cpp ` and ` cameraCalibrationWithUnistortion.cpp ` code files , use the following:
8
8
``` shell
9
9
mkdir build
10
10
cd build
11
11
cmake ..
12
12
cmake --build . --config Release
13
13
```
14
- ### Usage
15
- Refer to the following to use the compiled file:
16
- ` ./build/cameraCalibration `
14
+ ## Usage
17
15
18
- ## Using the python code
19
- ### Usage
20
- Refer to the following to use the ` cameraCalibration.py ` file:
21
- ` python3 cameraCalibration.py `
16
+ ### Using the C++ code
22
17
18
+ Refer to the following to use the compiled files:
19
+
20
+ ``` shell
21
+ ./build/cameraCalibration
22
+ ./build/cameraCalibrationWithUnistortion
23
+ ```
24
+
25
+ ### Using the python code
26
+
27
+ Refer to the following to use the ` cameraCalibration.py ` and ` cameraCalibrationWithUnistortion.py ` files respectively:
28
+
29
+ ``` shell
30
+ python3 cameraCalibration.py
31
+ python3 cameraCalibrationWithUnistortion.py
32
+ ```
23
33
24
34
# AI Courses by OpenCV
25
35
You can’t perform that action at this time.
0 commit comments