# How can I do this?

**URL:** https://forum.opencv.org/t/how-can-i-do-this/24673
**Category:** Python
**Created:** [August 8, 2026, 7:11am UTC](https://forum.opencv.org/t/how-can-i-do-this/24673 "2026-08-08T07:11:15Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![MuhammadU](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.opencv.org/muhammadu/32/14400_2.png) [@MuhammadU](https://forum.opencv.org/u/MuhammadU)
#### Post date: [August 8, 2026, 7:11am UTC](https://forum.opencv.org/t/how-can-i-do-this/24673/1 "2026-08-08T07:11:15Z")

</div>

I am attaching example photos below. Is it possible to trace any image as polygon, as shown in the images below? If anybody knows, please let me know. TIA!!

s

 ![image](https://us1.discourse-cdn.com/flex020/uploads/opencv/original/2X/c/c1d9e93d009a03c24c487cf3f785f1b4214488e9.jpeg)

 ![image](https://us1.discourse-cdn.com/flex020/uploads/opencv/original/2X/2/284d4697314e2b1ef1558cdf3786fab52832bd9d.jpeg)
