Images

Image moderation and text on photos in Telegram

An ad captured as a screenshot slips past any text filter — there is not a single word in the message. ModerBot reads the text off the picture and checks it by the same rules as an ordinary message.

What happens to a picture

Three checks on one image, and each of them can fire independently of the others.

The picture itself
What is in the frame is assessed — this is how explicit content is filtered out, where there may be no text at all.
Text on the picture (OCR)
The text that is read off it goes through the same categories as an ordinary message: ads, links, contacts, scams.
The caption under it
A caption is ordinary text, and it is always checked, even if the image itself is harmless.

How it works out in practice

🖼 Screenshot of an ad: “Flat for rent, call me”
Ads — deleted· text read off the image
🖼 Photo with a phone number in close-up
Phone numbers — deleted· the category is switched on separately
🖼 Meme with text about illegal drugs
Illegal drugs — ban· a critical category
🖼 Photo of a cat
Skipped· no violations in the frame or in the text
🖼 Screenshot of a chat with no ads in it
Skipped· text was read, no violations found
🖼 Explicit image
Adult content — deleted· the check of the frame itself fired

Limits worth being honest about

  • Text recognition is not infallible: small, rotated or heavily stylised type is read less reliably.
  • Checking an image takes about a second — longer than text, and noticeable on a stream of pictures.
  • The contents of arbitrary documents — PDFs, spreadsheets, archives — are not unpacked; an image sent as a file is checked as a picture.
  • Videos and video messages are not checked frame by frame.

Frequently asked questions

Which formats are checked?

Photos and pictures sent to the chat the usual way, including images with a caption. The picture itself, the text read off it and the caption under it are all checked.

Are documents and archives checked?

An image sent as a file is checked as a picture. The bot does not unpack the contents of arbitrary documents — PDFs, archives, spreadsheets.

Are the images that people send stored?

A picture is processed on the fly and is not saved as a file. What exactly stays in the log is described in detail on the security page.

How long does checking a picture take?

Noticeably longer than text — about a second. That is why an image goes off to be checked separately, while ordinary text messages keep being handled instantly.

What if the text could not be read?

Then only the check of the picture itself applies. Heavily blurred, rotated or tiny text is read less reliably — that is a limit of the technology, not a setting.

Can image checking be turned off?

Individual categories — adult content, ads — can be switched off in the panel. Critical categories stay on whether the violation is in text or in a picture.

Up and running in a couple of minutes

Add the bot to your group and grant admin rights — protection starts at once, with sensible defaults.

Add to Telegram

Read next