Skip to content

UniFace: A Unified Face Analysis Library for Python | Detection, alignment, landmarks, face-mesh, recognition, parsing, gaze, attributes and anti-spoofing under one API.

fix: Fix installation issue with onnxruntime-gpu version

yakhyocd3ff79c2e65
diff --git a/pyproject.toml b/pyproject.toml
index aef60e4..383ebeb 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -1,6 +1,6 @@
[project]
name = "uniface"
-version = "0.1.7"
+version = "0.1.8"
description = "UniFace: A Comprehensive Library for Face Detection, Recognition, Landmark Analysis, Age, and Gender Detection"
readme = "README.md"
license = { text = "MIT" }
@@ -11,14 +11,16 @@ dependencies = [
"numpy",
"opencv-python",
"onnx",
- "onnxruntime-gpu",
+ "onnxruntime",
"scikit-image",
- "requests"
+ "requests",
+ "tqdm"
]
-requires-python = ">=3.8"
+requires-python = ">=3.9"
[project.optional-dependencies]
dev = ["pytest"]
+gpu = ["onnxruntime-gpu"]
[project.urls]
Homepage = "https://github.com/yakhyo/uniface"
@@ -32,4 +34,4 @@ build-backend = "setuptools.build_meta"
packages = ["uniface"]
[tool.setuptools.package-data]
-"uniface" = ["*.txt", "*.md"]
+"uniface" = ["*.txt", "*.md"]
\ No newline at end of file
diff --git a/uniface/__init__.py b/uniface/__init__.py
index e8187eb..e32725e 100644
--- a/uniface/__init__.py
+++ b/uniface/__init__.py
@@ -13,7 +13,7 @@
__license__ = "MIT"
__author__ = "Yakhyokhuja Valikhujaev"
-__version__ = "0.1.7"
+__version__ = "0.1.8"
from uniface.retinaface import RetinaFace