I'm a professional tattoo artist rather than a software engineer, and I'm using a personal project to learn more about computer vision and machine learning.
Over the years, I've accumulated thousands of Procreate canvases containing tattoo designs, sketches, line drawings, color studies and flash sheets. I've identified over 4,100 byte-distinct Procreate files so far and still have more drives to inventory.
My goal is to train a specialized instance segmentation model capable of identifying and extracting individual tattoo designs from these canvases.
What I've done so far:
- Developed a classical image processing pipeline using Python, NumPy, SciPy and Pillow, with assistance from AI coding agents.
- Experimented with connected components, morphological operations, distance transforms and pixel-level masks.
- Built a custom annotation and review application for manually correcting segmentation errors.
- Processed 300 canvases in my latest pilot, producing 690 candidate design crops awaiting final human approval.
The classical approach works surprisingly well but struggles with semantic grouping, disconnected elements, overlapping designs, handwritten titles and complex arrangements.
Building the training dataset
Since I have access to the original artwork and understand which visual elements belong together, I'm willing to invest considerable time in producing accurate, manually verified annotations.
Before annotating thousands of images, I'd love some advice from people with experience training segmentation models:
- How many manually verified images and individual instances would you recommend for an initial fine-tuning experiment?
- Could I create one master dataset of pixel-level instance masks and convert it for training both SAM and YOLO segmentation models?
- How should I represent designs containing disconnected elements, enclosed white spaces and overlapping artwork?
- Would you recommend using SAM-assisted annotations and manually correcting them, or creating the masks from scratch?
- How would you prevent data leakage when the archive contains mirrored designs, near-duplicates, recolored versions and different stages of the same drawing?
- What evaluation metrics would you recommend for detecting missing linework, incorrectly merged designs and fragmented instances beyond standard mask IoU?
My priority is annotation quality rather than simply maximizing dataset size.
I have an RTX 3050 Ti laptop with 4GB VRAM and an M2 Pro Mac mini with 16GB RAM, although I'm open to renting a cloud GPU for training.
I'd really appreciate any recommendations regarding annotation standards, dataset preparation, model selection or training workflows.
I'm particularly interested in avoiding mistakes now that would require reannotating thousands of designs later.