• Getting Started
  • Development Guide
  • API Reference
  • Release Notes
Search Results for

    Show / Hide Table of Contents
    • Saige.Infrastructure
      • GpuDetectedEventArgs
      • IGpuService
      • NvGpuService
      • PhysicalGpu
    • SaigeVision.Core
      • AugmentationParams
      • ClassInfo
      • DetTrainingOptions
      • Ellipse
      • EngineAlgorithm
      • EngineMetadata
      • IEnumerableExtensions
      • Label
      • Label<T>
      • LabeledImage<T>
      • NetworkDepthOption
      • NetworkParams
      • Range
      • SaigeVisionApp
      • SegTrainingOptions
      • SrImage
      • SrImageDataHandle
      • StringExtensions
      • TrainingOptions
    • SaigeVision.Core.Inference
      • ClassificationEngine
      • ClassificationReport
      • ClsInspectionOptions
      • ContourInspectionOptions
      • CropLargePatchMode
      • DetectedBox
      • DetectionEngine
      • DetectionReport
      • DetInspectionOptions
      • EngineInfoSerializer
      • EngineLoader
      • InspectException
      • InspectionOptions
      • ISegmentationResult
      • OcrEngine
      • OcrOptions
      • OcrReport
      • OcrResultStringInfo
      • ScoreValues<T>
      • SegContourResult
      • SegInspectionOptions
      • SegmentationEngine
      • SegmentationExtensions
      • SegmentationReport<T>
      • SegmentationReport<T1, T2>
      • SegScoremapResult
      • SizeCalculationType
    • SaigeVision.Core.Shapes
      • Box
      • Contour
      • Shape<T>

    Class EngineInfoSerializer

    Inheritance
    object
    EngineInfoSerializer
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: SaigeVision.Core.Inference
    Assembly: SaigeVision.Core.Inference.dll
    Syntax
    public class EngineInfoSerializer

    Methods

    View Source

    DeserializeClsEngine(Stream)

    Declaration
    public (IReadOnlyList<ClassInfo>, EngineMetadata, TrainingOptions, ClsInspectionOptions) DeserializeClsEngine(Stream xmlDataStream)
    Parameters
    Type Name Description
    Stream xmlDataStream
    Returns
    Type Description
    (IReadOnlyList<ClassInfo>, EngineMetadata, TrainingOptions, ClsInspectionOptions)
    View Source

    DeserializeSegEngine(Stream)

    Declaration
    public (IReadOnlyList<ClassInfo>, EngineMetadata, SegTrainingOptions, SegInspectionOptions) DeserializeSegEngine(Stream xmlDataStream)
    Parameters
    Type Name Description
    Stream xmlDataStream
    Returns
    Type Description
    (IReadOnlyList<ClassInfo>, EngineMetadata, SegTrainingOptions, SegInspectionOptions)
    View Source

    ReadAugParamsFrom(XElement)

    Declaration
    protected virtual AugmentationParams ReadAugParamsFrom(XElement root)
    Parameters
    Type Name Description
    XElement root
    Returns
    Type Description
    AugmentationParams
    View Source

    ReadClaasInfos(XDocument)

    Declaration
    protected virtual IReadOnlyList<ClassInfo> ReadClaasInfos(XDocument document)
    Parameters
    Type Name Description
    XDocument document
    Returns
    Type Description
    IReadOnlyList<ClassInfo>
    View Source

    ReadClsInspectionOptionsFrom(XDocument)

    Declaration
    protected virtual ClsInspectionOptions ReadClsInspectionOptionsFrom(XDocument document)
    Parameters
    Type Name Description
    XDocument document
    Returns
    Type Description
    ClsInspectionOptions
    View Source

    ReadMetadataFrom(XDocument)

    Declaration
    protected virtual EngineMetadata ReadMetadataFrom(XDocument document)
    Parameters
    Type Name Description
    XDocument document
    Returns
    Type Description
    EngineMetadata
    View Source

    ReadNetworkParamsFrom(XElement)

    Declaration
    protected virtual NetworkParams ReadNetworkParamsFrom(XElement root)
    Parameters
    Type Name Description
    XElement root
    Returns
    Type Description
    NetworkParams
    View Source

    ReadSegInspectionOptionsFrom(XDocument)

    Declaration
    protected virtual SegInspectionOptions ReadSegInspectionOptionsFrom(XDocument document)
    Parameters
    Type Name Description
    XDocument document
    Returns
    Type Description
    SegInspectionOptions
    View Source

    ReadSegTrainingOptions(XDocument)

    Declaration
    protected virtual SegTrainingOptions ReadSegTrainingOptions(XDocument document)
    Parameters
    Type Name Description
    XDocument document
    Returns
    Type Description
    SegTrainingOptions
    View Source

    ReadTrainingOptions(XElement)

    Declaration
    protected virtual TrainingOptions ReadTrainingOptions(XElement element)
    Parameters
    Type Name Description
    XElement element
    Returns
    Type Description
    TrainingOptions
    View Source

    Serialize<T>(T, Stream)

    Declaration
    public void Serialize<T>(T engine, Stream stream) where T : IInspectionEngine
    Parameters
    Type Name Description
    T engine
    Stream stream
    Type Parameters
    Name Description
    T
    View Source

    SerializeClassificationEngine(ClassificationEngine, Stream)

    Declaration
    protected virtual void SerializeClassificationEngine(ClassificationEngine engine, Stream stream)
    Parameters
    Type Name Description
    ClassificationEngine engine
    Stream stream
    View Source

    SerializeSegmentationEngine(SegmentationEngine, Stream)

    Declaration
    protected virtual void SerializeSegmentationEngine(SegmentationEngine engine, Stream stream)
    Parameters
    Type Name Description
    SegmentationEngine engine
    Stream stream
    View Source

    ToRange(XElement)

    Declaration
    protected virtual Range? ToRange(XElement element)
    Parameters
    Type Name Description
    XElement element
    Returns
    Type Description
    Range?
    View Source

    ToXElementFrom(AugmentationParams)

    Declaration
    protected virtual XElement ToXElementFrom(AugmentationParams param)
    Parameters
    Type Name Description
    AugmentationParams param
    Returns
    Type Description
    XElement
    View Source

    ToXElementFrom(EngineMetadata)

    Declaration
    protected virtual XElement ToXElementFrom(EngineMetadata metadata)
    Parameters
    Type Name Description
    EngineMetadata metadata
    Returns
    Type Description
    XElement
    View Source

    ToXElementFrom(ClsInspectionOptions)

    Declaration
    protected virtual XElement ToXElementFrom(ClsInspectionOptions options)
    Parameters
    Type Name Description
    ClsInspectionOptions options
    Returns
    Type Description
    XElement
    View Source

    ToXElementFrom(InspectionOptions, string)

    Declaration
    protected virtual XElement ToXElementFrom(InspectionOptions options, string elementName = null)
    Parameters
    Type Name Description
    InspectionOptions options
    string elementName
    Returns
    Type Description
    XElement
    View Source

    ToXElementFrom(SegInspectionOptions)

    Declaration
    protected virtual XElement ToXElementFrom(SegInspectionOptions options)
    Parameters
    Type Name Description
    SegInspectionOptions options
    Returns
    Type Description
    XElement
    View Source

    ToXElementFrom(NetworkParams)

    Declaration
    protected virtual XElement ToXElementFrom(NetworkParams param)
    Parameters
    Type Name Description
    NetworkParams param
    Returns
    Type Description
    XElement
    View Source

    ToXElementFrom(SegTrainingOptions)

    Declaration
    protected virtual XElement ToXElementFrom(SegTrainingOptions options)
    Parameters
    Type Name Description
    SegTrainingOptions options
    Returns
    Type Description
    XElement
    View Source

    ToXElementFrom(TrainingOptions)

    Declaration
    protected virtual XElement ToXElementFrom(TrainingOptions options)
    Parameters
    Type Name Description
    TrainingOptions options
    Returns
    Type Description
    XElement
    View Source

    ToXElementFrom(IEnumerable<ClassInfo>)

    Declaration
    protected virtual XElement ToXElementFrom(IEnumerable<ClassInfo> classes)
    Parameters
    Type Name Description
    IEnumerable<ClassInfo> classes
    Returns
    Type Description
    XElement
    View Source

    ToXElementFrom(Size, string)

    Declaration
    protected virtual XElement ToXElementFrom(Size size, string elementName)
    Parameters
    Type Name Description
    Size size
    string elementName
    Returns
    Type Description
    XElement
    View Source

    ToXElementFrom(Range?, string)

    Declaration
    protected virtual XElement ToXElementFrom(Range? param, string elementName)
    Parameters
    Type Name Description
    Range? param
    string elementName
    Returns
    Type Description
    XElement
    • View Source
    In This Article
    Back to top Generated by DocFX