CRAFT<T>

Models & Types · AiDotNet.ComputerVision.Detection.TextDetection

CRAFT (Character Region Awareness for Text) detector.

Inheritance: ModelBase<T, Tensor<T>, Tensor<T>> → VisionTaskModelBase<T> → TextDetectorBase<T> → CRAFT<T>

For Beginners

CRAFT detects text by identifying individual characters and the connections (affinity) between them. This approach works well for scene text with arbitrary orientations and curved text.

How It Works

Key features:

  • Character region score map
  • Affinity score map (character connections)
  • Works with arbitrary shaped text
  • Good for scene text detection

Reference: Baek et al., “Character Region Awareness for Text Detection”, CVPR 2019

Constructors

Constructor Summary
CRAFT(TextDetectionOptions<T> options) Creates a new CRAFT text detector.

Properties

Property Summary
string Name { get; }

Methods

Method Summary
Task LoadWeightsAsync(string pathOrUrl, CancellationToken cancellationToken)
void SaveWeights(string path)