Class SegmentationEngine
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: SaigeVision.Net.V2.Segmentation
Assembly: SaigeVision.Net.V2.dll
Syntax
public class SegmentationEngine : InspectionEngine<SegmentationOption, SegmentationResult>, IInspectionEngine<SegmentationOption, SegmentationResult>, IDisposable
Constructors
View SourceSegmentationEngine(string, int)
Declaration
public SegmentationEngine(string model, int gpuNumber)
Parameters
| Type | Name | Description |
|---|---|---|
| string | model | |
| int | gpuNumber |
Methods
View SourceGetInferenceOption()
Declaration
public override SegmentationOption GetInferenceOption()
Returns
| Type | Description |
|---|---|
| SegmentationOption |
Overrides
SaigeVision.Net.V2.InspectionEngine<SaigeVision.Net.V2.Segmentation.SegmentationOption, SaigeVision.Net.V2.Segmentation.SegmentationResult>.GetInferenceOption()
View Source
GetResult()
Declaration
public override SegmentationResult GetResult()
Returns
| Type | Description |
|---|---|
| SegmentationResult |
Overrides
SaigeVision.Net.V2.InspectionEngine<SaigeVision.Net.V2.Segmentation.SegmentationOption, SaigeVision.Net.V2.Segmentation.SegmentationResult>.GetResult()
View Source
GetResults()
Declaration
public override SegmentationResult[] GetResults()
Returns
| Type | Description |
|---|---|
| SegmentationResult[] |
Overrides
SaigeVision.Net.V2.InspectionEngine<SaigeVision.Net.V2.Segmentation.SegmentationOption, SaigeVision.Net.V2.Segmentation.SegmentationResult>.GetResults()
View Source
SetInferenceOption(SegmentationOption, bool)
Declaration
public override void SetInferenceOption(SegmentationOption option, bool writeModelFile = false)
Parameters
| Type | Name | Description |
|---|---|---|
| SegmentationOption | option | |
| bool | writeModelFile |
Overrides
SaigeVision.Net.V2.InspectionEngine<SaigeVision.Net.V2.Segmentation.SegmentationOption, SaigeVision.Net.V2.Segmentation.SegmentationResult>.SetInferenceOption(SaigeVision.Net.V2.Segmentation.SegmentationOption, bool)
Implements
System.IDisposable