Skip to main content
🏠Documentation|OCR Testing

Last updated on : 21 Jan 2025

OCR Testing in Mobile Applications

Overview

OCR Testing in mobile applications focuses on validating the accuracy, reliability, and performance of text recognition from images on real devices. It ensures that the app accurately detects and extracts text across different fonts, languages, lighting conditions, and image quality. By testing OCR on physical devices, teams can uncover issues related to image resolution, orientation, and regional language support that are often missed in emulators. This helps ensure consistent text recognition for use cases such as document scanning, ID verification, receipts, QR alternatives, and app data captured across diverse devices in real-world conditions.

Prerequisites

  • User must be registered Pcloudy account

Steps

  1. Login to the Pcloudy platform

  2. Select Function Experience on the left Panel and Click on Real Devices.

  3. First, the user will need to Instrument the App and Upload the Image

    1. Under the All Apps section, Select the App that needs to be tested.

    2. Click on the three dots of the corresponding mobile application.

    3. Click on Image Injection

    4. A Progress notification bar on the top right corner will let the user know once the application is instrumented.

    5. The Instrumented app will be placed within the corresponding app, Click on drop down on the corresponding app to view the instrumented application.

    6. The user will also need to upload the Image that needs to be scanned.

    7. Select Files/Testdata in the Select Application section.

    8. Click on Upload and choose the Image needed for OCR Testing.

    9. A Progress notification bar on the top right corner will let the user know once the image is successfully uploaded to the repository.

  4. Now, simply select the instrumented app, the device of your choice and click on Start Testing.

  5. This will automatically install and start up the instrumented app on the device.

  6. Allow the necessary permissions if any to scan the OCR Image.

  7. Click on Image Injection on the Left Panel.

  8. Select the Image that needs to be Tested for OCR and click Inject.

  9. Once the image is injected, you can follow the prompt on the application to scan or capture the uploaded image.

  10. Once the image is captured, you can adjust the Image size using the cropping tool and select crop.

  11. The application will scan the image and share some meaningful data converting the Image to Text.

Did this page help you?