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 -Clean -Tests .\setup.ps1 -Modules backend_opencv -Clean -Tests -Python
Unix ./setup.sh -m backend_opencv --clean --tests ./setup.sh -m backend_opencv --clean --tests --python

[!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.0.post2-cp312-cp312-win_amd64.whl (42.0 MB view details)

Uploaded CPython 3.12Windows x86-64

aidge_backend_opencv-0.9.0.post2-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (36.2 MB view details)

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

aidge_backend_opencv-0.9.0.post2-cp311-cp311-win_amd64.whl (41.9 MB view details)

Uploaded CPython 3.11Windows x86-64

aidge_backend_opencv-0.9.0.post2-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (36.1 MB view details)

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

aidge_backend_opencv-0.9.0.post2-cp310-cp310-win_amd64.whl (41.9 MB view details)

Uploaded CPython 3.10Windows x86-64

aidge_backend_opencv-0.9.0.post2-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (36.1 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.0.post2-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for aidge_backend_opencv-0.9.0.post2-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 84951d595d4d84e55333fa24a2cd158d74b3e3677c0cdff0e6622bac1aa87e5a
MD5 6e8ca3124de3ebe2e9b6426a1c78833e
BLAKE2b-256 2f66fead723134e988f864d2663a96291ba8748fc9248c7f4b8671db6c2cdc85

See more details on using hashes here.

File details

Details for the file aidge_backend_opencv-0.9.0.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.0.post2-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 0b63a350fb1a7a2fdaba27e87d255edcbc189b227b0c91c66aebaed78d89ec98
MD5 52d75c3ef4ddb278e301e89a23fda6ca
BLAKE2b-256 f2de74361b44228b8a1a8f15c7c36153e8f026629160d19cf186496dd155a99e

See more details on using hashes here.

File details

Details for the file aidge_backend_opencv-0.9.0.post2-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for aidge_backend_opencv-0.9.0.post2-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 1060f494e2bc3ee06d32e66260af3c160ccdd0960ae73c8afb8047b67f77dd3a
MD5 6564f4e620838dce9fde35b96023eb85
BLAKE2b-256 7c964040d8232804a529d02115f88ec9560d439aa91d5dae23dfb0c3bb05652e

See more details on using hashes here.

File details

Details for the file aidge_backend_opencv-0.9.0.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.0.post2-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 fa9aba41b9736e77eff75602e5c2bad1f7174658be568e64979f5d7b322e91ce
MD5 fbe41ce436de37e131f9743927db4f52
BLAKE2b-256 9886b543bb17ecbcc450415818403ee93c0fad76f6c677098c540745d77f01ae

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aidge_backend_opencv-0.9.0.post2-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 62f8d2dc6de9d90e1862072b9eb4eca9fb1909a4ae378c2cc9bf942bdd675587
MD5 090c2f8e4ddd369b19ed2f2ac6218e65
BLAKE2b-256 6bddc33441b9cde4c0b84458b4dced303804e70cda93efa0891ad291e1b91cab

See more details on using hashes here.

File details

Details for the file aidge_backend_opencv-0.9.0.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.0.post2-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 c8f4337af902e231089cbea90360445f01c0a7469a115672ca6d56d23896cb48
MD5 139f17a762a9eaa8e80f3ec0960a22f3
BLAKE2b-256 993cf79d59b0fc158e30be116e033abeaa79e3d9a7ae956ea5424a94e78b70eb

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