The CardVerify SDK is built from multiple android modules, each of which builds upon more base modules. The structure of the modules used in CardVerify looks like this:
module structure
The CardVerify SDK consists of these modules as well as a demo app:
The scan-framework module contains the framework used to scan images. See the architecture document for details on how it processes images from the camera.
scan-camera
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.
scan-payment
The scan-payment module contains the code for validating and managing payment cards.
scan-payment-verify
The closed-source scan-payment-verify module builds on top of the scan-payment module and contains the code for validating the authenticity of payment cards.
scan-ui
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.
cardverify-ui
The closed-source cardverify-ui module builds on top of the scan-ui and scan-payment-verify modules to provide user interfaces for scanning payment cards. Anything specific to the user interface of the CardVerify product lives in this library.
cardverify-demo
The closed-source cardverify-demo app provides a demonstration for launching the CardVerify SDK as a separate activity and for integrating the CardVerify library into an existing activity.
Building
Check out the project using git. Note that this project makes use of submodules, so a recursive clone is recommended.