import as cv not cv2. Fixed
This commit is contained in:
@@ -69,4 +69,4 @@ if __name__ == '__main__':
|
|||||||
cv.imshow("gray",gray)
|
cv.imshow("gray",gray)
|
||||||
if (cv.waitKey() & 255) == 27:
|
if (cv.waitKey() & 255) == 27:
|
||||||
break
|
break
|
||||||
cv2.destroyAllWindows()
|
cv.destroyAllWindows()
|
||||||
|
Reference in New Issue
Block a user