Skip to main content
1-Visitor
May 14, 2019
Question

How to get the camera picture

  • May 14, 2019
  • 1 reply
  • 4740 views

Hi there,

is there a possibility to save the shown picture of the camera? 

I would like to integrate a button to take a photo which can be send to ThingWorx.

 

Thanks for help!

1 reply

21-Topaz I
May 15, 2019

Hi @mn1,

hat is really desired here and what is the use case?

according to the Vuforia Dev team there are various apps that can take full screenshots if that's what you're after -- but it depneds of the particular use case.
If what's really desired is the current camera frame, there's a JavaScript API (on Android only) for this.

If what's desired is the camera frame plus 2D and 3D augmentations, there's currently no API for that.
One possible (not trivial ) option is to create an applicaiton which does a snapshot of the screen and then try to send the image to a thingworx file repositroy via e.g. REST API call. (this is only idea and need to be tested more detailed) 

mn11-VisitorAuthor
1-Visitor
May 16, 2019

Hi @RolandRaytchev 

 

I would like to take a picture and save this in ThingWorx. 

As a example I created a AR-Projekt with a step description for assemble a desk. When the user followed all the steps, the desk is builded up. Then the user should take a picture of this desk for documentation. I don´t need a screenshot of the full display, I just want to save the camera picture.

Is it possible to integrate this in the AR-Projekt? For example to save the picture which is shown when you freeze the camera?