Read Text from an Image in C# | OCR using Tesseract in C# | OCR in C# Windows Form Application
Hello Friends,
In this video I Will Show You How To Convert Image to Text using C# Tesseract.Net SDK.
- Now First, 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.
- What Is Tesseract.Net SDK ?
- Tesseract.Net SDK is a class library.
- It can read a wide variety of image formats and convert them to text in over 60 languages.
- In Visual Studio using NuGet Package Manager We can Install this library.
- Import Namespace : using Patagames.Ocr;
- Code as per above tutorial:
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using Patagames.Ocr;
using System.Drawing;
namespace ImageToText
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
PicTarget.ImageLocation = @"E:\YouTube\OctToImageDemo\ImageToText\ImageToText\Img\sample3.png";
}
private void BthClickHere_Click(object sender, EventArgs e)
{
using (var objOcr = OcrApi.Create())
{
objOcr.Init(Patagames.Ocr.Enums.Languages.English);
string plainText = objOcr.GetTextFromImage(PicTarget.ImageLocation);
txtOutput.Text = plainText;
}
}
}
}
Видео Read Text from an Image in C# | OCR using Tesseract in C# | OCR in C# Windows Form Application канала Swarg
In this video I Will Show You How To Convert Image to Text using C# Tesseract.Net SDK.
- Now First, 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.
- What Is Tesseract.Net SDK ?
- Tesseract.Net SDK is a class library.
- It can read a wide variety of image formats and convert them to text in over 60 languages.
- In Visual Studio using NuGet Package Manager We can Install this library.
- Import Namespace : using Patagames.Ocr;
- Code as per above tutorial:
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using Patagames.Ocr;
using System.Drawing;
namespace ImageToText
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
PicTarget.ImageLocation = @"E:\YouTube\OctToImageDemo\ImageToText\ImageToText\Img\sample3.png";
}
private void BthClickHere_Click(object sender, EventArgs e)
{
using (var objOcr = OcrApi.Create())
{
objOcr.Init(Patagames.Ocr.Enums.Languages.English);
string plainText = objOcr.GetTextFromImage(PicTarget.ImageLocation);
txtOutput.Text = plainText;
}
}
}
}
Видео Read Text from an Image in C# | OCR using Tesseract in C# | OCR in C# Windows Form Application канала Swarg
Показать
Комментарии отсутствуют
Информация о видео
Другие видео канала
![OCR in C# WindowsFormApplication | Extract Text From Picture | use of IronOcr Library in C#](https://i.ytimg.com/vi/EWmS3yi97kI/default.jpg)
![How to extract text from PDF file in C#](https://i.ytimg.com/vi/y6s2mLpYfMc/default.jpg)
![Building OCR app with C# and Tesseract-ocr library tessnet2](https://i.ytimg.com/vi/ccoh6zmNN3Y/default.jpg)
![How to build Tesseract OCR from source in Windows and develop applications with it](https://i.ytimg.com/vi/AJ_9uThHn_E/default.jpg)
![C# tips and tricks 21 - Extracting text from an image using Tesseract OCR library for C# (CSharp)](https://i.ytimg.com/vi/rAkf8S1G-Aw/default.jpg)
![How to using Tesseract OCR (free OCR library) for PDF/Images](https://i.ytimg.com/vi/63dPBExrpOg/default.jpg)
![visual basic with autoit bot game part 2](https://i.ytimg.com/vi/CAYV4-04kIs/default.jpg)
![Using Tesseract-OCR to extract text from images](https://i.ytimg.com/vi/QhJiOCwz-_I/default.jpg)
![C# Programming Tutorials: Beginners 05 Windows Forms and Event Handlers](https://i.ytimg.com/vi/W6vJ_c9Mt6A/default.jpg)
![OCR - convert an image to text with 1 line of code in C#](https://i.ytimg.com/vi/mkBml6e2jPs/default.jpg)
![C# Tutorials - Load Data Into DataGridView From SQL Server Database](https://i.ytimg.com/vi/Dr_-Q11XWZc/default.jpg)
![Basic OCR bill detection system | Pytesseract | Python | Data Analysis](https://i.ytimg.com/vi/qfO9gqqMWxU/default.jpg)
![Convert JPG to PDF with Visual Studio C# and PDFsharp](https://i.ytimg.com/vi/gIFIa2IBf48/default.jpg)
![C# Tutorial - Barcode Scanner using Webcam in C# | FoxLearn](https://i.ytimg.com/vi/pKjct-DXL0w/default.jpg)
![Tesseract OCR C#](https://i.ytimg.com/vi/iFjGkOl95vM/default.jpg)
![OCR in C# windowsFormApplication | Extract Text from pdf file in C# | IronOcr Library in C#](https://i.ytimg.com/vi/RR6Jb2OSqM0/default.jpg)
![IronOCR Test VisualStudio C#](https://i.ytimg.com/vi/siBj7Ard_-4/default.jpg)
![How to convert PDF to Text using C#](https://i.ytimg.com/vi/MKS1WTPuScU/default.jpg)
![C# Extracting metadata from Images | video | Exif Lib](https://i.ytimg.com/vi/xVHGHxdPfv8/default.jpg)
![How to Send Free SMS From C#.NET using SMS API?With Source Code]](https://i.ytimg.com/vi/fc5ZNMXb4Fo/default.jpg)