"We offer new support options and therefor the forums are now in read-only mode! Please check out our Support Center for more information." - Vuforia Engine Team

Duplicate Check API Call

Vuforia SDK Version: NA - Description with steps to reproduce:

Hello,

I am having trouble getting the duplicate check API call to work.

I have created two targets both with the same image. Their IDs are as follows:

da5b3f582076494c8fdb011ed769e2448bf50fbc123b4fbca900d60c893d28be

When I call https://vws.vuforia.com/duplicates/8bf50fbc123b4fbca900d60c893d28be using the GET method, I get the following response:

{"result_code":"Success","transaction_id":"40dbfbccb4a94e5d8d26de6b3d152076","similar_targets":[]}

This response suggests that the target in question does not have any duplicates, however, there is definitely another target that has the same image. Could someone please look into this issue? If this is not an issue, then please let me know what I am doing wrong.

Thank you.

- Development OS (Mac OS X, Windows, Linux): Windows - Mobile OS and Version: NA - Mobile Device Manufacturer and Model name: NA - Do the Vuforia Sample Applications show the same behavior?: NA

All right. Would it be possible for you to send me (via PM) the image in question ?

I would like to see if I can reproduce  the issue so to verify whether the issue is related to the image itself, or rather specifically to your account / DB.

 

Hi Alessandro,

I have sent you the image in question as a private message (Subject: Duplicate Check API Call Image). Have a look and let me know what you discover.

Thanks!

Hi, I have tested your image with a test Cloud account, and I was able to get the Duplicates correctly reported. So the functionality seems working fine, and the image has no issue.

Hi Alessandro,

Thanks for clearing that up. I also did a few tests of my own just to fully understand what was going on and how Vuforia detects duplicates. My tests are as follows:

Ok, so, to summarize, basically if 2 targets are either Active or Pending (and going to become Active), the duplicate check should detect them, while for Inactive targets the duplciate check will ignore the targets. 

Hi Alessando,

We are trying to implement duplicate target API from PHP.  But, we are not able to as there is no sample code available.  

 

Please provide the complete code or sample php file which has this functionality.