I'd like to get text layer of a djvu page, just as proofread extension does, by an API call or any exotic trick, in different settings from the usual trigger condition (the creation of a new page).
Is this possible? I browsed API doc but I failed.
Alex brollo
Alex Brollo, 24/10/2014 23:30:
I'd like to get text layer of a djvu page, just as proofread extension does, by an API call or any exotic trick, in different settings from the usual trigger condition (the creation of a new page).
Is this possible? I browsed API doc but I failed.
It should be in the file metadata, IIRC.
Nemo
Alex, as far as I understand Phe's tool is being used for that, at least in OCR.js (standart OCR button on Wikisource)
https://wikisource.org/wiki/MediaWiki:OCR.js https://tools.wmflabs.org/phetools/ (some source seems to be here https://github.com/phil-el/phetools/tree/master/hocr )
But I wasn't able to get it work on new files. Is User:Phe active on this mailing list?
2014-10-25 10:51 GMT+04:00 Federico Leva (Nemo) nemowiki@gmail.com:
Alex Brollo, 24/10/2014 23:30:
I'd like to get text layer of a djvu page, just as proofread extension
does, by an API call or any exotic trick, in different settings from the usual trigger condition (the creation of a new page).
Is this possible? I browsed API doc but I failed.
It should be in the file metadata, IIRC.
Nemo
Wikisource-l mailing list Wikisource-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikisource-l
wikisource-l@lists.wikimedia.org