{"id":21518225,"url":"https://github.com/gerev/hocr-editor-ts","last_synced_at":"2025-07-16T07:30:35.467Z","repository":{"id":38992928,"uuid":"264072555","full_name":"GeReV/hocr-editor-ts","owner":"GeReV","description":"A visual hOCR file editor","archived":false,"fork":false,"pushed_at":"2024-04-03T14:04:06.000Z","size":4508,"stargazers_count":8,"open_issues_count":18,"forks_count":5,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-04-14T15:09:25.094Z","etag":null,"topics":["hocr","hocr-documents","ocr","tesseract-ocr"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/GeReV.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}},"created_at":"2020-05-15T02:06:39.000Z","updated_at":"2024-04-03T14:04:09.000Z","dependencies_parsed_at":"2023-02-05T00:47:56.437Z","dependency_job_id":null,"html_url":"https://github.com/GeReV/hocr-editor-ts","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/GeReV%2Fhocr-editor-ts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GeReV%2Fhocr-editor-ts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GeReV%2Fhocr-editor-ts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GeReV%2Fhocr-editor-ts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/GeReV","download_url":"https://codeload.github.com/GeReV/hocr-editor-ts/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":226113115,"owners_count":17575436,"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":["hocr","hocr-documents","ocr","tesseract-ocr"],"created_at":"2024-11-24T00:50:51.399Z","updated_at":"2024-11-24T00:50:53.154Z","avatar_url":"https://github.com/GeReV.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# hOCR Editor\n\n**NOTE: This project has been superseded by a C# rewrite: https://github.com/GeReV/HocrEditor**\n\nThis is a visual [hOCR](https://en.wikipedia.org/wiki/HOCR) file editor with built-in [Tesseract](https://tesseract.projectnaptha.com) functionality, built using [React](https://reactjs.org).\n\nThis project is still early work-in-progress.\n\n![hOCR Editor Screenshot](./screenshot/screenshot.png)\n\n## Features\n\n- Drag \u0026 drop interface for restructuring or resizing of sentences, paragraphs and blocks.\n- Optional automatic resizing of elements to wrap their contents.\n- Optional automatic cleanup of empty elements.\n- Import and export of hOCR documents.\n- Built-in OCR, using Tesseract, of one or more documents or regions of documents.\n\n## Rationale\n\nWhile working on a personal project, I went looking for an editor which would allow me to correct some of the mistakes made by Tesseract in magazine scans with mixed language (Hebrew and English in my case).\n\nAfter going through the [list of applications mentioned](https://tesseract-ocr.github.io/tessdoc/User-Projects-%E2%80%93-3rdParty.html) in the Tesseract docs, I couldn't find a free and open-source and convenient enough application which allowed for both\ncorrecting recognition errors and restructuring the document features.\n\nTesseract, on occasion, leaves text lines in separate paragraphs to where one would expect them, and occasionally fails to correctly recognize letters or words, especially in mixed-language sentences.\n\nThis application was designed to help reorganize the structure of documents and help edit recognized words using easy-to-use visual representation of the document.\n\n## Available Scripts\n\nThis project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).\n\nIn the project directory, you can run:\n\n### `yarn start`\n\nRuns the app in the development mode.\u003cbr /\u003e\nOpen [http://localhost:3000](http://localhost:3000) to view it in the browser.\n\nThe page will reload if you make edits.\u003cbr /\u003e\nYou will also see any lint errors in the console.\n\n### `yarn build`\n\nBuilds the app for production to the `build` folder.\u003cbr /\u003e\nIt correctly bundles React in production mode and optimizes the build for the best performance.\n\nThe build is minified and the filenames include the hashes.\u003cbr /\u003e\nYour app is ready to be deployed!\n\nSee the section about [deployment](https://facebook.github.io/create-react-app/docs/deployment) for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgerev%2Fhocr-editor-ts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgerev%2Fhocr-editor-ts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgerev%2Fhocr-editor-ts/lists"}