Skip to content

abanoubha/ocr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OCR Text Scanner

Text OCR Scanner Software Tool. It is for extracting text from images and PDF files.

This software is UNDER HEAVY DEVELOPMENT. Use this OCR software for now.

commands

# get all dependencies of the project
go mod tidy

# build: produce an executable file/CLI app named "ocr"
go build -o ocr .

# run the app to identify a sample image
./ocr --lang=eng --img=img/default.png

# deps, build, run
go mod tidy && go build -o ocr . && ./ocr --lang=eng --img=img/default.png

# detect race conditions & memory leaks
go run -race .

Roadmap & Tasks

Done & TO-DO of features, goals and values. tiny steps towards the goal.

  • v0.1.0
  • Next
    • PDF to text
    • PDF to docx
    • PDF to selectable-text PDF
    • scalable : take advantage of all CPU cores to get the job done faster
    • bulk / patch-processing : coroutines and parallelism for tasks / jobs
    • composable CLI app for scripts and automation
    • UX / easy to use / user friendly
    • cut the image into pieces/segments and concurrently OCR them. (performance)
    • available on Debian & Debian-based distros
    • available as snap
    • available as flatpak
    • available on Elementary OS
    • available on Mac OS (likely via HomeBrew)
    • available on Windows
    • scan history : { original image, processed image, extracted text }
    • migrate from opencv into Go libs

References

source code

The source code of OCR project can be found on:

Releases

No releases published

Sponsor this project

Packages

No packages published

Languages