Skip to main content

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.

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.10.0-cp312-cp312-win_amd64.whl (27.1 MB view details)

Uploaded CPython 3.12Windows x86-64

aidge_backend_opencv-0.10.0-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (31.0 MB view details)

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

aidge_backend_opencv-0.10.0-cp311-cp311-win_amd64.whl (27.1 MB view details)

Uploaded CPython 3.11Windows x86-64

aidge_backend_opencv-0.10.0-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (31.0 MB view details)

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

aidge_backend_opencv-0.10.0-cp310-cp310-win_amd64.whl (27.1 MB view details)

Uploaded CPython 3.10Windows x86-64

aidge_backend_opencv-0.10.0-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (31.0 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.10.0-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for aidge_backend_opencv-0.10.0-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 53f19a7dad5e08b9f7a8f468e777c2e6f1889c57b95bb4c66642fb2e17bbee93
MD5 11455313ff3c390a690860ab616d26e3
BLAKE2b-256 2c472756ed076a229187e994d8e1f421b045b819c8f0ab17f1d8376705a8e473

See more details on using hashes here.

File details

Details for the file aidge_backend_opencv-0.10.0-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for aidge_backend_opencv-0.10.0-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 9c8e4be3bfb21a46c5029381c75297eb43f4c161745fb2611f9e2fc873809ed2
MD5 dddcc153254f6cf47b9e0364afacf849
BLAKE2b-256 6cfebd0f827775bf4148ad9edad5b8442922a426ea304920f2834d50258aad91

See more details on using hashes here.

File details

Details for the file aidge_backend_opencv-0.10.0-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for aidge_backend_opencv-0.10.0-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 b195d5f384f0db818200ac5d379a2fe8c4a2b05f0856daaab3180868f64fb35a
MD5 cb996c626c1b6e9b43dfd162bc19a44b
BLAKE2b-256 8c55e44c1b37baf17dcc2a814de2ea0586134a67eec4f1dff0ee2e2b33195def

See more details on using hashes here.

File details

Details for the file aidge_backend_opencv-0.10.0-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for aidge_backend_opencv-0.10.0-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 20afdafc561854ba058dbabb25c301023aa9a200161b2cb8a261ce35cb12e96d
MD5 53afd7a3e10dfd545d6950dfda8d1b50
BLAKE2b-256 c7c270e2039b3683c929c2adc5a6c052645ecfc597d0a18c27b953feed0c76be

See more details on using hashes here.

File details

Details for the file aidge_backend_opencv-0.10.0-cp310-cp310-win_amd64.whl.

File metadata

File hashes

Hashes for aidge_backend_opencv-0.10.0-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 81faf61ea9ff4725770a563ae7693e84d3735fb4beb017665d2d6d9dde8b9c31
MD5 d9f795538b74347620069ce5d11f5613
BLAKE2b-256 e94032766c9db5331148eea2400fb19fbc8a194a91d6c0b3dc10cf1e5558bfe9

See more details on using hashes here.

File details

Details for the file aidge_backend_opencv-0.10.0-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for aidge_backend_opencv-0.10.0-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 e39ffb87a8e799d68a38a92a57d8a6211fcf0ddd840ac0c9cde2c4d2f8874fa3
MD5 dd6361ccdd23e2dfa9357ee8edbdc405
BLAKE2b-256 ff0c74d5d6afa5e319bef9daa4803014cb18f70b9aeb907ab060aafa50c602d5

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