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