Thanks for downloading Dynamsoft Label Recognizer Package!
Your download will start shortly. If your download does not begin, click here to retry.
License initialization
Get a trial key
- A free public trial license is available for every new device for first use of Dynamsoft Label Recognizer. The public trial license is the default key used in samples. You can also find the public trial license on the following parts of this page.
- If your free key is expired, please visit Private Trial License Page to get a 30-day trial extension.
Get a full license
- Contact us to purchase a full license
Initialize the license
The following code snippets are using the public trial license to initialize the license. You can replace the public trial license with your own license key.
- JavaScript
- Java-Android
- Objective-C
- Swift
- C
- C++
- C#
- Java
Dynamsoft.DLR.LabelRecognizer.license = "DLS2eyJvcmdhbml6YXRpb25JRCI6IjIwMDAwNSJ9";
LabelRecognizer.initLicense("DLS2eyJvcmdhbml6YXRpb25JRCI6IjIwMDAwMSJ9", new DLRLicenseVerificationListener() { @Override public void DLRLicenseVerificationCallback(boolean b, Exception e) { if(!b && e != null){ e.printStackTrace(); } } });
[DynamsoftLabelRecognizer initLicense:@"DLS2eyJvcmdhbml6YXRpb25JRCI6IjIwMDAwMSJ9" verificationDelegate:self]; - (void)DLRLicenseVerificationCallback:(bool)isSuccess error:(NSError *)error{ if(!isSuccess && error != nil){ NSString* msg = error.userInfo[NSUnderlyingErrorKey]; NSLog(@"%@", msg); } }
DynamsoftLabelRecognizer.initLicense("DLS2eyJvcmdhbml6YXRpb25JRCI6IjIwMDAwMSJ9",verificationDelegate:self) func dlrLicenseVerificationCallback(_ isSuccess: Bool, error: Error?) { if(!isSuccess && error != nil){ let err = error as NSError? let msg = err!.userInfo[NSUnderlyingErrorKey] as? String print(msg ?? "") } }
char errorMessage[256]; DLR_InitLicense("DLS2eyJvcmdhbml6YXRpb25JRCI6IjIwMDAwNSJ9", errorMessage, 256);
char errorMessage[256]; CLabelRecognizer::InitLicense("DLS2eyJvcmdhbml6YXRpb25JRCI6IjIwMDAwNSJ9", errorMessage, 256);
LabelRecognizer.InitLicense("DLS2eyJvcmdhbml6YXRpb25JRCI6IjIwMDAwNSJ9");
LabelRecognizer.initLicense("DLS2eyJvcmdhbml6YXRpb25JRCI6IjIwMDAwNSJ9");