Source: https://github.com/Dynamsoft/capture-vision-java-samples/tree/main/Samples/DriverLicenseScanner