From nobody Tue Apr 4 15:26:34 2023 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4PrWnl1S0Wz43jyk; Tue, 4 Apr 2023 15:26:35 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PrWnl0vKPz3k3m; Tue, 4 Apr 2023 15:26:35 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1680621995; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=cOeM/qww6k4a4+OnoG9czfEqDBvJ7iO2afbtHU4DX2w=; b=ZGVmYPkKm7nNuy64H4esbKHTaYHkTp2sksxIFFPUx45gx1VwxNfPSxEwwa/ZHdBCYq5zTY CqHImT6oQTN/pyD0kxwJjOS6mObg2KqllN2IJuir/St/Pn7j5Rp1Cgoc345D13fW7y5B5O hDk4/YauT71f7hWPlAPJIbdCCt7L70KSUGmCDOqkTAbTY+RDgnFxKfO6CUERJYwgbEYwI9 F9h22lOngnopaRZ1bxIfbFitOH69L+NjzoboSboGQe0TXRQdLXxlMcId46iTjcyKzZVDsb Ua4hcMsLL+PJSTuT7762f5XILjjg5qIt2EzmUSt28YPIiyVTpJAnUwBeDLeudA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1680621995; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=cOeM/qww6k4a4+OnoG9czfEqDBvJ7iO2afbtHU4DX2w=; b=ol+s//ie5I6V7sZK/mlzMftb/Hmbt7GNTEgfu68IcllUT/lwMZYJXisi4mlXEEoo/SSUWN zvuWGEmwVr1JYd5iiujb/Nbafyq0d7VgzXmSLhEbxN6Q1tCmsEhI4Nk/lVZuF13p6qGXNi /70mPRzyartmMi6sHlLwwPLrYzpt7ZNHjyaFlptlmecINHDlg4fQjUMrrZlp9/WkFsk6mn rT2s3ldaQyoD5VR028wMI70a0hpQtReKPfP8CitDLkUXm1pOqsrZ0blux3uzPVtEKtv8YQ tqrbeziRFnAbkoLKKOZsEzXSI1iSvTlPi3S/20MWU1nC6bZx99Hfhacu4u44pg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1680621995; a=rsa-sha256; cv=none; b=X+BvsKVhVQPTiUBK6I1MN/4WZuaNMml+RkulVvFQn6EddlNUyQR6nEZ9AZjlYI4zONtHsL EOOvllRYQVuRk0jczuyMQTZQ1fsPvFSMJ9CUrksPC9NTJsGslsnFlpDP6RKkxapOxl0RNy dSrNXPFe3an538MfSyO665Z3T54fhiBPwiK8hvV3wcM0pQCiiTN8Y5O8DHBI23JXoub0Ia tOIDrtPwvUa6jyOFdBEKYzJaIxyqBErBmCJdwiwinaqwLiwi/jySX3lKu/KPiCN4nMQYjH iQZ1pQJAGJ29m+b5PlOykY6+vqEX90Zh/JW1n3Ghi/nEFIZEFwxSXHM3dNyaOw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4PrWnk6yJBzlTL; Tue, 4 Apr 2023 15:26:34 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 334FQYmv097499; Tue, 4 Apr 2023 15:26:34 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 334FQYNe097498; Tue, 4 Apr 2023 15:26:34 GMT (envelope-from git) Date: Tue, 4 Apr 2023 15:26:34 GMT Message-Id: <202304041526.334FQYNe097498@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Gleb Popov Subject: git: 17f8596092e5 - main - misc/dlib-models: Model files for the science/dlib-cpp library. List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: arrowd X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 17f8596092e5827781425f1fa1bde4c69cc46941 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by arrowd: URL: https://cgit.FreeBSD.org/ports/commit/?id=17f8596092e5827781425f1fa1bde4c69cc46941 commit 17f8596092e5827781425f1fa1bde4c69cc46941 Author: Alexey Yushkin <636808@mail.ru> AuthorDate: 2023-04-04 14:29:49 +0000 Commit: Gleb Popov CommitDate: 2023-04-04 15:26:22 +0000 misc/dlib-models: Model files for the science/dlib-cpp library. Sponsored by: Serenity Cybersecurity, LLC --- misc/Makefile | 1 + misc/dlib-models/Makefile | 51 ++++++++++++++++++++++++++++++++++++++++++++++ misc/dlib-models/distinfo | 3 +++ misc/dlib-models/pkg-descr | 3 +++ 4 files changed, 58 insertions(+) diff --git a/misc/Makefile b/misc/Makefile index b45123492196..3f2a19679c41 100644 --- a/misc/Makefile +++ b/misc/Makefile @@ -82,6 +82,7 @@ SUBDIR += digitemp SUBDIR += dijo SUBDIR += dive + SUBDIR += dlib-models SUBDIR += dnetc SUBDIR += dotenv-linter SUBDIR += dtach diff --git a/misc/dlib-models/Makefile b/misc/dlib-models/Makefile new file mode 100644 index 000000000000..09e91e086f5b --- /dev/null +++ b/misc/dlib-models/Makefile @@ -0,0 +1,51 @@ +PORTNAME= dlib-models +PORTVERSION= 20210513 +CATEGORIES= misc + +MAINTAINER= arrowd@FreeBSD.org +COMMENT= Trained model files for dlib example programs +WWW= https://github.com/davisking/dlib-models + +LICENSE= CC0-1.0 +LICENSE_FILE= ${WRKSRC}/LICENSE + +USE_GITHUB= yes +GH_ACCOUNT= davisking +GH_PROJECT= dlib-models +GH_TAGNAME= daf943f781 + +NO_BUILD= yes +NO_ARCH= yes + +MODELS= age-predictor/dnn_age_predictor_v1.dat \ + gender-classifier/dnn_gender_classifier_v1.dat \ + dlib_face_recognition_resnet_model_v1.dat \ + mmod_dog_hipsterizer.dat \ + mmod_front_and_rear_end_vehicle_detector.dat \ + mmod_human_face_detector.dat \ + mmod_rear_end_vehicle_detector.dat \ + resnet34_1000_imagenet_classifier.dnn \ + resnet50_1000_imagenet_classifier.dnn \ + shape_predictor_5_face_landmarks.dat \ + shape_predictor_68_face_landmarks.dat \ + shape_predictor_68_face_landmarks_GTX.dat + +.for f in ${MODELS} +PLIST_FILES+= ${DATADIR}/${f} +.endfor + +pre-install: +.for f in ${MODELS} + ${BZIP2_CMD} -d ${WRKSRC}/${f}.bz2 + ${RM} ${f}.bz2 +.endfor + +do-install: + cd ${WRKSRC}/ && \ + ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR} + + ${FIND} ${STAGEDIR}${DATADIR} -name '*.cpp' -delete + ${RM} ${STAGEDIR}${DATADIR}/LICENSE + ${RM} ${STAGEDIR}${DATADIR}/README.md + +.include diff --git a/misc/dlib-models/distinfo b/misc/dlib-models/distinfo new file mode 100644 index 000000000000..9ba435cda5f6 --- /dev/null +++ b/misc/dlib-models/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1680618386 +SHA256 (davisking-dlib-models-20210513-daf943f781_GH0.tar.gz) = e5acfad2955ec53bd34114fe518d6ca51cdc23040a10ace155631964624fc8cd +SIZE (davisking-dlib-models-20210513-daf943f781_GH0.tar.gz) = 340370860 diff --git a/misc/dlib-models/pkg-descr b/misc/dlib-models/pkg-descr new file mode 100644 index 000000000000..d8e44f9bbd8a --- /dev/null +++ b/misc/dlib-models/pkg-descr @@ -0,0 +1,3 @@ +Dlib is a modern C++ toolkit containing machine learning algorithms +and tools for creating complex software in C++ to solve real world +problems. This packages provides trained models for various dlib algorithms.