DoubangoTelecom / ultimateMRZ-SDK

Machine-readable zone/travel document (MRZ / MRTD) detector and recognizer using deep learning
https://www.doubango.org/webapps/mrz/
Other
178 stars 50 forks source link

Configuration JSON modification results in invalid license #75

Closed SoftExpert closed 2 years ago

SoftExpert commented 2 years ago

Hello,

Is the License_token_data content dependent on the contents of the configuration JSON file ? I have a valid token on an Azure Linux machine; when I change the values of the parameters in the JSON file and restart the service that uses the uMRZ library, I see in the traces the message "You're using an unlicensed version of ultimateMRZ-SDK". Reverting back the changes of the JSON file results in being able to initialize the library in licensed mode.

Do we need to generate a new token data every time the configuration JSON is modified ?

SoftExpert commented 2 years ago

Nevermind, the issue comes from the parsing of the min_score attribute: 0.1f is not accepted, but 0.1 it is.