Community Tip - Your Friends List is a way to easily have access to the community members that you interact with the most! X
Hello,
Good Afternoon,
I am using camera widget in Vuforia Studio for capturing images but while consuming it on Vuforia View app it has a timer of 3 sec which I don't want. Can we achieve it?
Thanks in Advance.
Regards,
Aditya Gupta
Hello @Aditya1702 ,
yes this possible. At least I verified that this is working on mobile platform - tested in Vufuria View 9.18 iPad pro and it tooke a photo nearly without dealy. On Andorid - I have very old device for testing the daly was longer- Vuforia View app 9.16
I did not use the Camera widget but the tml3dRenderer.takeScreenshot() api . So following example:
var callback = function (pngBase64String, args) {
$scope.view.wdg.photocapture.src='image/png;base64,' + pngBase64String ;
$scope.view.wdg.text.text = args;
$scope.$applyAsync();
};
$scope.screenShotPar = function() {
//let params = { dataURL:true, withAugmentation: true, imgFormat: "jpeg", imgWidth: 500, imgHeight:500}
//let params = { dataURL:true, withAugmentation: true, imgFormat: "png", imgWidth: 500, imgHeight:500}
let params = { dataURL:true, withAugmentation: false} //I do not what to see the agumentation in this case
tml3dRenderer.takeScreenshot(params, callbackfnc, null);
$scope.$applyAsync();
}
//----------------------------------
$scope.testCall1=()=>{
$scope.firstcall=true
$scope.screenShotPar();
}
//----------------------------------
So on iPad device :
The api should be also availible on HoloLens 2 but I did not test it how is the behavior there. The best result I had on mobile iPad pro with 9.18 Vuforia View app.
So here the demo project if you want to test this.
Hi @RolandRaytchev ,
Good Morning,
I will check the file & let you know whether it's working for me or not.
Thanks & Best Regards,
Aditya Gupta.