Cracking Secret Message with C and Computer Vision
ฝัง
- เผยแพร่เมื่อ 26 ก.ย. 2024
- Streamed Live on Twitch: / tsoding
Enable Subtitles for Twitch Chat
References:
- Tsoding - seam-carving - github.com/tso...
- Seam Carving Playlist: • Seam Carving
- Tsoding - nn.h - github.com/tso...
- Source Code: github.com/tso...
Support:
- BTC: bc1qj820dmeazpeq5pjn89mlh9lhws7ghs9v34x9v9
- Pay for my VPS: zap-hosting.co...
Tsoding literally solving his own ARG
> computer vision in title
> adjusts grid by hand
We've been tricked, we've been backstabbed and we've been, quite possibly, bamboozled.
it is quite common for real life cv apps to involve HITL cuz cv is not reliable on its own.
i hope you were being ironical .
This was one of my favorite streams so far. Really awesome from start to finish
I love that you did a really nice one line linear algebra and didn't even know why it worked. 😂 You subtracted the directional vector with the length of the distance from mouse to anchor from the positional vector of the target image.
QR code 2 just dropped
This is my first time seeing you start without doing the pinging discord stuff
There will be a time when 2b2t players will use Zozin's notebook to hack NASA.
Using edges is a mistake.
Converting everything to black and white and then averaging saturation when sampling would be more stable.
Also random sampling is unnecessary.
You can "cut out" the square you want to test, blur it heavily until its basically one solid color and sample the middle once.
Finding a threshold for that is easier because of 0 randomness.
pretty sure it's going to spell out something about my mom
50:50 при проективном преобразовании центр квадрата перейдет в в пересечение средних линий, поэтому думаю точнее будет использовать вместо лерпа на одной линии использовать пересечение двух линий.
@Tsoding, Have you tried the Intel C compiler? I believe it's available for both Windows and Linux - Considering your mastery of the base subject, I would love to know your thoughts on the compiler itself?!
As always, Большое спасибо!
Amazing stuff, your own animation lib... Keep the on the good work 💪
48:29 it is also called "region of interest" or just ROI
I am off for the next 2 hours
In order to align the points perfectly, you had to account for lens distortion.
glorious episode again !
but I was really hoping you made the 4 corners draggable.
PS: There is no H in threshold. it's Tresh-Old
it is crazy how tsoding writes the chat in caption. such a good example of diligent worker /s :D
The messages in the notebook are so secret that you can’t see them at all
Just reading the grayscale seems fine. You could also use a Gaussian filter. Maybe then you would need samples just take the centre.
4:04 its ASC in binary, there are a lot of small caps letters
Literally thought was gonna sleep early today. Fuck that shit. !!! 😁
Super interesting, this is something I actually need in my own app!
1:55:45 - the secret is revealed
Will you ever do audio programming on stream? Like making a synth or an audio effect? Even a full on music making app
You can clearly see the ascii upper case bit. Only white for H, W and I
The correct way is to compute homography, otherwise deviations from fronto-parallel position will keep failing (because projective transformations are not linear).
In 2d case computing homography by 4 points can be done using some elementary-school math.
@56:00 it looks like lens (wide angle lens) distortion that the program can't account for that is causing the misalignment, and/or that the notebook was screenshot at a slight angle from perpendicular to the viewing axis of the lens.
Ok, a minute later the chat pointed it out.
I just started watching your videos, and holy shit your channel is fucking AWESOME SAUCE!!!
Instead of black and white couldn't you choose a pivot color using the mouse and measure the distance from that color to determent if the cell is on or off?
Maybe even picking both pivots (on and off) and choosing which depending on shortest distance.
"For whatever reason"
bruh
its not funny how many times this has happened to me, just make something years ago, find it again, try to decode it.
I fucking love this channel.
HARD CODING EVERYTHING EXCEPT THE BIT ARRAY pov
True automation right there.
Brainfart: how about doing an FFT on the raw (normalised) cells and discarding (summing) the high frequencies (the ink-width) ? Just like scanning barcodes...
I lol'd with: new UX has been discovered, who needs drag and drop?
1:45:15 Tsoding switched language from english to russian and from russian to polish
damn, I've predicted the future
Solving Enigma machine
Notebook with raylib
I don't know C, but I want. This is some serious ASMR video, would 100% recommend to my friends
Using edge detection is counterproductive.
When you colored in the squares on paper, the point was to fill them in.
Not make as many and as much pronounced edges as possible.
So finding edges is wrong here.
A better image processing would simplify all other steps.
No random sampling would be needed, and activation threshold would be stable.
DAMnn thatt is so cool actually, zozeen is a freaking magician
37:34 What I am here for
When will i reach the babushka level in programming? ⚰️🥶
Horror, computer be like: I C u
Tsodiac coder.
Letsssss Zooooooooo
Amazing 🙌
Thank you....
we achieved AGI
😀😀😀
37:18 "The revolution has begun"
Great project, now I understand you've made a glorified QR reader!
Very cool.
i thought you were germen hence why i followed .....
crysis
@1:55:42 reveal secret message.
Let’s go 6:08
Can't wait to watch :)
If the camera is not parallel to the paper, then the cells are not all the same size. The step size along x needs to respect the change in y size and vice versa. It's not a linear transformation because we don't know the z component i think.
Not sure I understand why the grid is "skewed" this may require a second viewing. 😅
OHHHH Now I get it. It's literally skewed in relation to the image.... why not just process the image first? not as fun? lol
I think tsoding means that grid is skewed because it is slightly rotated in the image, not perfectly aligned with the edges of the image
"I wrote in Russian, and i dont know Why"... could it be that you are Russian? Or that you were drunk that day
5:46 Good thing it's made in Moscow and not Siberia ☭
tsoding is furry drawer 3:16
My thoughts exactly haha
How old were you back then?
ageBackThen = currentAge - timeElapsed
@@jorenheit How old is he currently? ^^
@@alexander3293no clue :p
@@alexander3293 33/34
Easter Eggs 😂
aHR0cHM6Ly9maWxlcy5jYXRib3gubW9lL21zZmw5MS5tcDQK
my man casually dropping one of the most valuable life lessons here
1 minute and no views bro fell off
this reminds me a defcon talk where a pair of guys decapped some rom chips and used software to read their contents from images of the die in a similar way to what youre doing. very neat.
th-cam.com/video/7Q82FkthDx8/w-d-xo.html
maybe it is one of this encodings? en.wikipedia.org/wiki/Six-bit_character_code