From d8a53eec70e080acb16ba6cfec946593f3dfdf5f Mon Sep 17 00:00:00 2001 From: Richard Frank Date: Fri, 22 Mar 2024 16:15:17 +0200 Subject: [PATCH 1/5] add left eye and right eye attributes --- src/Data/FacialArea.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Data/FacialArea.php b/src/Data/FacialArea.php index 3ed2375..523816c 100644 --- a/src/Data/FacialArea.php +++ b/src/Data/FacialArea.php @@ -11,6 +11,8 @@ public function __construct( public readonly int $y, public readonly int $w, public readonly int $h, + public readonly ?int $left_eye, + public readonly ?int $right_eye, ) { } From e1d445b54f917fa4f7b3f135da571bb6e39f7e89 Mon Sep 17 00:00:00 2001 From: Tom Witkowski Date: Mon, 24 Jun 2024 10:50:26 +0200 Subject: [PATCH 2/5] switch to PSR-12 --- pint.json | 3 +++ src/DeepFace.php | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 pint.json diff --git a/pint.json b/pint.json new file mode 100644 index 0000000..ea5e72c --- /dev/null +++ b/pint.json @@ -0,0 +1,3 @@ +{ + "preset": "psr12" +} diff --git a/src/DeepFace.php b/src/DeepFace.php index 37c9784..8b22204 100644 --- a/src/DeepFace.php +++ b/src/DeepFace.php @@ -29,7 +29,7 @@ class DeepFace public function __construct(string $python = null) { - $this->python = $python ?? (new ExecutableFinder)->find( + $this->python = $python ?? (new ExecutableFinder())->find( name: 'python3', default: 'python3', ); From b78e7026f6f4802440071b9bf918d1969bcd8bbb Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 18 Jun 2024 03:08:37 +0000 Subject: [PATCH 3/5] Update symfony/process requirement from ^6.0 to ^7.1 Updates the requirements on [symfony/process](https://github.com/symfony/process) to permit the latest version. - [Release notes](https://github.com/symfony/process/releases) - [Changelog](https://github.com/symfony/process/blob/7.1/CHANGELOG.md) - [Commits](https://github.com/symfony/process/compare/v6.0.0...v7.1.1) --- updated-dependencies: - dependency-name: symfony/process dependency-type: direct:production ... Signed-off-by: dependabot[bot] --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 61e22ca..dae22b9 100644 --- a/composer.json +++ b/composer.json @@ -34,7 +34,7 @@ "php": "^8.1", "ext-json": "*", "ext-spl": "*", - "symfony/process": "^6.0" + "symfony/process": "^7.1" }, "require-dev": { "laravel/pint": "^1.13" From 16cd758c6e263f2c0670509034890faaacf6dbe6 Mon Sep 17 00:00:00 2001 From: Tom Herrmann Date: Mon, 24 Jun 2024 10:31:54 +0200 Subject: [PATCH 4/5] Update composer.json --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index dae22b9..d821aa2 100644 --- a/composer.json +++ b/composer.json @@ -34,7 +34,7 @@ "php": "^8.1", "ext-json": "*", "ext-spl": "*", - "symfony/process": "^7.1" + "symfony/process": "^6.0|^7.1" }, "require-dev": { "laravel/pint": "^1.13" From 811b22a5580b2dbae170e44563c6557859265ea5 Mon Sep 17 00:00:00 2001 From: Tom Herrmann Date: Mon, 24 Jun 2024 10:32:14 +0200 Subject: [PATCH 5/5] Update composer.json --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index d821aa2..1be6b0a 100644 --- a/composer.json +++ b/composer.json @@ -34,7 +34,7 @@ "php": "^8.1", "ext-json": "*", "ext-spl": "*", - "symfony/process": "^6.0|^7.1" + "symfony/process": "^6.0|^7.0" }, "require-dev": { "laravel/pint": "^1.13"