Skip to content

Модель SFace скачивается при сборке - #22

Open
logreus-cloud wants to merge 1 commit into
Felorez:mainfrom
logreus-cloud:build/download-sface
Open

logreus-cloud wants to merge 1 commit into
Felorez:mainfrom
logreus-cloud:build/download-sface

Conversation

@logreus-cloud

Copy link
Copy Markdown
Contributor

Закрывает #12. Модель SFace (38 МБ) больше не хранится в git: при первой сборке её скачивает BiStudent.Core.csproj из OpenCV Zoo (запасной адрес — Hugging Face) и проверяет по SHA-256. Старый файл остаётся в истории, но будущие версии модели не будут раздувать репозиторий, а клон с --depth 1 или --filter=blob:none теперь лёгкий.

BiStudent.Core downloads face_recognition_sface_2021dec.onnx from OpenCV Zoo (Hugging Face as a mirror) on the first build and verifies its SHA-256; a mismatch fails the build and leaves no file. The 38 MB model is no longer tracked; YuNet stays in the repository.

Fixes Felorez#12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant