Start a new topic

How is the reorted scan count determined?

Hello. We are finding that significantly more scans are being reported on the Wikitude account web page than the recognitions actually generated. This is using Unity with continuous cloud recognition. In our most recent test session, we pointed the camera at nine image targets, one immediately after another, and got nine successful recognitions. The exact count of nine recognitions was confirmed by reviewing the Unity console, where we use Debug.Log to output image target data upon recognition. However, the scan count reported on the Wikitude account page for cloud tokens increased by 45. There are no other users, since this is still in test status. In this test, we are *not* stopping the continuous recognition upon successful recognition. That's because the users will be pointing their phones at printed pages with multiple image targets right next to each other. It would not be practical for the users to have to resart the recognition repeatedly. So we are wondering exactly what triggers more reported scans that successful recognitions, and if there is a way to get these in sync. Thanks.

Hi, 


What is reported is not the number of successful recognitions, but the total number of scan requests the device sends to the server, regardless of whether it contained a (new) target or not. When using continuous cloud recognition, a new scan is sent at a fixed interval, as specified when calling CloudRecognitionService.StartContinuousRecognition (by default in the Unity sample the interval is 1.5).


From the Cloud Recognition documentation:

  • Scans Scans are in effect calls from the Wikitude SDK via the Client API to the Cloud Recognition servers. All commercial license come with an allowance of 1,000,000 scans per month per developer account. Note: When using Continuous Search mode multiple calls are made to the server.


Best regards,

Alexandru

Thanks. We will need to address this with timers in the app to disable the scanning to keep the scans count down. Does the scanning automatically stop when apps are minimized, running in the background, or when a phone goes to sleep?

Hi, 


Yes, when the app is minimized or when the phone is locked, the SDK is paused, the camera is stopped and no further scans should be made.


Best regards,

Alexandru

Login or Signup to post a comment