H
H
HokafD2020-09-15 06:52:05
CAPTCHA
HokafD, 2020-09-15 06:52:05

How to filter captchas from other images?

How can I filter out captchas from such images 5f603a16b5c78412963357.jpeg
5f603ae51cab4266623320.jpeg
Here is the captcha:
5f603a2ea8264825375582.jpeg

Maybe compare pixels somehow?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
R
Robur, 2020-09-15
@Robur

Captcha can be any picture.
so "in the general case" - no way.
And if you know something about your captchas, then you can already use it,
for example - "all captchas are dirty yellow-green numbers on a white background" - that means we are looking for images where the colors are white and dirty yellow-green. If there are no others - then captcha, if there is then no captcha.
You can have any conditions, depending on what kind of captcha.

K
kocherman, 2020-09-15
@kocherman

You can get telemetry (such as the verbose mode from imagemagick 's identify program ) from all pictures and try to filter out multi-color/square pictures. Also pictures, where almost nothing is drawn. You can try to try to recognize with tesseract.js .

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question