← All projects

SwarmGesture

02 / 10
CRAZYFLIE / AI PROJECT

One hand.
Nineteen moving points.

Hand-gesture recognition meets simulated drone choreography.
Ongoing project
ContextMaster’s AI project / Winter 2026–27
InputWebcam / Six hand gestures
ToolsPython / MediaPipe / SVM / ROS 2 Jazzy / Crazyswarm2
Current stageSimulation prototype / Hardware flight unvalidated
SIMULATED CHOREOGRAPHYA recording of the 3D formation preview. Colored markers represent simulated drones; this is not footage of physical flight.
ONGOING / SWARMGESTURE

From a hand gesture
to a moving formation.

SwarmGesture explores how a webcam and a small set of hand gestures can become an interface for drone choreography.

The project began with the idea of controlling a few Crazyflie drones without a conventional controller. It has developed into a nineteen-drone simulation preview with continuous formations, color patterns, and transitions between shapes.

This is an ongoing master’s AI project. The current focus is the connection between gesture recognition and simulated motion; real-world flight remains a separate validation step.

PERCEPTION & INPUT

Recognise the gesture.
Wait for a clear intention.

MediaPipe detects 21 hand landmarks from the webcam. A shared feature extractor turns those points into 63 normalised coordinates, and a trained support vector machine classifies six gestures: fist, OK, one finger, open palm, peace, and three fingers.

The project’s AI work is in collecting labelled landmark samples, training and evaluating the gesture classifier, and connecting predictions to motion. MediaPipe provides the hand detector.

A gesture gate requires stable input and suppresses repeated triggers before sending labels over UDP from the Windows application to the ROS 2 system in Ubuntu through WSL. Takeoff requires manual arming; an open palm requests a return to the grid followed by landing.

WebcamMediaPipe landmarksSVM & stability gateUDP / ROS 2Formation preview
MOTION & SIMULATION

Shapes that keep moving.

The current ideal-motion preview includes a pulsing heart, a travelling sine wave, a rotating spiral, a full-to-half moon outline, and a moving 3D helix. Peace, three fingers, and OK select the heart, wave, and spiral; the newer moon and helix are available through keyboard controls and the demo sequence.

Motion models define position, velocity, and acceleration independently of ROS. Shared trajectory code connects formations with smooth transitions, while RViz colors follow the formation’s actual pose.

Transition checks evaluate planned point trajectories for separation and altitude. These checks apply to the ideal preview and do not establish rotor clearance or account for physical tracking errors.

EARLY CLASSIFIER RESULTS

A promising first result.
More testing ahead.

The supplied evaluation captures show 218 correct predictions across 220 samples, or approximately 99.09% accuracy. Four classes have no errors in this run; peace and three fingers are confused once in each direction.

This is an early classifier result. The images do not establish whether test participants or recording sessions were independent of training. Broader testing across people, lighting, and camera angles is needed before claiming general performance. This result also does not measure camera-to-command latency or flight success.

Six-class confusion matrix: 43 fist, 34 OK, 38 one-finger, 26 palm, 33 peace, and 44 three-finger samples correctly classified; one peace and one three-finger sample confused with each other
CONFUSION MATRIXCell counts show predictions; color intensity represents the share within each actual gesture class.
Classification report for 220 samples, with accuracy 0.9909, and rounded macro and weighted precision, recall, and F1 scores of 0.99
CLASSIFIER REPORTPrecision, recall, F1 score, and sample support for the same early evaluation.
HARDWARE & NEXT STEPS

Working toward
the physical swarm.

The team visited the drone lab and 3D printed propeller protectors during the initial preparation. The hardware photo shows a Crazyflie quadrotor with an attached positioning deck, still in its packaging.

Physical flight has not been validated. The next work includes broader recognition evaluation and testing the assumptions behind simulated motion against a suitable tracking setup, independent stop controls, and real hardware constraints.

IN DEVELOPMENT

The simulation is the current demonstration. Hardware trials and further interaction experiments remain part of the ongoing project.

Crazyflie quadrotor with four propellers and an attached positioning deck, photographed in protective packaging during hardware preparation
CRAZYFLIE HARDWARELab hardware prepared for future testing. The photo documents the platform, rather than a flight test.