Click or drag to resize

TextDetectorCNNCreate Method (String, String, IEnumerableSize)

Creates an instance of the TextDetectorCNN class using the provided parameters.

Namespace:  OpenCvSharp
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax
public static TextDetectorCNN Create(
	string modelArchFilename,
	string modelWeightsFilename,
	IEnumerable<Size> detectionSizes
)

Parameters

modelArchFilename
Type: SystemString
the relative or absolute path to the prototxt file describing the classifiers architecture.
modelWeightsFilename
Type: SystemString
the relative or absolute path to the file containing the pretrained weights of the model in caffe-binary form.
detectionSizes
Type: System.Collections.GenericIEnumerableSize
a list of sizes for multiscale detection. The values`[(300,300),(700,500),(700,300),(700,700),(1600,1600)]` are recommended in @cite LiaoSBWL17 to achieve the best quality.

Return Value

Type: TextDetectorCNN

[Missing <returns> documentation for "M:OpenCvSharp.TextDetectorCNN.Create(System.String,System.String,System.Collections.Generic.IEnumerable{OpenCvSharp.Size})"]

See Also