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
detectionOptionsObjectDetectionOptions<T>Detection options.
trackingOptionsTrackingOptions<T>Tracking options.
Returns
- AiModelBuilder<T, Tensor<T>, TrackingResult<T>>
Configured builder for detection and tracking.
Type Parameters
TThe 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
optionsInstanceSegmentationOptions<T>Segmentation options.
Returns
- AiModelBuilder<T, Tensor<T>, InstanceSegmentationResult<T>>
Configured builder for instance segmentation.
Type Parameters
TThe 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
optionsOCROptions<T>OCR options.
Returns
- AiModelBuilder<T, Tensor<T>, OCRResult<T>>
Configured builder for OCR.
Type Parameters
TThe 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
optionsObjectDetectionOptions<T>Detection options.
Returns
- AiModelBuilder<T, Tensor<T>, DetectionResult<T>>
Configured builder for object detection.
Type Parameters
TThe numeric type used for calculations.