{"id":18067559,"url":"https://github.com/geertjohan/go.tesseract","last_synced_at":"2025-04-11T21:20:37.412Z","repository":{"id":9365159,"uuid":"11219961","full_name":"GeertJohan/go.tesseract","owner":"GeertJohan","description":"go.tesseract is a wrapper for the tesseract-ocr library.","archived":false,"fork":false,"pushed_at":"2021-01-22T00:29:14.000Z","size":2483,"stargazers_count":67,"open_issues_count":7,"forks_count":25,"subscribers_count":9,"default_branch":"master","last_synced_at":"2025-03-25T17:16:09.231Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/GeertJohan.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-07-06T15:23:59.000Z","updated_at":"2024-12-18T06:49:18.000Z","dependencies_parsed_at":"2022-09-03T02:30:22.275Z","dependency_job_id":null,"html_url":"https://github.com/GeertJohan/go.tesseract","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GeertJohan%2Fgo.tesseract","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GeertJohan%2Fgo.tesseract/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GeertJohan%2Fgo.tesseract/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GeertJohan%2Fgo.tesseract/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/GeertJohan","download_url":"https://codeload.github.com/GeertJohan/go.tesseract/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248480422,"owners_count":21110939,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":"2024-10-31T07:09:46.857Z","updated_at":"2025-04-11T21:20:37.390Z","avatar_url":"https://github.com/GeertJohan.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"##go.tesseract\ngo.tesseract is a wrapper for the tesseract OCR library (text-recognition from image/pdf).\n\n### Installation and dependencies\ngo.tesseract has two direct dependencies; `go.leptonica` and `libtesseract`\n\nMake sure you have installed [go.leptonica](//github.com/GeertJohan/go.leptonica). go.leptonica has a C library dependency, please read the [go.leptonica/README.md](//github.com/GeertJohan/go.leptonica/blob/master/README.md).\n\nYou are required to install the tesseract library including development headers at version 3.02.02 or later. You absolutely need 3.02.02 (or later) as go.tesseract can not compile with earlier versions of tesseract. At time of writing this version of tesseract is not in the ubuntu/debian stable repository yet.\n\ngo.tesseract uses gopkg.in for versioned releases:\n\n`go get gopkg.in/GeertJohan/go.tesseract.v1`\n\n#### Debian testing (jessie) package\n`sudo apt-get install -t testing libtesseract3 libtesseract-dev`\n\n#### OSX with Homebrew\n\nDo the following before trying to `go get` this package:\n\n```\n$ brew install leptonica\n$ brew install tesseract\n$ export CGO_LDFLAGS=\"-L$(brew --prefix leptonica)/lib -L$(brew --prefix tesseract)/lib\"\n$ export CGO_CFLAGS=\"-I$(brew --prefix leptonica)/include -I$(brew --prefix tesseract)/include\"\n```\n\n*Note*: this assumes you are using the standard Brew path of `/usr/local/Cellar`\n\n#### Manual installation\nDownload, configure, make and install\n```\nsvn checkout http://tesseract-ocr.googlecode.com/svn/tags/release-3.02.02 tesseract-ocr-read-only\ncd tesseract-ocr-read-only\n./autogen.sh\n./configure\nmake\nsudo make install\nsudo ldconfig\n```\n\n#### Language files\nIf you have installed from debian testing (jessie):\n```\nsudo apt-get install -t testing tesseract-ocr-YOUR-LANGUAGE-SHORTCODE\n\n# example, this installs dutch and english\nsudo apt-get install -t testing tesseract-ocr-nld\nsudo apt-get install -t testing tesseract-ocr-eng\n\n```\n\nIf you have installed manually; copy language files (do this for any language you require)\n```\nsudo cp tessdata/YOUR-LANGUAGE-SHORTCODE.* /usr/local/share/tessdata/\n\n# example for english and dutch:\nsudo cp tessdata/eng.* /usr/local/share/tessdata/\nsudo cp tessdata/nld.* /usr/local/share/tessdata/\n```\n\nFor more information, view the tesseract [compilation guide](http://code.google.com/p/tesseract-ocr/wiki/Compiling).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgeertjohan%2Fgo.tesseract","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgeertjohan%2Fgo.tesseract","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgeertjohan%2Fgo.tesseract/lists"}