Open NatyCristal opened 1 year ago
+1
I am also having the same problem. As a temporary workaround, I have found that placing the document in a black area improves accuracy. Light reflection also appears to affect accuracy.
I think this is a function of any image detection situation operating on a mobile device like this, that works out of the box. I mean the same is true of any machine vision scanner in this kind of context. If there are a lot of stray lines and light fluctuations, it'll have a tough time discerning what it is that you want to actually emphasize. A plain background is always better. Even financial apps that have you scan things advise that you use a plain background.
You can always adjust the corners after its done its best to outline the rectangle that you want. Also sometimes if you close and try again it guesses better.
Any updates on this, Also the image is not detected in certain backgrounds
I am also facing the same issue
Instead selections capture anything that it seems a square even if the document stands alone with no other objects nearby.
https://github.com/sawankumarbundelkhandi/edge_detection/assets/32109130/f6d6b7c7-8f85-49c1-98d4-4bf8c9cbc1c2
any kind of help will be very welcome