#5858th of 60 in Data and scraping for AIFor data and documents, documents and ocr

gosseract

Go bindings for the Tesseract OCR C++ library

Stars
3.1k
License
MIT
Last commit
Jan 2026
Last release
Sep 2023
Language
Go

Missed the latest GitHub check; these facts may be older.

Overview

gosseract is a Go package that wraps the Tesseract and Leptonica C++ libraries through cgo, so Go programs can extract text from images with a small client API (SetImage, Text). It needs Tesseract development headers and language data on the build host. Install steps are given for macOS, Debian/Ubuntu and Windows (vcpkg and MinGW-w64).

Who it is for: Go developers adding OCR to their applications

Strengths

  • Minimal API: NewClient, SetImage, Text return recognized text in a few lines
  • CI runs on Go, Docker, BSD and Windows runtimes
  • MIT licensed, with a companion OCR server example (otiai10/ocrserver)
  • Prebuilt Docker image available as otiai10/gosseract

Weaknesses

  • Requires cgo plus libtesseract-dev and libleptonica-dev at build time
  • Windows setup is manual: vcpkg, MinGW import libraries, several env variables
  • Last tagged release is 2023-09-06, though commits continue into 2026
  • Clear Linux and Arch Linux test runtimes were removed in January 2026

What it needs

  • no GPU
  • Docker
  • Needs Tesseract, Leptonica, cgo, tessdata language files
  • Models: Tesseract traineddata

Also in Data and scraping for AI

See all 60
Also in Data and scraping for AI
RankProjectScore
1doclingPython library that converts PDFs, Office files and more into structured text70.5k stars+1,801 (+2.6%) in 30 daysMIT92 out of 100
2mineruParses PDFs, images and Office files into Markdown and structured JSON Live demo ↗ (opens in a new tab)83.6k stars+2,160 (+2.7%) in 30 dayscustom license91 out of 100
3opendataloader-pdfPDF parser that outputs Markdown, JSON with bounding boxes, and Tagged PDF30.3k stars+705 (+2.4%) in 30 daysApache-2.091 out of 100
#4agent-reachCLI that gives coding agents read access to login-gated and Chinese web platforms111.3k stars+14,960 (+16%) in 30 daysMIT89 out of 100
#5markitdownPython library and CLI that converts office files, PDFs and audio to Markdown195.1k stars+5,652 (+3.0%) in 30 daysMIT87 out of 100