Commit e51da942 authored by Inès EL HADRI's avatar Inès EL HADRI 💤

Edit HSV auto tuner margins

parent 8b7e5c2c
......@@ -78,9 +78,9 @@ cv2.destroyWindow('Select region')
H = selectedRegion[:,:,0].flatten()
S = selectedRegion[:,:,1].flatten()
V = selectedRegion[:,:,2].flatten()
hMargin = 15
sMargin = 20
vMargin = 20
hMargin = 13
sMargin = 10
vMargin = 10
low = np.array([min(H) - hMargin, min(S) - sMargin, min(V) - vMargin])
high = np.array([max(H) + hMargin, max(S) + sMargin, max(V) + vMargin])
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment