Skip to content

Implement tattoo overlay effect on objects in iOS (like Ink AI) Implement mesh warping for tattoo images on cylindrical objects (bottles, cans) with drag gesture #342

@PLKHawaR

Description

@PLKHawaR

I have a screen recording showing an effect I want to replicate in iOS. The effect is similar to tattooing on objects:

A tattoo image is overlaid on the original video or image.

When the underlying object moves, the tattoo bends or curves according to the object's shape.

For example, if there is a bottle in the video and I place the tattoo close to the bottle, the tattoo conforms to the round edges and fits perfectly.

Apps like Ink AI are already doing this. I want to understand how to implement this in iOS.

Questions:

What is this technique called? Is it "mesh warping", "image wrapping", or something else?

How can we detect cylindrical or curved objects in an image after it is captured (not real-time)?

How can we map/bend the tattoo image so that it fits and curves along the detected object?

Are there existing iOS frameworks or libraries (Core Image, Metal, or others) suitable for this?

What would be a good pipeline to implement this effect in iOS?

Any guidance, references, or example implementations would be highly appreciated.

Image Image
ScreenRecording_12-01-2025.11-41-43_1.mp4

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions