Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

github.com/arthurhenrique/go-ocr

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/arthurhenrique/go-ocr

  • v0.0.0-20221115134219-0a959fb0e027
  • Source
  • Go
  • Socket score

Version published
Created
Source

go-ocr

POC to test lib tesseract with portuguese and english language.

edit: now just portuguese for performance: test perf test perf 2

Notes

This works properly using images with 300 dpi <= x <= 600 dpi.

Install

go mod vendor

Deps

gcc g++ libc-dev tesseract-ocr tesseract-ocr-dev leptonica-dev

Get portuguese model

wget -q -P /usr/share/tessdata/ https://github.com/tesseract-ocr/tessdata_best/raw/master/por.traineddata

Docker

# Pull docker image
make docker/build

# Enter shell on docker
make docker/shell

# Inside docker
cd /go/src/github.com/arthurhenrique/go-ocr

# Installing gosseract deps
go mod vendor

# Running
go run *.go

FAQs

Package last updated on 15 Nov 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc