As on PHP to recognize text on a photo and paint over it?

On auto.ru when you upload a photo of the machine, is automatically smeared rooms.
Want to do the same, only not with cars and photo when a user downloads a photo it was smeared any text.
In what direction to dig?
June 10th 19 at 15:51
5 answers
June 10th 19 at 15:53
You are here kidding?
Of course, the cover automatically.
It is necessary to dig in the direction of neural networks and OCR.
To cover you can use ImageMagic.
People have decided that cars.ru — some collective website, which the moderators have nothing to do) - Brady_Hess commented on June 10th 19 at 15:56
generally it does not agree with this position. But to explain for a long time))) - Leda15 commented on June 10th 19 at 15:59
, https://toster.ru/answer?answer_id=1145799 - Gabrielle73 commented on June 10th 19 at 16:02
June 10th 19 at 15:55
PHP does not have to deal with such tasks as OCR. This language is clearly not intended. But from PHP you can using third-party software to get the coordinates of text and close it.
June 10th 19 at 15:57
Not familiar with this site, but I can imagine 2 options:
1. Either in moderation, the moderators hands, smeared.
2. Or "artificial intelligence" everybody's doing it. Then you read the area of machine learning.
June 10th 19 at 15:59
Did you check: cover picture which is very similar to plate objects. Well, a couple of cars... in Short, create a situation, which it most likely thought, "Oh, yeah never will be!"
And see a human or a robot:)
Good idea, will try. - Brady_Hess commented on June 10th 19 at 16:02
tried what You said, all it is.
To paint a room can only have 1 car and if it is photographed at close range, if the car or load a picture with text, website or what to do about it. - Leda15 commented on June 10th 19 at 16:05
Well, then not so cool as it should be... - Gabrielle73 commented on June 10th 19 at 16:08
Strictly speaking - if the allocation of numbers is some sort of object detector network (which fed the whole image) - not the fact that he works for "similar objects" (more precisely like it would work, but that would be a criteria-like object?), no? - Gabrielle73 commented on June 10th 19 at 16:11
Well I certainly don't know what criteria it uses, but I would probably have identified the main(!) criteria is a bright figure with 4 straight sides and along the contour with black frame, aspect ratio and angles of the figure, the presence inside the shape of several individual dark areas, another would be to check for range of groups, colors and shades for detect flag of a particular country, it would very much increase the likelihood "number", the ratio of the size of the figure and the entire figure... well, that came to mind, as they say "on the knee")), and so it is clear that the idea can develop long and a flight of fancy and situations a lot)) - Gabrielle73 commented on June 10th 19 at 16:14
is if we allocate signs to define the boundaries of a number manually, otherwise there is a chance that it will cling to something more counterintuitive (well, as in the history of determining the location of the curtains on batteries) the same. - Leda15 commented on June 10th 19 at 16:17
June 10th 19 at 16:01
You need templates images of rooms and look for the downloaded image similar places (from these templates), and then cover the part. I certainly never did) But I think no artificial intelligence needed)
Google "image Search in the image php", might find something interesting)

Find more questions by tags PHP