Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Edge detection is not working. #141

Open
NatyCristal opened this issue Jul 24, 2023 · 5 comments
Open

Edge detection is not working. #141

NatyCristal opened this issue Jul 24, 2023 · 5 comments

Comments

@NatyCristal
Copy link

Instead selections capture anything that it seems a square even if the document stands alone with no other objects nearby.

Edge_Detection_Video.mp4

any kind of help will be very welcome

@satvikreddy
Copy link

+1

@wataruxun
Copy link

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.

@espbee
Copy link
Contributor

espbee commented Sep 4, 2023

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.

@jennifer-uitoux
Copy link

jennifer-uitoux commented Jan 11, 2024

Any updates on this, Also the image is not detected in certain backgrounds

@anilkumar416
Copy link

I am also facing the same issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants