The Wayback Machine - https://web.archive.org/web/20241128003228/https://www.geeksforgeeks.org/microsoft-azure-using-azure-form-recognizer/
Open In App

Microsoft Azure – Using Azure Form Recognizer

Last Updated : 03 Apr, 2023
Summarize
Comments
Improve
Suggest changes
Like Article
Like
Save
Share
Report
News Follow

In this article, we will learn how to extract information with Azure Form Recognizer. Programmatically extracting information from images and documents is complex and requires complex machinery, learning models. Azure Form Recognizer can help with this, with pre-trained machine learning models that can recognize information on documents, receipts, and invoices. 

Implementation:

Follow the below steps to extract information from receipts with Azure For Recognizer:

Step 1: Create one, search for a form recognizer, and create it.

 Step 2: First, we’ll select a resource group. We’ll leave the region and fill in a name. Also, select a pricing tier. The free tier is also fine. 

Step 3: Here we are in the Form Recognizer. To use it, we need connection details. We need the key and also the endpoint. Copy those and move on.

Step 4: Now, we’ll test Form Recognizer with a sample image. Take a sample receipt, and we do that in the Form Recognizer Sample Tool. This is a website that enables us to test Form Recognizer without building an application. Form Recognizer can use a pre-built machine learning model. We can also train it ourselves with a completely custom model or by using the layout service. We will use the pre-built models. 

Step 5: First, we’ll put in the key and also the endpoint that we copied earlier. Here select “URL”. Azure use a URL for the sample receipt image, as that is what we will analyze. Fetch it, and you can see that this tool creates an API request that it sends to the Form Recognizer service. Let’s run it.

Step 6: In the image there, we see that it recognized most things. Here in the details, we see that as well. It even recognized the total tax for instance, and it gives confidence percentages that we can use in our application.

Step 7: Let’s set this to receipt. This will use a slightly different model to analyze the image. Take a look and we will see, here is, the details of the amount. It recognized it with the receipt model. 

Step 8: When we use this in an application, we’ll receive all this information in JSON format from the API, which we can also download from here.

Azure Form Recognizer removes the complexity of automatically analyzing and recognizing documents, receipts, and invoices. We can use it as a REST API and with SDKs for several languages. 


Previous Article
Next Article

Similar Reads

