{"action":"created","issue":{"url":"https://api.github.com/repos/charlesw/tesseract/issues/397","repository_url":"https://api.github.com/repos/charlesw/tesseract","labels_url":"https://api.github.com/repos/charlesw/tesseract/issues/397/labels{/name}","comments_url":"https://api.github.com/repos/charlesw/tesseract/issues/397/comments","events_url":"https://api.github.com/repos/charlesw/tesseract/issues/397/events","html_url":"https://github.com/charlesw/tesseract/issues/397","id":302946769,"number":397,"title":"\"Warning. Invalid resolution 0 dpi. Using 70 instead.\" with 321-Tesseract-4 branch","user":{"login":"masterisk","id":10609713,"avatar_url":"https://avatars0.githubusercontent.com/u/10609713?v=4","gravatar_id":"","url":"https://api.github.com/users/masterisk","html_url":"https://github.com/masterisk","followers_url":"https://api.github.com/users/masterisk/followers","following_url":"https://api.github.com/users/masterisk/following{/other_user}","gists_url":"https://api.github.com/users/masterisk/gists{/gist_id}","starred_url":"https://api.github.com/users/masterisk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/masterisk/subscriptions","organizations_url":"https://api.github.com/users/masterisk/orgs","repos_url":"https://api.github.com/users/masterisk/repos","events_url":"https://api.github.com/users/masterisk/events{/privacy}","received_events_url":"https://api.github.com/users/masterisk/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2018-03-07T02:56:05Z","updated_at":"2018-03-07T06:06:38Z","closed_at":null,"author_association":"NONE","body":"I am using the 321-Tesseract-4 branch for LSTM support, I am capturing a section of the screen and creating a Bitmap object to pass to the TesseractEngine but am only getting the \"Warning. Invalid resolution 0 dpi. Using 70 instead.\" error.\r\n\r\nI tried setting Bitmap object resolutionwit  \"Bitmap.setResolution(96, 96);\"\r\nas well as trying \"engine.SetVariable(\"image_default_resolution\", input.VerticalResolution);\"\r\n\r\nWhen I used the Tesseract 3 nuget package I did not encounter this error in the same project. Is this an issue from the newer version of leptonica? or something I can work around programmatically?"},"comment":{"url":"https://api.github.com/repos/charlesw/tesseract/issues/comments/371033516","html_url":"https://github.com/charlesw/tesseract/issues/397#issuecomment-371033516","issue_url":"https://api.github.com/repos/charlesw/tesseract/issues/397","id":371033516,"user":{"login":"masterisk","id":10609713,"avatar_url":"https://avatars0.githubusercontent.com/u/10609713?v=4","gravatar_id":"","url":"https://api.github.com/users/masterisk","html_url":"https://github.com/masterisk","followers_url":"https://api.github.com/users/masterisk/followers","following_url":"https://api.github.com/users/masterisk/following{/other_user}","gists_url":"https://api.github.com/users/masterisk/gists{/gist_id}","starred_url":"https://api.github.com/users/masterisk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/masterisk/subscriptions","organizations_url":"https://api.github.com/users/masterisk/orgs","repos_url":"https://api.github.com/users/masterisk/repos","events_url":"https://api.github.com/users/masterisk/events{/privacy}","received_events_url":"https://api.github.com/users/masterisk/received_events","type":"User","site_admin":false},"created_at":"2018-03-07T06:06:38Z","updated_at":"2018-03-07T06:06:38Z","author_association":"NONE","body":"I've tried the traineddata files from both:\r\nhttps://github.com/tesseract-ocr/tessdata\r\nhttps://github.com/tesseract-ocr/tessdata_fast\r\n\r\nI've also tried using EngineMode.Default and EngineMode.LstmOnly\r\nI'm using these on very legible, small data set to test with, and its not getting ANY of it correct. Is there another set of traineddata you would recommend?"}}
{"actor":{"display_login":"masterisk"}}