Anyline - A powerful OCR SDK for Windows UWP
Anyline Windows UWP Examples
- Example app source codeAnyline.dll
- Precompiled Anyline CoreAnyline.winmd
- Metadata for the Anyline CoreAnylineSDK.dll
- Precompiled library for the Anyline SDKREADME.md
- This readme.LICENSE.md
- The license file.
The API reference for the Anyline SDK for Windows UWP can be found here: https://documentation.anyline.com/api/windows/index.html
- Windows 10 + Visual Studio 2015 with the Windows 10 SDK
- An Windows 10 x86 device
- An integrated or external camera/webcam (recommended: 720p and focus capability)
- If you'd like to clone the repository you will have to use git-lfs. Use the following commands to install git-lfs.
Download git lfs from https://help.github.com/articles/installing-git-large-file-storage/
git lfs install
Add AnylineSDK.dll
and Anyline.winmd
as reference to the project.
Make sure that Anyline.dll
is in the same directory as the winmd file.
Make sure to set The capabilities "Webcam", "Microphone" and "Internet (Client)" in Package.appxmanifest. Set the project build configuration to "x86". x64 and ARM are not supported.
Make sure the Package Name in Package.appxmanifest matches the license.
To generate a license key for windows, you'll need the Package Name located under Packaging
in the Package.appxmanifest
file of your example project.
To claim a free developer / trial license, go to: Anyline SDK Register Form
The software underlies the MIT License. As Anyline is a paid software for Commerical Projects, the License Agreement of Anyline GmbH apply, when used commercially. Please have a look at Anyline License Agreement
Add a config.json for the view configuration as Asset to your project. Set the build action to "Content".
Example for config for MRZ:
{
"camera": {
"captureResolution": "1080p"
},
"flash": {
"mode": "manual",
"alignment": "bottom_right"
},
"viewPlugin": {
"plugin": {
"id": "ID_PLUGIN",
"idPlugin": {
"mrzConfig": {
"mrzFieldScanOptions": {
"vizAddress": "optional",
"vizDateOfIssue": "optional"
}
}
}
},
"cutoutConfig": {
"style": "rect",
"maxWidthPercent": "90%",
"maxHeightPercent": "90%",
"alignment": "center",
"strokeWidth": 2,
"cornerRadius": 4,
"strokeColor": "FFFFFF",
"outerColor": "000000",
"outerAlpha": 0.3,
"cropPadding": {
"x": -30,
"y": -90
},
"cropOffset": {
"x": 0,
"y": 90
},
"feedbackStrokeColor": "0099FF"
},
"scanFeedback": {
"style": "rect",
"visualFeedbackRedrawTimeout": 100,
"strokeColor": "0099FF",
"fillColor": "220099FF",
"beepOnResult": true,
"vibrateOnResult": true,
"strokeWidth": 2
},
"cancelOnResult": true
}
}
For a detailed implementation guide, follow the Windows implementation guide on the Anyline documentation website.
See LICENSE file.