SmartLineSegmentOperator Database Property Cognex VisionPro 9.22

Gets the database which contains the training data.

Namespace: Cognex.Vision.SmartLine
Assembly: Cognex.Vision.SmartLine.Net (in Cognex.Vision.SmartLine.Net.dll) Version: 9.22.2.0
Syntax

public TrainDataDatabase Database { get; }

Property Value

Type: TrainDataDatabase

Implements

ISegment Database
Remarks

A InvalidOperationException will occur if Adding/Replacing TrainData(Assignment) would lead to multiple line segments being assigned to the same class for a single TrainData.

See Also