Merge pull request #17105 from benji1123:pointPolygonTest_demo

This commit is contained in:
Alexander Alekhin 2020-04-19 17:38:23 +00:00
commit 81d4d4948e

View File

@ -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()