Resource Base
Table of contents

CCaptureVisionRouter

The CCaptureVisionRouter 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: dynamsoft::cvr

Assembly: DynamsoftCaptureVisionRouter

class CCaptureVisionRouter

Constructor and Destructor

Method Description
CCaptureVisionRouter Default constructor of CCaptureVisionRouter object.
~CCaptureVisionRouter Destructor of CCaptureVisionRouter object.

Single-File Processing

API Name Description
Capture Processes an image or file to derive important information.

Multiple-File Processing

API Name 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.
AddCaptureStateListener Adds an object that listens to the state changes of the capture process.
RemoveCaptureStateListener Removes an object which listens to the state changes of the capture process.
AddImageSourceStateListener Adds an object that listens to state changes of the image source.
RemoveImageSourceStateListener Removes an object which listens to state changes of the image source.
AddResultReceiver Adds an object as the receiver of captured results.
RemoveResultReceiver Removes an object which was added as a receiver of captured results.
AddResultFilter Adds an object as the filter of captured results.
RemoveResultFilter Removes an object which was added as a filter of captured results.
StartCapturing Starts to process images consecutively.
StopCapturing Stops the consecutive process.

Settings

API Name Description
InitSettings Loads and initializes a template from a string.
InitSettingsFromFile Loads and initializes a template from a file.
OutputSettings Exports a specific CaptureVisionTemplate to a string.
OutputSettingsToFile Exports a specific CaptureVisionTemplate to a file.
GetSimplifiedSettings Retrieves a SimplifiedCaptureVisionSettings object for a specific CaptureVisionTemplate.
UpdateSettings Updates a CaptureVisionTemplate with SimplifiedCaptureVisionSettings object.
ResetSettings Resets all templates to factory settings.

Intermediate Result

The following method returns an CIntermediateResultManager object which allows the application to tap into the algorithmic process.

API Name Description
GetIntermediateResultManager Returns an CIntermediateResultManager object.

Auxiliary

API Name Description
FreeString Frees the memory allocated for a string.

This page is compatible for:

Version 1.0

Is this page helpful?

YesYes NoNo

In this article:

latest version

    • Latest version (2.2.0)
    • Version 2.x
      • Version 2.0.30
      • Version 2.0.20
      • Version 2.0.10
      • Version 2.0.0
    Change +
    © 2003–2024 Dynamsoft. All rights reserved.
    Privacy Statement / Site Map / Home / Purchase / Support