mirror of
https://github.com/opencv/opencv.git
synced 2025-06-08 01:53:19 +08:00
fix tuple error
This commit is contained in:
parent
0812207db7
commit
041da57e87
@ -46,7 +46,7 @@ for i in range(src.shape[0]):
|
||||
drawing[i,j,1] = 255
|
||||
drawing[i,j,2] = 255
|
||||
|
||||
cv.circle(drawing,maxDistPt, int(maxVal),tuple(255,255,255), 1, cv.LINE_8, 0)
|
||||
cv.circle(drawing,maxDistPt, int(maxVal),(255,255,255), 1, cv.LINE_8, 0)
|
||||
cv.imshow('Source', src)
|
||||
cv.imshow('Distance and inscribed circle', drawing)
|
||||
cv.waitKey()
|
||||
|
Loading…
Reference in New Issue
Block a user