55 comments

  • Kiro39 minutes ago
    GPT-5.6 had no problem seeing the text when giving it a video recording of it.<p>&quot;No problem&quot; as in using temporal analysis with optical flow and vertical-displacement maps to estimate how the image moved, and combine those into a motion map with increased contrast to see the text. I didn&#x27;t give it any instructions though, just asked it what it said.
    • wavemode12 minutes ago
      Do you have a link to this chat?
  • rav1 hour ago
    &gt; For example, it would be interesting to incorporate Ghost Font into CAPTCHA systems, as most systems are easily solved by AI today.<p>It seems to me like it should be easy enough to take Ghost Font, apply normal video compression techniques, and analyze the compressed signal to recover the visual outline of the letters, which you would then analyze with OCR (or an AI I guess ...). In other words, a novel CAPTCHA technique but not necessarily &quot;fundamentally more difficult&quot; than existing CAPTCHA techniques, once the cat-and-mouse game gets going.
    • ihsoj44 minutes ago
      Yes, it may be useful to replace current CAPTCHA, but this does not provide the positive side-effects of CAPTCHA where user-submitted data is used to train the unknown images or reinforce the labelling of existing image segments.
      • beagle34 minutes ago
        It’s been years since captcha was contributing to labeling.
    • xattt1 hour ago
      I.e. there’s an ffmpeg incantation out there to do it.
  • freehorse21 minutes ago
    It is smart, but it is not impossible to crack algorithmically imo. In particular, one can take two consecutive frames and run perturbations moving one frame around (ie shift the indexes) to find where the difference between the two consecutive frames minimises. Then subtract these two frames and ocr it. Works easily if the movement is linear&#x2F;one-directional.<p>I did this in 20 lines of code (checking only vertical perturbations), and this is what I get with subtracting frame 7 from frame 1:<p><a href="https:&#x2F;&#x2F;imgur.com&#x2F;a&#x2F;only-human-can-read-this-vfDe6ZA" rel="nofollow">https:&#x2F;&#x2F;imgur.com&#x2F;a&#x2F;only-human-can-read-this-vfDe6ZA</a>
  • junto7 minutes ago
    I can’t read magic eye pictures and I can’t read this either. Maybe astigmatism makes it unreadable to me?<p>It just looks like static on old tvs to me.
  • SyneRyder6 hours ago
    Took me a long time to realise that &quot;Written In Ghost Text&quot; wasn&#x27;t actually the text I was meant to be reading, and that was only the decoy message.<p>I can barely read the actual message, and it&#x27;s about as &quot;readable&quot; to me as the Magic Eye 3D pictures. Actually I think I have a headache from looking at it on a mobile screen.<p>As a research idea it&#x27;s cool though. But I do wonder if&#x2F;when AI models will figure out how to decode it - I imagine a bit of additional prompting would get them there.
    • Hendrikto6 hours ago
      Funny, for me it is exactly the opposite: I can read the actual text very easily, but the “Written in Ghost Text” is barely perceptible to the point I would have completely missed it, if it were not for the comment pointing it out here.
      • SyneRyder5 hours ago
        I&#x27;ve just tried it on my large desktop monitor (roughly 1440p, not HiDPI), and I now see &quot;Ghost Font&quot; extremely clearly and can&#x27;t see the decoy at all. If I scale my browser window to 30% zoom, then I can just see the &quot;Written In Ghost Text&quot; decoy message again.<p>My phone would have been zooming out the browser window, and making the dots even tinier, but the phone is HiDPI so it would have still preserved the dots. My eyes are middle-aged and probably starting to do the same kind of median-blur effect that models do when they resize an image. That&#x27;s my current guess for why I can see the decoy more clearly on mobile.<p>If that&#x27;s the case, then this trick will stop working as vision models approach pixel-perfect vision, instead of the current resizing that they do. Pretty cool as steganography though.
        • stvltvs1 hour ago
          Flipping my phone between portrait and landscape thereby changing image size is enough to determine which message is legible to me.
    • Reason0771 hour ago
      &gt; <i>”Took me a long time to realise that &quot;Written In Ghost Text&quot; wasn&#x27;t actually the text I was meant to be reading, and that was only the decoy message.”</i><p>Wait, what? Seriously? That’s the only text I can see. Am I an AI?
  • ssl-36 hours ago
    I pasted a screenshot of the default text (&quot;GHOST FONT&quot;) into ChatGPT 5.6 Sol, told it to read it, and without further instruction it chewed on it for awhile before coming back with:<p><pre><code> WHAT HAPPENS IN VEGAS STAYS IN VEGAS</code></pre>
    • nextaccountic6 hours ago
      &gt; a screenshot<p>The text is a video. Every frame contain random dots, so an individual frame by itself doesn&#x27;t contain the intended message<p>This &quot;font&quot; exploits the fact that current-gen frontier models will process video one frame at time, but each frame is noise, so by looking at frames in isolation doesn&#x27;t reveal anything<p>Then, they add a hidden message to each frame just so that the agent report <i>something</i> and stop trying (because if the agent tried to correlate between the frames, they could discover the trick)<p>But if you pass just a frame, there is no message. Just the noise plus the decoy
      • stabbles6 hours ago
        If you take a frame you see it&#x27;s neither random nor dots:<p><a href="https:&#x2F;&#x2F;i.imgur.com&#x2F;CgtyGjl.png" rel="nofollow">https:&#x2F;&#x2F;i.imgur.com&#x2F;CgtyGjl.png</a><p>From a single frame you can definitely identify boundaries because the dots are sliding and get truncated.
        • applicative2 hours ago
          They are the boundaries of the decoy, I think. I can sort of make the decoy out in a screenshot.
        • singularity20016 hours ago
          Exactly. It&#x27;s a good idea, badly executed.
          • freehorse1 hour ago
            Maybe not so well explained, by picking the default intended text presented to be the same as the decoy text. It took me also some time to realise what was going on, but the execution is fine otherwise.<p>So there are two texts, one decoy (which you can barely see in a single frame but becomes more clear if you average between frames) and an actual text, which disappears in single frames or averaged ones.
          • starcast202630 minutes ago
            Just to add some drama - this feels like a perfect competition between humans &amp; bots!
        • doublerabbit5 hours ago
          &quot;Content not available in your country&quot; - obviously working well.
    • stavros6 hours ago
      What did you expect from a screenshot of obvious noise? The only thing that makes the text readable is the motion.<p>EDIT: On second look, the static screenshot does say &quot;WRITTEN IN GHOST FONT&quot;.
    • plastic-enjoyer6 hours ago
      &gt; I posted a screenshot of static white noise to AI<p>HackerNews never disappoints
  • khurs1 hour ago
    &gt; struggled to decode the moving message until prompted with the exact technique to look for.<p>So once the technique is known by the model the font stops working as intended.
  • bradley136 hours ago
    Humans can read it, but with difficulty. If it becomes important, AI can be taught to read it.<p>So...usefulness?
    • dgellow6 hours ago
      It’s a research project, that doesn’t need to be useful. They wanted to explorer that area and share their findings
      • sevenzero6 hours ago
        Also this can always result in something useful over time. I&#x27;d love if AI safe writing will be possible at some point again...
  • dragontamer1 hour ago
    The hallucination of messages bothers me severely. Especially with AI being deployed to ancient, difficult problems like the Herculaneum scroll.<p>EDIT: To be clear, I&#x27;m talking about the &quot;Written in Morse Code&quot; example, fully hallucinated text. The AI agents seeing a decoy message isn&#x27;t as bothersome to me.
    • grahamburger35 minutes ago
      It&#x27;s not fully hallucinated, I don&#x27;t think. If you squint, you really can see what I assume is the &#x27;decoy message&#x27;, I&#x27;m fairly sure it says &#x27;WRITTEN IN GHOST FONT&#x27;. It seems more likely to me that the LLM found &#x27;Written In&#x27;, noticed similar &#x27;optical illusion&#x27; type memes, and hallucinated&#x2F;assumed the &#x27;morse code&#x27; bit.
  • rsanek4 hours ago
    I see tons of confustion in the comments on whether AI can or can&#x27;t read it. Bit of a marketing miss -- they should have picked clearly different decoy vs. default actual messages.
  • xnx1 hour ago
    Page says &quot;font&quot; but means &quot;obfuscated text in video&quot;.
  • rzzzt6 hours ago
    Related work (all involve noise and flickering images, photosensitive eyes&#x2F;brains beware):<p>- &quot;This game disappears if you pause it&quot;: <a href="https:&#x2F;&#x2F;youtu.be&#x2F;Bg3RAI8uyVw" rel="nofollow">https:&#x2F;&#x2F;youtu.be&#x2F;Bg3RAI8uyVw</a><p>- &quot;Illusion: If You Pause, The Image Will Disappear&quot;: <a href="https:&#x2F;&#x2F;youtu.be&#x2F;ZqGfb_Vlrig" rel="nofollow">https:&#x2F;&#x2F;youtu.be&#x2F;ZqGfb_Vlrig</a>
    • cadamsdotcom6 hours ago
      Hahaha one of the comments:<p>“Not just image. The sound also disappears when you pause”<p>Brilliant :)
    • arvyy5 hours ago
      it&#x27;s a <i>very</i> old idea. I first saw this on <a href="https:&#x2F;&#x2F;www.squidi.net&#x2F;three&#x2F;entry.php?id=56" rel="nofollow">https:&#x2F;&#x2F;www.squidi.net&#x2F;three&#x2F;entry.php?id=56</a>
  • noedig21 hour ago
    Doesn&#x27;t look like anything to me
  • IvanK_net1 hour ago
    Instead of &quot;AI cannot&quot; you should always say &quot;current AI cannot&quot;.
  • dhruvkb6 hours ago
    Claude Opus 4.8 can read it with a single prompt and no instructions on how to read it.<p><a href="https:&#x2F;&#x2F;ibb.co&#x2F;WWMSXQkQ" rel="nofollow">https:&#x2F;&#x2F;ibb.co&#x2F;WWMSXQkQ</a>
    • mort966 hours ago
      But... neither of the videos say &quot;this is a ghost font&quot;? Are you sure <i>you</i> are a human?
    • picture6 hours ago
      Is the answer correct? I don&#x27;t seem to see any demo video with &quot;this is a ghost font&quot; encoded
      • ozgung6 hours ago
        It is actually correct but not in the intended way. Delete all the sample text. If you look at your screen from a distance you&#x27;ll see a subtle ghost like text on the noise pattern. It says &quot;this is a ghost font&quot;.
      • Retr0id1 hour ago
        Nope! It&#x27;s the decoy text.
    • Retr0id1 hour ago
      That&#x27;s the decoy message.
    • bmelton6 hours ago
      and I cannot<p>(so either I am AI at a level less than Opus 4.8 or just all-round defective as a human)
  • pessimizer13 minutes ago
    I don&#x27;t think this works - I suspect it&#x27;s the decoy that&#x27;s doing the work. Once the decoy is seen, the LLM stops looking. It also seems pretty much effective on a lot of people, too.<p>Now that &quot;Ghost Font&quot; will be in the training material, LLMs will go &quot;this looks to be written in Ghost Font, and as such has two messages.&quot;
  • xlii6 hours ago
    Technically it&#x27;s not a font, because font needs to be still. Analogy: if I took photo after book was closed would we say that font cannot be read by a camera?<p>Took a picture (only a single frame) and a 1s movie and threw it toward GPT 5.6 Sol (High):<p>Frame took 9m30s to decyper and GPT 5.6, it returned: WRITTEN IN GHOST FONT. Weird because I can only see &quot;GHOST FONT&quot; on the demo... but extracted data from image (I saw the highlited one) definitely looks like the &quot;Ghost Font&quot;.<p>--<p>Video is more amusing, because after 3m GPT 5.6 figured it&#x27;s motion-defined and asked to run QuickTime. At one moment I got:<p>&gt; The animation is a motion-defined illusion. I’ve confirmed there’s no readable static OCR layer; I’m decoding its optical-flow field so the letter shapes become explicit.<p>At 4m it got extracted motion image that was in shape of letters but analyzed for 9 more letters and returned (at 13m36s) &quot;GHOST FONT&quot;<p>--<p>So:<p><pre><code> a font... - FALSE - not a font, but video effect ...humans can read... - FALSE - I can&#x27;t read it from image (but AI can!) ...but AI cannot - FALSE - it can </code></pre> :D<p>Edit: <a href="https:&#x2F;&#x2F;imgur.com&#x2F;a&#x2F;SHlGu4O" rel="nofollow">https:&#x2F;&#x2F;imgur.com&#x2F;a&#x2F;SHlGu4O</a> - work-in-progress images
    • throw3108226 hours ago
      &gt; it returned: WRITTEN IN GHOST FONT<p>It&#x27;s a static decoy message independent from what you type in. You can see it if you take a long exposure pic of the screen (e.g. with your smartphone).
      • xlii6 hours ago
        Oh, cool I was wondering how can I get to see that decoy!
  • lutusp16 minutes ago
    &gt; ... immediately readable to a human eye, but even leading AI models can&#x27;t decipher it easily.<p>For the moment. This pattern is easy to code -- it relies on the premise that a character has an inside and an outside. Outside, a pattern ascends. Inside, the reverse. Based on that simple encoding idea, decoding will be equally simple.
  • tensegrist1 hour ago
    can&#x27;t you use font shaping rules or whatever it is to essentially begin a span of text with a &quot;private key&quot; that then causes the rest of the message to render correctly by combining with it (a trivial version could be e.g. a rot-N based on a given N)
  • solidasparagus6 hours ago
    When I gave Fable a screenshot it found the GHOST portion of GHOST FONT. Based on pixel density via some python code apparently - <a href="https:&#x2F;&#x2F;imgur.com&#x2F;a&#x2F;m3c801F" rel="nofollow">https:&#x2F;&#x2F;imgur.com&#x2F;a&#x2F;m3c801F</a>
  • edent6 hours ago
    I had thought to use homographs. Sadly, all the models I tried were able to decode something like:<p>&quot;フㄖ乇ㄚ ᗪㄖ乇丂几&#x27;ㄒ 丂卄卂尺乇 千ㄖㄖᗪ&quot;<p>However, I have noticed that voice assistants have a hard time understanding homonyms. Saying &quot;bow&quot; (as in to bow one&#x27;s head) is often stored as &quot;bow&quot; (as in a bow and arrow). I wonder if there&#x27;s a sufficiently complex sentence which is intelligible to humans but not to machines?
    • Gander57391 hour ago
      There&#x27;s garden path sentences, where the sentence is phrased in such a way as to cause you to misparse the sentence when you first read (e.g. &quot;The old man the boat&quot;); but those typically confuse humans (I&#x27;m not sure how effective they are on LLMs).<p>Relevant xkcd: <a href="https:&#x2F;&#x2F;xkcd.com&#x2F;2793&#x2F;" rel="nofollow">https:&#x2F;&#x2F;xkcd.com&#x2F;2793&#x2F;</a>
  • Kiboneu1 hour ago
    See also: a &quot;font&quot; that only people high on drugs can read!<p><a href="https:&#x2F;&#x2F;qri.org&#x2F;blog&#x2F;psycrypto-contest" rel="nofollow">https:&#x2F;&#x2F;qri.org&#x2F;blog&#x2F;psycrypto-contest</a><p><a href="https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=oD4nV0CMkBI" rel="nofollow">https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=oD4nV0CMkBI</a><p>Of course, the psychedelic hidden message is reversible with some video processing techniques for everyone else to see. And calling it cryptography is a mis-use of the term. Still an interesting use of the effect.<p>I don&#x27;t think &quot;ghost font&quot; will work as well as the author claims.
  • throwaway2194506 hours ago
    I haven’t tried, but it looks like you could trivially solve with optical flow?<p>Edit: looks like yes, from the shared chats people are posting. But it’s interesting to think of communication schemes that require a temporal component so any single image is unreadable and can’t be beaten by long exposures or other tricks (otherwise persistence of vision displays would satisfy). A sort of physical anti copy&#x2F;paste.
  • pluc4 hours ago
    That&#x27;s... not a font? That&#x27;s a generated animated image&#x2F;video?<p>&quot;A computer font or digital font is a digital data file containing a set of graphically related glyphs&quot;<p>so it&#x27;s not a font, humans can&#x27;t read it and AI can.
    • Zambyte1 hour ago
      &gt; I suppose technically, it&#x27;s not a font in the traditional sense of a TTF font file. But, Ghost Font is an experiment of a way to graphically communicate in writing in a format that AI cannot easily understand<p>And this thread is seemingly full of people claiming AI can read it while simultaneously sharing that AI could not read the actual message, only the decoy as demonstrated in TFA.
      • ludwik36 minutes ago
        &gt; And this thread is seemingly full of people claiming AI can read it while simultaneously sharing that AI could not read the actual message, only the decoy as demonstrated in TFA.<p>That’s 100% on the authors for failing to make the default main “hidden” text and the decoy easily distinguishable. The way this is set up is incredibly confusing.
    • casey22 hours ago
      The glyphs are drawn over the time dimension rather than a spacial one
  • Findecanor6 hours ago
    It has bugs with long words: I typed &quot;MARRY AND REPRODUCE&quot;. That was the only try that got the last word on a single line, but with too much space between U and C.<p>If the string is empty, I can read &quot;WRITTEN IN GHOST FONT&quot; very faintly. I&#x27;m guessing that is a watermark Edit: Ah, it&#x27;s decoy text. Of course.
  • gunapologist995 hours ago
    The answers here seem to establish that some frontier models <i>can</i> read it sometimes, but only after tremendous compute.<p>That still makes it (well, a future version) potentially useful as a captcha if we hate our users but hate AI more.
    • bmicraft5 hours ago
      Every single on of those answers I&#x27;ve seen _says_ they did decode it, but each and every one of them only found the decoy message without even realizing it.
  • tempodox3 hours ago
    Technically it works but having to read stuff this way is an unpleasant experience.
  • tentacleuno6 hours ago
    An interesting experiment. I suppose that if you make things like CAPTCHAs <i>too</i> hard to do, we&#x27;d end up struggling as well. I can&#x27;t imagine Ghost Font would be a good fit.
  • voodooEntity6 hours ago
    One side i really like it - i also love to play around with funny ideas - but have to say if i would read more than like 2 sentences with that font i&#x27;d throw up xD
  • zikero6 hours ago
    related: <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=45284311">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=45284311</a>
    • kevincox6 hours ago
      It reminds me of <a href="https:&#x2F;&#x2F;silverspaceship.com&#x2F;static&#x2F;" rel="nofollow">https:&#x2F;&#x2F;silverspaceship.com&#x2F;static&#x2F;</a>
  • ealexhudson6 hours ago
    Sadly another shot in the arms race that captchas started which just leads to increased inaccessibility.<p>It&#x27;s interesting work for sure, but the end goal of separating out AI versus human consumers is tough. Indeed, if there was a lasting solution, that would be a substantial discovery that would quickly become very famous...
  • throw12345678916 hours ago
    I cannot read it. Maybe I am AI.
    • blooalien6 hours ago
      &gt; &quot;I cannot read it. Maybe I am AI.&quot;<p><i>I found the bot living in a simulation!</i><p>What do I win? Where&#x27;s my prize?
  • tokai1 hour ago
    What is making it hard to read for so many people? My eyes aren&#x27;t young or healthy, but it is as clear as day for me. Wonder with screens play are role.
    • marking-time1 hour ago
      Maybe part of it is the natural genetic variation in humans. I could read it, but it wasn&#x27;t easy for me. My eyes are old too.
    • stackghost1 hour ago
      For me it&#x27;s astigmatism. I have fairly mild astigmatism and I can just barely read the text if I try very, very hard.
  • fecal_henge6 hours ago
    I cannot read that text.
  • sscaryterry6 hours ago
    Security through obscurity is not security :)
  • not-a-llm6 hours ago
    &gt; humans can read<p>strong statement, I struggle to read it
  • cynicalsecurity6 hours ago
    Old people and bad vision people firewall. This will violate disability accessibility requirements.
  • satisfice3 hours ago
    I can’t read it. Am I AI? Bleep blorp?
  • Haranrk6 hours ago
    This is really cool!
  • hluska1 hour ago
    It doesn’t work with a screen reader either and I tried two. It’s interesting to me that our hatred of AI is starting to look more like a dislike of the blind and visually impaired.<p>The ADA suits will be absolutely hilarious and honestly, I can’t wait.
  • casey24 hours ago
    I&#x27;m pretty sure there is some compression pipeline that gives you a mask for every frame.<p>Also<p><a href="https:&#x2F;&#x2F;www.google.com&#x2F;search?q=DIS+Optical+Flow" rel="nofollow">https:&#x2F;&#x2F;www.google.com&#x2F;search?q=DIS+Optical+Flow</a>
  • stavros6 hours ago
    Isn&#x27;t this triviaklu defeatable by taking the diff between two frames and marking changed pixels white and unchanged black?
  • sgjohnson6 hours ago
    &quot;humans can read&quot;<p>lol. Barely.
  • sylware6 hours ago
    You can also write using sound based&#x2F;compressed &#x27;text message&#x27; dialect: unless a real human is reading, automated watching tool should have a hard time (until coded&#x2F;ML-ed on such dialects I guess)
  • exe346 hours ago
    I&#x27;m colourblind and this was very difficult to read. If it&#x27;s the directions to the resistance hq, I&#x27;d put in the effort. If it&#x27;s the manifesto, I just wouldn&#x27;t read it.
    • gschizas6 hours ago
      How is it being colorblind affect it? The video is literally black and white only.
      • exe343 hours ago
        I assumed that might be it because that&#x27;s why I usually struggle with novelty visual stuff, but you&#x27;re right, it&#x27;s probably not colour blindness.
    • not-a-llm6 hours ago
      this is black and white, I thought color blindness is only for colors?
  • Razengan6 hours ago
    heh although this font can be read by AI as other comments say, it gave me an idea:<p>How about writing or drawing stuff using optical illusions?<p>Shapes that not even human eyes can see, but the brain hallucinates: Shapes that seem to appear when you look straight at a pattern, or for a second after you look away from a pattern, or after you close your eyes, etc.<p>If you take a screenshot or a photo the image would just contain the same static pattern.<p>i.e. qualia-based &quot;cryptography&quot; :)
  • dewdgi6 hours ago
    uuh, what&#x27;s the point? i mean, models will just be trained to understand it
    • jdiff6 hours ago
      Why would they be trained to read a research experiment that fundamentally goes against the way they perceive? They can&#x27;t train on this technique, they can only postprocess it into a form they can perceive.
  • plastic-enjoyer6 hours ago
    I&#x27;ve had the same idea recently, and even set up a similar page to experiment with different speeds and noise types. I&#x27;ve had the idea to set up a message board where the font is basically &#x27;GhostFont&#x27;. However, in my experiments, I&#x27;ve noticed that the biggest issue is that this only works for larger font sizes. If the text is as small as, for example, on HackerNews, it will become borderline unreadable.<p>Furthermore, if AI can read this or not depends on how the text sequence is pre-processed. If AI only gets snapshots of the text, it will probably fail in decoding the text as every snapshot contains only white noise and such no information. However, if we calculate the Deltas between the animation frames, the text will become decodable by an AI, you probably don&#x27;t even need LLMs or CNNs for this.
  • shalom11126 hours ago
    [dead]
  • jackdoe6 hours ago
    yet
  • arianvanp6 hours ago
    &quot;find out with opencv what the hidden message is.&quot;<p>Skill issue on promoter side.<p>Fable oneshotted it for me.<p>&quot;&quot;&quot; Reveal a motion-camouflaged message hidden in video noise.<p>How it works: The background noise scrolls vertically at a constant rate (a few px&#x2F;frame), while the noise inside the letters does not follow that motion. Any single frame looks like pure static. The decode is:<p><pre><code> 1. Estimate the background&#x27;s global motion between consecutive frames with phase correlation (this is the &quot;optical flow&quot; step - the motion is a pure translation, so one global vector suffices). 2. Motion-compensate: shift frame t+1 back by that vector so the background lines up with frame t. 3. Take the absolute difference. The background cancels almost perfectly; the letters (which don&#x27;t move with the background) light up. 4. Average the residual over a SHORT window of consecutive frame pairs (long windows smear the letters, because the text itself drifts slowly over time), blur lightly, and threshold with Otsu. </code></pre> Usage: python reveal_hidden_message.py input.mp4 [output.png] &quot;&quot;&quot;<p>import sys import cv2 import numpy as np<p>PAIRS = 5 # number of consecutive frame pairs to average (keep small!) BLUR_SIGMA = 6 # spatial blur of each residual, in pixels START_FRAME = 0 # where in the video to start<p>def load_gray_frames(path, count): cap = cv2.VideoCapture(path) frames = [] while len(frames) &lt; count: ok, frame = cap.read() if not ok: break frames.append(cv2.cvtColor(frame, cv2.COLOR_BGR2GRAY).astype(np.float32)) cap.release() if len(frames) &lt; 2: raise SystemExit(&quot;Could not read enough frames from the video.&quot;) return frames<p>def main(): if len(sys.argv) &lt; 2: raise SystemExit(__doc__) src = sys.argv[1] dst = sys.argv[2] if len(sys.argv) &gt; 2 else &quot;revealed_message.png&quot;<p><pre><code> frames = load_gray_frames(src, START_FRAME + PAIRS + 1) h, w = frames[0].shape acc = np.zeros((h, w), np.float32) for i in range(START_FRAME, START_FRAME + PAIRS): a, b = frames[i], frames[i + 1] # 1) global background motion between the two frames (dx, dy), response = cv2.phaseCorrelate(a, b) dxi, dyi = int(round(dx)), int(round(dy)) print(f&quot;pair {i}: background shift = ({dx:+.2f}, {dy:+.2f}) px, &quot; f&quot;response = {response:.2f}&quot;) # 2) motion-compensate frame b by integer (dxi, dyi), then # 3) residual = |a - b_shifted| on the overlapping region ys = slice(max(0, -dyi), min(h, h - dyi)) xs = slice(max(0, -dxi), min(w, w - dxi)) ysb = slice(max(0, dyi), min(h, h + dyi) if dyi &lt; 0 else h) # simpler: crop both to the common overlap a_ov = a[max(0, -dyi):h - max(0, dyi), max(0, -dxi):w - max(0, dxi)] b_ov = b[max(0, dyi):h - max(0, -dyi), max(0, dxi):w - max(0, -dxi)] resid = cv2.GaussianBlur(np.abs(a_ov - b_ov), (0, 0), BLUR_SIGMA) acc[:resid.shape[0], :resid.shape[1]] += resid # 4) normalize + Otsu threshold + light cleanup u8 = cv2.normalize(acc, None, 0, 255, cv2.NORM_MINMAX).astype(np.uint8) _, mask = cv2.threshold(u8, 0, 255, cv2.THRESH_BINARY + cv2.THRESH_OTSU) kernel = cv2.getStructuringElement(cv2.MORPH_ELLIPSE, (5, 5)) mask = cv2.morphologyEx(mask, cv2.MORPH_CLOSE, kernel) out = 255 - mask # black text on white cv2.imwrite(dst, out) print(f&quot;wrote {dst}&quot;) # optional: OCR if pytesseract is installed try: import pytesseract text = pytesseract.image_to_string(out, config=&quot;--psm 6&quot;).strip() print(&quot;OCR result:\n&quot; + text) except ImportError: pass </code></pre> if __name__ == &quot;__main__&quot;: main()
  • senfiaj6 hours ago
    No, it can <a href="https:&#x2F;&#x2F;chatgpt.com&#x2F;share&#x2F;6a521e9b-c754-83ed-9d8e-cf653894eb5a" rel="nofollow">https:&#x2F;&#x2F;chatgpt.com&#x2F;share&#x2F;6a521e9b-c754-83ed-9d8e-cf653894eb...</a>
    • gschizas6 hours ago
      That&#x27;s the decoy message :)
      • senfiaj6 hours ago
        Ah, sorry, yes, tried with a very different message. But it can still read when telling that the text is formed by movement. AI doesn&#x27;t see the world the way we do, so it&#x27;s understandable. <a href="https:&#x2F;&#x2F;chatgpt.com&#x2F;share&#x2F;6a522660-929c-83eb-91ff-66b787342034" rel="nofollow">https:&#x2F;&#x2F;chatgpt.com&#x2F;share&#x2F;6a522660-929c-83eb-91ff-66b7873420...</a>
    • arianvanp6 hours ago
      That is not the message. Did you read the article.
      • senfiaj6 hours ago
        I downloaded the message video, renamed it to test.mp4<p>Still could read <a href="https:&#x2F;&#x2F;chatgpt.com&#x2F;share&#x2F;6a5221f0-e3fc-83eb-bc15-74420002b639" rel="nofollow">https:&#x2F;&#x2F;chatgpt.com&#x2F;share&#x2F;6a5221f0-e3fc-83eb-bc15-74420002b6...</a>
        • bmicraft5 hours ago
          That&#x27;s not the message
      • senfiaj6 hours ago
        I gave him this video file <a href="https:&#x2F;&#x2F;streamable.com&#x2F;1bxxyf" rel="nofollow">https:&#x2F;&#x2F;streamable.com&#x2F;1bxxyf</a>
    • huflungdung6 hours ago
      [dead]