View source: R/realityCapture.R
| waitForPhotoscene | R Documentation |
Polls checkPhotoscene at a fixed interval until processing
reaches 100% or an error occurs.
waitForPhotoscene(
photoscene_id,
token,
interval = 30,
timeout = 1800,
verbose = TRUE
)
photoscene_id |
A string. Photoscene ID returned by
|
token |
A string or |
interval |
Seconds between polls. Defaults to |
timeout |
Maximum seconds to wait before aborting. Defaults to
|
verbose |
If |
The final checkPhotoscene response object.
## Not run:
ps <- createPhotoscene("my-scene", token = myToken)
id <- ps$content$photoscene$photosceneid
imgs <- uploadImages(id, c("img1.jpg", "img2.jpg"), myToken)
proc <- processPhotoscene(id, myToken)
done <- waitForPhotoscene(id, myToken)
done$content$photoscene$progress
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.