I need to draw a dotted outline on a image according to its shape. how to draw the path according to the object shape? Attached an sample image .

Please suggest some idea
I need to draw a dotted outline on a image according to its shape. how to draw the path according to the object shape? Attached an sample image .

Please suggest some idea