mirror of
https://github.com/opencv/opencv.git
synced 2025-01-18 22:44:02 +08:00
Merge pull request #17105 from benji1123:pointPolygonTest_demo
This commit is contained in:
commit
81d4d4948e
@ -46,7 +46,7 @@ for i in range(src.shape[0]):
|
|||||||
drawing[i,j,1] = 255
|
drawing[i,j,1] = 255
|
||||||
drawing[i,j,2] = 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('Source', src)
|
||||||
cv.imshow('Distance and inscribed circle', drawing)
|
cv.imshow('Distance and inscribed circle', drawing)
|
||||||
cv.waitKey()
|
cv.waitKey()
|
||||||
|
Loading…
Reference in New Issue
Block a user