Need to find the centroid of a circular camera image

Oscar Benjamin oscar.j.benjamin at gmail.com
Sun Sep 23 16:24:23 EDT 2018


On Sun, 23 Sep 2018 at 20:45, Gene Heskett <gheskett at shentel.net> wrote:
>
> save the image and locate the centroid of that saved image.
>
> Is there code to do that centroid math in somebodies "bottom desk
> drawer"? Something I could download and control with a bash script which
> I'm fair at?

This is easy enough to in OpenCV. The code at the top of this page
does what you want:

https://docs.opencv.org/3.4.2/dd/d49/tutorial_py_contour_features.html

--
Oscar



More information about the Python-list mailing list