Skip to content

Commit b23d671

Browse files
committed
Example with Python syntax
1 parent 9a2f52f commit b23d671

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

docs/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ Make sure your ODX project has an elevation model available (by processing with
1717
from cameralib import Projector
1818
p = Projector("/dataset/brighton")
1919
p.world2cams(46.8423725961765, -91.99395518749954)
20-
[{'filename': 'DJI_0028.JPG', 'x': 3576.5223779005346, 'y': 898.9714056819935}, {'filename': 'DJI_0027.JPG', 'x': 3640.8434954842614, 'y': 1670.683552000412}, {'filename': 'DJI_0031.JPG', 'x': 2066.0067963232805, 'y': 1252.4355627370903}, {'filename': 'DJI_0030.JPG', 'x': 2065.2268758465634, 'y': 255.93742225443987}, {'filename': 'DJI_0032.JPG', 'x': 1979.1241736591578, 'y': 2153.9211152055022}]
20+
# --> [{'filename': 'DJI_0028.JPG', 'x': 3576.5223779005346, 'y': 898.9714056819935}, {'filename': 'DJI_0027.JPG', 'x': 3640.8434954842614, 'y': 1670.683552000412}, {'filename': 'DJI_0031.JPG', 'x': 2066.0067963232805, 'y': 1252.4355627370903}, {'filename': 'DJI_0030.JPG', 'x': 2065.2268758465634, 'y': 255.93742225443987}, {'filename': 'DJI_0032.JPG', 'x': 1979.1241736591578, 'y': 2153.9211152055022}]
2121
p.cam2world("DJI_0028.JPG", [(3576.52, 898.97)])
22-
[(46.84237264716458, -91.9939552609622, 165.27200317382812)]
22+
# --> [(46.84237264716458, -91.9939552609622, 165.27200317382812)]
2323
```
2424

2525
## Learn More

0 commit comments

Comments
 (0)