-
-
Save Qu1ck5h0t/38f3c2b708b84773fcc622f32e6addaf to your computer and use it in GitHub Desktop.
Xor 2 images with python (FIXED)
This file contains hidden or 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
import cv2 | |
foo = cv2.imread("./foo.png") | |
bar = cv2.imread("./bar.png") | |
key = cv2.bitwise_xor(foo, bar) | |
cv2.imshow("xored data", key) | |
cv2.waitKey(0) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment