{"action":"created","issue":{"url":"https://api.github.com/repos/tesseract-ocr/tesseract/issues/1729","repository_url":"https://api.github.com/repos/tesseract-ocr/tesseract","labels_url":"https://api.github.com/repos/tesseract-ocr/tesseract/issues/1729/labels{/name}","comments_url":"https://api.github.com/repos/tesseract-ocr/tesseract/issues/1729/comments","events_url":"https://api.github.com/repos/tesseract-ocr/tesseract/issues/1729/events","html_url":"https://github.com/tesseract-ocr/tesseract/issues/1729","id":337722594,"node_id":"MDU6SXNzdWUzMzc3MjI1OTQ=","number":1729,"title":"[Feature Request] Add kMinCharactersToTry as a user parameter","user":{"login":"imswebra","id":29715203,"node_id":"MDQ6VXNlcjI5NzE1MjAz","avatar_url":"https://avatars1.githubusercontent.com/u/29715203?v=4","gravatar_id":"","url":"https://api.github.com/users/imswebra","html_url":"https://github.com/imswebra","followers_url":"https://api.github.com/users/imswebra/followers","following_url":"https://api.github.com/users/imswebra/following{/other_user}","gists_url":"https://api.github.com/users/imswebra/gists{/gist_id}","starred_url":"https://api.github.com/users/imswebra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/imswebra/subscriptions","organizations_url":"https://api.github.com/users/imswebra/orgs","repos_url":"https://api.github.com/users/imswebra/repos","events_url":"https://api.github.com/users/imswebra/events{/privacy}","received_events_url":"https://api.github.com/users/imswebra/received_events","type":"User","site_admin":false},"labels":[{"id":880965165,"node_id":"MDU6TGFiZWw4ODA5NjUxNjU=","url":"https://api.github.com/repos/tesseract-ocr/tesseract/labels/accuracy","name":"accuracy","color":"7FDBFF","default":false},{"id":121383682,"node_id":"MDU6TGFiZWwxMjEzODM2ODI=","url":"https://api.github.com/repos/tesseract-ocr/tesseract/labels/feature%20request","name":"feature request","color":"2ECC40","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":21,"created_at":"2018-07-03T02:22:48Z","updated_at":"2018-10-02T15:44:03Z","closed_at":null,"author_association":"NONE","body":"Currently the `kMinCharactersToTry` value is hardcoded within the tesseract master branch, as seen below.\r\n\r\nhttps://github.com/tesseract-ocr/tesseract/blob/a0291c765129af3217540a0fb344d8bbedad8333/src/ccmain/osdetect.cpp#L39-L40\r\n\r\nAllowing this value to be user configurable (without a recompile) enables more flexibility when it comes to working with small data sets, especially images that are computer generated with very little, if any, background noise.\r\n\r\nFor example, the 4x4 number array below only outputs empty pages because of this value (`\"Too few characters. Skipping this page\"`). Larger arrays, like the 6x6 one below, continue to work fine.\r\n\r\n![4x4array](https://user-images.githubusercontent.com/29715203/42194875-4620d64a-7e33-11e8-9dad-b0b5e0c0533f.png)\r\n\r\n&nbsp;\r\n\r\n![6x6array](https://user-images.githubusercontent.com/29715203/42195020-12eeeb62-7e34-11e8-999e-f609cfcd9909.PNG)\r\n\r\nThere is a post in the google group claiming to have already requested this feature [here,](https://groups.google.com/d/msg/tesseract-ocr/ZRQ6dgUPx8E/tUGGxlotAAAJ) though I couldn't find any GitHub issues documenting the request, so I created this one.\r\n\r\nFurther evidence of demand for such a feature can be found earlier in the [same google group post,](https://groups.google.com/d/msg/tesseract-ocr/ZRQ6dgUPx8E/3eB-aoc9ah8J) and also in the rOpenSci R tesseract bindings repository, [here](https://github.com/ropensci/tesseract/issues/13) and [here.](https://github.com/ropensci/tesseract/issues/15)"},"comment":{"url":"https://api.github.com/repos/tesseract-ocr/tesseract/issues/comments/426324084","html_url":"https://github.com/tesseract-ocr/tesseract/issues/1729#issuecomment-426324084","issue_url":"https://api.github.com/repos/tesseract-ocr/tesseract/issues/1729","id":426324084,"node_id":"MDEyOklzc3VlQ29tbWVudDQyNjMyNDA4NA==","user":{"login":"stweil","id":6734573,"node_id":"MDQ6VXNlcjY3MzQ1NzM=","avatar_url":"https://avatars1.githubusercontent.com/u/6734573?v=4","gravatar_id":"","url":"https://api.github.com/users/stweil","html_url":"https://github.com/stweil","followers_url":"https://api.github.com/users/stweil/followers","following_url":"https://api.github.com/users/stweil/following{/other_user}","gists_url":"https://api.github.com/users/stweil/gists{/gist_id}","starred_url":"https://api.github.com/users/stweil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stweil/subscriptions","organizations_url":"https://api.github.com/users/stweil/orgs","repos_url":"https://api.github.com/users/stweil/repos","events_url":"https://api.github.com/users/stweil/events{/privacy}","received_events_url":"https://api.github.com/users/stweil/received_events","type":"User","site_admin":false},"created_at":"2018-10-02T15:44:03Z","updated_at":"2018-10-02T15:44:03Z","author_association":"CONTRIBUTOR","body":"Yes, the GitHub standard _enhancement_ label is now _feature request_. I don't know whether this is really better - personally I like standards (until there is something much better)."}}
{"actor":{"display_login":"stweil"}}