{"action":"created","issue":{"url":"https://api.github.com/repos/jbarlow83/OCRmyPDF/issues/81","repository_url":"https://api.github.com/repos/jbarlow83/OCRmyPDF","labels_url":"https://api.github.com/repos/jbarlow83/OCRmyPDF/issues/81/labels{/name}","comments_url":"https://api.github.com/repos/jbarlow83/OCRmyPDF/issues/81/comments","events_url":"https://api.github.com/repos/jbarlow83/OCRmyPDF/issues/81/events","html_url":"https://github.com/jbarlow83/OCRmyPDF/issues/81","id":167587275,"number":81,"title":"Unable to perform chinese language OCR using ocrmypdf-polyglot","user":{"login":"wallclock","id":20661570,"avatar_url":"https://avatars.githubusercontent.com/u/20661570?v=3","gravatar_id":"","url":"https://api.github.com/users/wallclock","html_url":"https://github.com/wallclock","followers_url":"https://api.github.com/users/wallclock/followers","following_url":"https://api.github.com/users/wallclock/following{/other_user}","gists_url":"https://api.github.com/users/wallclock/gists{/gist_id}","starred_url":"https://api.github.com/users/wallclock/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wallclock/subscriptions","organizations_url":"https://api.github.com/users/wallclock/orgs","repos_url":"https://api.github.com/users/wallclock/repos","events_url":"https://api.github.com/users/wallclock/events{/privacy}","received_events_url":"https://api.github.com/users/wallclock/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2016-07-26T11:44:30Z","updated_at":"2016-08-03T10:52:46Z","closed_at":null,"body":"Using the lastest ocrmypdf-polyglot docker image, I ran `docker run -v \"$(pwd):/home/docker\" jbarlow83/ocrmypdf-polyglot -v -l chi_sim textbook.pdf textbook-ocr.pdf` according to instructions on a single page A4 simplified chinese PDF with ~1.5 line spacing. The result was mainly solid black square characters (`■■■■■`).\r\n\r\nIs there a reference PDF for which I can test on for simplified chinese (or any asian language)?"},"comment":{"url":"https://api.github.com/repos/jbarlow83/OCRmyPDF/issues/comments/237205756","html_url":"https://github.com/jbarlow83/OCRmyPDF/issues/81#issuecomment-237205756","issue_url":"https://api.github.com/repos/jbarlow83/OCRmyPDF/issues/81","id":237205756,"user":{"login":"jbarlow83","id":1825843,"avatar_url":"https://avatars.githubusercontent.com/u/1825843?v=3","gravatar_id":"","url":"https://api.github.com/users/jbarlow83","html_url":"https://github.com/jbarlow83","followers_url":"https://api.github.com/users/jbarlow83/followers","following_url":"https://api.github.com/users/jbarlow83/following{/other_user}","gists_url":"https://api.github.com/users/jbarlow83/gists{/gist_id}","starred_url":"https://api.github.com/users/jbarlow83/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jbarlow83/subscriptions","organizations_url":"https://api.github.com/users/jbarlow83/orgs","repos_url":"https://api.github.com/users/jbarlow83/repos","events_url":"https://api.github.com/users/jbarlow83/events{/privacy}","received_events_url":"https://api.github.com/users/jbarlow83/received_events","type":"User","site_admin":false},"created_at":"2016-08-03T10:52:46Z","updated_at":"2016-08-03T10:52:46Z","body":"存轻乡圣王里人的领导力\r\n\r\nv4.2 offers a partial solution if you specify the tesseract renderer and regular PDF output as opposed to PDF/A. This bypasses two of the bugs described above.\r\n```\r\nocrmypdf -f -l chi_sim --pdf-renderer tesseract --output-type pdf   input.pdf output.pdf\r\n```\r\n\r\nYou might need to rescan that image if the OCR was not what you hoped for. There is some warping in the text baseline. (I can't help with OCR quality, that's an issue for tesseract-ocr)."}}
{"actor":{"display_login":"jbarlow83"}}