{"action":"created","issue":{"url":"https://api.github.com/repos/jbarlow83/OCRmyPDF/issues/84","repository_url":"https://api.github.com/repos/jbarlow83/OCRmyPDF","labels_url":"https://api.github.com/repos/jbarlow83/OCRmyPDF/issues/84/labels{/name}","comments_url":"https://api.github.com/repos/jbarlow83/OCRmyPDF/issues/84/comments","events_url":"https://api.github.com/repos/jbarlow83/OCRmyPDF/issues/84/events","html_url":"https://github.com/jbarlow83/OCRmyPDF/issues/84","id":172093640,"number":84,"title":"Page has no images - skipping OCR","user":{"login":"AEgit","id":12767489,"avatar_url":"https://avatars.githubusercontent.com/u/12767489?v=3","gravatar_id":"","url":"https://api.github.com/users/AEgit","html_url":"https://github.com/AEgit","followers_url":"https://api.github.com/users/AEgit/followers","following_url":"https://api.github.com/users/AEgit/following{/other_user}","gists_url":"https://api.github.com/users/AEgit/gists{/gist_id}","starred_url":"https://api.github.com/users/AEgit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AEgit/subscriptions","organizations_url":"https://api.github.com/users/AEgit/orgs","repos_url":"https://api.github.com/users/AEgit/repos","events_url":"https://api.github.com/users/AEgit/events{/privacy}","received_events_url":"https://api.github.com/users/AEgit/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-08-19T09:43:36Z","updated_at":"2016-08-19T16:44:24Z","closed_at":null,"body":"When using OCRmyPDF I sometimes get the message \"page has no images - skipping OCR\". When I check the respective page, however, text is clearly present (i.e., it is not a blank page). I was just wondering what the cause of this behaviour was?\r\n\r\nA demo file that demonstrates the issue can be donwloaded here:\r\nhttps://app.box.com/s/62wimr14fdmedwf751oq5atebm3l9u5m\r\n\r\n\r\n\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/jbarlow83/OCRmyPDF/issues/comments/241070006","html_url":"https://github.com/jbarlow83/OCRmyPDF/issues/84#issuecomment-241070006","issue_url":"https://api.github.com/repos/jbarlow83/OCRmyPDF/issues/84","id":241070006,"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-19T16:44:24Z","updated_at":"2016-08-19T16:44:24Z","body":"Okay, I looked at the file. It had text converted to curves (this is sometimes done for printing if the printer has trouble with the font), so it's a vector file. With `--force-ocr` this file worked for me.\r\n\r\nAlso add the parameter `--pdf-renderer tesseract`, which does a better job on files with columns of text, provided you have also installed tesseract 3.04.01. \r\n\r\nThere are two things that could cause it to produ\r\n* If you have a version older than 4.2, the latest, when I fixed a similar bug\r\n* If tesseract times out on OCR. You can try `--tesseract-timeout N` for N > 3 to budget more time for OCR. It took a minute on my 2013 desktop machine, but a much slower/older machine might need more time."}}
{"actor":{"display_login":"jbarlow83"}}