📜 ⬆️ ⬇️

SearchFace developer about the capabilities of the algorithm

Hello everyone, I am one of the developers of the SearchFace service and am ready to talk about it in the comments.



Because of the hype with the suit of VC , the important thing for which we launched the service has receded into the background - to test the search capabilities. And since now the service is available to the general public, I want to show everyone what our recognition algorithms are capable of.

At the moment, SearchFace is a small demo of algorithms. Each search is carried out in our database of half a billion alternatives. That is, each person must be distinguished from hundreds of millions of others, among whom there may be (and probably will be) people very similar to the desired person. Yes, this task has already been solved by the closed FindFace (if it doesn’t change my memory, the base volume was about the same), so we wanted to not just repeat, but wanted to surpass. The main task that we set for ourselves was to try to make it possible to search, including by highly “distorted” pictures. A few examples below, but you can play around yourself.

Example 1. Maxim Cherkasov, trashbox.ru.

Maxim was one of those who, while reviewing our algorithm, did not hesitate to upload photos in mirrored sunglasses. Still, the first three places in the search results were extremely correct results. Moreover, in one of them the photograph was of low resolution, with an unusual facial expression and everything else taken six years ago. Combo!


Result:



Example 2. Ilya Dyer and Sultan Suleymanov from Meduza.io. Ilya uploaded his photo, in which he looks away, and Sultan - a photo in a scarf (where only part of the face is visible). According to him, which we naturally didn’t check, he couldn’t identify him on this photo, while we have a very high score on both of the results, which means that the algorithm didn’t just choose the most similar person, but was sure that found the right one. The verge of "confidence" is somewhere around 0.65–0.67.



Example 3. Nikita Likhachev, tj. Revision TJ tested the engine on its employees, but unlike Maxim Cherkasov, she didn’t try to cheat our algorithm. Therefore, for the purposes of this article, we deliberately blurred a photo of Nikita with imagemagick using a gaussian-blur with different sigma values.

convert Nikita_00.png -gaussian-blur 12x4 Nikita_04.png

Оригинал фотографии и с размытием

И вплоть до сигма=16 в на первом месте была реальная фотография Никиты, при сигма=18 фото Никиты еще попадались в «топ-16», и только начиная с сигма=20 «топ-16» перестал содержать хоть что-то релевантное запросу.



А вот пример поиска по фото с необычной мимикой и нестандартным ракурсом — фотографии ставшей скандально известной этим летом фотомодели Натальи:


Фото с сайта vklybe.tv

Поисковая выдача:



Вот результат работы по фотографии 8-летней Эми Уайнхаус:


В «топ-16» есть много её уже взрослых фото:



С 7-летней Мадонной оказалось сложнее, но тем не менее выдача содержит и её взрослые фото, причем с ярким макияжем.


Результат:



И тут нужно понимать, что семь лет ей было в далеком 1965 году, а фотографии тех времён не всегда высокого качества.



Может показаться, что фотографии в примерах как-то специально подобраны, но вы можете сами попробовать на любых фото. Про сами алгоритмы расскажем чуть позже, а пока просто хочется, чтобы коллективный разум потестировал — фидбек очень важен для нас.

Пишите вопросы в комментариях.

Source: https://habr.com/ru/post/440402/