# 모델 출처와 라이선스

이 폴더의 모델은 아래 라이선스로 배포된 것을 그대로, 또는 적은 대로 바꿔서 다시 배포한다. 모두 상업적 사용이 허용된다.
Apache License 2.0 전문: https://www.apache.org/licenses/LICENSE-2.0

| 파일 | 원본 | 라이선스 | 바꾼 것 |
|---|---|---|---|
| `yunet.onnx` | OpenCV Zoo, face_detection_yunet (`face_detection_yunet_2023mar.onnx`, SHA-256 8f2383e4…2552fa4) | **MIT** (아래 고지) | 없음 |
| `sface.onnx` | OpenCV Zoo, face_recognition_sface (`face_recognition_sface_2021dec.onnx`, SHA-256 0ba9fbfa…) | Apache 2.0 | 없음 |
| `auraface_uint8.onnx` | fal, AuraFace-v1 (`glintr100.onnx`, https://huggingface.co/fal/AuraFace-v1) | Apache 2.0 | onnxruntime `quantize_dynamic` 로 가중치를 uint8(per-tensor) 동적 양자화. 248.6 MiB → 62.6 MiB. 구조·입출력 동일 |

## YuNet — MIT License

```
MIT License

Copyright (c) 2020 Shiqi Yu <shiqi.yu@gmail.com>

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
```

## 참고

- AuraFace-v1 저장소의 다른 파일(scrfd 검출기, 2d106det·1k3d68 랜드마크, genderage)은 InsightFace 비상업 모델이라 쓰지 않고 포함하지 않는다. `glintr100.onnx` 만 Apache 2.0.
- SFace 는 OpenCV Zoo 가 Apache 2.0 을 붙였지만 학습 데이터가 공개되지 않았다. AuraFace 는 저자가 상업용으로 쓸 수 있는 데이터로 학습했다고 밝혔다. 자세한 검토는 저장소의 MODEL_SURVEY.md.
