All Projects â†’ otiai10 â†’ Gosseract

otiai10 / Gosseract

Licence: mit
Go package for OCR (Optical Character Recognition), by using Tesseract C++ library

Programming Languages

go
31211 projects - #10 most used programming language
C++
36643 projects - #6 most used programming language
Dockerfile
14818 projects
shell
77523 projects
c
50402 projects - #5 most used programming language

Projects that are alternatives of or similar to Gosseract

Aadhaar Card Ocr
Extract text information from Aadhaar Card using tesseract-ocr 😎
Stars: ✭ 112 (-93.09%)
Mutual labels:  ocr, tesseract, tesseract-ocr
Image2text
📋 Python wrapper to grab text from images and save as text files using Tesseract Engine
Stars: ✭ 243 (-85.02%)
Mutual labels:  ocr, tesseract, tesseract-ocr
Tesseract Ocr for windows
Visual Studio Projects for Tessearct and dependencies
Stars: ✭ 122 (-92.48%)
Mutual labels:  ocr, tesseract, tesseract-ocr
Tesseract
This package contains an OCR engine - libtesseract and a command line program - tesseract. Tesseract 4 adds a new neural net (LSTM) based OCR engine which is focused on line recognition, but also still supports the legacy Tesseract OCR engine of Tesseract 3 which works by recognizing character patterns. Compatibility with Tesseract 3 is enabled by using the Legacy OCR Engine mode (--oem 0). It also needs traineddata files which support the legacy engine, for example those from the tessdata repository.
Stars: ✭ 43,199 (+2563.32%)
Mutual labels:  ocr, tesseract, tesseract-ocr
Textshot
Python tool for grabbing text via screenshot
Stars: ✭ 1,163 (-28.3%)
Mutual labels:  ocr, tesseract, tesseract-ocr
Tesseract4android
Fork of tess-two rewritten from scratch to support latest version of Tesseract OCR.
Stars: ✭ 148 (-90.88%)
Mutual labels:  ocr, tesseract, tesseract-ocr
Tesseract
Bindings to Tesseract OCR engine for R
Stars: ✭ 192 (-88.16%)
Mutual labels:  ocr, tesseract, tesseract-ocr
How-to-use-tesseract-ocr-4.0-with-csharp
How to use Tesseract OCR 4.0 with C#
Stars: ✭ 60 (-96.3%)
Mutual labels:  ocr, tesseract, tesseract-ocr
TesseractStudio.Net
A free Windows graphical interface to the Tesseract 4.0 OCR engine.
Stars: ✭ 38 (-97.66%)
Mutual labels:  ocr, tesseract, tesseract-ocr
Nkocr
🔎📝 This is a module to make specifics OCRs at food products and nutritional tables.
Stars: ✭ 15 (-99.08%)
Mutual labels:  ocr, tesseract, tesseract-ocr
Ccextractor
CCExtractor - Official version maintained by the core team
Stars: ✭ 356 (-78.05%)
Mutual labels:  ocr, tesseract, tesseract-ocr
breach-protocol-autosolver
Solve breach protocol minigame in second(s). Windows/Linux/GeForce Now/Google Stadia. Every language.
Stars: ✭ 28 (-98.27%)
Mutual labels:  ocr, tesseract, tesseract-ocr
React Native Tesseract Ocr
Tesseract OCR wrapper for React Native
Stars: ✭ 384 (-76.33%)
Mutual labels:  ocr, tesseract, tesseract-ocr
Pyocr
A Python wrapper for Tesseract and Cuneiform -- Moved to Gnome's Gitlab
Stars: ✭ 932 (-42.54%)
Mutual labels:  ocr, tesseract-ocr
Pytesseractid
äŊŋį”¨ pytesseract ocr č¯†åˆĢ 18 äŊčēĢäģŊč¯åˇ
Stars: ✭ 23 (-98.58%)
Mutual labels:  ocr, tesseract
Node Tesseract Ocr
A Node.js wrapper for the Tesseract OCR API
Stars: ✭ 92 (-94.33%)
Mutual labels:  ocr, tesseract
Cogstack Pipeline
Distributed, fault tolerant batch processing for Natural Language Applications and Search, using remote partitioning
Stars: ✭ 26 (-98.4%)
Mutual labels:  ocr, tesseract
Tesseract
A PHP wrapper for the Tesseract OCR engine
Stars: ✭ 19 (-98.83%)
Mutual labels:  ocr, tesseract
Javascript Bcr Library
Offline business card reader
Stars: ✭ 24 (-98.52%)
Mutual labels:  ocr, tesseract
Blackout
NaNoGenMo 2016 entry #2
Stars: ✭ 36 (-97.78%)
Mutual labels:  ocr, tesseract-ocr

gosseract OCR

Go Test Docker Test Vagrant Test codecov Go Report Card Maintainability License: MIT Go Reference

Golang OCR package, by using Tesseract C++ library.

OCR Server

Do you just want OCR server, or see the working example of this package? Yes, there is already-made server application, which is seriously easy to deploy!

👉 https://github.com/otiai10/ocrserver

Example

package main

import (
	"fmt"
	"github.com/otiai10/gosseract/v2"
)

func main() {
	client := gosseract.NewClient()
	defer client.Close()
	client.SetImage("path/to/image.png")
	text, _ := client.Text()
	fmt.Println(text)
	// Hello, World!
}

Install

  1. tesseract-ocr, including library and headers
  2. go get -t github.com/otiai10/gosseract/v2

Check Dockerfile for more detail of installation, or you can just try by docker run -it --rm otiai10/gosseract.

Test

In case you have tesseract-ocr on your local, you can just hit

% go test .

Otherwise, if you DON'T want to install tesseract-ocr on your local, kick ./test/runtime which is using Docker and Vagrant to test the source code on some runtimes.

% ./test/runtime --driver docker
% ./test/runtime --driver vagrant

Check ./test/runtimes for more information about runtime tests.

Issues

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].