finds.dev← search

// the find

39665558/pic_hide_barcode

★ 546 · Python · updated Mar 2024

hide barcode in a picture. 在一张普通图片里隐藏二维码,可以被微信识别。这个代码谁都可以用,唯独有一个人不给用,抖X上有个叫“大神开发”的营销号,先后盗了我十几个原创视频,我从未见过如此厚颜无耻之人!

A single Python script that hides a QR code inside an ordinary photo so the result still looks like the photo but decodes when scanned with WeChat. It is aimed at people experimenting with visual QR embedding, not at anything that needs guaranteed scan reliability. The repo commits a source photo, a QR code, and a composite so you can check the output without setting anything up.

- The whole project is one script, pic_hide_barcode.py, with the inputs and the composite output committed beside it (普通图片.jpg, 二维码.jpg, 合成图片.png). You can verify the claim by looking at the files rather than running anything.

- It targets one specific decoder, WeChat's scanner, instead of claiming general QR robustness. A narrow target is easier to test and makes the claim easier to believe.

- The output is a single ordinary image, so there is no side channel like a separate overlay or metadata file that can get lost when the picture is shared.

- The README is one line of description and a note about a dispute with a third party. It does not say what inputs the script expects, what image sizes or formats work, or how to run it, so the interface has to be learned from the code.

- The listing shows no LICENSE file. The README says anyone may use the code except one named person, which is not a license. Anyone adopting or forking it cannot tell what they are permitted to do.

- The last push was 2024-03-30. Nothing says which Python, Pillow, or OpenCV versions it was tested with, what WeChat version it was checked against, or how often the hidden code actually scans.

- There is no requirements file in the listing, so the dependencies are implicit and a fresh environment will likely fail on first run.

View on GitHub →

// want more like this?

We dig through GitHub every week and send a few repos picked for what you actually care about — each with an honest take like this one.

Get finds in your inbox → Search again →