Search Results for

    Show / Hide Table of Contents

    Class LatentSvmDetector

    Represents a trained latent SVM detector.

    Inheritance
    Object
    CVHandle
    LatentSvmDetector
    Namespace: OpenCV.Net
    Assembly: OpenCV.Net.dll
    Syntax
    public class LatentSvmDetector : CVHandle

    Methods

    | Improve this Doc View Source

    DetectObjects(IplImage, MemStorage, Single, Int32)

    Find rectangular regions in the given image that are likely to contain objects and corresponding confidence levels.

    Declaration
    public Seq DetectObjects(IplImage image, MemStorage storage, float overlapThreshold = 0.5F, int numThreads = null)
    Parameters
    Type Name Description
    IplImage image

    The input image on which to detect objects.

    MemStorage storage

    Memory storage to store the resultant sequence of the object candidate rectangles.

    Single overlapThreshold

    Threshold for the non-maximum suppression algorithm.

    Int32 numThreads

    Number of threads used in parallel version of the algorithm.

    Returns
    Type Description
    Seq

    A sequence of detected objects of type ObjectDetection.

    | Improve this Doc View Source

    Load(String)

    Loads trained detector from a file.

    Declaration
    public static LatentSvmDetector Load(string fileName)
    Parameters
    Type Name Description
    String fileName

    Name of the file containing the description of a trained detector.

    Returns
    Type Description
    LatentSvmDetector

    A newly created instance of the LatentSvmDetector class.

    | Improve this Doc View Source

    ReleaseHandle()

    Executes the code required to free the native LatentSvmDetector handle.

    Declaration
    protected override bool ReleaseHandle()
    Returns
    Type Description
    Boolean

    true if the handle is released successfully; otherwise, in the event of a catastrophic failure, false.

    • Improve this Doc
    • View Source
    In This Article
    Back to top Generated by DocFX