Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of contents

...

Table of Contents
minLevel1
maxLevel4

Introduction

...

This explanation assumes that the i-PRO camera application development environment has been completed.
If you are not ready to build the development environment, please refer to here to complete it.

Also, in this tutorial, the SDK installation directory is described as ${SDK_DIR}.

Operation overview

...

docker_ocr_app is a sample application that reads characters from images taken by a camera and displays the read characters.

Note

docker_ocr_app can only be built with Container Adamapp supported by SDK v.2.00 or later. Cannot be built with SDK below v2.00.

External libraries required for operation

...

When building with C/C++, the following is required, but it will be automatically installed during the process of building the Docker image. Please refer to the Dockerfile.azureIoT file included in the sample app.

tesseract

Directory path of the sample app

...

The C/C++ source code is stored below.

${SDK_DIR}/src/adamapp/docker_ocr_app

No python source code.

How to build the sample app (C/C++)

...

See here for building with C/C++.

How to use the sample app

...

Install the app from the Azure Portal. Please see “Deploy to camera for details”.

For details on how to check operation, please see “Check the operation of the app“.

As shown below, add text to the image taken by the camera when you start the app.

...

Info

Due to the low accuracy of character recognition, characters may not be readable depending on the environment. Try changing the font and size of the text.

Appendix

...

How to change preferences

This application has several settings that users can change. Below is a list of settings that users can currently change.

...