/// Converts string name of the layer to the integer identifier.
/// </summary>
/// <param name="layerName">The name of the layer</param>
/// <returns>The id of the layer</returns>
publicintGetLayerId(StringlayerName)
{
using(CvStringcsLayerName=newCvString(layerName))
@ -168,6 +173,11 @@ namespace Emgu.CV.Dnn
}
}
/// <summary>
/// Returns layer with specified name which the network use.
/// </summary>
/// <param name="layerName">The name of the layer</param>
/// <returns>Layer with specified name which the network use.</returns>
publicLayerGetLayer(StringlayerName)
{
IntPtrsharedPtr=IntPtr.Zero;
@ -177,6 +187,11 @@ namespace Emgu.CV.Dnn
returnnewLayer(sharedPtr,ptr);
}
/// <summary>
/// Returns layer with specified id which the network use.
/// </summary>
/// <param name="layerId">The id of the layer</param>
/// <returns>Layer with specified id which the network use.</returns>
publicLayerGetLayer(intlayerId)
{
IntPtrsharedPtr=IntPtr.Zero;
@ -184,6 +199,9 @@ namespace Emgu.CV.Dnn
returnnewLayer(sharedPtr,ptr);
}
/// <summary>
/// Returns indexes of layers with unconnected outputs.
/// </summary>
publicint[]UnconnectedOutLayers
{
get
@ -196,6 +214,9 @@ namespace Emgu.CV.Dnn
}
}
/// <summary>
/// Returns names of layers with unconnected outputs.
/// </summary>
publicString[]UnconnectedOutLayersNames
{
get
@ -208,6 +229,11 @@ namespace Emgu.CV.Dnn
}
}
/// <summary>
/// Returns overall time for inference and timings (in ticks) for layers. Indexes in returned vector correspond to layers ids. Some layers can be fused with others, in this case zero ticks count will be return for that skipped layers.
/// </summary>
/// <param name="timings">Vector for tick timings for all layers.</param>
/// <returns>Overall ticks for model inference.</returns>
/// Detect QR code in image and return minimum area of quadrangle that describes QR code.
/// </summary>
/// <param name="input">Matrix of the type CV_8U containing an image where QR code are detected.</param>
/// <param name="points">Output vector of vertices of a quadrangle of minimal area that describes QR code.</param>
/// <param name="epsX">Epsilon neighborhood, which allows you to determine the horizontal pattern of the scheme 1:1:3:1:1 according to QR code standard.</param>
/// <param name="epsY">Epsilon neighborhood, which allows you to determine the vertical pattern of the scheme 1:1:3:1:1 according to QR code standard.</param>
/// Applies fixed-level thresholding to single-channel array. The function is typically used to get bi-level (binary) image out of grayscale image (cvCmpS could be also used for this purpose) or for removing a noise, i.e. filtering out pixels with too small or too large values. There are several types of thresholding the function supports that are determined by threshold_type
/// Applies a fixed-level threshold to each array element.
/// The function applies fixed-level thresholding to a multiple-channel array. The function is typically used to get a bi-level (binary) image out of a grayscale image ( compare could be also used for this purpose) or for removing a noise, that is, filtering out pixels with too small or too large values. There are several types of thresholding supported by the function. They are determined by type parameter.
/// </summary>
/// <param name="src">Input array (multiple-channel, 8-bit or 32-bit floating point).</param>
/// <param name="dst">Output array of the same size and type and the same number of channels as src.</param>