Table of contents

Need better scanning performance?

Get a FREE customized reading template.

SemanticProcessing Object

The SemanticProcessing object specifies tasks to analyze and extract information from image ROI processing results.

Example

{
    "Name": "SP1_PARSE_VIN",
    "ReferenceObjectFilter": {
        "AtomicResultTypeArray": [
            "ART_BARCODE"
        ]
    },
    "TaskSettingNameArray": ["CPT1_PARSE_VIN"]
}

Parameters

Parameter Name Type Required/Optional Description
Name String Required The unique identifier for this SemanticProcessing object.
ReferenceObjectFilter Object Optional Defines filter conditions to select relevant data sources for processing.
TaskSettingNameArray String Array Optional Array of CodeParserTaskSetting object names defining the parsing tasks to execute.

Workflow

The semantic processing workflow involves the following stages:

Prerequisites

A SemanticProcessing object takes effect when its name is referenced in CaptureVisionTemplate.SemanticProcessingNameArray.

Launch Timing

The semantic process triggers only after all recognition tasks referenced in CaptureVisionTemplate.ImageROIProcessingNameArray have been completed.

Data Filtering

The process may involve filtering data to select relevant sources, such as label text matching a specific regular expression or barcodes meeting a specific format. Use ReferenceObjectFilter to specify data filtering criteria.

Task Execution

This is where actual tasks are defined. Use TaskSettingNameArray to specify tasks by referencing CodeParserTaskSetting object names.

Results Reporting

Currently, semantic-processing supports code parsing tasks. Results are returned with the OnParsedResultsReceived callback.

This page is compatible for:

Is this page helpful?

YesYes NoNo

In this article: