pull down to refresh
0 sats \ 7 replies \ @dontforgetthekeys 14 Aug \ parent \ on: Stacker Saloon
I thought about how I would get around your additions in script form. I could strip anything that wasn't alphanumeric but once you added (instructions), it would have turned into a cat and mouse game of making the script more and more complex. I thought this would be a fun one to use AI on but the sats didn't outweigh the means.
reply
lol.. I do love to figure things out.
reply
reply
I figured it out! to make it less usable by others, I'm going to leave out some stuff...
img = Image.open(image_path).convert('RGB') #convert image to RGB #decode the QR decoded_objects = decode(img) #filter decoded objects to find the one that starts with 'cashu' for obj in decoded_objects: qr_data = obj.data.decode('utf-8') if qr_data.startswith('cashu'): return qr_data return None QR Code Data: cashuAeyJ0b2tlbiI6W3sibWludCI6Imh0dHBzOi8vbWludC5oNHNoLm9yZyIsInByb29mcyI6W3siaWQiOiIwMDNmOGQxYjlhMjM5YjE5IiwiYW1vdW50IjoxMDI0LCJzZWNyZXQiOiJMaUgyMENwZFQzZVVhUXh1aXNvYmlEbE1ReUg1VlQxWnBQcnE4YytRZVIwPSIsIkMiOiIwMmRiOWE0MWEwM2EwYTZhOGM5ZGM2MzUwYjFlMWZhYTljYjNiMGE0MTk3ZDhkZjE4MWIwZjE5OTc2YWVlMjNjZjkifV19XX0``` next animated qr? ðŸ¤
reply
reply
Thanks man, but I have a leg up. I've been working in software for well over a decade.
You can do what @DarthCoin did and encrypt it into an image or write a poem. Legit could not figure it out to save my life.
What @DarthCoin Did, a new podcast 🤣🤣🤣
reply
I would have to look into a bit but using something like:
https://pypi.org/project/pyzbar/
reply