# Dimensional Analysis of Screw

**URL:** <https://forum.opencv.org/t/dimensional-analysis-of-screw/19034>\
**Category:** Uncategorized\
**Tags:** programming\
**Created:** [October 21, 2024, 10:11am UTC](https://forum.opencv.org/t/dimensional-analysis-of-screw/19034 "2024-10-21T10:11:19Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sarvagya\_Porwal](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.opencv.org/sarvagya_porwal/32/11349_2.png) [@Sarvagya\_Porwal](https://forum.opencv.org/u/Sarvagya_Porwal)\
**Post date:** [October 21, 2024, 10:11am UTC](https://forum.opencv.org/t/dimensional-analysis-of-screw/19034/1 "2024-10-21T10:11:19Z")

</div>

![IMG2841](https://us1.discourse-cdn.com/flex020/uploads/opencv/original/2X/5/54fefa515d2f8a95da4019ae87e31104b581bb23.jpeg)

In this image I aim to estimate the outer and inner diameter of screw.

Regarding outer diameter estimation, I was thinking of coming up with some method to hop from one peak of teeth to next peak… storing the pixel positions of peaks. Then regressing a line on those points. Then fitting a circle with max diameter between the regressed lines to estimate the outer diameter of pixel…

I could not get it to the shape of an algorithm to achieve the task. Please help me out in using OpenCV to complete the task.

Thanks in advance!!

---

<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:** [October 21, 2024, 6:46pm UTC](https://forum.opencv.org/t/dimensional-analysis-of-screw/19034/2 "2024-10-21T18:46:03Z")

</div>

[crosspost](https://meta.stackoverflow.com/a/266159):

[https://stackoverflow.com/staging-ground/79109578](https://stackoverflow.com/staging-ground/79109578)

---

<div class="post-metadata">

**Author:** ![Sarvagya\_Porwal](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.opencv.org/sarvagya_porwal/32/11349_2.png) [@Sarvagya\_Porwal](https://forum.opencv.org/u/Sarvagya_Porwal)\
**Post date:** [October 22, 2024, 2:59am UTC](https://forum.opencv.org/t/dimensional-analysis-of-screw/19034/3 "2024-10-22T02:59:17Z")

</div>

Getting 404 error in shared link

---

<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:** [October 22, 2024, 6:41am UTC](https://forum.opencv.org/t/dimensional-analysis-of-screw/19034/4 "2024-10-22T06:41:08Z")

</div>

yes, because that links to the Stack Overflow “staging ground” that not everyone can access. specifically, logged out SO users can’t see those pages.

---

<div class="post-metadata">

**Author:** ![Sarvagya\_Porwal](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.opencv.org/sarvagya_porwal/32/11349_2.png) [@Sarvagya\_Porwal](https://forum.opencv.org/u/Sarvagya_Porwal)\
**Post date:** [October 22, 2024, 9:37pm UTC](https://forum.opencv.org/t/dimensional-analysis-of-screw/19034/5 "2024-10-22T21:37:34Z")

</div>

I just asked it on multiple platforms to get some insight quickly from somewhere… U just did time-pass stuff of sharing link of my own question on stackoverflow…

AWESOME
