SmartPaperScan icon indicating copy to clipboard operation
SmartPaperScan copied to clipboard

White paper on a white background not working

Open dhavaljivani opened this issue 4 years ago • 8 comments

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

dhavaljivani avatar Jul 18 '19 13:07 dhavaljivani

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.

KePeng1019 avatar Jul 20 '19 07:07 KePeng1019

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

dhavaljivani avatar Aug 06 '19 05:08 dhavaljivani

@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.

KePeng1019 avatar Aug 30 '19 14:08 KePeng1019

@KePeng1019 Thank you for the explanation

dhavaljivani avatar Aug 30 '19 14:08 dhavaljivani

@KePeng1019 Thank you for the explanation

you are welcome

KePeng1019 avatar Sep 02 '19 12:09 KePeng1019

any solution to detect edge in any background

nitishkumar325 avatar Feb 04 '20 09:02 nitishkumar325

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

INReportInsitemy avatar Nov 01 '21 09:11 INReportInsitemy

The issue is still not find any solution

muslimmuda15 avatar Nov 29 '21 21:11 muslimmuda15