UniFace: A Unified Face Analysis Library for Python | Detection, alignment, landmarks, face-mesh, recognition, parsing, gaze, attributes and anti-spoofing under one API.
Python computer-visiondeep-learningface-alignmentface-analysisface-anonymizationface-anti-spoofingface-attributesface-detectionface-meshface-parsingface-quality-assessmentface-recognitionface-segmentationface-trackingfacial-landmarksgaze-estimationhead-pose-estimationonnxruntimeportrait-mattingpython
feat: Update release to v2.2.0 (#64)
Yakhyokhuja Valikhujaevcd8077e4607d
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.ymlindex ec0162d..a63af02 100644--- a/.github/workflows/ci.yml+++ b/.github/workflows/ci.yml@@ -4,11 +4,9 @@ on:push:branches:- main- - developpull_request:branches:- main- - developconcurrency:group: ${{ github.workflow }}-${{ github.ref }}@@ -22,7 +20,7 @@ jobs:- uses: actions/checkout@v4- uses: actions/setup-python@v5with:- python-version: '3.11'+ python-version: "3.10"- uses: pre-commit/[email protected]test:@@ -33,8 +31,16 @@ jobs:strategy:fail-fast: falsematrix:- os: [ubuntu-latest, macos-latest, windows-latest]- python-version: ["3.11", "3.13"]+ include:+ # Full Python range on Linux (fastest runner)+ - os: ubuntu-latest+ python-version: "3.10"+ - os: ubuntu-latest+ python-version: "3.13"+ - os: macos-latest+ python-version: "3.13"+ - os: windows-latest+ python-version: "3.13"steps:- name: Checkout codediff --git a/.github/workflows/publish.yml b/.github/workflows/publish.ymlindex 6206881..5578a61 100644--- a/.github/workflows/publish.yml+++ b/.github/workflows/publish.yml@@ -24,7 +24,7 @@ jobs:- name: Set up Pythonuses: actions/setup-python@v5with:- python-version: "3.11"+ python-version: "3.10"- name: Get version from tag and pyproject.tomlid: get_version@@ -54,7 +54,7 @@ jobs:strategy:fail-fast: falsematrix:- python-version: ["3.11", "3.13"]+ python-version: ["3.10", "3.13"]steps:- name: Checkout codediff --git a/README.md b/README.mdindex d7de262..f276287 100644--- a/README.md+++ b/README.md@@ -3,7 +3,7 @@<div align="center">[](https://pypi.org/project/uniface/)-[](https://www.python.org/)+[](https://www.python.org/)[](https://opensource.org/licenses/MIT)[](https://github.com/yakhyo/uniface/actions)[](https://pepy.tech/projects/uniface)diff --git a/docs/index.md b/docs/index.mdindex 0227de0..8fe11d1 100644--- a/docs/index.md+++ b/docs/index.md@@ -12,10 +12,10 @@ template: home.html<p class="hero-subtitle">A lightweight, production-ready face analysis library built on ONNX Runtime</p>-[](https://pypi.org/project/uniface/)-[](https://www.python.org/)+[](https://pypi.org/project/uniface/)+[](https://www.python.org/)[](https://opensource.org/licenses/MIT)-[](https://pepy.tech/project/uniface)+[](https://pepy.tech/projects/uniface)[Get Started](quickstart.md){ .md-button .md-button--primary }[View on GitHub](https://github.com/yakhyo/uniface){ .md-button }diff --git a/pyproject.toml b/pyproject.tomlindex c797963..f041573 100644--- a/pyproject.toml+++ b/pyproject.toml@@ -1,6 +1,6 @@[project]name = "uniface"-version = "2.1.0"+version = "2.2.0"description = "UniFace: A Comprehensive Library for Face Detection, Recognition, Landmark Analysis, Face Parsing, Gaze Estimation, Age, and Gender Detection"readme = "README.md"license = "MIT"@@ -9,7 +9,7 @@ maintainers = [{ name = "Yakhyokhuja Valikhujaev", email = "[email protected]" },]-requires-python = ">=3.11,<3.14"+requires-python = ">=3.10,<3.14"keywords = ["face-detection","face-recognition",@@ -33,6 +33,7 @@ classifiers = ["Intended Audience :: Science/Research","Operating System :: OS Independent","Programming Language :: Python :: 3",+ "Programming Language :: Python :: 3.10","Programming Language :: Python :: 3.11","Programming Language :: Python :: 3.12","Programming Language :: Python :: 3.13",@@ -71,7 +72,7 @@ uniface = ["py.typed"][tool.ruff]line-length = 120-target-version = "py311"+target-version = "py310"exclude = [".git",".ruff_cache",@@ -127,15 +128,6 @@ section-order = [[tool.ruff.lint.pydocstyle]convention = "google"-[tool.mypy]-python_version = "3.11"-warn_return_any = false-warn_unused_ignores = true-ignore_missing_imports = true-exclude = ["tests/", "scripts/", "examples/"]-# Disable strict return type checking for numpy operations-disable_error_code = ["no-any-return"]-[tool.bandit]exclude_dirs = ["tests", "scripts", "examples"]skips = ["B101", "B614"] # B101: assert, B614: torch.jit.load (models are SHA256 verified)diff --git a/uniface/__init__.py b/uniface/__init__.pyindex 702d6cb..50c6822 100644--- a/uniface/__init__.py+++ b/uniface/__init__.py@@ -28,7 +28,7 @@ from __future__ import annotations__license__ = 'MIT'__author__ = 'Yakhyokhuja Valikhujaev'-__version__ = '2.1.0'+__version__ = '2.2.0'from uniface.face_utils import compute_similarity, face_alignmentfrom uniface.log import Logger, enable_logging