flutter_hand_gesture library

Flutter Hand Gesture - Real-time hand gesture recognition package by KalaiNova Infotech (kalainovainfotech.com)

Usage:

final detector = HandGestureDetector();
await detector.initialize();
detector.gestureStream.listen((gesture) {
  print('Detected: ${gesture.type}');
});

Classes

CustomGestureTrainer
Allows users to train and recognize custom hand gestures.
Finger
The five fingers of a hand, used to describe a static gesture pattern independently of raw landmark coordinates.
FingerPatternSynthesizer
Converts a high-level Finger → FingerState map into synthetic HandLandmarks that are geometrically consistent with the existing rule-based classifier and KNN trainer.
GestureActionMapper
Maps gestures and named sequences to application-defined action strings.
GestureCameraView
A ready-to-use camera widget with hand gesture detection overlay.
GestureClassifier
Rule-based gesture classifier using landmark geometry. No external ML model needed for built-in gestures.
GestureConfig
Configuration for the hand gesture detector
GestureResult
Full result from one detection frame
GestureSequence
An ordered sequence of gestures that, when performed in order, fire as a single named action.
GestureSequenceRecognizer
Recognizes ordered sequences of gestures as single named actions.
HandGesture
Represents a detected hand gesture
HandGestureDetector
Main detector class. Processes camera frames and emits gesture results.
HandLandmark
A single 3D hand landmark point
HandLandmarkPainter
Paints hand landmark skeleton overlay on top of camera preview
HandLandmarks
Complete set of 21 landmarks for one hand
HandResult
Result for a single detected hand
IslAlphabetPreset
A ready-made preset of ISL fingerspelling signs for the first five Tamil vowels (அ, ஆ, இ, ஈ, உ).
IslAlphabetSign
A single Indian Sign Language (ISL) fingerspelling sign for a Tamil vowel (உயிர் எழுத்து), described as a static finger pattern.
NormalizedRect
Normalized bounding rectangle
SequenceProgressPainter
Draws a step-dot progress indicator for one or more gesture sequences.
SignPattern
Common interface implemented by preset signs so a SignRecognizer can match any sign type by shape, orientation, and motion.
SignRecognizer<T extends SignPattern>
Recognizes SignPatterns (Tamil or ISL signs) from live hand landmarks, combining three cues so signs that share a finger shape no longer collide:
TamilSign
A single Tamil / Indian Sign Language (ISL) hand sign described as a static finger pattern.
TamilSignPreset
A ready-made preset of Tamil / ISL hand signs.

Enums

FingerState
Whether a Finger is extended (straight) or folded (curled into the palm).
GestureType
Enum of all supported built-in hand gestures
Handedness
Which hand was detected
HandOrientation
The direction a hand/finger points, used to disambiguate signs that share a finger pattern but differ in orientation (e.g. thumbs-up vs thumbs-down).
LandmarkIndex
MediaPipe hand landmark indices (21 points) Declared in MediaPipe order so each value's built-in Enum.index (0–20) matches its landmark index.
SignMotion
A motion requirement for a sign, used to disambiguate signs that share a finger pattern but differ in movement (e.g. a static vs wagging index).