objdetect

CascadeClassifier

constructors

constructor ( xmlFilePath : string )

functions

detectMultiScale

Result = {
objects : Rect [] ,
numDetections : int []
}
detectMultiScale ( img : Mat , scaleFactor : number = 1.1 , minNeighbors : int = 3 , flags : uint = 0 , minSize : Size = Size() , maxSize : Size = Size() ) : Result
detectMultiScaleAsync ( img : Mat , scaleFactor : number = 1.1 , minNeighbors : int = 3 , flags : uint = 0 , minSize : Size = Size() , maxSize : Size = Size() ) : Promise < Result >
detectMultiScaleAsync ( img : Mat , scaleFactor : number = 1.1 , minNeighbors : int = 3 , flags : uint = 0 , minSize : Size = Size() , maxSize : Size = Size() , ...opts , callback ( err : Error , Result res )) : void

detectMultiScaleGpu

Result : Rect []
detectMultiScaleGpu ( img : Mat , scaleFactor : number = 1.1 , minNeighbors : int = 3 , flags : uint = 0 , minSize : Size = Size() , maxSize : Size = Size() ) : Result

detectMultiScaleWithRejectLevels

Result = {
objects : Rect [] ,
rejectLevels : int [] ,
levelWeights : number []
}
detectMultiScaleWithRejectLevels ( img : Mat , scaleFactor : number = 1.1 , minNeighbors : int = 3 , flags : uint = 0 , minSize : Size = Size() , maxSize : Size = Size() ) : Result
detectMultiScaleWithRejectLevelsAsync ( img : Mat , scaleFactor : number = 1.1 , minNeighbors : int = 3 , flags : uint = 0 , minSize : Size = Size() , maxSize : Size = Size() ) : Promise < Result >
detectMultiScaleWithRejectLevelsAsync ( img : Mat , scaleFactor : number = 1.1 , minNeighbors : int = 3 , flags : uint = 0 , minSize : Size = Size() , maxSize : Size = Size() , ...opts , callback ( err : Error , Result res )) : void