# Filling blobs or key points in opencv

**URL:** <https://forum.opencv.org/t/filling-blobs-or-key-points-in-opencv/6245>\
**Category:** Python\
**Created:** [November 17, 2021, 3:24am UTC](https://forum.opencv.org/t/filling-blobs-or-key-points-in-opencv/6245 "2021-11-17T03:24:04Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![humza\_satti](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.opencv.org/humza_satti/32/3785_2.png) [@humza\_satti](https://forum.opencv.org/u/humza_satti)\
**Post date:** [November 17, 2021, 3:24am UTC](https://forum.opencv.org/t/filling-blobs-or-key-points-in-opencv/6245/1 "2021-11-17T03:24:04Z")

</div>

I found the solution

---

<div class="post-metadata">

**Author:** ![crackwitz](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.opencv.org/crackwitz/32/14_2.png) [@crackwitz](https://forum.opencv.org/u/crackwitz)\
**Post date:** [November 17, 2021, 6:08pm UTC](https://forum.opencv.org/t/filling-blobs-or-key-points-in-opencv/6245/2 "2021-11-17T18:08:32Z")

</div>

opencv has floodfill.

if you have issues with non-binary values on the borders, work with masks and dilate instead.

if filling isn’t what you want, you should look for a word that does describe your intent.
