{"id":13415596,"url":"https://github.com/kba/hocr-spec","last_synced_at":"2025-08-01T03:03:34.417Z","repository":{"id":41970588,"uuid":"53006400","full_name":"kba/hocr-spec","owner":"kba","description":"The hOCR Embedded OCR Workflow and Output Format","archived":false,"fork":false,"pushed_at":"2024-08-12T09:42:24.000Z","size":596,"stargazers_count":74,"open_issues_count":54,"forks_count":20,"subscribers_count":12,"default_branch":"master","last_synced_at":"2025-05-21T10:40:38.209Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://kba.github.io/hocr-spec/1.2/","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"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":null,"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":"2016-03-03T00:13:01.000Z","updated_at":"2025-01-24T16:32:56.000Z","dependencies_parsed_at":"2024-10-26T12:05:53.662Z","dependency_job_id":"5e787594-7ac0-4389-ab67-b79af026ae74","html_url":"https://github.com/kba/hocr-spec","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/kba/hocr-spec","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kba%2Fhocr-spec","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kba%2Fhocr-spec/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kba%2Fhocr-spec/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kba%2Fhocr-spec/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kba","download_url":"https://codeload.github.com/kba/hocr-spec/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kba%2Fhocr-spec/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268162254,"owners_count":24205697,"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-08-01T02:00:08.611Z","response_time":67,"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":[],"created_at":"2024-07-30T21:00:50.614Z","updated_at":"2025-08-01T03:03:34.369Z","avatar_url":"https://github.com/kba.png","language":"HTML","funding_links":[],"categories":["1. \u003ca name='Software'\u003e\u003c/a\u003eSoftware","Software"],"sub_categories":["1.3. \u003ca name='OCRfileformats'\u003e\u003c/a\u003eOCR file formats","OCR file formats"],"readme":"hocr-spec\n=========\n\n[![Join the chat at https://gitter.im/kba/hocr-spec](https://badges.gitter.im/kba/hocr-spec.svg)](https://gitter.im/kba/hocr-spec?utm_source=badge\u0026utm_medium=badge\u0026utm_campaign=pr-badge\u0026utm_content=badge)\n\nThe hOCR Embedded OCR Workflow and Output Format\n\n## About\n\nThis repository contains the [hOCR](https://en.wikipedia.org/wiki/HOCR) format\nspecification originally written by [Thomas Breuel](https://github.com/tmbdev).\n\n## Versions\n\n* `1.0` [English](https://docs.google.com/document/d/1QQnIQtvdAC_8n92-LhwPcjtAUFwBlzE8EWnKAxlgVf0/preview)\n  * Google Doc the original text by @tmbdev\n  * Last substantial edit in May 2010\n* `1.1` [English](./1.1/spec.md), [中文 (Chinese)](./1.1/spec_zh_CN.md)\n  * Port of the Google Doc\n  * Cleaning obvious errata (duplicate content)\n  * More fine-grained heading structure\n  * Table of contents\n  * Chinese translation provided by [@littlePP24](https://github.com/littlePP24) and [@wanghaisheng](https://github.com/wanghaisheng)\n  * Last substantial edit in September 2016\n* `1.2` [English](https://kba.github.io/hocr-spec/1.2/)\n  * Create a WHATWG-like spec using [bikeshed](https://github.com/tabatkins/bikeshed)\n  * Add issues where appropriate\n  * Semantically backwards-compatible with both 1.0 and 1.1\n\n## Contribute\n\nThere is no formal body. Feel free to use the [Github\nissues](https://github.com/kba/hocr-spec/issues) for discussion and questions.\nPull requests are very welcome.\n\nFor quick questions you can use the [hocr-spec gitter\nchannel](https://gitter.im/kba/hocr-spec).\n\n## Building the spec\n\nTo build the spec, you will need to have installed:\n  * `GNU make` \n  * One of the following programs installed:\n    * [bikeshed](https://github.com/tabatkins/bikeshed)\n    * [docker](https://docker.com)\n  * Python 3\n\nTo install the python requirements:\n\n```sh\npip3 install --user -r requirements.txt\n```\n\nThe Makefile will first look for a local bikeshed installation and fallback to docker\nto use the [bikeshed docker container](https://hub.docker.com/kbai/bikeshed) \nto build the spec.\n\nTo change the spec, adapt\n  * `\u003cVERSION\u003e/spec.md` to change the body of the spec\n  * `\u003cVERSION\u003e/spec.before.html` to change\n    * the [bikeshed metadata](https://tabatkins.github.io/bikeshed/#metadata)\n    * the [references to terms from other specs](https://tabatkins.github.io/bikeshed/#custom-dfns)\n  * `\u003cVERSION\u003e/spec.after.html` to change\n    * Javascript to run in the generated spec document\n  * `\u003cVERSION\u003e/defs.yml` to change the definition lists for elements and properties\n\nThen run `make VERSION=\u003cVERSION\u003e` to build that spec.\n\nExamples:\n  * To build the `1.2` version: `make VERSION=1.2` or simply `make`\n  * To build the `1.2-zh` version: `make VERSION=1.2-zh`\n\n## Open Tasks\n\nThe goal of this project is to make the hOCR specification more accessible and\neasier to maintain.\n\n* Cross-reference other specs\n* Harmonize style\n* Add samples\n* [...](https://github.com/kba/hocr-spec/issues)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkba%2Fhocr-spec","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkba%2Fhocr-spec","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkba%2Fhocr-spec/lists"}