0

I need to create a functionality similar to one that CamScanner app offers. I have searched the net for days and the best matches that I found were the following:

  1. This topic where a outdated library is suggested, it seems to be best so far, but it is old, it does not auto detect edges of the document
  2. This Library which seems to autodetect the document but then it damages the quality of the cropped image. this one is also outdated..

I found and tested a lot more libraries like this, but all of them seems to be outdated, most of them does not detect edges of the document and work very bad.

I searched a lot to find out if I can use Android's ML Kit for solving this problem, but didn't find any answer on that topic as well.

So I feel quite lost on what direction to go on and where to start from. Do you have any suggestions? Are there any known libraries which do this? Is it possible to do this with ML Kit?

Andranik
  • 2,729
  • 1
  • 29
  • 45

1 Answers1

0

It is not possible to do this with ML Kit yet, but have it high on our backlog to tackle. I am personally not aware of anything you can pick off-the-shelf, but there might be commercial SDKs that offer this. Some companies have trained their own models, e.g. WPS Document Image Dewarping.

Chrisito
  • 494
  • 2
  • 4
  • Just found your answer looking for a MLKit based solution. I'm curious - is it still high on your backlog because it still doesn't seem to be implemented yet? – harry248 Oct 06 '21 at 14:39