Class OpenCVDifferencebasedObjectDetector

  • All Implemented Interfaces:
    ObjectDetector<org.opencv.core.Mat,​org.opencv.core.Point,​org.opencv.core.Rect>

    public class OpenCVDifferencebasedObjectDetector
    extends AbstractDifferencebasedObjectDetector<org.opencv.core.Mat,​org.opencv.core.Point,​org.opencv.core.Rect>

    opencv implementation of a difference based Object Detector. Detects Object based on differences between the reference image and the input image

    Since:
    1.0
    Author:
    Christoph Praschl
    • Constructor Detail

      • OpenCVDifferencebasedObjectDetector

        public OpenCVDifferencebasedObjectDetector()
    • Method Detail

      • getBoundingBox

        public RectangleWrapper<org.opencv.core.Rect,​org.opencv.core.Point> getBoundingBox​(ImageWrapper<org.opencv.core.Mat> image)
        Method for detecting an object based on the differences between the reference image and the input image. If no reference image is set, first input image will be used as reference image.
        Parameters:
        image - Image where object should be detected
        Returns:
        Returns the boundingbox of the detected object.