Objdetect

Objective-C

@interface Objdetect : NSObject

Swift

class Objdetect : NSObject

The Objdetect module

Member classes: BaseCascadeClassifier, CascadeClassifier, HOGDescriptor, QRCodeDetector

Member enums: HistogramNormType, DescriptorStorageFormat, ObjectStatus

Class Constants

  • Declaration

    Objective-C

    @property (class, readonly) int CASCADE_DO_CANNY_PRUNING

    Swift

    class var CASCADE_DO_CANNY_PRUNING: Int32 { get }
  • Declaration

    Objective-C

    @property (class, readonly) int CASCADE_SCALE_IMAGE

    Swift

    class var CASCADE_SCALE_IMAGE: Int32 { get }
  • Declaration

    Objective-C

    @property (class, readonly) int CASCADE_FIND_BIGGEST_OBJECT

    Swift

    class var CASCADE_FIND_BIGGEST_OBJECT: Int32 { get }
  • Declaration

    Objective-C

    @property (class, readonly) int CASCADE_DO_ROUGH_SEARCH

    Swift

    class var CASCADE_DO_ROUGH_SEARCH: Int32 { get }

Methods

  • Declaration

    Objective-C

    + (void)groupRectangles:(NSMutableArray<Rect2i*>*)rectList weights:(IntVector*)weights groupThreshold:(int)groupThreshold eps:(double)eps NS_SWIFT_NAME(groupRectangles(rectList:weights:groupThreshold:eps:));

    Swift

    class func groupRectangles(rectList: NSMutableArray, weights: IntVector, groupThreshold: Int32, eps: Double)
  • Declaration

    Objective-C

    + (void)groupRectangles:(NSMutableArray<Rect2i*>*)rectList weights:(IntVector*)weights groupThreshold:(int)groupThreshold NS_SWIFT_NAME(groupRectangles(rectList:weights:groupThreshold:));

    Swift

    class func groupRectangles(rectList: NSMutableArray, weights: IntVector, groupThreshold: Int32)