The scan-camera module contains the camera interfaces for setting up the camera on the device and receiving images from it. It also handles converting the images from the camera to a processable format.
The scan-payment module contains the code for validating and managing payment cards.
The scan-ui module contains some common functionality shared between user interfaces for scanning cards. This provides the card viewfinder, debug overlay, and base scan activity.
The cardscan-ui module builds on top of the scan-ui and scan-payment modules to provide user interfaces for scanning payment cards. Anything specific to the user interface of the CardScan product lives in this library.
The cardscan-demo app provides a demonstration for launching the CardScan SDK as a separate activity and for integrating the CardScan library into an existing activity.