{"id":18103904,"url":"https://github.com/dannnylo/tesseract-ocr-elixir","last_synced_at":"2025-06-21T12:35:59.067Z","repository":{"id":32376883,"uuid":"132394406","full_name":"dannnylo/tesseract-ocr-elixir","owner":"dannnylo","description":"This package is a wrapper of Tesseract OCR. Helping to read characters on an image.","archived":false,"fork":false,"pushed_at":"2022-06-06T18:18:16.000Z","size":42,"stargazers_count":57,"open_issues_count":1,"forks_count":10,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-05T04:08:13.235Z","etag":null,"topics":["hacktoberfest","tesseract","tesseract-ocr"],"latest_commit_sha":null,"homepage":"","language":"Elixir","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dannnylo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"github":"dannnylo"}},"created_at":"2018-05-07T02:06:26.000Z","updated_at":"2025-05-24T04:37:56.000Z","dependencies_parsed_at":"2022-08-07T17:15:58.394Z","dependency_job_id":null,"html_url":"https://github.com/dannnylo/tesseract-ocr-elixir","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dannnylo/tesseract-ocr-elixir","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dannnylo%2Ftesseract-ocr-elixir","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dannnylo%2Ftesseract-ocr-elixir/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dannnylo%2Ftesseract-ocr-elixir/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dannnylo%2Ftesseract-ocr-elixir/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dannnylo","download_url":"https://codeload.github.com/dannnylo/tesseract-ocr-elixir/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dannnylo%2Ftesseract-ocr-elixir/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261125618,"owners_count":23113275,"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":["hacktoberfest","tesseract","tesseract-ocr"],"created_at":"2024-10-31T22:13:30.802Z","updated_at":"2025-06-21T12:35:54.038Z","avatar_url":"https://github.com/dannnylo.png","language":"Elixir","readme":"# TesseractOcr\n\n[![travis-ci.org](https://api.travis-ci.org/dannnylo/tesseract-ocr-elixir.svg)](https://travis-ci.org/dannnylo/tesseract-ocr-elixir)\n[![hex.pm](https://img.shields.io/hexpm/v/tesseract_ocr.svg)](https://hex.pm/packages/tesseract_ocr)\n[![hex.pm](https://img.shields.io/badge/docs-hexpm-blue.svg)](https://hexdocs.pm/tesseract_ocr)\n[![hex.pm](https://img.shields.io/hexpm/dt/tesseract_ocr.svg)](https://hex.pm/packages/tesseract_ocr)\n[![hex.pm](https://img.shields.io/hexpm/l/tesseract_ocr.svg)](https://hex.pm/packages/tesseract_ocr)\n[![github.com](https://img.shields.io/github/last-commit/dannnylo/tesseract-ocr-elixir.svg)](https://github.com/dannnylo/tesseract-ocr-elixir/commits/master)\n\nElixir wrapper for [Tesseract OCR](https://github.com/tesseract-ocr), an open\nsource text recognition (OCR) Engine.\n\n## Requirements\n\n- Elixir 1.6+ / Erlang OTP 19+\n- [Tesseract OCR binary](https://github.com/tesseract-ocr/tesseract/wiki)\n\n## Installation\n\nAdd `tesseract_ocr` to your list of dependencies in `mix.exs`:\n\n```elixir\ndef deps do\n  [\n    {:tesseract_ocr, \"~\u003e 0.1.5\"}\n  ]\nend\n```\n\n## Usage\n\nReading an image file.\n\n```elixir\niex\u003e TesseractOcr.read(\"test/resources/world.png\")\n\"world\"\n```\n\nWith additional options.\n\n```elixir\niex\u003e TesseractOcr.read(\"test/resources/world.png\", %{lang: \"por\", psm: 7, oem: 1})\n\"world\"\n```\n\nGet words positions.\n\n```elixir\niex\u003e TesseractOcr.Words.read(\"test/resources/world.png\")\n[%{confidence: 95, word: \"world\", x_end: 185, x_start: 2, y_end: 56, y_start: 2}]\n```\n\nConvert image into PDF with text.\n\n```elixir\niex\u003e TesseractOcr.PDF.read(\"test/resources/world.png\", \"/tmp/test\")\n\"/tmp/test.pdf\"\n```\nConvert image into TSV with text.\n\n```elixir\niex\u003e TesseractOcr.TSV.read(\"test/resources/world.png\", \"/tmp/test\")\n\"/tmp/test.tsv\"\n```\n","funding_links":["https://github.com/sponsors/dannnylo"],"categories":["Software"],"sub_categories":["OCR libraries by programming language"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdannnylo%2Ftesseract-ocr-elixir","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdannnylo%2Ftesseract-ocr-elixir","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdannnylo%2Ftesseract-ocr-elixir/lists"}