Wikitude Cloud Recognition
The Wikitude Cloud Recognition service is cloud-based service provided by Wikitude, which recognizes images sent from Android and iOS apps using the Wikitude SDK. The recognized images are then tracked in the live camera feed and can be used for augmented reality experiences.
This documentation focuses on the RESTful API called Manager API, which is used to interact on a back-end level with the Cloud Recognition service.
Target: An image and its associated extracted data that is used to recognize an image.
Target Collection: A group of
targetsthat are searched together. Think of it as a directory, which contains all your images you want to search. The Wikitude SDK can work with two different sorts of
- On-device Target Collection: a static
wtcfile containing the extracted data of your images. Can consist of up to 1,000 images.
- Cloud Target Collection: A target collection stored on the Wikitude server. See
Cloud Archivebelow. Can consist of up to 50,000 images.
- On-device Target Collection: a static
Cloud Archive: An archive stored on the server that is optimized for cloud-based recognition. It is generated from a
TargetCollectionand is used in combination with the Wikitude SDK
Manager API: A RESTful web API allowing developers to interact with the Cloud Recognition server for managing
Cloud Archives. Only you as a developer uses this API. None of your users of your app will interact with this API.
Client API: The Client API is the interface between the Wikitude SDK and the Cloud Recognition Service. The API itself is encapsulated in the Wikitude SDK class
AR.CloudTracker and not directly accessible. Calls on the client API are called
Getting Started with the Cloud Recognition Service
- Create a free Wikitude developer account or log-in if you are a returning developer
- Get the API tokens for the Manager API and the Client API to start your project. Read more on authentication
- Test the API for free using Wikitude's sample integrations
- Once you finished your integration, purchase a commercial token.
First Steps and General Usage
- Get familiar with the Manager API calls in the API Reference
- Create a first Target Collection using the
Create Target Collectionendpoint and note down the ID of the Target Collection
- Create targets using the
Create Targetendpoint for that particular Target Collection
Generate a Cloud Archivefor your Target Collection
- Go to the Wikitude SDK and create an Android or iOS project
- Use the Client API token to authenticate your Android or iOS project
- Use your Target Collection ID to recognize images
For more information on the available endpoints and how to work with the Manager API see the workflow section.
The Cloud Recognition Service knows two authentication tokens, that you need in order to work with the service
Manager API token You need this token to authenticate yourself against the RESTful Manager API. The Manager API is used to create, add and delete targets and target collections. The token identifies your developer account. Calls to the Manager API do not count towards your quota limits.
Client API token You need this token to authenticate calls from the Wikitude SDK to the Cloud Recognition services. It again authenticates calls as legitimate. The token is bound to your developer account. Calls from the Wikitude SDK to the service with a wrong or missing token can not access your target collections.
Authentication on the Manager API
The Manager API token must be added to each call towards the Wikitude Cloud Recognition Manager API. The token authenticates the user account that is using the API.
Authentication on the Client API
The Client API token must be added to your app project using the Wikitude SDK. This token is needed additionally beside the SDK license key when working with the
Quota and Limits
General Upload Limit
The Wikitude Cloud Recognition will not accept images bigger than 1024kB (1 MB). Trying to upload images exceeding this file size will result in a HTTP status code
400 together with an error message
Limits for the Wikitude Cloud Recognition Service
There are two main limitations for the Wikitude Cloud Recognition service that you need to be aware of:
Targets Your token has a certain number of targets that you can upload and store on the cloud service under your developer account. The limit is always counted for your entire developer account and not for a single target collection. The service is not counting single uploads, but how many targets are currently stored in target collections under your account.
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.
Maximum Number of Targets in a Target Collection
A target collection can't exceed 50,000 targets.
Free Trial License for Cloud Recognition
Wikitude provides a trial token for each developer account to try out the Cloud Recognition for free. This trial token has set a quota limit that allows developers to try and test the functionality of the service. Limitations for trial accounts
- Targets: 50,000
- Scans: 1,000 per month
To get your trial token, please visit the License page.
For production systems, we offer commercial licenses with various quota limits for purchase.
|Cloud Recognition 1000||1,000||1,000,000|
|Cloud Recognition 10000||10,000||1,000,000|
|Cloud Recognition 25000||25,000||1,000,000|
|Cloud Recognition 50000||50,000||1,000,000|
|Cloud Recognition 100000 (*)||100,000||1,000,000|
(*) Maximum number of targets per target collection can't exceed 50,000