Skip to content

Commit ddadc87

Browse files
author
Brandyn A. White
committed
Updated AR docs
Signed-off-by: Brandyn A. White <[email protected]>
1 parent 1e138ec commit ddadc87

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

ar.rst

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,12 @@ While Glass has a relatively small display and won't be able to create full imme
88

99
This shows the relationship between the Prism, Photo, and Preview (640x360) images.
1010

11-
displayWarpView([Array hBigToGlass]) : void
12-
Warps each preview image to the display such that it overlaps with what the user sees (works for objects > 7ft away, currently supported resolutions are 640x360 and 1280x720). If the hBigToGlass homography is not provided a default is used; however, it won't match perfectly, each Glass is slightly different and they only need to be calibrated once.
11+
hPhotoToGlass: Slightly different for each Glass and good results require calibation (see the wearscript-ar repo).
12+
hPreviewToPhoto: Each preview image has a different area (not all sizes are supported, see below) however they are constant across devices; however, changes in the underlying Glass camera code have caused changes in the past.
13+
14+
15+
displayWarpView([Array hPhotoToGlass]) : void
16+
Warps each preview image to the display such that it overlaps with what the user sees (works for objects > 7ft away, currently supported resolutions are 640x360 and 1280x720). If the hPhotoToGlass homography is not provided a default is used; however, it won't match perfectly, each Glass is slightly different and they only need to be calibrated once.
1317

1418
warpPreviewSampleGlass([Function callback]) : void
1519
Publishes the next preview image it gets, AR server uses it to match subsequent images to, a local copy is stored and can be drawn on using WS.warpDraw.

0 commit comments

Comments
 (0)