FINDING · DETECTION
WeChat's OCR-based image filter converts images to grayscale using the luminosity formula (0.299r + 0.587g + 0.114b) before text recognition. All 150 test images with colored text on a luminosity-matched gray background evaded OCR filtering, while average and lightness formulas failed to evade filtering for most colors.
From 2018-knockel-analysis — An analysis of automatic image filtering on WeChat Moments · §3.1.1 · 2018 · Free and Open Communications on the Internet
Implications
- Color-encode sensitive text so its luminosity exactly matches the background; the OCR filter renders it invisible after grayscale conversion while humans reading in color see it clearly.
- Auditing a target filter's grayscale formula via controlled color tests is a cheap, generalizable technique applicable to any OCR-based image censor.
Tags
Extracted by claude-sonnet-4-6 — review before relying.