|
Post by xxdxmhippiexx on Dec 7, 2016 19:42:13 GMT
Title says it all..im having a issue with 1 being mistaken for 0 /:
example
801347 is seen as 8101347..
or 910356 will be seen as 9110356
I have tried changing my images for numbers but thay are about as good as they can get.
|
|
|
Post by AnkuLua on Dec 7, 2016 23:56:31 GMT
You can set general higher similarity, such as Settings:set("MinSimilarity", 0.8). Or you could extend the width of "1" image. If there is still problem, share the screenshots and number images. Let's check it.
|
|
|
Post by xxdxmhippiexx on Dec 8, 2016 1:20:44 GMT
You can set general higher similarity, such as Settings:set("MinSimilarity", 0.8). Or you could extend the width of "1" image. If there is still problem, share the screenshots and number images. Let's check it. Omg..thank you! I was looking for that in the docs and couldn't find it because i was looking for setSimilarity() XD 0.9 seems to have worked!
|
|
|
Post by xxdxmhippiexx on Dec 8, 2016 1:27:38 GMT
I don't use that setting due to the RegionHelper im working on witch sets the pattern similarity (Reg.imgSimilarity = 0.8)..i still plan to share that btw! it is perfectly functional with no known bugs but i am still pretty new to lua and there is lots of "bad practice" and other nonsense I'd like to fix first. Would you like me to send it to you? maybe you could give me some pointers?
|
|
|
Post by AnkuLua on Dec 8, 2016 5:28:06 GMT
It's OK. Will help if we can. Don't forget to share after working.
|
|