This commit is contained in:
Ruben van de Ven 2024-11-19 21:27:50 +01:00
parent 3f0e358327
commit 29060750b7

View file

@ -6,7 +6,7 @@ _See also [trap](https://git.rubenvandeven.com/security_vision/trap)_
Find the camera intrinsics and lens distortion matrixes. This helps to remove curvature from the image, and points map to a linear space. Find the camera intrinsics and lens distortion matrixes. This helps to remove curvature from the image, and points map to a linear space.
## 02. Test Calibration and draw points ## 2. Test Calibration and draw points
Apply the now obtained camera matrix to undistort a snapshot. Check if it looks good. Apply the now obtained camera matrix to undistort a snapshot. Check if it looks good.
@ -16,7 +16,7 @@ Then with a camera snapshot of these points, click with the cursor in the source
This is saved to `points.json`. If this is right, rename it to `img_points.json` for the homography. This is saved to `points.json`. If this is right, rename it to `img_points.json` for the homography.
## 2. Homography ## 3. Homography
Having the camera intrinsics, the perspective of the camera can be undone by mapping points to a 'top down' space. This way, the distances between points is in accordance to their distance IRL. Having the camera intrinsics, the perspective of the camera can be undone by mapping points to a 'top down' space. This way, the distances between points is in accordance to their distance IRL.