Arihant Sales has been providing ID Card solutions for over a decade to customers across India. They process and print more than 100K ID cards annually for reputed schools, colleges, and large corporations. They focus on delivering high quality with accuracy and reduced wastage.
Previously, to print the ID cards, the raw images were manually converted and standardized according to predefined ID templates. Each of the raw, straight-out-of-the-camera image was color corrected, checked for brightness, and cropped to a particular size – through a manually intensive process.
“We had been consistently achieving high accuracy in our editing process. However, achieving accuracy meant time tradeoff – the process took long hours to complete, which exerted the staff, particularly, more during high demand. This manual job limited our operations and slowed down our scale”, Sanjay Jain, CEO, Arihant Sales.
They needed a system to automate this manual effort, reduce time to delivery, standardize results, and reduce any error due to manual intervention.
To digitize their editing process, especially the batching, the company built a local server based application with a Deep Learning model in partnership with MediaAgility, a Google Cloud Premier Partner. The Deep Learning model was trained on Cloud with Machine Learning Engine and was brought offline to run on the application.
Now the local server based application fetches the raw images from on-prem storage and runs them through the Deep learning model to detect faces. To ensure that the face fits into the ID card’s frame, the model crops the images based on a few predefined image dimensions and cropping ratio. Also, the model detects facial landmarks to auto rotate an image if the face is tilted. Once the cropped images are color corrected and checked for brightness, they are saved to the on-prem storage.
Other prominent features of the ML modeled application are –
- The staff can interject the processing during any part of the editing process
- Same viewport displays previews of the original and edited images for easy comparison
- Each edit iteration presents a revised image without having to reload the page
- The user can trigger events with keyboard support
- For bulk processing, source and destination directories can be set. The user can create presets based on a number of configurable threshold values that can be used to customize the output.