Log in or register to post comments

Question in VWS

August 12, 2013 - 6:40am #1

HI there,

 

Im new to Vuforia and AR, one day, my friends show me the AR and i love it

so i want to create my own AR app. (im a 18 years old lady XD Hope everyone kindly ans my question)

 

Im building a app about Nail. and want to make a (backend?) to upload, update ....to my cloud rec database.

i find the sample code (vuforia-web-services-api-java-implementation) but when i javac it,
there are so much error, i think i miss all the jar? where can i find it? can anyone show me.

THX  :3

I want to activate/deactivate a target image

July 1, 2020 - 8:56pm #6

Hi,

I want to desactivate the target image by changing only the "active_flag"  field, 

but the given example here is not working https://library.vuforia.com/articles/Solution/How-To-Use-the-Vuforia-Web-Services-API.htm#How-To-Update-a-Target

the response that i got is 404 Not found

the request is a POST to this url:  https://vws.vuforia.com//targets/d8eee6ac4c574de2965643106295759c

and in the body I sent contains only:   $jsonRequestObject = json_encode( array('active_flag' => 0 ) );

 

Regards

Question in VWS

August 12, 2013 - 11:59pm #5

1. 

you cannot change the name of the metadata file that is downloaded from the TMS, as this is automatically generated

2.

you can query a target by ID and obtain many information on it, but you cannot download the whole image or metadata using the VWS API

3.

you can inactivate a target by issuing an Update request, as explained in the developer guide:

https://developer.vuforia.com/resources/dev-guide/managing-targets-cloud-database-using-developer-api

 

Question in VWS

August 12, 2013 - 9:31pm #4

Thy for reply!!

 

Three more question XD, 

1.

I cant change the meterData file Name?

i mean, the text file call "metedata.txt" but after i upload and try to download it in from website,

it changes the file name to targetName which is the string of var.

 

2.

Can we download the image and meterdata throw VWS API?

I try the GetAllTargets.java but all of the result are IDs?

Can i download image and meterdate by IDs?

 

3.

To delete a target, the target must be in "inactive" status.?

Can we change the status from any to inactive? active_flag = false?

 

 

plx give me some ideas .

thx :3

Question in VWS

August 12, 2013 - 8:13am #3

Yes, you can change it to 5 mins (300s), but the image may take a bit more to get updated to a new status, so perhaps 10 or 15 minutes (600 - 900s) would be a better choice.

 

Question in VWS

August 12, 2013 - 7:55am #2

^^ i have done it already!!

 

but i want to ask why i cant receive status change in java as the status is changed in website.
OnTargetStatusUpdate?  3600secs ? Can i Change it to 5mins(300s)?

 

THX :3

Log in or register to post comments