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

White paper on a white background not working #10

Open
dhavaljivani opened this issue Jul 18, 2019 · 8 comments
Open

White paper on a white background not working #10

dhavaljivani opened this issue Jul 18, 2019 · 8 comments

Comments

@dhavaljivani
Copy link

I use your code for detecting a page and show the rectangle on paper and its work perfectly while background is black but if the background is white and paper also white then not able to draw the rectangle on paper

@KePeng1019
Copy link
Owner

I use your code for detecting a page and show the rectangle on paper and its work perfectly while background is black but if the background is white and paper also white then not able to draw the rectangle on paper

if paper is white and background also white, it can not find edge so it will not work.

@dhavaljivani
Copy link
Author

@KePeng1019 Can you please explain in detail? This is the open cv library issue?

@KePeng1019
Copy link
Owner

@KePeng1019 Can you please explain in detail? This is the open cv library issue?

because it find edge of the paper. if background color is same as paper, the lib can not find edge in the image it scan. so it can not work in such situation.

@dhavaljivani
Copy link
Author

@KePeng1019 Thank you for the explanation

@KePeng1019
Copy link
Owner

@KePeng1019 Thank you for the explanation

you are welcome

@nitishkumar325
Copy link

any solution to detect edge in any background

@INReportInsitemy
Copy link

I have the same issue when the background is lighter (light brown) it could not detect the edges of the paper.

@muslimmuda15
Copy link

The issue is still not find any solution

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

5 participants