smarsland / pots

1 stars 1 forks source link

Adding angle detection code #1

Closed LittleAri closed 5 years ago

LittleAri commented 5 years ago

Added Python code to Pots repository that finds the average curvature at the "top" and "bottom" of the pot. This will soon be used to detect pots images that have "bad angles". At present, this uses a MGAC (morphological geodesic active contour) to find the contour of the pot. This might be changed in the near to future, to use Sci-kit Learn's Marching Squares Method which is fairly quicker.