detect

abstract fun detect(bgraRawImage: BgraRawImage, limit: Int = 1): List<PalmDetector.Palm>

Detect palms in the image. This operation should be called on a background thread.

Return

Detected palms, or empty list if palms were not detected in the image.

Parameters

bgraRawImage

BGRA raw image.

limit

The number of palms to detect. Currently, only one palm detection is supported.