Integration Documentation(Default Layout Mode)

Installation

  1. Add the repository

  2. Add the dependencies in your project's gradle:

  3. If your application has package size constraints or you need to reduce the app bundle size, you can optimize by excluding the model file module from the dependencies in step 2. This modification reduces the SDK package size by approximately 1MB. The model files will be downloaded automatically when users first launch the SDK. Please be aware that network connectivity issues may cause download failures.

Usage

  1. Initialize the SDK

    Add the following initialization code to the custom application

  2. Check license.

    The license is obtained by your server calling our openAPI, you need to check license before starting the IQA activity.

  3. User binding (highly recommended).

    You can use this method to pass us your unique user ID, and we will establish a mapping relationship based on that ID. It's easy to track logs with us in case of problems.

  4. Start and Get Results

    We provide two ways to get images and detection results, you can get them directly through the SDK or you can request the results via IDVID.

  5. Get eventId

    After each process ends, you can use this method to obtain the event ID for this session. Please make sure to save this ID. If you encounter any issues, you can provide this ID to us for quick log identification.

  6. Image element customization

    Use the gradle package merge resource mechanism to place image resources of the same name from the SDK in your app module to customize the image elements. The names of the individual image resources correspond as follows:

  7. Text customization

    Use the gradle package merge resource mechanism to place text resources of the same name from the SDK in your app module to enable customization of image elements.

FAQ

See FAQ