Abstract
As the cost of human forces increases, people in some careers, like the artists, may find some difficulties when models are needed in the processes of making art. Obviously, one alternative solution is to find pictures online, however, when some specific poses are needed, they may also find some difficulties to describe them. This paper develops an application to search for pictures with the target pose described by the user's graphical input. In this project, one hundred images describing distinct actions and activities with various poses and view-angles are collected. Mediapipe is then used to analyze those images in a quantitative way. We also embedded a User Interface that allows the user to imitate the intended pose as well as the viewing angles by simply dragging around body joints of the figure. Different sets of feature points and matching algorithms are also tested to find out the best solution.
1. Introduction
Traditional image retrieval systems rely heavily on text-based string matching. While effective for broad queries, these systems struggle with highly specific spatial requirements, such as an artist needing a reference for a person sitting with a limb at a precise angle. Describing such complex orientations in text is often imprecise and frustrating. This research addresses the gap in visual information retrieval by proposing a "graphical query" language for the human form, allowing users to search for images based on human poses rather than textual descriptions.
2. Methodology
The proposed system is a full-stack application that translates 2D user intent into a searchable query against a database of photographs. The architecture consists of three primary layers: a graphical user interface, a pose extraction module, and a machine learning matching engine.
2.1 Graphical User Interface and Pose Extraction
The front-end features a web-based tool where users interact with a 2D geometric stick figure. By implementing custom Hinge and Joint object classes, the system allows users to drag body parts into desired configurations. To bridge the gap between the 2D UI and 3D photographs, the system utilizes the MediaPipe pose landmark model. This model identifies 32 specific feature points (landmarks) across the human body, providing a quantitative representation of the pose.
2.2 Matching Engine and Dataset
A Python Flask server processes the user-submitted coordinates and matches them against a pre-processed database. The study utilized a custom dataset of 100 images covering various activities (running, jumping, yoga, etc.). Several algorithms were evaluated for matching performance, including Support Vector Machines (SVM), Gaussian Naive Bayes, Random Forest, and Convolutional Neural Networks (CNNs). To ensure robustness, data augmentation and multi-fold cross-validation were employed.
3. Results and Discussion
The evaluation revealed significant insights into model performance and scalability. While Gaussian Naive Bayes and Random Forest models achieved 100% accuracy on smaller datasets, they exhibited signs of overfitting, essentially memorizing the small sample size rather than generalizing.
The SVM model was identified as the most balanced choice. Although its raw training accuracy was occasionally lower than Random Forest, it demonstrated superior reliability in linking user input to database images. On the full 100-image dataset with 7-fold cross-validation, the SVM model achieved a peak accuracy of 97.32%. Furthermore, the system successfully addressed 2D-to-3D translation hurdles by allowing users to adjust component lengths in the UI as a proxy for depth (foreshortening).
4. Conclusion and Future Work
This research demonstrates the feasibility of a pose-to-image search pipeline using raw coordinate data. Current limitations include the relatively small dataset size and the inherent ambiguity of 2D projections of 3D poses (the "silhouette" problem). Future developments will focus on automated web scraper implementation to expand the image library and the integration of 3D body-joint processing or directional toggles to resolve spatial ambiguities.
Summary updated