Microsoft Azure - Get Azure VM Properties using Azure PowerShell
The purpose of using the Azure PowerShell Commands is to quickly analyze the overall properties of VM/VMs at once the filtering the with select and where conditions. To find the properties of an Azure VM, you can perform the following commands in Azure Cloud Shell to get the details. Command: Get-AzVM Output: 1. Get all properties of an Azure Virtu
2 min read
Microsoft Azure - RDP to Azure Virtual Machines using Azure Bastion
In this article, we will learn how to do RDP(Remote Desktop Protocol) / SSH(Secure Shell) Connection to an Azure VM using Azure Bastion. First, let's discuss Azure Bastion. The Azure Bastion service is a fully platform-managed PaaS service that you provision inside your virtual network. It provides secure and seamless RDP/SSH connectivity to your v
3 min read
Microsoft Azure - Check Status of Azure VM using Azure PowerShell
The following Azure PowerShell command helps you to find the Azure VM Config and properties details of Os Name, Os Version, Hyper V Generation, Disks properties, Extensions properties of Type Handler Version, Status and Message, VM Agents properties of Type Handler Version, Status and Message and also VM Power Status Codes, Messages, Plugins, Time
3 min read
Microsoft Azure - Azure VM Disk Space in Percentage using Azure KQL
Here we'll be using the Azure Insights Metric Query to find the free disk space in percentage using KQL. The purpose of this query is to find disk drive free space of all the Azure VMs without logging into every server. You can Run the following KQL log Queries in Azure Monitor or Azure VM Logs or Log Analytics Workspace. Note: VM Insights Agent sh
1 min read
Microsoft Azure - Manage Azure VMs using Azure PowerShell Commands
Here we are using Azure PS Commands to manage azure resources from Azure Cloud Shell or by using Windows PowerShell. By using the simple AZ PS command we can manage Azure VM Quicks without any efforts of navigating in Azure Portal and at Scale. Let's get started by using the major Azure PS commands to manage Azure Virtual Machine. 1. Start a Specif
2 min read
Microsoft Azure - Configure Azure SQL with Azure CLI
In this article, we're going to take a closer look at how you can configure something like connectivity using the Azure CLI. What we have here is we are in Azure Data Studio and similar to the SQL notebook we are actually using a PowerShell notebook. That just means all our code cells are going to run PowerShell and we are just connecting to localh
4 min read
Microsoft Azure - Archive Azure VM to Azure Storage Account
In this article, we will be implementing a solution to archive a select azure VM snapshot to a select storage account for archiving using azure cloud shell. For implementation, we will be using Azure CLI commands. Prerequisite:VM SnapshotA storage account is neededUser needs "Storage Blob Contributor Data" IAM Role Access on Archiving Storage Accou
2 min read
Microsoft Azure - Enable Azure Monitor VM Insights Agent For Azure VM
Azure Monitor VM Insights Agent enables you to get more visibility into the health and performance of your Azure VM. Here we'll see how we can enable Azure Monitor VM Insights to monitor the health, performance, and dependencies of azure virtual machines. Implementation: Follow the below steps to enable Azure Monitor VM insights agents for an Azure
2 min read
Microsoft Azure - Azure CLI Commands to Manage Azure VMs
Azure Command-line interface is used to manage or to create Azure resources. By using the simple AZ CLI command we can manage Azure VM quickly and at a Scale. Let's get started by using a few important Azure CLI commands to manage Azure Virtual Machines. 1. Start a Specific Stopped VM in a Select Resource Group Use the below command to start a spec
2 min read
Microsoft Azure - Query Azure Storage Logs in Azure Monitor Log Analytics
Pre-requisite:- Azure Log Analytics is a tool offered by Azure, which is used to edit and run log queries against data in the Azure Monitor Logs store and helps interactively analyze their results. One can easily use Log Analytics queries to retrieve records that match particular criteria, identify trends, analyze patterns, and provide various insi
5 min read
Microsoft Azure - Install Azure Command Line Interface (Azure CLI)
Azure CLI is a very powerful tool that can be used to automate tasks, create, update, manage or delete azure resources or to troubleshoot problems with az module cmdlets. By installing az modules on your system or on your development system you and your development team can easily create, update or manage Azure AD and Azure resources such as manage
4 min read
Microsoft Azure - Get CPU Utilization Data of a Azure VM in Azure Portal
Azure Virtual Machines (VM) is one of several types of on-demand, scalable computing resources that Azure offers. In this article, we will look into the process of getting the CPU Utilization data of an Azure VM in Azure Portal. Implementation:Follow the steps to get the CPU Utilization of an Azure VM in Azure Portal: Step 1: Log in to your Azure P
2 min read
Microsoft Azure- Backing Up, Restoring, and Cloning Microsoft Azure App Services
Microsoft is well known for developing relevant software which are using in today's time of technology to conquer the demand of users and developers to build up applications. In sequence of it Microsoft introduces Azure well known as Microsoft Azure to make quality applications. In this article, we will discuss Backing up, restoring and cloning Mic
8 min read
Microsoft Azure -Create a User in Microsoft Entra ID from Azure Portal
A user in Microsoft Entra ID is an individual who can get access to Azure identity. This Microsoft Entra ID identity can be used to access applications and resources that are protected within the organization or project. Users can be created manually or automatically, and they can be assigned to groups and roles to control their access permissions.
3 min read
Microsoft Azure- Disk Storage in Microsoft Azure
Azure Disk Storage is the only shared cloud block storage that supports both Windows and Linux-based clustered or high-availability applications via Azure shared disks. There are two types of Disks in Azure : Managed Disks Unmanaged Disks.Managed DisksSimplest optionLower management overhead as Azure manages the storage accounts.Only LRS replicatio
6 min read
Microsoft Azure - Azure Managed Disk State Details using PowerShell
In this article, we will try to understand how we can fetch the VM Disk State by using the Azure PowerShell Commands. With the help of the Azure PowerShell Commands, we will be finding the Managed Disk State of Unattached, Attached, and Reserved of all the Azure VM Disks within Subscription. Implementation: Follow the below steps to get azure manag
1 min read
Microsoft Azure - Deploy a new VM to Azure using ARM
Pre-requisites: Azure Azure Resource Manager is referred to as ARM. It is an Azure management platform that offers a centralized method for deploying, managing, and monitoring resources in Azure. ARM enables enterprises to improve resource organization and control, deliver applications consistently and predictably, and manage resources more quickly
6 min read
Microsoft Azure - Export the List of Azure Storage Services using KQL
Pre-requisite: Azure In this article, we will show you how to export the information of Azure Storage Services by using KQL (Kusto Query Language) resource graph query to retrieve within a subscription in simple and easy steps. We will be using Azure native service called Azure Resource Graph Explorer to retrieve the information. To retrieve the in
2 min read
Microsoft Azure - Deploy Azure Functions using VS Code
In this article, we will learn how to deploy Azure functions with Visual Studio Code. To deploy an Azure function out from within Visual Studio Code, we are going to open the command palette. Now follow the below steps to deploy the Azure function: Step 1: First, we are going to type "deploy function" in the command palette and select the option fr
2 min read
Microsoft Azure - How To Deploy VM in Azure using Terraform?
Pre-requisite: Azure, Terraform This article demonstrates how to use Terraform to build a complete Linux environment with all the necessary resources. A virtual network, subnet, public IP address, and other resources are among them. Terraform is an open-source tool for building, changing, and versioning infrastructure safely and efficiently. It may
2 min read
Microsoft Azure - Create Project in Azure Devops using Basic Process
Microsoft Azure DevOps currently has three types of processes: AgileScrumCMMI But the problem with these processes is that they are very process or methodology-heavy. Suppose you are a new engineer, and you are working with Github and you want to use Azure DevOps, then you will need to deal with product backlog items, user storage, and all the tech
3 min read
Microsoft Azure – Create Project in Azure Devops using Agile Process
Agile Process is used when a team uses Agile planning methods, including Scrum, and used to track development and test activities separately. Agile provides different work items using these work items you can track different types of work [ features, user stories, and tasks] based on Agile principles and values. Step 1: Go to Azure DevOps Portal an
3 min read
Microsoft Azure - Query System Event Log Data Using Azure KQL
Here in this article, we will find the system event log data of both windows and Linux machines from log analytics data sources using the Kusto Query Language (KQL). System Event Logs that are captured could be retrieved using the KQL event operator. KQL Event operator helps users to troubleshoot Windows or Linux system failures, warnings, and othe
2 min read
Microsoft Azure - Using Github Action in Azure App Service
In this article, we will learn how to use GitHub Actions from Azure App Service. GitHub Actions enables us to automate builds and deployments which results in better quality software. For the purpose of demonstration, let's use it from this Azure App Service Web App that we've already created. This is a new web app, and we haven't deployed an app i
2 min read
Microsoft Azure - Debugging Azure Functions using VS Code
In this article, we will learn how to debug Azure functions with Visual Studio Code. To start debugging Azure functions inside of Visual Studio Code, all you need to do is start off by creating a breakpoint, and now we'll just engage the debugging session. To do so follow the below steps: Step 1: First, in the command palette, we'll hit "Start debu
2 min read
Microsoft Azure - Using Table Parameter in Azure CLI
In this article, you'll learn how to use the Table Parameter to change the format of the output when you're issuing commands with the Azure CLI. When you're working with version 2.0 of the Azure CLI, the results from the commands that you're on are typically returned to you in the JSON format. So, for instance, if we want to search for our resource
2 min read
Microsoft Azure - Azure App Servers Routing using PowerShell
In this article, we will look into how to add logic to your testing and production sites with PowerShell. I Azure, you could split the traffic that goes between your staging slot on your production slot by defining routing rules inside the Azure portal. Now, what if you wanted to do this programmatically via maybe a PowerShell script. One of the th
2 min read
Microsoft Azure - Using JSON with Azure Logic Apps
In this article, we will look into how to create JSON Schema that can be used in Azure logic apps. For the sake of example, here one of our goals is to create an Azure logic app that gets triggered by an HTTP request. Now, when we pass our JSON payload over, we want it to be validated. So, let's look into a few tools that we could use to generate s
2 min read
Microsoft Azure - Cloning Web Apps using Azure App Services
In this article, we will look into the process of cloning web apps in Azure App Services. If you have an existing application in Azure App Services that you like to have copied over into another region, one option you have is to simply clone it. Follow the below steps to clone and Azure App to another region: Step 1: In the search bar search "clone
2 min read
Microsoft Azure - Using Flexible Server in Azure Database for PostrgeSQL
In this article, we will look into the process of using the Flexible Server in the Azure Database for Postgres SQL. You can create an Azure Database for Postgres SQL with a Flexible Server which allows for configuration and control of the database server. Let's take a look at the below implementation. For this follow the below steps: Step 1: In the
3 min read
three90RightbarBannerImg