Skip to content

Blast OCR is a Python API that provides a simple endpoint for optical character recognition (OCR) using Tesseract. The API takes an image as input, processes it using Tesseract, and returns the extracted text from the image.

Notifications You must be signed in to change notification settings

nikolliervin/blast

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 

Repository files navigation

Blast OCR API

Blast OCR is a Python API that provides a simple endpoint for optical character recognition (OCR) using Tesseract. The API takes an image as input, processes it using Tesseract, and returns the extracted text from the image.

Getting Started

Follow the steps below to set up and run the Blast OCR API on your local machine.

Prerequisites

Make sure you have the following prerequisites installed:

Installation

  1. Clone the repository:
    git clone https://github.com/nikolliervin/blast-ocr-api.git
    

Usage

  1. Run the API (First Instance)
    uvicorn main:app --reload
  2. Make a HTTP POST Request to:
    /recognize
    
  3. Curl example:
    curl --location 'http://127.0.0.1:8000/recognize' \ --form 'image=@"C:\\Users\\...\\Desktop\\fastapi.png"'
  4. API Response
    {"text": "FastAPI."}

About

Blast OCR is a Python API that provides a simple endpoint for optical character recognition (OCR) using Tesseract. The API takes an image as input, processes it using Tesseract, and returns the extracted text from the image.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages