Created
December 22, 2012 19:45
-
-
Save kscottz/4360664 to your computer and use it in GitHub Desktop.
Quick hack to defeat this http://persistent.info/web-experiments/temporal-dithering/
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
#SimpleCV Shell | |
SimpleCV:1> cd ../Downloads/ | |
/Users/katherinescott/Downloads | |
SimpleCV:2> p = Image("positive.png") | |
SimpleCV:3> n = Image("negative.png") | |
SimpleCV:4> r = (p/2)+(n/2) | |
SimpleCV:5> r.show() | |
SimpleCV:5: <SimpleCV.Display Object resolution:((384, 384)), Image Resolution: (384, 384) at memory location: (0x106908b90)> | |
SimpleCV:6> r.save("FixedThatForYou.png") | |
SimpleCV:6: 1 | |
# See http://persistent.info/web-experiments/temporal-dithering/ | |
# You can use sc = ScreenCamera() on Linux | |
# sc.getImage() to automatically do the screen capture. | |
# It should be fairly easy to make a metric that determines if succesive screen captures form a positive and negative pair. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment