Thanks for downloading Dynamsoft Barcode Reader Package!
Your download will start shortly. If your download does not begin, click here to retry.
CaptureVisionRouter
The CaptureVisionRouter
class is what a user uses to interact with image-processing and semantic-processing products in their applications. It accepts an image source and returns processing results which may contain Final results or Intermediate Results.
Definition
Namespace: com.dynamsoft.cvr
Assembly: DynamsoftCaptureVisionRouter.aar
class CaptureVisionRouter
Constructor
Method | Description |
---|---|
CaptureVisionRouter |
Default constructor of CaptureVisionRouter object. |
Single-File Processing
Method | Description |
---|---|
capture(filePath,templateName) |
Capture data from the file specified by the file path. |
capture(fileBytes,templateName) |
Capture data from a given file in memory. |
capture(imageData,templateName) |
Capture data from the memory buffer via a ImageData object. |
capture(bitmap,templateName) |
Capture data from the given Bitmap. |
Multiple-File Processing
Method | Description |
---|---|
setInput |
Sets an image source to provide images for consecutive process. |
getInput |
Gets the attached image source adapter object of the capture vision router. |
addImageSourceStateListener |
Register a ImageSourceStateListener to get callback when the status of ImageSourceAdapter changes. |
removeImageSourceStateListener |
Removes a ImageSourceStateListener. |
addResultReceiver |
Register a CapturedResultReceiver to get callback when CapturedResult output. |
removeResultReceiver |
Removes a CapturedResultReceiver. |
startCapturing |
Start capturing with the targeting template. |
stopCapturing |
Stop capturing. |
addCaptureStateListener |
Register a CaptureStateListener to get callback when capture state changes. |
removeCaptureStateListener |
Removes a CaptureStateListener. |
addResultFilter |
Register a CapturedResultFilter to get callback when filtered result output. |
removeResultFilter |
Removes a CapturedResultFilter. |
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 |
Gets the object of IntermediateResultManager . |