Skip to content

kba/hocr-spec

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

80 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hocr-spec

Join the chat at https://gitter.im/kba/hocr-spec

The hOCR Embedded OCR Workflow and Output Format

About

This repository contains the hOCR format specification originally written by Thomas Breuel.

Versions

  • 1.0 English
    • Google Doc the original text by @tmbdev
    • Last substantial edit in May 2010
  • 1.1 English, 中文 (Chinese)
    • Port of the Google Doc
    • Cleaning obvious errata (duplicate content)
    • More fine-grained heading structure
    • Table of contents
    • Chinese translation provided by @littlePP24 and @wanghaisheng
    • Last substantial edit in September 2016
  • 1.2 English
    • Create a WHATWG-like spec using bikeshed
    • Add issues where appropriate
    • Semantically backwards-compatible with both 1.0 and 1.1

Contribute

There is no formal body. Feel free to use the Github issues for discussion and questions. Pull requests are very welcome.

For quick questions you can use the hocr-spec gitter channel.

Building the spec

To build the spec, you will need to have GNU make and either bikeshed or docker installed.

Adapt <VERSION>/spec.md to change the body of the spec, <VERSION>/metadata to change the bikeshed metadata. Then run make VERSION=<VERSION> to build that spec.

Examples:

  • To build the 1.2 version: make VERSION=1.2
  • To build the 1.2-zh version: make VERSION=1.2-zh

Open Tasks

The goal of this project is to make the hOCR specification more accessible and easier to maintain.

  • Cross-reference other specs
  • Harmonize style
  • Add samples
  • ...

About

The hOCR Embedded OCR Workflow and Output Format

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 10

Languages