Skip to content

Commit 3fe14e0

Browse files
committed
Add python sfm_global.py
1 parent 9b39f59 commit 3fe14e0

6 files changed

Lines changed: 6366 additions & 45 deletions

File tree

scripts/perspective_correction.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ def main():
3535
points_src = np.array(points_src, dtype=np.float32)
3636
H, inliner_mask = cv2.findHomography(points_src, points_dst, cv2.RANSAC)
3737
rectify = cv2.warpPerspective(original, H, card_size)
38-
38+
3939

4040
cv2.imshow(window_name, rectify)
4141
cv2.waitKey(0)

scripts/sfm_global(camera).xyz

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
500.000 256.000 192.000 -0.078 0.053 0.080
2+
499.862 256.000 192.000 -0.100 0.020 0.066
3+
498.738 256.000 192.000 -0.081 0.004 0.031
4+
500.000 256.000 192.000 -0.059 0.017 0.030
5+
500.000 256.000 194.407 0.031 -0.022 0.023

0 commit comments

Comments
 (0)