OCR which stands for Optical character recognition is a computer vision technique used to recognize characters such as digits, alphabets, signs, etc. These characters are common in day to day life and we can perform character recognition based on our requirement. We will implement optical character recognition of the English alphabets using OpenCV. here we will use the KNN algorithm which is used for classification.
Note: You can find the data here data for which we will perform the OCR.
There are 20000 rows of data containing 17 columns where the first column represents the alphabet and the remaining 16 will represent its different features. We have to process the data by converting the alphabets into ASCII characters. To perform classification we will use 10000 rows as training_data and 10000 row as testing_data.
Below is the implementation.
- Text Detection and Extraction using OpenCV and OCR
- OCR of Handwritten digits | OpenCV
- License Plate Recognition with OpenCV and Tesseract OCR
- Python | Reading contents of PDF using OCR (Optical Character Recognition)
- Python | OCR on All the Images present in a Folder Simultaneously
- OpenCV - Facial Landmarks and Face Detection using dlib and OpenCV
- Transition from OpenCV 2 to OpenCV 3.x
- English dictionary application using Python
- Python - English (Latin) to Hindi (Devanagiri) text convertor GUI using Tkinter
- Python - Remove Non-English characters Strings from List
- Text transliteration from English to Indian languages - Using indic-transliteration
- List comprehension and ord() in Python to remove all characters other than alphabets
- Python | Ways to initialize list with alphabets
- Python | Print Alphabets till N
- Python | Extract Strings with only Alphabets
- Python | Test if String contains Alphabets and Spaces
- Python - Find Words with both alphabets and numbers
- Python - Add space between Numbers and Alphabets in String
- Python - Differential Sort String Numbers and Alphabets
- Program to Print K using Alphabets
If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to email@example.com. See your article appearing on the GeeksforGeeks main page and help other Geeks.
Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.