/ Модель

Характеристики

Лицензия
CC BY-NC 4.0
Базовая модель
hrnet_w48.ms_in1k
Опубликована
24 окт 2026

facepoints

Классификация и разметка3 профессии

Facepoints находит 620 плотных ориентиров лица и стандартные наборы из 68 и 98 точек для подгонки и анимации 3D-аватаров.

202скачиваний за 30 дней3лайкавеса обновлены1 ноя 2026

Бенчмарки

Как модель справилась с задачами пользователей ailist и что о ней публикуют открытые лидерборды

Публичные оценки

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

В подключённых источниках результатов для этой модели пока нет.

Что умеет модель

Описание составлено по карточке модели и метаданным Hugging Face

Facepoints — модель компьютерного зрения от myned-ai для поиска плотных ориентиров лица на фотографии или кадре видео. Она дообучена на базе HRNet-W48 и выдаёт 620 точек, привязанных к сетке GNM Head, а также стандартные наборы из 68 ориентиров iBUG и 98 ориентиров WFLW. Для каждой точки возвращается оценка ошибки в пикселях. Модель принимает изображение одного лица, обрезанное по рамке, которую должен предоставить внешний детектор лиц.

Результаты можно использовать для подгонки 3D-сетки GNM Head к лицу, а затем для создания или анимации аватара. На студийных данных точность сопоставима с Pixel3DMM в большинстве областей лица; на видео модель показывает результат, сопоставимый со STAR. Лицензия CC BY-NC 4.0 разрешает использование на некоммерческих условиях.

Скрытые ориентиры, например зубы при закрытом рте и дальняя сторона повёрнутого лица, модель оценивает, а не наблюдает. Профильные лица — слабое место; точность на произвольных фотографиях изучена ограниченно, а ошибки на студийных данных были связаны с тоном кожи и экспозицией. Оценки ошибки в среднем требуют калибровочного множителя 1,34.

Сценарии применения

  • подгонка сетки GNM Head к лицу на фотографии
  • создание 3D-аватара по изображению лица
  • анимация лица по кадрам видео
  • оценка положения век, радужек, зубов и контуров лица
  • извлечение ориентиров iBUG 68 и WFLW 98

Ограничения

Для работы требуется обрезка лица и рамка от внешнего детектора; скрытые точки модель оценивает, а не видит, и профильные лица обрабатываются хуже. Точность 620 точек на произвольных фотографиях подтверждена ограниченно, а связь ошибок с тоном кожи может быть смешана с влиянием экспозиции.

Для каких профессий подходит3

Разделы каталога профессий, в задачах которых используется эта модель

Все профессии

Карточка модели

README от автора на Hugging Face, как он его опубликовал

Открыть на Hugging Face

Facepoints: 620 dense face landmarks on the GNM Head mesh

The 620 points and the 68- and 98-point sets on a studio photo

Finds 620 points on a face in a photo. Every point is a fixed location on Google's open GNM Head mesh, so the output fits that model to a person directly — for building or animating a 3D avatar. The same forward pass also gives the standard 68-point (iBUG) and 98-point (WFLW) landmark sets and an error estimate for every point. To our knowledge (2026-10-23) it is the first publicly released detector trained on points defined on the GNM mesh.

Inputone face, cropped from a photo or video frame; a face detector supplies the box
Output620 points, each (x, y) plus its own error estimate, in pixels; the 68- and 98-point sets
Points416 landmark and 150 skin points, 36 eyelid-edge, 16 front teeth (7 upper, 9 lower), 2 iris centres (points_gnm.json maps each to the GNM Head mesh, v3.0)
ModelHRNet-W48, 256-px input, 102.7 M parameters (+1.2 M for the 68/98 heads)
Weightsmodel.safetensors + config.json; SHA-256 of the weights b37075caa3eaf0d00f23f32925b16ec3a8e2e45c42aa9c00956f94f2574e6526

Use

git clone https://huggingface.co/myned-ai/facepoints && cd facepoints   # git-lfs for the weights
pip install -e .    # torch, timm, safetensors, opencv-python-headless, numpy
import cv2
from facepoints import Detector, square_box, gnm_positions

det = Detector(".")                             # the folder with model.safetensors + config.json
img = cv2.imread("face.jpg")                    # BGR
x, y, w, h = my_face_detector(img)              # any face box, e.g. OpenCV's YuNet
out = det.detect(img, square_box(x, y, w, h))   # the box, then two passes on the model's own extent

