Ship the three eye-state models beside the face pair

2d106det for the eye contours, OCEC for open or closed, SGC for
sunglasses — all three pinned to a batch of one by the same script as
the pair, and installed by every packager so the eyes-open filter works
out of the box. The two classifiers are MIT, code and weights; the
README records their provenance, SGC's undocumented training set, and
the hashes as fetched and as shipped.
This commit is contained in:
2026-09-19 14:04:08 +02:00
parent 54b543fb77
commit 6aae4c3eb0
11 changed files with 94 additions and 9 deletions
+8
View File
@@ -11,6 +11,14 @@
# ... det_10g.onnx scrfd_10g_640.onnx --input input.1=1,3,640,640
# ... w600k_mbf.onnx arcface_mbf_b1.onnx --dim None=1
#
# And the three eye-state models, verified 2026-09-19 (docs/faces.md §17).
# The landmark model's batch is the literal "None" like the embedder's; the
# two classifiers' is a *named* dim_param "batch":
#
# ... 2d106det.onnx 2d106det_b1.onnx --dim None=1
# ... ocec_s.onnx ocec_s_b1.onnx --dim batch=1
# ... sgc_is_l_48x48.onnx sgc_l_48_b1.onnx --dim batch=1
#
# ## Why this exists
#
# The InsightFace exports declare dynamic input dimensions — SCRFD's H and W,