Description
ocr-fileformat is a tool for validating and transforming OCR output files. It works with the common formats hOCR, ALTO, PAGE and FineReader. It offers three ways to use it: command-line scripts, a web interface for testing, and an API for your own tools. The command-line tool ocr-transform converts OCR output from one format to another, and ocr-validate checks OCR output against the schemas for its format. The web interface lets you upload a file or point it at a file by URL to test validation and transformation. You can run it as a Docker container, which serves the web interface on port 8080, or install it system-wide or in your home directory. The web part is PHP-based and can be deployed on any PHP-capable server. The XSLT stylesheets and XSD schemas are installed under the share directory for use in other tools.…
Highlights
- Validate OCR files against format schemas
- Transform between hOCR, ALTO, PAGE and FineReader
- Command-line tools for batch work
- Web interface for uploads or URLs
- Docker image or PHP web deployment
Ratings & Reviews
No ratings yet
Be the first to rate OCR Fileformat.
People also visit
OCR Fileformat FAQ
What does ocr-fileformat do?
It validates and transforms OCR output between formats including hOCR, ALTO, PAGE and FineReader.
How do I run the web interface?
With Docker, you run the container and open http://localhost:8080. You can also deploy the web folder on a PHP-capable web server.
How do I use it from the command line?
Use ocr-transform to convert between OCR formats, and ocr-validate to check a file against its format schema.
Can I use it from my own code?
Yes. The README lists the XSLT stylesheets and XSD schemas installed under the share folder, for use in your own tools.
What are the best OCR Fileformat alternatives?
Popular alternatives to OCR Fileformat include Scribeocr, Blob Service and LocalPDF. See all OCR Fileformat alternatives









