Sketch Search
Sketch Search is a desktop application designed to help artists find image references from rough sketches. Reference searching is one of the most important but challenging processes when creating illustrations, animations, videos, and other creative projects. This software performs an image retrieval task using a pose estimation model and returns images relevant to the given sketch.
The main goal of this project is to use technology to make creative work, such as illustration and video creation, easier and more enjoyable.
OVERVIEW
Using a fine-tuned YOLO v8 Pose Estimation model to estimate poses for animation illustrations, Sketch Search can accurately estimate poses from a given illustration. Based on these poses, it then runs a nearest neighbors search to find similar image references.
The application runs entirely on-device, meaning no data is sent over the Internet.
TECHNOLOGY
Sketch Search is a native desktop application built with Electron. Thanks to Electron's high compatibility across multiple operating systems, it has the potential to run on any computer (though it currently supports only Windows). For the machine learning model, it uses ONNX Runtime Node to run the model locally with Node.js. Image preprocessing and postprocessing were the most challenging aspects of this project, especially since Node.js was used instead of Python, which is more commonly employed for machine learning tasks.
DATASETS
Source: Bizarre Pose Estimator Model
First we tuned the model with a COCO-compliant illustration dataset with annotations, provided from the Bizarre Pose Estimator Model. After fine-tuning the model with the dataset provided from the Bizarre Pose Estimator, we then tuned the model with our custom dataset, which includes 20 rough sketch illustrations with annotations.
DOWNLOAD
You can download the latest version of Sketch Search from GitHub Releases. Open Releases.
USAGE
In this application, you can upload two types of images: reference images and sketch images. Reference images are those you want to store within the application.
When you first use the application, you need to upload reference images that you own. These are the images you will search through later. Once an image is uploaded, the application automatically runs the pose estimation model and stores the estimated pose data in local storage.
After uploading all your reference images, you can begin searching. Upload a sketch image, and the application will quickly find similar reference images that you previously uploaded.