CaptureVisionRouter
The CaptureVisionRouter class is what a user uses to interact with image-processing and semantic-processing products in their applications. It provides the following essential APIs:
- Set input
- Config barcode reader settings
- Add result receiver
- Start barcode processing
Definition
Namespace: Dynamsoft.CaptureVisionRouter.Maui
Assembly: Dynamsoft.CaptureVisionRouter.Maui
class CaptureVisionRouter
Single-File Processing
| Method | Description |
|---|---|
Capture(filePath,templateName) |
Processes an image file to derive important information. |
Multiple-File Processing
| Method | Description |
|---|---|
SetInput |
Sets up an image source to provide images for continuous processing. |
GetInput |
Returns the image source object. |
AddResultReceiver |
Adds a CapturedResultReceiver object as the receiver of captured results. |
RemoveResultReceiver |
Removes the specified CapturedResultReceiver object. |
StartCapturing |
Initiates a capturing process based on a specified template. This process is repeated for each image fetched from the source. |
StopCapturing |
Stops the capturing process. |
AddResultFilter |
Adds a CaptureResultFilter object to filter non-essential results. |
RemoveResultFilter |
Removes the specified CaptureResultFilter object. |
Settings
| Method | Description |
|---|---|
InitSettings |
Initialize the Capture Vision settings with a JSON String. |
InitSettingsFromFile |
Initialize the Capture Vision settings with a JSON file. |
GetSimplifiedSettings |
Retrieves a simplified version of the Capture Vision settings for a specific template. |
UpdateSettings |
Update Capture Vision settings with an object of SimplifiedCaptureVisionSettings. |
ResetSettings |
Resets all templates to factory settings. |
OutputSettings |
Output the targeting Capture Vision settings to a JSON string. |
OutputSettingsToFile |
Output the targeting Capture Vision settings to a JSON file. |
Intermediate Result
| Method | Description |
|---|---|
GetIntermediateResultManager |
Returns an object, of type IntermediateResultManager, that manages intermediate results. |