git: 16aa06c4d8c4 - main - misc/py-facenet-pytorch: New port: Pretrained PyTorch face detection and recognition models
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 27 Dec 2023 10:54:10 UTC
The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=16aa06c4d8c4f084a7bdf772a4ad5e8abac91701 commit 16aa06c4d8c4f084a7bdf772a4ad5e8abac91701 Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2023-12-27 10:53:33 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2023-12-27 10:54:07 +0000 misc/py-facenet-pytorch: New port: Pretrained PyTorch face detection and recognition models --- misc/Makefile | 1 + misc/py-facenet-pytorch/Makefile | 24 ++++++++++++++++++++++++ misc/py-facenet-pytorch/distinfo | 3 +++ misc/py-facenet-pytorch/pkg-descr | 2 ++ 4 files changed, 30 insertions(+) diff --git a/misc/Makefile b/misc/Makefile index 1189078ac219..e821650d7b5b 100644 --- a/misc/Makefile +++ b/misc/Makefile @@ -414,6 +414,7 @@ SUBDIR += py-einops SUBDIR += py-emoji SUBDIR += py-ezc3d + SUBDIR += py-facenet-pytorch SUBDIR += py-fast-histogram SUBDIR += py-fastscapelib SUBDIR += py-fleep diff --git a/misc/py-facenet-pytorch/Makefile b/misc/py-facenet-pytorch/Makefile new file mode 100644 index 000000000000..ac1010f5fdb3 --- /dev/null +++ b/misc/py-facenet-pytorch/Makefile @@ -0,0 +1,24 @@ +PORTNAME= facenet-pytorch +DISTVERSION= 2.5.3 +CATEGORIES= misc # machine-learning +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Pretrained PyTorch face detection and recognition models +WWW= https://github.com/timesler/facenet-pytorch + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE.md + +RUN_DEPENDS= ${PYNUMPY} \ + ${PYTHON_PKGNAMEPREFIX}pillow>0:graphics/py-pillow@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}requests>0:www/py-requests@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}torchvision>0:misc/py-torchvision@${PY_FLAVOR} + +USES= python +USE_PYTHON= distutils autoplist + +NO_ARCH= yes + +.include <bsd.port.mk> diff --git a/misc/py-facenet-pytorch/distinfo b/misc/py-facenet-pytorch/distinfo new file mode 100644 index 000000000000..87e5810bf8c9 --- /dev/null +++ b/misc/py-facenet-pytorch/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1703671850 +SHA256 (facenet-pytorch-2.5.3.tar.gz) = 98cc5b42a48f837c023eb92f2a571cd4ac6a46687c5e71b9e99b491087273e2b +SIZE (facenet-pytorch-2.5.3.tar.gz) = 1885286 diff --git a/misc/py-facenet-pytorch/pkg-descr b/misc/py-facenet-pytorch/pkg-descr new file mode 100644 index 000000000000..43eb992acdd2 --- /dev/null +++ b/misc/py-facenet-pytorch/pkg-descr @@ -0,0 +1,2 @@ +facenet-pytorch is a collection of pretrained PyTorch face detection (MTCNN) and +facial recognition (InceptionResnet) models.