3 ms·
I remember using a python script that would decode pictures of punch cards using PIL, and trying it on some images from a google image search. I'm pretty sure
by tyingq 6y ago
I remember using a python script that would decode pictures of punch cards using PIL, and trying it on some images from a google image search.
I'm pretty sure it was this one: http://codeincluded.blogspot.com/2012/07/punchcard-reader-software.html http://codeincluded.blogspot.com/2012/07/punchcard-reader-so... Looks like he added a punch card generator as well.
- seryoiupfurds 6y agoImage input! Like a practical version of the old bcd -d command... $ bcd hello ________________________________________________ /HELLO | |]] | | ]]] | | | |111111111111111111111111111111111111111111111111| |222222222222222222222222222222222222222222222222| |33]]33333333333333333333333333333333333333333333| |444444444444444444444444444444444444444444444444| |5]5555555555555555555555555555555555555555555555| |6666]6666666666666666666666666666666666666666666| |777777777777777777777777777777777777777777777777| |]88888888888888888888888888888888888888888888888| |999999999999999999999999999999999999999999999999| |________________________________________________| $ bcd hello | bcd -d HELLO https://man.openbsd.org/bcd.6 https://man.openbsd.org/bcd.6