File upload and image parsing with NestJS and Tesseract

Marcos Henrique da Silva
7 min readSep 1, 2022

an introduction to Tesseract OCR and how to use it in NestJS with image upload

Photo by Pixabay: https://www.pexels.com/photo/close-up-photo-of-ledger-s-list-164686/

Hey hey, welcome back! In this article I will quickly talk about file upload in NestJS and, why not, using a tool that can read text from image that is called Tesseract OCR

It’s ideal that you know something about NestJS already. If not please check my previous articles such as:

or:

You don’t need to have knowledge about OCR and how to read texts from image, it’s just that is a nice tool in a hope to make this article more fun to read.

By the end of this article you should be able to configure an endpoint to send files (images in our case) to your API and also to have a touch on how to use tesseract for image recognition.

--

--

Responses (2)