Skip to main content

G1ANT OCR Google Addon and OCR Tesseract Addon


What is OCR ?

Optical character recognition or optical character reader is the electronic or mechanical conversion of images of typed, handwritten or printed text into machine-encoded text, whether from a scanned document, a photo of a document, a scene-photo or from subtitle text superimposed on an image.

OCR Google Add-on

This add-on helps to use OCR technique via G1ANT. robot. This add-on helps to recognize text from images/screen on google.com. This add-on comprises of various commands like 

  • ocrgoogle.find
  • ocrgoogle.fromscreen
  • ocrgoogle.login
To use this command one should activate his/her google developer account and generate a API key or JSON file. A credit /debit card is must to activate the account, either you choose free trail or paid subscription credit/debit card is needed.

OCR  Tesseract Add-on

This add-on helps to use OCR technique via G1ANT.robot also. This add-on helps to recognize text from images/screen on windows applications like notepad, internet explorer. This add-on comprises of various commands like 
  • ocrtesseract.find
  • ocrtesseract.fromscreen
To use this add-on one should follow the steps :-
  1. Download the DLL file from this link.
  2. Close the G1ANT.robot (if running in background)
  3. Paste the DLL file in Documents/G1ANT.robot/Add-on
  4. Right Click on the DLL file and click on properties.
  5. Click on the unblock button.
  6. Now run the G1ANT.robot and select the ocrtesseract add-on from addon window.
With the help of the above steps one should be able to use ocrtesseract addon successfully.

You can check ocrgoogle as well as ocrtesseract add-on codes on my GitHub - Click this link 




Comments

Popular posts from this blog

G1ANT - Robotic Process Automation

  About G1ANT G1ANT, the new-level RPA platform for enterprise and large-scale uses! It combines advanced extensibility, high performance, and world-class support to offer you a rock-solid base for business automation. Build highly efficient and automated end-to-end business processes.   G1ANT is open-source, with all of its code audited and deemed appropriate even for high-risk data (banking, insurance, military, health). We are featuring an innovative automation language, fantastic documentation, and support for every single desktop or web applications. Features  Web Automation : Supporting web testing, and data extraction across all major browsers (Chrome, Safari, Firefox, IE, and Edge) Desktop Apps : Automate any mouse, keyboard, and window elements. Custom Apps : Use OCR to find elements and clipboard to capture data. Mobile Apps : Control and monitor Android devices with ease! Integrates Well : G1ANT works with your existing stack: SalesForce, Sage, ERP, SAP, JIRA, Office etc. Cl

G1ANT Language Add-On

About Language Add-on Language Add-on is the most important as well as most useful add-on on G1ANT.robot. This add-on contains mostly structures like list, dictionary etc. We don't need to import this add-on externally, this add-on automatically imported on new script.  Language Add-on consist of various commands and structure. Commands -  1) end =  This command ends a command block started with the following commands: for , while , foreach, if , procedure, try 2) error = This command allows error handling using variables of error structure. Structure -  1)bool  =       This structure is used for variables storing the Boolean values: `true` and `false` 2)datatable =   The datatable structure stores information about array of arrays. 3)date  = The date structure stores information about the date in the following fields 4)datetime =  The datetime structure stores information about date and time in the following fields 5)html =  This structure stores values of imported HTML files 6)j

G1ANT Add-On Selenium and UI

SELENIUM ADD-ON What is Selenium Add-on ? With the help of this add-on  we can access internet applications like Chrome and Firefox through G1ANT and perform various tasks/processes automatically. In order to use this add-on one should enable it from Addons window. Commands of Selenium Add-on  1) selenium.alertaction = Waits for an alert and performs a specified action  2) selenium.activatetab = This command activates a browser tab specified by a part of its title or URL address  3) selenium.callfunction = This command calls a function on a specified element  4) selenium.click = This command clicks a specified element on an active web page  5) selenium.close = This command closes a web browser  6) selenium.closetab = This command closes the current tab in the current browser  7) selenium.getattribute = This command gets a specified attribute of a specified element  8) selenium.gethtml = This command gets full Html of a web page  9) selenium.gettable = This command get