{"id":21395505,"url":"https://github.com/kba/ocrad-docker","last_synced_at":"2026-01-03T13:07:38.498Z","repository":{"id":145975262,"uuid":"65683679","full_name":"kba/ocrad-docker","owner":"kba","description":"GNU ocrad in a docker container","archived":false,"fork":false,"pushed_at":"2016-08-15T06:54:00.000Z","size":14,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-23T01:44:57.061Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://hub.docker.com/r/kbai/ocrad/","language":"Makefile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kba.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}},"created_at":"2016-08-14T19:51:07.000Z","updated_at":"2019-09-17T02:57:03.000Z","dependencies_parsed_at":"2023-06-29T17:45:38.847Z","dependency_job_id":null,"html_url":"https://github.com/kba/ocrad-docker","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/kba%2Focrad-docker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kba%2Focrad-docker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kba%2Focrad-docker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kba%2Focrad-docker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kba","download_url":"https://codeload.github.com/kba/ocrad-docker/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243880793,"owners_count":20362838,"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-11-22T14:20:18.715Z","updated_at":"2026-01-03T13:07:33.466Z","avatar_url":"https://github.com/kba.png","language":"Makefile","funding_links":[],"categories":["Software"],"sub_categories":["OCR as a Service"],"readme":"# ocrad-docker\nGNU ocrad in a docker container\n\nCurrent version is `0.25`.\n\nDocumentation [available online](https://www.gnu.org/software/ocrad/manual/ocrad_manual.html).\n\nWorking directory is `/data`, so best mount files to recoginize into `/data`.\n\n## Usage\n\n```\ndocker run kbai/ocrad --help\n```\n\n\u003c!-- BEGIN-EVAL echo '\u003cpre\u003e'; docker run kbai/ocrad -h; echo '\u003c/pre\u003e' --\u003e\n\u003cpre\u003e\nGNU Ocrad is an OCR (Optical Character Recognition) program based on a\nfeature extraction method. It reads images in pbm (bitmap), pgm\n(greyscale) or ppm (color) formats and produces text in byte (8-bit) or\nUTF-8 formats. The pbm, pgm and ppm formats are collectively known as pnm.\n\nOcrad includes a layout analyser able to separate the columns or blocks\nof text normally found on printed pages.\n\nFor best results the characters should be at least 20 pixels high. If\nthey are smaller, try the --scale option. Scanning the image at 300 dpi\nusually produces a character size good enough for ocrad.\nMerged, very bold or very light (broken) characters are normally not\nrecognized correctly. Try to avoid them.\n\nUsage: /usr/local/bin/ocrad [options] [files]\n\nOptions:\n  -h, --help                display this help and exit\n  -V, --version             output version information and exit\n  -a, --append              append text to output file\n  -c, --charset=\u003cname\u003e      try '--charset=help' for a list of names\n  -e, --filter=\u003cname\u003e       try '--filter=help' for a list of names\n  -E, --user-filter=\u003cfile\u003e  user-defined filter, see manual for format\n  -f, --force               force overwrite of output file\n  -F, --format=\u003cfmt\u003e        output format (byte, utf8)\n  -i, --invert              invert image levels (white on black)\n  -l, --layout              perform layout analysis\n  -o, --output=\u003cfile\u003e       place the output into \u003cfile\u003e\n  -q, --quiet               suppress all messages\n  -s, --scale=[-]\u003cn\u003e        scale input image by [1/]\u003cn\u003e\n  -t, --transform=\u003cname\u003e    try '--transform=help' for a list of names\n  -T, --threshold=\u003cn%\u003e      threshold for binarization (0-100%)\n  -u, --cut=\u003cl,t,w,h\u003e       cut input image by given rectangle\n  -v, --verbose             be verbose\n  -x, --export=\u003cfile\u003e       export results in ORF format to \u003cfile\u003e\n\nIf no files are specified, ocrad reads the image from standard input.\nIf the -o option is not specified, ocrad sends text to standard output.\n\nExit status: 0 for a normal exit, 1 for environmental problems (file\nnot found, invalid flags, I/O errors, etc), 2 to indicate a corrupt or\ninvalid input file, 3 for an internal consistency error (eg, bug) which\ncaused ocrad to panic.\n\nReport bugs to bug-ocrad@gnu.org\nOcrad home page: http://www.gnu.org/software/ocrad/ocrad.html\nGeneral help using GNU software: http://www.gnu.org/gethelp\n\u003c/pre\u003e\n\n\u003c!-- END-EVAL --\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkba%2Focrad-docker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkba%2Focrad-docker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkba%2Focrad-docker/lists"}