Cracking Secret Message with C and Computer Vision

  Рет қаралды 22,206

Tsoding Daily

Tsoding Daily

21 күн бұрын

Streamed Live on Twitch: / tsoding
Enable Subtitles for Twitch Chat
References:
- Tsoding - seam-carving - github.com/tsoding/seam-carving
- Seam Carving Playlist: • Seam Carving
- Tsoding - nn.h - github.com/tsoding/nn.h
- Source Code: github.com/tsoding/secret
Support:
- BTC: bc1qj820dmeazpeq5pjn89mlh9lhws7ghs9v34x9v9
- Pay for my VPS: zap-hosting.com/en/shop/donat...

Пікірлер: 80
@cobbcoding
@cobbcoding 19 күн бұрын
Tsoding literally solving his own ARG
@rogo7330
@rogo7330 19 күн бұрын
> computer vision in title > adjusts grid by hand We've been tricked, we've been backstabbed and we've been, quite possibly, bamboozled.
@aquire9663
@aquire9663 18 күн бұрын
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 .
@b-rosa
@b-rosa 19 күн бұрын
QR code 2 just dropped
@goesbypluto
@goesbypluto 19 күн бұрын
This is my first time seeing you start without doing the pinging discord stuff
@glowiak3430
@glowiak3430 19 күн бұрын
There will be a time when 2b2t players will use Zozin's notebook to hack NASA.
@LetterlessAlphabet
@LetterlessAlphabet 19 күн бұрын
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.
@GoodHomeVideos
@GoodHomeVideos 19 күн бұрын
This was one of my favorite streams so far. Really awesome from start to finish
@shrddr
@shrddr 19 күн бұрын
pretty sure it's going to spell out something about my mom
@RichardLofty
@RichardLofty 18 күн бұрын
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.
@innokentiyromanchenko1450
@innokentiyromanchenko1450 17 күн бұрын
50:50 при проективном преобразовании центр квадрата перейдет в в пересечение средних линий, поэтому думаю точнее будет использовать вместо лерпа на одной линии использовать пересечение двух линий.
@Luis-qe8el
@Luis-qe8el 19 күн бұрын
Amazing stuff, your own animation lib... Keep the on the good work 💪
@Vlad-xh9sy
@Vlad-xh9sy 17 күн бұрын
In order to align the points perfectly, you had to account for lens distortion.
@RichardLofty
@RichardLofty 18 күн бұрын
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.
@ilkinnezer
@ilkinnezer 19 күн бұрын
I am off for the next 2 hours
@suvetar
@suvetar 18 күн бұрын
@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, Большое спасибо!
@b-rosa
@b-rosa 19 күн бұрын
48:29 it is also called "region of interest" or just ROI
@cornjulio4033
@cornjulio4033 19 күн бұрын
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
@koktszfung
@koktszfung 19 күн бұрын
The messages in the notebook are so secret that you can’t see them at all
@salim444
@salim444 18 күн бұрын
it is crazy how tsoding writes the chat in caption. such a good example of diligent worker /s :D
@dkaaakd
@dkaaakd 19 күн бұрын
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.
@RenderDragon
@RenderDragon 19 күн бұрын
1:55:45 - the secret is revealed
@dabunnisher29
@dabunnisher29 9 күн бұрын
I just started watching your videos, and holy shit your channel is fucking AWESOME SAUCE!!!
@chillydill4703
@chillydill4703 18 күн бұрын
Super interesting, this is something I actually need in my own app!
@user-tb9xv3fy8n
@user-tb9xv3fy8n 16 күн бұрын
I fucking love this channel.
@priyakdey7891
@priyakdey7891 19 күн бұрын
Literally thought was gonna sleep early today. Fuck that shit. !!! 😁
@raina1565
@raina1565 19 күн бұрын
Will you ever do audio programming on stream? Like making a synth or an audio effect? Even a full on music making app
@MarcelRobitaille
@MarcelRobitaille 18 күн бұрын
Just reading the grayscale seems fine. You could also use a Gaussian filter. Maybe then you would need samples just take the centre.
@LBCreateSpace
@LBCreateSpace 19 күн бұрын
Amazing 🙌
@Protoex
@Protoex 18 күн бұрын
You can clearly see the ascii upper case bit. Only white for H, W and I
@Ginto_O
@Ginto_O 19 күн бұрын
"For whatever reason" bruh
@blackhaze3856
@blackhaze3856 19 күн бұрын
Solving Enigma machine
@llanomga
@llanomga 14 күн бұрын
I lol'd with: new UX has been discovered, who needs drag and drop?
@tehvvisard
@tehvvisard 16 күн бұрын
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.
@artemiasalina1860
@artemiasalina1860 19 күн бұрын
@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.
@artemiasalina1860
@artemiasalina1860 19 күн бұрын
Ok, a minute later the chat pointed it out.
@awfultrash888
@awfultrash888 19 күн бұрын
DAMnn thatt is so cool actually, zozeen is a freaking magician
@slendi9623
@slendi9623 19 күн бұрын
its not funny how many times this has happened to me, just make something years ago, find it again, try to decode it.
@varshneydevansh
@varshneydevansh 19 күн бұрын
Letsssss Zooooooooo
@hubstrangers3450
@hubstrangers3450 18 күн бұрын
Thank you....
@achiyazigi3869
@achiyazigi3869 19 күн бұрын
HARD CODING EVERYTHING EXCEPT THE BIT ARRAY pov
@TsodingDaily
@TsodingDaily 19 күн бұрын
True automation right there.
@k0mpreni
@k0mpreni 19 күн бұрын
I don't know C, but I want. This is some serious ASMR video, would 100% recommend to my friends
@artemiasalina1860
@artemiasalina1860 19 күн бұрын
Very cool.
@yevheniitsybulskyi2020
@yevheniitsybulskyi2020 19 күн бұрын
Notebook with raylib
@RealCatDev
@RealCatDev 4 күн бұрын
1:45:15 Tsoding switched language from english to russian and from russian to polish
@RealCatDev
@RealCatDev 4 күн бұрын
damn, I've predicted the future
@Oilhead710
@Oilhead710 19 күн бұрын
Let’s go 6:08
@xarchist
@xarchist 18 күн бұрын
Tsodiac coder.
@rubyciide5542
@rubyciide5542 19 күн бұрын
When will i reach the babushka level in programming? ⚰️🥶
@MrBloodcount
@MrBloodcount 19 күн бұрын
Can't wait to watch :)
@JamesSjaalman
@JamesSjaalman 18 күн бұрын
Brainfart: how about doing an FFT on the raw (normalised) cells and discarding (summing) the high frequencies (the ink-width) ? Just like scanning barcodes...
@blastygamez
@blastygamez 18 күн бұрын
Horror, computer be like: I C u
@mbarrio
@mbarrio 18 күн бұрын
37:18 "The revolution has begun" Great project, now I understand you've made a glorified QR reader!
@electronlabs2802
@electronlabs2802 11 күн бұрын
@1:55:42 reveal secret message.
@kirillvoloshin2065
@kirillvoloshin2065 7 күн бұрын
we achieved AGI 😀😀😀
@YmliaW1iYXdwCgeqeq
@YmliaW1iYXdwCgeqeq 13 күн бұрын
i thought you were germen hence why i followed .....
@YmliaW1iYXdwCgeqeq
@YmliaW1iYXdwCgeqeq 13 күн бұрын
crysis
@alexander3293
@alexander3293 19 күн бұрын
How old were you back then?
@jorenheit
@jorenheit 19 күн бұрын
ageBackThen = currentAge - timeElapsed
@alexander3293
@alexander3293 19 күн бұрын
@@jorenheit How old is he currently? ^^
@jorenheit
@jorenheit 19 күн бұрын
​@@alexander3293no clue :p
@thesergey
@thesergey 19 күн бұрын
@@alexander3293 33/34
@SuperPhilope
@SuperPhilope 19 күн бұрын
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.
@LetterlessAlphabet
@LetterlessAlphabet 19 күн бұрын
Not sure I understand why the grid is "skewed" this may require a second viewing. 😅
@LetterlessAlphabet
@LetterlessAlphabet 19 күн бұрын
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
@YusmanGaming
@YusmanGaming 19 күн бұрын
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
@briket_
@briket_ 18 күн бұрын
tsoding is furry drawer 3:16
@b-rosa
@b-rosa 18 күн бұрын
My thoughts exactly haha
@devit6122
@devit6122 18 күн бұрын
"I wrote in Russian, and i dont know Why"... could it be that you are Russian? Or that you were drunk that day
@bbq1423
@bbq1423 13 күн бұрын
5:46 Good thing it's made in Moscow and not Siberia ☭
@pldvs
@pldvs 19 күн бұрын
Easter Eggs 😂 aHR0cHM6Ly9maWxlcy5jYXRib3gubW9lL21zZmw5MS5tcDQK
@thesergey
@thesergey 19 күн бұрын
my man casually dropping one of the most valuable life lessons here
@epicujjwal
@epicujjwal 19 күн бұрын
1 minute and no views bro fell off
@user-qq4pz6je6i
@user-qq4pz6je6i 18 күн бұрын
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. kzfaq.info/get/bejne/bbdoZamc2c6oqGw.html
@hecatonecles4334
@hecatonecles4334 18 күн бұрын
maybe it is one of this encodings? en.wikipedia.org/wiki/Six-bit_character_code
I regret doing this...
1:20:07
Tsoding Daily
Рет қаралды 64 М.
How a Clever 1960s Memory Trick Changed Computing
20:05
LaurieWired
Рет қаралды 178 М.
Must-have gadget for every toilet! 🤩 #gadget
00:27
GiGaZoom
Рет қаралды 11 МЛН
Can teeth really be exchanged for gifts#joker #shorts
00:45
Untitled Joker
Рет қаралды 15 МЛН
Compilers, How They Work, And Writing Them From Scratch
23:53
Adam McDaniel
Рет қаралды 71 М.
I tried React and it Ruined My Life
1:19:10
Tsoding Daily
Рет қаралды 116 М.
IPOPT on steroids: fatrop solver in CasADi
19:40
Joris Gillis
Рет қаралды 780
1000 Players - One Game of Doom
15:42
ThePrimeagen
Рет қаралды 138 М.
Can you actually see more than 30 FPS?
1:41:36
Tsoding Daily
Рет қаралды 20 М.
I Made a Neural Network with just Redstone!
17:23
mattbatwings
Рет қаралды 640 М.
reverse engineering makes you a better programmer (let’s try it out)
13:12
Low Level Learning
Рет қаралды 149 М.
WHY did this C++ code FAIL?
38:10
The Cherno
Рет қаралды 177 М.
Async Engine in C
3:12:16
Tsoding Daily
Рет қаралды 44 М.
Why do C Programmers Always Obfuscate Their Code?
2:01:57
Tsoding Daily
Рет қаралды 78 М.
Неразрушаемый смартфон
1:00
Status
Рет қаралды 1,6 МЛН
i like you subscriber ♥️♥️ #trending #iphone #apple #iphonefold
0:14
Gizli Apple Watch Özelliği😱
0:14
Safak Novruz
Рет қаралды 3,5 МЛН
Will the battery emit smoke if it rotates rapidly?
0:11
Meaningful Cartoons 183
Рет қаралды 30 МЛН