Skip to content

Commit

Permalink
fixed typo in __get_transform() function
Browse files Browse the repository at this point in the history
  • Loading branch information
aewindle110 committed Oct 28, 2024
1 parent b3a4c59 commit b6ec915
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -1085,7 +1085,7 @@ def __get_transform(f, sensor_size, image_size, lat, lon, alt, yaw, pitch, roll)

cam.setGPSpos(lat, lon, alt)

coords : np.absndarray = np.array([cam.gpsFromImage([0, 0]), cam.gpsFromImage([image_size[0] - 1, 0]),
coords : np.ndarray = np.array([cam.gpsFromImage([0, 0]), cam.gpsFromImage([image_size[0] - 1, 0]),
cam.gpsFromImage([image_size[0] - 1, image_size[1] - 1]), cam.gpsFromImage([0, image_size[1] - 1])])

gcp1 = rasterio.control.GroundControlPoint(row = 0, col = 0, x = coords[0, 1], y = coords[0, 0], z = coords[0, 2])
Expand Down

0 comments on commit b6ec915

Please sign in to comment.