Table Of Contents

Previous topic

Summary of EasyAR CRS

Next topic

Get started with Target Management API

Quick start with EasyAR CRS –Hello World

From this chapter, you will learn how to create a Cloud Database and the steps for building your cloud recognition App, following the EasyAR HelloARCloud sample.

Get started with EasyAR SDK

Before starting CRS, you firstly need to create new App to generate EasyAR SDK Key, and know well already about how to use EasyAR SDK. Make sure to use EasyAR SDK v2.0.0 or higher version.

Please read below chapters to get started with EasyAR SDK.

Build HelloARCloud sample App with CRS

Please follow 4 steps to build HelloARCloud sample(Basic edition):

Step1: Create Cloud Database
1) Go to Developer Center -> CRS, then create new Target Cloud Database then you can mange targets online.
  • Select one CRS region in which your App is most suitable, and Create new Cloud Database. Hint: CRS Cloud Database in NA1 region only be create by English website.
  • Free trial for 14 days in each region
../_images/new.png

2) Confirm the Cloud Database name

../_images/confirm.png

3) Wait for one minute, and you will get your space ready. If you meet problems during creating Cloud Database, click here to contact us.

../_images/inuse.png
Step2: Manage your Target Cloud Database
  1. Go to “Manage”, and upload new target in your Cloud Database

    • About the properties of target images, e.x. meta, width, etc, please refer the API of create new target for more details.
    ../_images/post.png
  2. Shows CRS Cloud Database auth tuple

  • You can also manage target using EasyAR CRS Web Service API . Access Cloud Key Tuple before use Web Service API. Hint: Web service endpoint is Server-end URL.

    ../_images/tuple.png
  • You should invoke API Ping to check health of Web Service.

    HTTP/1.1 200 OK
    Content-Type: application/json
    {
        "statusCode": 0,
        "result":
        {
            "message": "pong"
        },
        "date": "2015-06-11T07:45:47.984Z"
    }
    

Step3: CRS in your App

  • Open the sample HellpARCloud project, and fullfil EasyAR SDK license and your space tuple <Cloud key, Cloud secret, Client-end URl> into your project. This article only explains HelloARCloud with Cloud recognition in Android.

    ../_images/android.png

Refer Setting up EasyAR Android SDK if you have problem about EasyAR Android HelloARCloud setting up.

  • As following shows, open the Unity sample project, and fullfil EasyAR SDK license and your space tuple <Cloud key, Cloud secret, Client-end URl>

    ../_images/unity.png
  • As following shows, open the sample project with IOS edition, and fullfil EasyAR SDK license and your space tuple <Cloud key, Cloud secret, Client-end URl>

    ../_images/ios.png

Step4: Recognize your new target image

  • Run your App

    ../_images/reco.png