Update imageSegmentation.cpp, imageSegmentation.py

This commit is contained in:
Suleyman TURKMEN
2021-02-07 05:42:55 +03:00
parent 0be18f5cb0
commit 2387813428
2 changed files with 9 additions and 13 deletions

View File

@@ -102,7 +102,8 @@ for i in range(len(contours)):
# Draw the background marker
cv.circle(markers, (5,5), 3, (255,255,255), -1)
cv.imshow('Markers', markers*10000)
markers_8u = (markers * 10).astype('uint8')
cv.imshow('Markers', markers_8u)
## [seeds]
## [watershed]