Purpose
As an Operator/User I should be able to upload/scan the mandatory document using scanner in android device so that I can add them as part of registration.
Pre- requisites
Login credentials should be created already in the system.
Credentials should be mapped to Machine.
Credentials should be mapped to Zone.
Credentials should be mapped to Centre.
Basic Flow
User navigates to the portal by clicking on the app in Smartphone/Tablet.
Consent should be captured as part of new registration
Accept the terms and conditions Select the notification language
Need to capture the Demographic details with the help of Registration number.
Fetch the details with the help of registration number Clicking on continue button will navigate the user to Document upload page.
Document upload section will be provided with 5 types of Proofs with reference numbers.
Consent proof Address proof Identity proof DOB proof Resident Photo proof
Library
Selecting library will provide the option to select the document from Android device.
Users can select the required documents from the library. Multiple documents can be uploaded in a single request.
Users will be provided with a screen where the user can select document which will give a preview with options Retake, Keep scanning, Crop, Filter, rotate, Save, Delete and Preview.
If there is one page the user can save the file and that will take the user back to the Document upload section.
If the user wants to add multiple documents, user can select multiple documents and save it.
If the user wants to remove the selected pages, user can use Retake option to go back to the library.
Upon saving it will take the user back to the Document upload section
Scan document
Clicking on scan document will automatically open the camera.
Two options for scanning - by default auto scanning or manual scanning.
User has the option to turn the flash on.
If the auto capture (default) is on scanner will look for the document automatically. In auto-capture mode, the app uses live edge boundary detection that displays dots to identify document corners.
At this point, edge detection comes back into play, recognizing the document's dimensions and removing everything else.
While detecting the document user will get the message “Detecting the document. Hold steady”.
Retake, keep scanning, Crop, Filter, rotate option should be there (Applicable for both Auto/Manual).
If the user has only one page to scan, then the user can click save button to save the file and it will bring the user back to Document upload screen. Applicable for both Auto/Manual).
If there are multiple pages, then user can click on keep scanning that will automatically save the first document in the bottom of the screen and the user can scan the second document. (Applicable for both Auto/Manual).
If there are two pages system will show the number of the pages as two.
Upon saving it will take the user back to the Document upload section
Provision to turn off the auto capture.
NB: There are scenarios where user needs to attach the documents from the library along scanned documents. In this occasion user can add the documents from the library and can use the option keep scanning. This will help the user to scan the documents and user can save the files.
Acceptance criteria
The flow as defined above should work seamlessly