Architecture
Transaction document model
- Transaction 1 — * Documents
- Document
- 1 x captured page
- Multiple captured images (under different lighting conditions)
- All Extracted Information
- Document Image
- Document Region
- Extracted region of the document containing raw unprocessed text. E.g. photo, MRZ regions.
- Document Field
- Processed extraced value from the document
- Document Alert
Programming with .Net SDK
- Add reference to AssureID SDK for .NET 2.0 (3.1.1100.20)
- Create a Session (AssureIDSession object)
- Using AssureIDSession control
- Add AssureIDSession control to the Toolbox
- Drag AssureIDSession to a form
- Programatically
using AssureTec.AssureID.SDK;
...
AssureIDSession session = new AssureIDSession();
- Using AssureIDSession control
- Open session
- session.Open();
- Stop session
- session.StopService();
- Restart DAP service
- session.RestartService();
- Check if sesison is already open
- session.IsConnected();
- session.PlatformStatus();
- Register an event handler
- Using Property panel
- Programmatically
...
InitializeComponent();
session.DocumentComplet += new DocumentEventHandler(assureIDSession1_DocumentComplete);
private void assureIDSession1_DocumentComplete(DocumentEventArgs e){}
- Note: set session ThreadingModel property to SingleThreaded if UIs are updated from within event handlers. Alternatively, use Control.Invoke.
- Trigger document capture
- Manual trigger
- session.TriggerNewDocument();
- Auto trigger
- session.DocumentDetectEnabled = true;
- Manual trigger
- Access document information
- Via event arguments
- Via session object
- Notes
- Session AutoDispose property
One Response to AssureTec SDK