{"id":37224805,"url":"https://github.com/moolen/gosseract","last_synced_at":"2026-01-15T01:43:47.879Z","repository":{"id":61625299,"uuid":"148111932","full_name":"moolen/gosseract","owner":"moolen","description":"Go package for OCR (Optical Character Recognition), by using Tesseract C++ library","archived":false,"fork":true,"pushed_at":"2019-02-13T18:53:24.000Z","size":312,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-06-20T10:04:08.513Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://godoc.org/github.com/otiai10/gosseract","language":"Go","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"otiai10/gosseract","license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/moolen.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-09-10T06:52:37.000Z","updated_at":"2019-02-13T18:47:36.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/moolen/gosseract","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/moolen/gosseract","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moolen%2Fgosseract","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moolen%2Fgosseract/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moolen%2Fgosseract/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moolen%2Fgosseract/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/moolen","download_url":"https://codeload.github.com/moolen/gosseract/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moolen%2Fgosseract/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28441031,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-15T00:55:22.719Z","status":"ssl_error","status_checked_at":"2026-01-15T00:55:20.945Z","response_time":107,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-01-15T01:43:47.385Z","updated_at":"2026-01-15T01:43:47.860Z","avatar_url":"https://github.com/moolen.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# gosseract OCR\n[![Build Status](https://travis-ci.org/otiai10/gosseract.svg?branch=master)](https://travis-ci.org/otiai10/gosseract)\n[![codecov](https://codecov.io/gh/otiai10/gosseract/branch/master/graph/badge.svg)](https://codecov.io/gh/otiai10/gosseract)\n[![Go Report Card](https://goreportcard.com/badge/github.com/otiai10/gosseract)](https://goreportcard.com/report/github.com/otiai10/gosseract)\n[![GoDoc](https://godoc.org/github.com/otiai10/gosseract?status.svg)](https://godoc.org/github.com/otiai10/gosseract)\n\nGolang OCR package, by using Tesseract C++ library.\n\n# OCR Server\n\nDo 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!\n\n👉 https://github.com/otiai10/ocrserver\n\n# Example\n\n```go\npackage main\n\nimport (\n\t\"fmt\"\n\t\"github.com/otiai10/gosseract\"\n)\n\nfunc main() {\n\tclient := gosseract.NewClient()\n\tdefer client.Close()\n\tclient.SetImage(\"path/to/image.png\")\n\ttext, _ := client.Text()\n\tfmt.Println(text)\n\t// Hello, World!\n}\n```\n\n# Install\n\n1. [tesseract-ocr](https://github.com/tesseract-ocr/tesseract/wiki), including library and headers\n2. `go get -t github.com/otiai10/gosseract`\n\nCheck [Dockerfile](https://github.com/otiai10/gosseract/blob/master/Dockerfile) for more detail of installation, or you can just try by `docker run -it --rm otiai10/gosseract`.\n\n# Test\n\nIn case you have [tesseract-ocr](https://github.com/tesseract-ocr/tesseract/wiki) on your local, you can just hit\n\n```\n% go test .\n```\n\nOtherwise, 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.\n\n```\n% ./test/runtime --driver docker\n% ./test/runtime --driver vagrant\n```\n\nCheck [./test/runtimes](https://github.com/otiai10/gosseract/tree/master/test/runtimes) for more information about runtime tests.\n\n# Issues\n\n- [https://github.com/otiai10/gosseract/issues](https://github.com/otiai10/gosseract/issues?utf8=%E2%9C%93\u0026q=is%3Aissue)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmoolen%2Fgosseract","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmoolen%2Fgosseract","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmoolen%2Fgosseract/lists"}