out["points"], out["std"]   # (620, 2) image px, and one predicted std per point (px)
out["300w"], out["wflw"]    # (68, 2) and (98, 2)
gnm_positions(mesh_xyz)     # (620, 3): the same points on any posed GNM Head mesh (weights x vertices)

Fitting the GNM Head to a face = solving for the mesh whose projected gnm_positions match out["points"], weighted by 1 / std. One face at a time; the output moves with the box, which is why detect re-frames on its own points. A box with no face in it yields points with a very large std — threshold it. A complete example with OpenCV's face finder: python run.py photo.jpg out.jpg (the model from this folder, or --model DIR); tests: pytest tests.

Results

Against registered 3D meshes of 9 studio people none of the models trained on, 14 cameras, their widest mouth shapes. The score is how well the points follow the face: median distance to the paired truth vertex, in mm, after removing each point's constant offset at rest (protocol in the report).

Median error against the registered mesh: ours, Pixel3DMM, 3DDFA-V3

lipscheekschinrest of face
ours1.782.002.120.81
Pixel3DMM1.812.191.670.78
3DDFA-V32.402.612.841.41

Level with Pixel3DMM except on the chin, ahead of 3DDFA-V3 on every region.

Three Multiface people, frontal and side view, per-point error of each model

On the 2D benchmarks (the 68/98-point outputs; full test sets; NME = mean point error as % of the eye-corner distance):

NME on 300W, 300VW and WFLW: ours and five other models

300W300VWWFLW
ours, 68/98-point heads3.333.524.66
ours, 620 points through a linear map3.313.564.59
STAR (official checkpoints)3.063.454.47
SPIGA3.023.374.06
RwSA (ICCV 2025)2.963.384.23
FAN3.694.117.27
MediaPipe (478 points, mapped)3.874.007.72

Behind the three models built for these benchmarks by 0.2–0.6, level with STAR on video, ahead of FAN and MediaPipe everywhere. Profile faces are the weak spot.

WFLW test faces, one per condition: ours, STAR, SPIGA, RwSA, MediaPipe

The error estimate (std) comes from a Student-t likelihood (ν = 10). Error rises with it, but the intervals are too narrow: multiply std by 1.34 to calibrate on average. Measured on studio faces only.

Limitations

  • Hidden points (teeth behind closed lips, the far side of a turned face) are estimated, not seen; sunglasses give guessed eyelids and irises; closed eyes come out about 1 mm open.
  • The 620 points have no hand-labelled truth on wild photos; their wild accuracy is known only through the 68/98 outputs.
  • On 24 held-out studio people, error correlated with darker skin (Spearman −0.44, p = 0.03), confounded with exposure; Ava-256 is biased to lighter-skinned people under 35.

Training

The 620 points: Ava-256 (Meta), 230 people, 16 cameras; labels are projections of each person's registered mesh, whose vertices were mapped onto the GNM template. The 68/98 heads: the 300W and WFLW training photos; on those photos the 620 points carry pseudo-labels. HRNet-W48, three stages, one run. To replicate the model, follow train/README.md: data preparation, the three commands and the export. The scripts and the shipped sample lists, split and pseudo-label map: prep/; every key: train/config.py. Protocol, data and analysis in full: technical report (in preparation).

Licence

Copyright 2026 Myned AI (opensource@myned.ai).

licencesource
codeApache-2.0LICENSE
model.safetensors, points_gnm.json, prep/*.npzCC BY-NC 4.0LICENSE-WEIGHTS
Ava-256 · Multiface (images)CC BY-NC 4.0LICENSE files
300W · WFLW (WIDER FACE images) · 300VWresearch only · CC BY-NC-ND · none stateddataset pages
ImageNet start (timm hrnet_w48.ms_in1k)weights MIT; ImageNet terms non-commercialmodel card
GNM HeadApache-2.0, attribution requiredLICENSE file

Figures show Multiface people and WFLW test faces as the benchmark publishes them.

Как запустить

На своей GPU в ailist. Цена — по текущим предложениям провайдеров

GPU в ailist

Универсальный рантайм

Нельзя запустить

В репозитории нет config.json: не понять архитектуру модели.

Ревизия весов
6855f41

0 моделей