Recognizing Text and Numbers in Images with Python and EasyOCR
A project needed a small feature for recognizing text and numbers in images, so I found EasyOCR, a useful open-source library. This article explains how to use it.
9 posts
A project needed a small feature for recognizing text and numbers in images, so I found EasyOCR, a useful open-source library. This article explains how to use it.
Python has a rich set of useful built-in modules and third-party modules that make it quick and convenient to implement many common features.
This article summarizes basic Python file reading and writing operations, as well as common os operations on directories and files, such as retrieving paths, joining paths, renaming files, and moving files. It also summarizes commonly used JSON operations.
During program execution, you inevitably encounter all kinds of errors. Some are caused by bugs in the code, some by user input, and others are completely unpredictable at runtime. Python includes a built-in exception-handling mechanism to help us handle errors.
Summarizes basic class usage; the characteristics and application examples of encapsulation, inheritance, and polymorphism; and inheritance-oriented advanced features such as multiple inheritance and customized classes.
In Python, less code is better, and simpler code is better. Based on this philosophy, Python provides many useful advanced features, such as list comprehensions, generators, anonymous functions, and decorators.
Notes and examples on functions and methods for array operations with NumPy, including array creation, slicing and indexing, basic array operations (transposing, joining, sorting, flattening, and more), and the use of some basic array computation functions.
We may want to install many different versions of Python on a computer, or we may want a Python environment to contain only the packages we use so it is easier to package and distribute a program. These situations all require creating Python virtual environments. Anaconda is a tool for managing Python environments like this.
The lab recently needed to process many spreadsheets, so I built a Python tool to help. The program uses PyQt5 for the graphical interface. This post records the full workflow—from installing PyQt5, to designing the UI, to writing code that drives the widgets, and finally packaging the app as an exe.