# \#line

**URL:** https://forum.opencv.org/tag/line/81.md

[Latest](https://forum.opencv.org/latest.md) · [Categories](https://forum.opencv.org/categories.md) · [Tags](https://forum.opencv.org/tags.md)

---

## [Why draw a line don't produce a line with exact line thickness?](https://forum.opencv.org/t/why-draw-a-line-dont-produce-a-line-with-exact-line-thickness/9674)

<div class="topic-metadata">

**Author:** [@sn4k3](https://forum.opencv.org/u/sn4k3)\
**Replies:** 5\
**Last updated:** [July 31, 2022, 3:22pm UTC](https://forum.opencv.org/t/why-draw-a-line-dont-produce-a-line-with-exact-line-thickness/9674 "2022-07-31T15:22:18Z")

</div>

I’ve notice that drawing a line does not produce a line with the exact thickness. For example a line thickness of 15px draw a line with exactly 17 px of thickness, why is that? See the following example: line(img, …
