Document Scanner with TWAIN and Camera in Ionic React

A document scanner using Dynamic Web TWAIN:

It can scan documents from physical document scanners via TWAIN/SANE/ICA as well as cameras.

Document border detection is supported in camera mode and it also supports automatic capture based on whether the document is focused and takes up most of the camera preview.

Since getUserMedia now works on most modern devices, it can run as a native app on Android and iOS.