working demo code with significant speed-up #1

Merged
foefl merged 8 commits from demo into main 2026-03-02 14:49:18 +00:00
2 changed files with 9 additions and 5 deletions
Showing only changes of commit 63cb37c254 - Show all commits

8
pdm.lock generated
View File

@ -2,10 +2,10 @@
# It is not intended for manual editing. # It is not intended for manual editing.
[metadata] [metadata]
groups = ["default", "dev", "lint", "nb", "tests"] groups = ["default", "dev", "lint", "nb", "open-cv", "tests"]
strategy = ["inherit_metadata"] strategy = ["inherit_metadata"]
lock_version = "4.5.0" lock_version = "4.5.0"
content_hash = "sha256:326ca1095302e816f56644c4ba0929ea12b930348375c98eba139701e0388de6" content_hash = "sha256:dd33ca3d0a561a8f2634539cc333c0456a89a60141b902cb78408bf546abbc85"
[[metadata.targets]] [[metadata.targets]]
requires_python = ">=3.11,<3.15" requires_python = ">=3.11,<3.15"
@ -1547,7 +1547,7 @@ name = "numpy"
version = "2.4.2" version = "2.4.2"
requires_python = ">=3.11" requires_python = ">=3.11"
summary = "Fundamental package for array computing in Python" summary = "Fundamental package for array computing in Python"
groups = ["default"] groups = ["default", "open-cv"]
files = [ files = [
{file = "numpy-2.4.2-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:e7e88598032542bd49af7c4747541422884219056c268823ef6e5e89851c8825"}, {file = "numpy-2.4.2-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:e7e88598032542bd49af7c4747541422884219056c268823ef6e5e89851c8825"},
{file = "numpy-2.4.2-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:7edc794af8b36ca37ef5fcb5e0d128c7e0595c7b96a2318d1badb6fcd8ee86b1"}, {file = "numpy-2.4.2-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:7edc794af8b36ca37ef5fcb5e0d128c7e0595c7b96a2318d1badb6fcd8ee86b1"},
@ -1628,7 +1628,7 @@ name = "opencv-python"
version = "4.13.0.92" version = "4.13.0.92"
requires_python = ">=3.6" requires_python = ">=3.6"
summary = "Wrapper package for OpenCV python bindings." summary = "Wrapper package for OpenCV python bindings."
groups = ["default"] groups = ["open-cv"]
dependencies = [ dependencies = [
"numpy<2.0; python_version < \"3.9\"", "numpy<2.0; python_version < \"3.9\"",
"numpy>=2; python_version >= \"3.9\"", "numpy>=2; python_version >= \"3.9\"",

View File

@ -6,11 +6,15 @@ authors = [
{name = "Susanne Franke", email = "s.franke@d-opt.de"}, {name = "Susanne Franke", email = "s.franke@d-opt.de"},
{name = "Florian Förster", email = "f.foerster@d-opt.com"}, {name = "Florian Förster", email = "f.foerster@d-opt.com"},
] ]
dependencies = ["PySide6>=6.10.2", "numpy>=2.4.2", "pillow>=12.1.1", "opencv-python>=4.13.0.92", "pyvips[binary]>=3.1.1"] dependencies = ["PySide6>=6.10.2", "numpy>=2.4.2", "pillow>=12.1.1", "pyvips[binary]>=3.1.1"]
requires-python = "<3.15,>=3.11" requires-python = "<3.15,>=3.11"
readme = "README.md" readme = "README.md"
license = {text = "LicenseRef-Proprietary"} license = {text = "LicenseRef-Proprietary"}
[project.optional-dependencies]
open-cv = [
"opencv-python>=4.13.0.92",
]
[build-system] [build-system]
requires = ["pdm-backend"] requires = ["pdm-backend"]
build-backend = "pdm.backend" build-backend = "pdm.backend"