{"id":32157608,"url":"https://github.com/leferrad/ocreract.jl","last_synced_at":"2025-10-21T12:51:28.885Z","repository":{"id":42814315,"uuid":"139871627","full_name":"leferrad/OCReract.jl","owner":"leferrad","description":"A simple Julia wrapper for Tesseract OCR","archived":false,"fork":false,"pushed_at":"2024-08-12T04:17:57.000Z","size":811,"stargazers_count":29,"open_issues_count":3,"forks_count":9,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-06T22:40:50.771Z","etag":null,"topics":["julia","julia-package","ocr-engine","wrapper-library"],"latest_commit_sha":null,"homepage":null,"language":"Julia","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/leferrad.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-07-05T15:56:05.000Z","updated_at":"2025-08-21T21:04:45.000Z","dependencies_parsed_at":"2024-08-12T00:34:25.471Z","dependency_job_id":"9bc40ea5-44f5-453c-bad5-78335ae27d87","html_url":"https://github.com/leferrad/OCReract.jl","commit_stats":{"total_commits":83,"total_committers":4,"mean_commits":20.75,"dds":0.2650602409638554,"last_synced_commit":"024899b2ac65a3accb1fb3084424d63cd9c2e410"},"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/leferrad/OCReract.jl","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leferrad%2FOCReract.jl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leferrad%2FOCReract.jl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leferrad%2FOCReract.jl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leferrad%2FOCReract.jl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/leferrad","download_url":"https://codeload.github.com/leferrad/OCReract.jl/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leferrad%2FOCReract.jl/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":280264174,"owners_count":26300771,"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","status":"online","status_checked_at":"2025-10-21T02:00:06.614Z","response_time":58,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["julia","julia-package","ocr-engine","wrapper-library"],"created_at":"2025-10-21T12:51:27.603Z","updated_at":"2025-10-21T12:51:28.869Z","avatar_url":"https://github.com/leferrad.png","language":"Julia","funding_links":[],"categories":[],"sub_categories":[],"readme":"# OCReract.jl\n\n*A simple Julia wrapper for Tesseract OCR*\n\n[![CI](https://github.com/leferrad/OCReract.jl/actions/workflows/CI.yml/badge.svg)](https://github.com/leferrad/OCReract.jl/actions/workflows/CI.yml)\n[![Documentation](https://img.shields.io/badge/docs-dev-blue.svg)](https://leferrad.github.io/OCReract.jl/dev)\n[![Coverage Status](https://codecov.io/gh/leferrad/OCReract.jl/branch/master/graph/badge.svg)](https://codecov.io/gh/leferrad/OCReract.jl)\n[![Join the chat at https://gitter.im/OCReract.jl](https://badges.gitter.im/OCReract.jl.svg)](https://gitter.im/OCReract-jl?utm_source=badge\u0026utm_medium=badge\u0026utm_campaign=pr-badge\u0026utm_content=badge)\n\n## Installation\n\nFrom the Julia REPL, type `]` to enter the Pkg REPL mode and run:\n\n```julia-repl\npkg\u003e add OCReract\n```\n\nThis is just a wrapper, so it assumes you already have installed [Tesseract](https://tesseract-ocr.github.io/tessdoc/Installation.html). Also, be sure the binary `tesseract` is in your PATH (you can check this by running `tesseract --version` in your terminal).\n\n## Usage\n\nThis is a simple example of usage. For more details check the [Documentation](https://leferrad.github.io/OCReract.jl/dev).\n\n```julia\njulia\u003e using Images\njulia\u003e using OCReract\njulia\u003e img_path = \"/path/to/img.png\";\n# With a disk file\njulia\u003e run_tesseract(img_path, \"/tmp/res.txt\", psm=3, oem=1)\n# Image in memory\njulia\u003e img = load(img_path);\njulia\u003e res_text = run_tesseract(img, psm=3, oem=1);\njulia\u003e println(strip(res_text));\n```\n\n## Testing\n\nIn a Julia session, run `Pkg.test(\"OCReract\", coverage=true)`.\n\n## Next steps\n\n- Develop a module for image pre-processing (to improve OCR results)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleferrad%2Focreract.jl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fleferrad%2Focreract.jl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleferrad%2Focreract.jl/lists"}