Publication Date

12-1-2026

Document Type

Article

Publication Title

Machine Learning with Applications

Volume

26

DOI

10.1016/j.mlwa.2026.101027

Abstract

This paper presents Inklude, an interactive machine learning framework that transforms air-drawn sketches into stylized clay-like visual outputs for interactive creative applications. The system addresses a practical challenge in gesture-based drawing interfaces by enabling users, particularly children and novice drawers, to convert low-fidelity air-drawn sketches into visually expressive representations without text prompts or manual class specification. Inklude combines temporal sketch understanding with conditional image synthesis in a unified two-stage pipeline. In the first stage, hand trajectories extracted using MediaPipe are encoded as a fixed-length normalized offset-plus-pen-state sequence, here termed the Motion Language Matrix (MLM). For the normalized MLM condition, a controlled five-rotation evaluation with distinct validation and test partitions yielded 87.66% ± 0.13% Top-1 accuracy for the Conv1D–BiLSTM–Attention classifier. Top-3 accuracy and F1 were not reported under the same protocol; values from a separate non-independent evaluation were therefore excluded. In the second stage, the predicted category is used to select a class-specific Pix2Pix generator that translates the rasterized sketch into a clay-style image. Sixteen generators are trained on paired sketch–clay datasets constructed from Quick, Draw! sketches and Stable Diffusion XL-generated targets with LoRA-based adaptation. On the Apple M4 CPU implementation, the sum of six instrumented post-load stage times averaged 155.4 ms for trials with an available generator; camera acquisition, MediaPipe tracking, trajectory-JSON loading, and unmeasured interstage overhead were excluded. Evaluation using SSIM, PSNR, LPIPS, FID, and Inception Score characterizes structural fidelity, perceptual similarity, and distributional quality of generated outputs. Cross-dataset experiments on SEVA assess classifier performance on a second sketch benchmark. Overall, Inklude presents a deployable and latency-aware framework for air-drawing recognition and stylized image generation with applications in creative education, interactive art, and child-centered human–computer interaction. On 960 real MediaPipe trials, the classifier achieved 57.3% Top-1 accuracy and an estimated 55.0% end-to-end intended-category success rate; blinded human ratings favored Pix2Pix over the three comparison methods, while a same-backbone representation comparison showed that MLM was input-equivalent to normalized stroke-3 and did not outperform absolute coordinates.

Keywords

Air-drawing recognition, Human–computer interaction, Recognition-conditioned image generation, Stylized image synthesis, Temporal trajectory representation

Creative Commons License

Creative Commons License
This work is licensed under a Creative Commons Attribution-Noncommercial 4.0 License

Department

Applied Data Science

Share

COinS