detect

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

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

Return

List of palms or an empty list when no palms are detected.

Parameters

limit

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

Throws

If DOT Palm library is not activated.