Contenu supprimé Contenu ajouté
Phe (discussion | contributions)
Ligne 200 :
I know fro Tpt that you wrote a tool to get a djvu from IA items - I too wrote something similar for personal use, can you address me to any page where your tool is explained in detail? Is it already usable by normal users? Thanks! --[[Utilisateur:Alex brollo|Alex brollo]] ([[Discussion utilisateur:Alex brollo|d]]) 18 mai 2016 à 14:05 (UTC)
:{{ping|Alex brollo}} Code for tools is in [//github.com/phil-el/phetools/tree/master/ocr] file pdf_to_djvu.py, tool is accessible at [//tools.wmflabs.org/phetools/pdf_to_djvu_cgi.py?cmd=help]. Actually it is built on djvudigital to convert pdf to djvu and it needs an existing xml file on IA to get the text layer, only IA file can be converted. Note than if you start a conversion and a &get command return something else than a "200 OK" it means either the conversion is in progress or the conversion failed. [//tools.wmflabs.org/phetools/hocr_cgi.py?cmd=status&filter=all&limit=500&cmd_filter=pdf_to_djvu] can be used to see work in progress. — [[user talk:Phe|Phe]] 18 mai 2016 à 14:26 (UTC)
: Thanks, I followed a different strategy, I simply build a (heavy) djvu from _jp2.zip then I too insert text from _djvu.xml; iyt's in pure python but some DjvuLibre routines (for images I use c44.exe). --[[Utilisateur:Alex brollo|Alex brollo]] ([[Discussion utilisateur:Alex brollo|d]]) 18 mai 2016 à 21:34 (UTC)