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

Uploaded CPython 3.12Windows x86-64

aidge_backend_opencv-0.9.0.post3-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.0.post3-cp311-cp311-win_amd64.whl (44.0 MB view details)

Uploaded CPython 3.11Windows x86-64

aidge_backend_opencv-0.9.0.post3-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.0.post3-cp310-cp310-win_amd64.whl (43.9 MB view details)

Uploaded CPython 3.10Windows x86-64

aidge_backend_opencv-0.9.0.post3-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.0.post3-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for aidge_backend_opencv-0.9.0.post3-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 eefdf625d70331e195c2536868ec6cdb37dc48bc0376e3a77d415451e8b66e2d
MD5 cfa759e1ca3fe7fba0fc55ef7037e7aa
BLAKE2b-256 66422545ba8ca78f4d154e9a5c3efbd7e44cfce3e539afdd2d5615fbbc4cebfc

See more details on using hashes here.

File details

Details for the file aidge_backend_opencv-0.9.0.post3-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.post3-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 e67e3999015283904e376c18921f8e6595fc8ef36f87fc0fc05c0fbba3b72135
MD5 4e032813bebfeff77b93aca13e6cb086
BLAKE2b-256 e748f718ea9f5b54032a5dd7cef41262fc4e09f7b4a53c7846031a7d20e9542b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aidge_backend_opencv-0.9.0.post3-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 d8b6619ededc3331093df1bccad6c0b35aeed53a3369af14f82b3d94b5661af0
MD5 e55218cc9279554f6ecadaf1ad697262
BLAKE2b-256 bdb47a16fe9ca9804ebef152e488e4bc9edc176efba89b173091d53a0655bcd2

See more details on using hashes here.

File details

Details for the file aidge_backend_opencv-0.9.0.post3-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.post3-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 c1cb374ea248d8ee062553d88f694e583f88c636cef96b6ccbe2523d2afd5bb0
MD5 f634fae7b0b40932d1d3deaaa2157eaa
BLAKE2b-256 7b9135b59b845a30fbc96cc3e53a306f772de22f33bd39e28fa31dd9cd64bab2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aidge_backend_opencv-0.9.0.post3-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 d668cb354ace15153b43caa69a1ab2412c62565aeaa5d2fca183ec8b68599e89
MD5 d9817804e5dcf340bcec131f6bfa68dc
BLAKE2b-256 6e888c426b5f9af115662d1ba10dd5b7ef88e498bdfa0026533f6cf0999a60e7

See more details on using hashes here.

File details

Details for the file aidge_backend_opencv-0.9.0.post3-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.post3-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 5f26ca25cc9bd70c67858ee783c25a48bcf698948eba14553a3753e88334c4d0
MD5 05e0cf9207739d983405f0cc9b93b2f1
BLAKE2b-256 104e0826a3a09113e66ce88d0845ea6da6762c3ae08dee881a938913cfbcd742

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