Created
April 20, 2020 09:24
-
-
Save prateekjoshi565/7af3cdbd078c9e07d55f4e44004d6fbd to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff_image = cv2.absdiff(grayB, grayA) | |
# perform image thresholding | |
ret, thresh = cv2.threshold(diff_image, 30, 255, cv2.THRESH_BINARY) | |
# plot image after thresholding | |
plt.imshow(thresh, cmap = 'gray') | |
plt.show() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment