"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

How can i know number times of image detection?

I want to know how many times each app user has been detected in each of the images registered in Device Mode. This question may be some insignificantly, but this time that information is very important to me. Is there a good way? I'd like to ask you a solution. Of course, the information must be received from the outside server.

Hello ydjo,

We (edit)don't provide this data through our APIs. You could keep track of this within your app and send the data off to your own servers if this is information you need.

Thanks,

I mis-typed in my response and meant to say "don't." I've edited my response to reflect the correction.

There is NOT an API that will tell you how many times a specific Image Target has been detected. You'll need to track this with your own code..

Apologies,

I agree with your opinion. Because the image target database is in device mode. The url script is shown below. I put this script in each of the images. The action is becoming satisfactory. App users will detect each image.

"You'll need to track this with your own code." Please explain briefly what the above statement means. What type of scripts do you need to code? Please give me some guide.

What I mean by this is that if you are wanting to keep track of this information, you will need to have your app keep track of the number of times each target has been detected. Whether you keep track of this information locally or immediately send the data off to your server is up to you.

I want receive the detection data to my email, of course that's data made some scripts using DefaultTrackableEventHandler and OnTrackableStateChanged. please guide to me some example scripts. I will learn hard. Thank you.

Here's a post about sending an email in C# with Unity: http://answers.unity3d.com/questions/433283/how-to-send-email-with-c.html

Following this example, you should be able to modify it to send yourself an email with the number of times your object has been tracked.

Thanks,

O.K I will try to send the data by email guiding your reply. but now there is a problem with me. when i detected image and use scripts "urlmanager.GET.url = link ", so page change andthen open that's web page automatically. but this time i want use UI BUTTON.

I recommend looking into some tutorials related to using Unity's UI components. You can use those to create or activate a button when the target is detected, this can be in the same function that you are using to send your email.

Thanks,