diff --git a/main.py b/main.py index 990887d..601deab 100644 --- a/main.py +++ b/main.py @@ -160,7 +160,7 @@ for c in cnts: dimA = dA / pixelsPerMetric dimB = dB / pixelsPerMetric - if num == num: + if num == selected: iteml = larger(dimA, dimB) print("Screw Length (RAW): " + str(iteml)) iteml = sizeVexScrew(iteml)