Mark Plomer
Mark Plomer
Hi, ok there is still some default-handling missing in hocr-proofreader. It seems that your hOCR does not have a "scan_res" option. You can try to add title="scan_res 300 300" to...
That's the plan :-) ... When having more time, I'll implement all that editing features ... currently it's more a reader than an editor ;-) Contributions are welcome :-)
Just think of "main.js"/"index.html" as an example how to use the library. There you can specify an URL for the hOCR file. The images should be referenced inside the hocr-file...
Sure, the hOCR-File is referenced here as relative URL with the base directory (an URL can always be a relative path ;-)): https://github.com/not-implemented/hocr-proofreader/blob/master/main.js#L35 Just inspect my demo installation for the...
All images supported by browsers should be fine. From this librarys point of view it's just a path/URL which is displayed as image by the browser. I do not know...
Seems the CSS is missing. Just check for errors in the browser console/network tab, and maybe fix path in index.html
Yes there may be a lot of small things that differ in hOCR files. Currently I focused on implementing the UI. When having more time, I'll improve the hOCR details....
@ak2911 you have to serve the application over a Webserver - or use Firefox - it supports loading local files via AJAX.
The whole project is still a proof-of-concept of the GUI ... there are still a lot of things to do :-)
That's a nice idea. But maybe it would be better to add an option/toggle for this, to switch from "normal view" to "line-by-line" view. What do you think?