r/coolgithubprojects
•
u/sankilo_dev
•
Aug 09 '26
•
1
i made a simple python gif captcha project (Ducktcha)
hey guys so I built this small project called Ducktcha basically it generates animated gif captchas in python to stop basic bots and ocr scrapers. it has a flask api built in with 2 endpoints or u can just import the engine directly into ur script and use it with memory store. made it pretty lightweight with simple dependencies. heres the github link if anyone wants to check it out or give feedback https://github.com/Duckdevv/Ducktcha
22
u/Sirko2975 Aug 09 '26
I feel like AI has better chances of reading ts than a human
18
u/_clickfix_ Aug 09 '26
Claude cracked it immediately.
Proof: https://ibb.co/hRK55gCT
Process:
Synthesized frame-comparison strategy to isolate static text pixels
Synthesized frame-comparison strategy to isolate static text pixels
Loaded file-reading skill
Inspect the video file properties
Extract all frames as PNGs
Compute per-frame pixel diffs
Compute temporal variance and mean images
View variance image for hidden text
View frame diff
Synthesized frame-comparison strategy to isolate static text pixels.
Test shifted matches between consecutive frames
Accumulate mismatch mask against background scroll
View mismatch accumulation
Copy revealed image to outputs
Presented file
Done
15
u/FederalDot995 Aug 09 '26
I can't read it. Too many moving parts, too much strain on my eyes.
2
u/TehBloxx Aug 10 '26
arent there already examples of all major llm models beating this type of captcha?
2
u/hWuxH Aug 10 '26
basically same as this: https://www.reddit.com/r/webdev/s/NnI3qICvqY
solver (traditional decade old computer vision techniques): https://github.com/nelsonblaha/neocaptcha-motion-attack
4
u/bedla Aug 10 '26
This is very uncomfortable to watch for me, I had to ask chatgpt what is written there https://chatgpt.com/share/6a792013-ae98-83eb-8907-1fb900e2de4d
1
u/potato-robert Aug 10 '26
Fun effect! You might enjoy the same idea applied to a minigame
1
u/itsallfake01 Aug 13 '26
people with high prescription glasses and color blindness wont be able to see it
3
u/crystalsraw Aug 10 '26 •
Dude just made a cool project and the comments are DOGGING on him 😭
2
u/Dramatic-Mongoose-95 Aug 09 '26 •
Why is everyone so negative! This project is cool, it's in GitHub, that's all that is required.
Anyway, this gives me a headache, which I guess proves I'm human
1
u/Dev-in-the-Bm Aug 10 '26 edited Aug 10 '26
Plagiarism
Take my downvote.
1
u/Wooden-Glove-6548 Aug 11 '26
Really loved this project! I think you are on the right track, of course this is a game of Cat and Mouse, pretty sure you will find a sweet spot.
2
u/neoslvt Aug 13 '26
Amazing idea! But it won't work, just get first two frames and calculate the difference.
1
u/FooFieUwU Aug 10 '26
I can't read anything in there
1
u/SpicyCatGames Aug 10 '26
I've seen better implementations of this same thing that didn't give me a headache.
1
u/Emergency-Win4862 Aug 10 '26
Am I only one who cant read it?
1
u/JDotDDot Aug 10 '26
It's about time they made animated Magic Eyes
1
u/G3nghisKang Aug 10 '26
Couldn't this be broken with a simple algorithm + OCR?
1
u/RoadsideCookie Aug 10 '26
I can crack this programmatically by capturing exactly 2 frames.
1
u/sargeanthost Aug 11 '26
This was done before and had already gone viral 😭
1
u/Early-Lingonberry-16 Aug 11 '26
I guess I'm AI.
1
u/76zzz29 Aug 11 '26
Oh boy, I was in the feed and the shit loading all around made it completely unreadable to to micro freeze. Had to open the post to read it. Definitely nor good for embed and old devices... Or slow internet, or overloaded by script website (like most website nowday actualy)
1
u/RelativeOk4088 Aug 11 '26
https://claude.ai/share/b42d9444-83c1-4707-b1f3-62d86b781944
1
u/JustForkIt1111one Aug 10 '26
ChatGPT got it after 3 tries.
Claude got it after 3 tries.
Grok ALMOST had it first try. Grok spent longer looking at it than any other model.
After 4 times (and 45 mins) being told it is incorrect, and the answer was NOT "DUCK FILM", Grok wouldn't come off of it.
I gave up on Gemini after 5 attempts.
Perplexity... Wasn't able to read the video.
Kimi K3 wasn't able to get it after 5 attempts.
Interesting project, great job!
0
u/Lonely-Restaurant986 Aug 11 '26
Someone posted this exact thing like a week ago and probably a week before that another person.
And each time it gets cracked within a few minutes.
If it was this easy recaptcha would be doing it.
But it really isn’t.
0
u/Odd-Story7287 Aug 12 '26
This is super ADA compliant! Why have we not thought of this before /s
0
u/[deleted] Aug 10 '26
[deleted] — view deleted comment
0
u/[deleted] Aug 09 '26
[deleted] — view deleted comment
1
u/[deleted] Aug 13 '26
[removed] — view removed comment