Constructors
constructor
- new CascadeClassifier(xmlFilePath): CascadeClassifier
Methods
detectMultiScale
- detectMultiScale(img, opts): DetectMultiScaleRet
- detectMultiScale(img, scaleFactor?, minNeighbors?, flags?, minSize?, maxSize?): DetectMultiScaleRet
Parameters
Optional
scaleFactor: number
Optional
minNeighbors: number
Optional
flags: number
Optional
minSize: Size
Optional
maxSize: Size
detectMultiScaleAsync
- detectMultiScaleAsync(img, opts): Promise<DetectMultiScaleRet>
- detectMultiScaleAsync(img, scaleFactor?, minNeighbors?, flags?, minSize?, maxSize?): Promise<DetectMultiScaleRet>
Parameters
Optional
scaleFactor: number
Optional
minNeighbors: number
Optional
flags: number
Optional
minSize: Size
Optional
maxSize: Size
detectMultiScaleGpu
- detectMultiScaleGpu(img, opt): DetectMultiScaleRet
- detectMultiScaleGpu(img, scaleFactor?, minNeighbors?, flags?, minSize?, maxSize?): DetectMultiScaleRet
Parameters
Optional
scaleFactor: number
Optional
minNeighbors: number
Optional
flags: number
Optional
minSize: Size
Optional
maxSize: Size
detectMultiScaleGpuAsync
- detectMultiScaleGpuAsync(img, opt): Promise<DetectMultiScaleRet>
- detectMultiScaleGpuAsync(img, scaleFactor?, minNeighbors?, flags?, minSize?, maxSize?): Promise<DetectMultiScaleRet>
Parameters
Optional
scaleFactor: number
Optional
minNeighbors: number
Optional
flags: number
Optional
minSize: Size
Optional
maxSize: Size
detectMultiScaleWithRejectLevels
- detectMultiScaleWithRejectLevels(img, opt): DetectMultiScaleWithRejectLevels
- detectMultiScaleWithRejectLevels(img, scaleFactor?, minNeighbors?, flags?, minSize?, maxSize?): DetectMultiScaleWithRejectLevels
Parameters
Optional
scaleFactor: number
Optional
minNeighbors: number
Optional
flags: number
Optional
minSize: Size
Optional
maxSize: Size
detectMultiScaleWithRejectLevelsAsync
- detectMultiScaleWithRejectLevelsAsync(img, opt): Promise<DetectMultiScaleWithRejectLevels>
- detectMultiScaleWithRejectLevelsAsync(img, scaleFactor?, minNeighbors?, flags?, minSize?, maxSize?): Promise<DetectMultiScaleWithRejectLevels>
Parameters
Optional
scaleFactor: number
Optional
minNeighbors: number
Optional
flags: number
Optional
minSize: Size
Optional
maxSize: Size