OCR References

OCR Prepossessing

  1. Text skew correction with OpenCV and Python
  2. Detecting machine-readable zones in passport images
  3. PassportEye Extraction of machine-readable zone information from passports, visas and id-cards via OCR
  4. tesseract-mrz Demonstration of reading a passpo...

Install Unpaper from Source

Install Build Tools

sudo yum install autoconf automake gcc gcc-c++ git libtool make yasm pkgconfig zlib-devel

Build Libav From Source

Unpaper rquires Libav

[kiat@reporting]$ wget https://www.libav.org/releases/libav-12.3.tar.gz
[kiat@reporting]$ tar -xvf libav-12.3.tar.gz
[kiat@reporting]$ cd libav-12.3
[kiat@reporting libav-12.3]$ ./configure
[kiat@reporting libav-12.3]$ make
[kiat@reporting libav-12.3]$ sudo make install

Build Unpaper from Source

[kiat@reporting]$ w...

Install Unpaper from Source

Install Build Tools

sudo yum install autoconf automake gcc gcc-c++ git libtool make yasm pkgconfig zlib-devel

Build Libav From Source

Unpaper rquires Libav

[kiat@reporting]$ wget https://www.libav.org/releases/libav-12.3.tar.gz
[kiat@reporting]$ tar -xvf libav-12.3.tar.gz
[kiat@reporting]$ cd libav-12.3
[kiat@reporting libav-12.3]$ ./configure
[kiat@reporting libav-12.3]$ make
[kiat@reporting libav-12.3]$ sudo make install

Libav is installed in the following directories:

  • /usr...

Google Cloud Platform

Vision API Client Libraries for PHP

Supports PHP ver > 7

Warning: include(Throwable.php): failed to open stream: No such file or directory
vendor/guzzlehttp/guzzle/src/Exception/GuzzleException.php(6): interface_exists('Throwable')

Throwable is a base interface made available in PHP7.

Requires PHP Extension bcmath

Symfony\Component\Debug\Exception\UndefinedFunctionException:
Attempted t...

Azure OCR API

Get the Microsoft Azure Computer Vision API Key here.

Image

Image

There is a sample PHP code in github that uses Pear HTTP_Request2 package.

In this [stackoverflow](https://stackoverflow.com/questions/37416104/api-http-request2-p...

Limitations of AA ver 11

What I found limiting in Automation Anywhere bot creation editing

  1. [Begin Error Handling] Cannot throw custom error.
  2. [Missing Command]
    1. No subtask or goto command. Needed in fail validation routine or repeated subroutine.
  3. [Run Task] ̶N̶o̶ ̶e̶a̶s̶y̶ ̶w̶a̶y̶ ̶t̶o̶ ̶p̶a̶s̶s̶ ̶a̶r̶g̶ ̶t̶o̶ ̶b̶o̶t̶ ̶(̶.̶a̶t̶m̶x̶ ̶f̶i̶l̶e̶)̶.̶ ̶U̶s̶e̶ ̶$̶C̶l̶i̶p̶b̶o̶a̶r̶d̶$̶.̶ To pass arg or param to sub-task, in Run Task, select the radio button Variable to map Main Task Variable to Run Task Variable. However:
    1. it cannot set...

Comment in AA

There is a comment command. To comment out a command, use disable.

Image

How to use if command to comment a block of commands:

Image

Computer Vision Resources

Face Detection For Beginners

PassportEye 1.4.1 The package provides tools for recognizing machine readable zones (MRZ) from scanned identification documents. The documents may be located rather arbitrarily on the page - the code tries to find anything resembling a MRZ and parse it from there.

Doubango Telecom Machine-readable zone/passport Insanely fast and accurate (99.7% F-score) MRZ/MR...

Open Source Automation Tools

  1. AutoIt
  2. TagUI
  3. Windows Automation Snapin for PowerShell WASP in GitHub Old archive: WASP
  4. Seleneum
  5. Automagica
  6. Pybotlib
  7. ~~Robot Framework~~

Chrome Extension

We can write a Chrome/Firefox extension to automate proce...

AA Guide #1: Control Room & Application

Control Room

Image

Wins 10 Installation

Location: C:\Program Files (x86)\Automation Anywhere\Enterprise\Client
Application: Automation Anywhere.exe

Image

App Login

Login to Control Room: https://18imwdi1.ce.automationanywhere.digital

Image

We can login in a browser. I forgot the password, but I managed to retrieve from Chrome > Settings > Passwords, which allows viewing the password with Windows credentials.

Desktop App...