Professional Documents
Culture Documents
Cartooning An Image Using OpenCV & Python
Cartooning An Image Using OpenCV & Python
Supervisor
Prof. Mr. R. B. Pawar
# Reading image
img = cv2.imread('image.jpg')
# cv2.imshow('edges', edges)
# Defining criteria
criteria = (cv2.TERM_CRITERIA_EPS + cv2.TERM_CRITERIA_MAX_ITER, 20, 1.0)
return cartoon
cartoonized = cartoonize(img, 8)
cv2.imshow('input', img)
cv2.imshow('output',cartoonized)
cv2.waitKey(0)
cv2.destroyAllWindows()
Output
CONCLUSION:
In this project we have successfully studied and implemented
Cartooning an Image using OpenCV & Python
.