ASL Gesture Detector (YOLO11n, MediaPipe boxes)
This model detects American Sign Language (ASL) alphabet gestures (A–Y, no J/Z) in images and video. It is intended for use in gesture-controlled systems, e.g., commanding a mobile robot swarm.
Model details
- Architecture: YOLO11n (Ultralytics)
- Input size: 416×416
- Classes (25): A, B, C, D, E, F, G, H, I, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y
(J and Z are not present in the dataset.) - Training framework: Ultralytics YOLO
Dataset
Trained on a custom YOLO-format dataset derived from:
Details about the conversion (MediaPipe-based bounding boxes, train/val split, class list) are in dataset_info.md.
Metrics
Validation metrics (val split, 496 images):
- Precision: 0.989
- Recall: 0.986
- mAP50: 0.99
- mAP50–95: 0.936
Per-class metrics are available in the training logs.
Usage
With Ultralytics (PyTorch)
from ultralytics import YOLO
import cv2
model = YOLO("asl_yolo11n_mp_best.pt")
cap = cv2.VideoCapture(0)
while True:
ret, frame = cap.read()
if not ret:
break
results = model(frame, conf=0.7, iou=0.45, verbose=False)
boxes = results.boxes
if len(boxes) > 0:
cls = int(boxes.cls)
conf = float(boxes.conf)
letter = model.names[cls]
print(f"Detected: {letter} (conf={conf:.2f})")
cv2.imshow("frame", frame)
if cv2.waitKey(1) & 0xFF == ord("q"):
break
cap.release()
cv2.destroyAllWindows()
With a gesture_swarm package
from gesture_swarm.detector import GestureDetector
detector = GestureDetector("asl_yolo11n_mp_best.pt", conf_thresh=0.7)
# frame: OpenCV BGR image (e.g., from cv2.VideoCapture)
letter = detector.detect_from_frame(frame)
if letter is not None:
print("Detected letter:", letter)
You can integrate this detector into a pipeline that accumulates letters into words and maps them to swarm commands (e.g., A=stop, B=go, L=left, R=right, U=up, D=down).
Intended use
- Real-time gesture recognition for human–robot interaction.
- Mapping ASL letters to commands for a mobile robot swarm.
- Prototyping gesture-based interfaces in research and education.
Limitations
- Trained on relatively controlled images; performance may drop in very cluttered or low-light environments.
- No J or Z class.
- Single-hand detection; multi-hand scenarios are not explicitly modeled.
- Not evaluated for safety-critical applications.
How to cite
If you use this model in a paper, project report, or demo, please cite it as:
@misc{jdanoff2026aslgestureyolo11nmp,
author = {Alexander Jdanoff},
title = {{ASL Gesture Detector (YOLO11n, MediaPipe boxes)}},
year = {2026},
howpublished = {\url{[https://huggingface.co/ajdanoff/asl-gesture-yolo11n-mp](https://huggingface.co/ajdanoff/asl-gesture-yolo11n-mp)}},
note = {YOLO11n model for ASL alphabet (A–Y) gesture detection, trained with MediaPipe-based bounding boxes.}
}
In text, you can refer to it as:
“We use the ASL Gesture Detector (YOLO11n, MediaPipe boxes) [Jdanoff, 2026], available at https://huggingface.co/ajdanoff/asl-gesture-yolo11n-mp.”
License & acknowledgements
Model weights and code: MIT License (see LICENSE).
Dataset: see the original Kaggle dataset license and attribution requirements.
This project uses: