Skip to main content

Opencv implementations of the operators and tensor of aidge framework

Project description

Aidge logo

EPL 2.0 Examples PyPi Examples Documentation Status GitLab Contributors Open GitLab Issues Closed GitLab Issues

Aidge Backend OpenCV

Aidge Backend CUDA is the implementation library for computer vision databases, OpenCV tensor, operators and stimulis within the Aidge framework.

Quick Start

Prerequisite:

  • aidge_core
  • aidge_backend_cpu

[!TIP] On Windows at least, make sure to add the following environment variables:

  • OpenCV_DIR - It should be set to OpenCV build's folder, e.g. opencv-X.Y.Z\build
  • OPENCV_DLL_DIR - It should be set to OpenCV dll's folder, e.g. opencv-X.Y.Z\build\x64\vc16\bin
pip install aidge-backend-opencv

🛠 Build from Source

Prerequisite (in addition to previous one):

1. Python or C++ installation using setup scripts

Environment C++ Development Python Development
Windows .\setup.ps1 -Modules backend_opencv -Tests -CppOnly .\setup.ps1 -Modules backend_opencv -Tests
Unix ./setup.sh -m backend_opencv --tests --cpp-only ./setup.sh -m backend_opencv --tests

[!TIP] Use Get-Help setup.ps1 (Windows) or ./setup.sh -h (Unix) for full documentation.

2. Python Installation (pip)

Run these commands from the aidge_backend_opencv/ directory:

# Standard install
pip install . -v

# Install with testing dependencies
pip install .[test] -v && pytest

Editable Install (Experimental)

Use this for real-time development without re-installing.

pip install --no-build-isolation -ve . --config-settings=editable.rebuild=true -Cbuild-dir=build

3. C++ Installation (CMake)

[!IMPORTANT] Use this for C++ only projects. This method does not create a Python package.

A CMakePresets.json is provided for standard configurations.

# Configure, Build, and Install
cmake --preset clang-debug
cmake --build --preset clang-debug
cmake --install

# Run C++ Tests
ctest --test-dir build/

[!TIP] Create a CMakeUserPresets.json to define your own local build configurations.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

aidge_backend_opencv-0.9.1.post2-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (36.7 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

aidge_backend_opencv-0.9.1.post2-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (36.6 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

aidge_backend_opencv-0.9.1.post2-cp310-cp310-win_amd64.whl (43.9 MB view details)

Uploaded CPython 3.10Windows x86-64

aidge_backend_opencv-0.9.1.post2-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (36.6 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

File details

Details for the file aidge_backend_opencv-0.9.1.post2-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for aidge_backend_opencv-0.9.1.post2-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 40874748930c2b20220f2aade18a11b28f30a81b5cff3ad0edffd6c7d6d3d582
MD5 911b81fa0580319fe2ecb04153e2c61e
BLAKE2b-256 9443589e056907fc73a7a3ee3c24f7e4b7b5af4f6d5a9b505c34a321a5c6d539

See more details on using hashes here.

File details

Details for the file aidge_backend_opencv-0.9.1.post2-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for aidge_backend_opencv-0.9.1.post2-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 5b71232aa6374bb25ba44280df81882ce67491808f5bee0fa7b35b7e64b8ae5d
MD5 27c6ed03e619cba0cb3fd2a26218cf4f
BLAKE2b-256 776fb5dfeb287af0f5c0e5424f7c6902a0406c468373860577ff9052cc1d53d6

See more details on using hashes here.

File details

Details for the file aidge_backend_opencv-0.9.1.post2-cp310-cp310-win_amd64.whl.

File metadata

File hashes

Hashes for aidge_backend_opencv-0.9.1.post2-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 c3ea27717e26af4d985afe3c1fa2d9d1b9db2ca22ef4d9a42dcc93e3e6ed4e91
MD5 224f3c224a037f89ffac99ee43d320d6
BLAKE2b-256 d1a54ac7b8bc028f39895a4e182e62627a6ab0bb2bcb8ba3b31eda8de3f12f8b

See more details on using hashes here.

File details

Details for the file aidge_backend_opencv-0.9.1.post2-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for aidge_backend_opencv-0.9.1.post2-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 27a344fd286a071731cc0f447304e9f7da0cb354669b02d4be95778f0f76cb72
MD5 d484ef47d0502e84f6e3f718f13f1957
BLAKE2b-256 83d10967d45573a38dac33da5ac1baeca1c2bcd919d8bebecd8eb435f2ce5797

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page