# Verify by scanning the QR Code

## Overview

This guide walks you through verifying credentials by scanning QR codes directly using your device's camera. The scan feature provides real-time verification—simply point your camera at a QR code, and Inji Verify decodes the credential data using the PixelPass library and validates it using the Verification SDK. The scanning workflow supports zoom controls for optimal capture accuracy and displays verification results with full credential details upon successful validation.

## Verify by scanning the QR Code

**Initiate Scan Request:**

1. Go to the Inji Verify portal and select the tab **Scan the QR Code** tab where the Scan QR code section will come up.
2. Click on the Scan button to initiate the scanning process.

<figure><img src="https://3039626265-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FaY8BQ4hdzhSchZV814Ev%2Fuploads%2Fgit-blob-e66926b6d275f59d37db1070ce7206c0c426b317%2Fimage6.png?alt=media" alt="" width="500"><figcaption><p>Desktop View</p></figcaption></figure>

<figure><img src="https://3039626265-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FaY8BQ4hdzhSchZV814Ev%2Fuploads%2Fgit-blob-061d689d27a2d82078442900057e5252756de998%2Fimage2.png?alt=media" alt="" width="150"><figcaption><p>Mobile View</p></figcaption></figure>

3. Click the Allow button to give the portal access to your device's camera, you are prompted to grant the necessary camera permissions for the Inji Verify portal when you initiate the scan.

<figure><img src="https://3039626265-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FaY8BQ4hdzhSchZV814Ev%2Fuploads%2Fgit-blob-a6ebe629118235e155c71b8101bb8b41cc5cc035%2Fimage3.png?alt=media" alt="" width="500"><figcaption><p>Desktop View</p></figcaption></figure>

<figure><img src="https://3039626265-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FaY8BQ4hdzhSchZV814Ev%2Fuploads%2Fgit-blob-30d89e785872d66c20df6b92e9c2db28eb3c62a1%2Fimage4.png?alt=media" alt="" width="150"><figcaption><p>Mobile View</p></figcaption></figure>

4. If camera access is denied the screen displays a message indicating the camera permission is denied.

<figure><img src="https://3039626265-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FaY8BQ4hdzhSchZV814Ev%2Fuploads%2Fgit-blob-521059a92bf96548d27e4be8dd0ae709c4c0adc6%2Fimage5.png?alt=media" alt="" width="150"><figcaption><p>Camera Permission Denied</p></figcaption></figure>

5. **Scan the QR Code**

* Scan QR Code
  * Position the device's camera in front of the QR code you wish to scan.
  * Zoom slider is used to adjust the magnification level of capturing QR code while scanning.
  * Capture the QR code by aligning it within the frame displayed on your device's screen.
  * Once the QR code is captured, the data is sent to the Inji Verify portal for processing.
* **How is QR Code decoded?:**
  * The QR data is passed to the Pixel Pass library for decoding.
  * Pixel Pass returns the decoded data to Inji Verify for further processing.
  * Inji Verify then verifies the decoded data using the Verification SDK.

<figure><img src="https://3039626265-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FaY8BQ4hdzhSchZV814Ev%2Fuploads%2Fgit-blob-19675dc24ed33b598649cf1fc655573784b4adcc%2Fimage7.png?alt=media" alt="" width="150"><figcaption><p>Zoom Slider</p></figcaption></figure>

6. **Display Credential Details:** - On successful verification, Inji Verify retrieves the display properties of the credential from the issuer's configuration. The credential details are displayed on the portal's interface using the fetched display properties.

<figure><img src="https://3039626265-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FaY8BQ4hdzhSchZV814Ev%2Fuploads%2Fgit-blob-7b9d63418a4ca740b43c966b885263f96c3bbb0e%2Fimage8.png?alt=media" alt="" width="500"><figcaption><p>Desktop View</p></figcaption></figure>

<figure><img src="https://3039626265-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FaY8BQ4hdzhSchZV814Ev%2Fuploads%2Fgit-blob-e60a042a993a0542b4e837ae71498608814775e3%2Fimage9.png?alt=media" alt="" width="150"><figcaption><p>Mobile View</p></figcaption></figure>
