# Detecting specific shapes

**URL:** <https://forum.opencv.org/t/detecting-specific-shapes/5319>\
**Category:** Python\
**Created:** [September 22, 2021, 6:29am UTC](https://forum.opencv.org/t/detecting-specific-shapes/5319 "2021-09-22T06:29:27Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gau09](https://avatars.discourse-cdn.com/v4/letter/g/fbc32d/32.png) [@Gau09](https://forum.opencv.org/u/Gau09)\
**Post date:** [September 22, 2021, 6:29am UTC](https://forum.opencv.org/t/detecting-specific-shapes/5319/1 "2021-09-22T06:29:27Z")

</div>

Hi,  
Would it be possible to use OpenCV to recognize a certain shape ?  
In my project i need to be able if a certain part has been placed in a specific location.

If you have any recommendation that could get me started I would be very glad to hear from you.

---

<div class="post-metadata">

**Author:** ![berak](https://avatars.discourse-cdn.com/v4/letter/b/85f322/32.png) [@berak](https://forum.opencv.org/u/berak)\
**Post date:** [September 22, 2021, 6:37am UTC](https://forum.opencv.org/t/detecting-specific-shapes/5319/2 "2021-09-22T06:37:06Z")

</div>

an example image would be helpful

---

<div class="post-metadata">

**Author:** ![Gau09](https://avatars.discourse-cdn.com/v4/letter/g/fbc32d/32.png) [@Gau09](https://forum.opencv.org/u/Gau09)\
**Post date:** [September 22, 2021, 7:04am UTC](https://forum.opencv.org/t/detecting-specific-shapes/5319/3 "2021-09-22T07:04:06Z")

</div>

![IMG-1817 (1)](https://us1.discourse-cdn.com/flex020/uploads/opencv/original/2X/0/03821d52364ee3626d916be2c4dcc1056ce2a855.jpeg)

This would be the part that i want to detect

---

<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:** [September 22, 2021, 11:27am UTC](https://forum.opencv.org/t/detecting-specific-shapes/5319/4 "2021-09-22T11:27:15Z")

</div>

will the camera move? will the object move?

---

<div class="post-metadata">

**Author:** ![Gau09](https://avatars.discourse-cdn.com/v4/letter/g/fbc32d/32.png) [@Gau09](https://forum.opencv.org/u/Gau09)\
**Post date:** [September 27, 2021, 9:32am UTC](https://forum.opencv.org/t/detecting-specific-shapes/5319/5 "2021-09-27T09:32:40Z")

</div>

@crackwitz The camera wont be moving but the object will.
