Table of Contents

Class ComputerVisionPipelineFactory

Namespace
AiDotNet
Assembly
AiDotNet.dll

Factory methods for creating computer vision pipelines.

public static class ComputerVisionPipelineFactory
Inheritance
ComputerVisionPipelineFactory
Inherited Members

Methods

CreateDetectionTrackingPipeline<T>(ObjectDetectionOptions<T>?, TrackingOptions<T>?)

Creates a detection and tracking pipeline.

public static AiModelBuilder<T, Tensor<T>, TrackingResult<T>> CreateDetectionTrackingPipeline<T>(ObjectDetectionOptions<T>? detectionOptions = null, TrackingOptions<T>? trackingOptions = null)

Parameters

detectionOptions ObjectDetectionOptions<T>

Detection options.

trackingOptions TrackingOptions<T>

Tracking options.

Returns

AiModelBuilder<T, Tensor<T>, TrackingResult<T>>

Configured builder for detection and tracking.

Type Parameters

T

The numeric type used for calculations.

CreateMaskRCNNPipeline<T>(InstanceSegmentationOptions<T>?)

Creates an instance segmentation pipeline with Mask R-CNN.

public static AiModelBuilder<T, Tensor<T>, InstanceSegmentationResult<T>> CreateMaskRCNNPipeline<T>(InstanceSegmentationOptions<T>? options = null)

Parameters

options InstanceSegmentationOptions<T>

Segmentation options.

Returns

AiModelBuilder<T, Tensor<T>, InstanceSegmentationResult<T>>

Configured builder for instance segmentation.

Type Parameters

T

The numeric type used for calculations.

CreateSceneTextPipeline<T>(OCROptions<T>?)

Creates an OCR pipeline for scene text.

public static AiModelBuilder<T, Tensor<T>, OCRResult<T>> CreateSceneTextPipeline<T>(OCROptions<T>? options = null)

Parameters

options OCROptions<T>

OCR options.

Returns

AiModelBuilder<T, Tensor<T>, OCRResult<T>>

Configured builder for OCR.

Type Parameters

T

The numeric type used for calculations.

CreateYOLOv8Pipeline<T>(ObjectDetectionOptions<T>?)

Creates a detection pipeline with YOLOv8.

public static AiModelBuilder<T, Tensor<T>, DetectionResult<T>> CreateYOLOv8Pipeline<T>(ObjectDetectionOptions<T>? options = null)

Parameters

options ObjectDetectionOptions<T>

Detection options.

Returns

AiModelBuilder<T, Tensor<T>, DetectionResult<T>>

Configured builder for object detection.

Type Parameters

T

The numeric type used for calculations.