RetinaFace — передовой детектор лиц на Python, основанный на глубоком обучении, с ориентирами на лице. Эффективность обнаружения превосходно работает даже в толпе.
Установка:
pip install retina-face
Примеры использования:
from retinaface import RetinaFace
resp = RetinaFace.detect_faces("img1.jpg")
print(resp)
{
"face_1": {
"score": 0.9993440508842468,
"facial_area": [155, 81, 434, 443],
"landmarks": {
"right_eye": [257.82974, 209.64787],
"left_eye": [374.93427, 251.78687],
"nose": [303.4773, 299.91144],
"mouth_right": [228.37329, 338.73193],
"mouth_left": [320.21982, 374.58798]
}
}
}
#python #soft #github
Please open Telegram to view this post
VIEW IN TELEGRAM
Please open Telegram to view this post
VIEW IN TELEGRAM
👍37🔥14❤6🫡4
Please open Telegram to view this post
VIEW IN TELEGRAM
👍74🔥33❤5🫡4
This media is not supported in your browser
VIEW IN TELEGRAM
План «Б»:
С добрым утром, хорошего тебе дня!
Please open Telegram to view this post
VIEW IN TELEGRAM
🔥75👍15🫡15🤯1😱1
Основные характеристики Matplotlib:
линий, цвета, маркеры, метки и аннотации.
#doc #cheatsheet #python
Please open Telegram to view this post
VIEW IN TELEGRAM
Please open Telegram to view this post
VIEW IN TELEGRAM
👍26❤11🔥6😱1🫡1