Result = {
foundLocations : Rect [] ,
foundWeights : number []
}
detectMultiScale ( img : Mat , hitThreshold : number = 0.0 , winStride : Size = Size() , padding : Size = Size() , scale : number = 1.05 , finalThreshold : number = 2.0 , useMeanshiftGrouping : boolean = false ) : Result
detectMultiScaleAsync ( img : Mat , hitThreshold : number = 0.0 , winStride : Size = Size() , padding : Size = Size() , scale : number = 1.05 , finalThreshold : number = 2.0 , useMeanshiftGrouping : boolean = false ) : Promise < Result >
detectMultiScaleAsync ( img : Mat , hitThreshold : number = 0.0 , winStride : Size = Size() , padding : Size = Size() , scale : number = 1.05 , finalThreshold : number = 2.0 , useMeanshiftGrouping : boolean = false , ...opts , callback ( err : Error , Result res )) : void