{"id":13413373,"url":"https://github.com/otiai10/ocrserver","last_synced_at":"2025-04-13T07:48:48.687Z","repository":{"id":37742944,"uuid":"46209450","full_name":"otiai10/ocrserver","owner":"otiai10","description":"A simple OCR API server, seriously easy to be deployed by Docker, on Heroku as well","archived":false,"fork":false,"pushed_at":"2021-08-05T08:20:24.000Z","size":349,"stargazers_count":728,"open_issues_count":4,"forks_count":141,"subscribers_count":17,"default_branch":"main","last_synced_at":"2025-04-13T07:48:43.686Z","etag":null,"topics":["api","api-server","curl","docker","go","heroku","ocr","ocr-server"],"latest_commit_sha":null,"homepage":"https://ocr-example.herokuapp.com/","language":"Go","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/otiai10.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":["otiai10"],"patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":null}},"created_at":"2015-11-15T07:57:42.000Z","updated_at":"2025-04-12T15:17:20.000Z","dependencies_parsed_at":"2022-07-16T23:30:32.469Z","dependency_job_id":null,"html_url":"https://github.com/otiai10/ocrserver","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/otiai10%2Focrserver","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/otiai10%2Focrserver/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/otiai10%2Focrserver/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/otiai10%2Focrserver/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/otiai10","download_url":"https://codeload.github.com/otiai10/ocrserver/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248681494,"owners_count":21144700,"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":["api","api-server","curl","docker","go","heroku","ocr","ocr-server"],"created_at":"2024-07-30T20:01:38.853Z","updated_at":"2025-04-13T07:48:48.651Z","avatar_url":"https://github.com/otiai10.png","language":"Go","readme":"# ocrserver\n\n[![Go CI](https://github.com/otiai10/ocrserver/workflows/Go%20CI/badge.svg)](https://github.com/otiai10/ocrserver/actions?query=workflow%3A%22Go+CI%22)\n[![codecov](https://codecov.io/gh/otiai10/ocrserver/branch/main/graph/badge.svg)](https://codecov.io/gh/otiai10/ocrserver)\n[![Go Report Card](https://goreportcard.com/badge/github.com/otiai10/ocrserver)](https://goreportcard.com/report/github.com/otiai10/ocrserver)\n\nSimple OCR server, as a small working sample for [gosseract](https://github.com/otiai10/gosseract).\n\nTry now here https://ocr-example.herokuapp.com/, and deploy your own now.\n\n[![](https://user-images.githubusercontent.com/931554/36279290-7134626a-124b-11e8-8e47-d93b7122ea0d.png)](https://ocr-example.herokuapp.com)\n\n# Deploy to Heroku\n\n```sh\n# Get the code\n% git clone git@github.com:otiai10/ocrserver.git\n% cd ocrserver\n# Make your app\n% heroku login\n% heroku create\n# Deploy the container\n% heroku container:login\n% heroku container:push web\n# Enjoy it!\n% heroku open\n```\n\ncf. [heroku cli](https://devcenter.heroku.com/articles/heroku-cli#download-and-install)\n\n\n# Quick Start\n\n## Ready-Made Docker Image\n\n```sh\n% docker run -p 8080:8080 otiai10/ocrserver\n# open http://localhost:8080\n```\n\ncf. [docker](https://www.docker.com/products/docker-toolbox)\n\n## Development with Docker Image\n\n```sh\n% docker-compose up\n# open http://localhost:8080\n```\n\nYou need more languages?\n\n```sh\n% docker-compose build --build-arg LOAD_LANG=rus\n% docker-compose up\n```\n\ncf. [docker-compose](https://www.docker.com/products/docker-toolbox)\n\n## Manual Setup\n\nIf you have tesseract-ocr  and library files on your machine\n\n```sh\n% go get github.com/otiai10/ocrserver/...\n% PORT=8080 ocrserver\n# open http://localhost:8080\n```\n\ncf. [gosseract](https://github.com/otiai10/gosseract)\n\n# Documents\n\n- [API Endpoints](https://github.com/otiai10/ocrserver/wiki/API-Endpoints)\n","funding_links":["https://github.com/sponsors/otiai10"],"categories":["机器学习","Machine Learning","Go","Librarys","Relational Databases"],"sub_categories":["SQL 查询语句构建库","Advanced Console UIs","Search and Analytic Databases","检索及分析资料库"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fotiai10%2Focrserver","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fotiai10%2Focrserver","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fotiai10%2Focrserver/lists"}