adityaarora1 / LiveEdgeDetection

LiveEdgeDetection is an Android document detection library built on top of OpenCV. It scans documents from camera live mode and allows you to adjust crop using the detected 4 edges and performs perspective transformation of the cropped image. It works best with a dark background.
354 stars 126 forks source link

Can it be possible to detect edge of document on any surface #11

Closed patelranjit closed 5 years ago

patelranjit commented 5 years ago

Currently the edge of document is detecting on only dark background, but it ll be more useful if it can detect on any surface.

adityaarora1 commented 5 years ago

It is currently a limitation of the algorithm.

On Thu, Nov 22, 2018 at 7:20 AM patelranjit notifications@github.com wrote:

Currently the edge of document is detecting on only dark background, but it ll be more useful if it can detect on any surface.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/adityaarora1/LiveEdgeDetection/issues/11, or mute the thread https://github.com/notifications/unsubscribe-auth/AIMMr4XjdAGKVetoBEpJ1m_Gq4k8qCLbks5uxkIxgaJpZM4YuucB .

rodimus-11 commented 5 years ago

Any update on this ?? Or could you point to places within the library wherein changes have to be made to include all types of backgrounds ?