Opencv implementations of the operators and tensor of aidge framework
Project description
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_coreaidge_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\buildOPENCV_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):
- Please review the global installation instructions before proceeding.
- If using a virtual environment, use the same one for all Aidge modules.
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.jsonto define your own local build configurations.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
- Download URL: aidge_backend_opencv-0.9.1.post2-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
- Upload date:
- Size: 36.7 MB
- Tags: CPython 3.12, manylinux: glibc 2.27+ x86-64, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
40874748930c2b20220f2aade18a11b28f30a81b5cff3ad0edffd6c7d6d3d582
|
|
| MD5 |
911b81fa0580319fe2ecb04153e2c61e
|
|
| BLAKE2b-256 |
9443589e056907fc73a7a3ee3c24f7e4b7b5af4f6d5a9b505c34a321a5c6d539
|
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
- Download URL: aidge_backend_opencv-0.9.1.post2-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
- Upload date:
- Size: 36.6 MB
- Tags: CPython 3.11, manylinux: glibc 2.27+ x86-64, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5b71232aa6374bb25ba44280df81882ce67491808f5bee0fa7b35b7e64b8ae5d
|
|
| MD5 |
27c6ed03e619cba0cb3fd2a26218cf4f
|
|
| BLAKE2b-256 |
776fb5dfeb287af0f5c0e5424f7c6902a0406c468373860577ff9052cc1d53d6
|
File details
Details for the file aidge_backend_opencv-0.9.1.post2-cp310-cp310-win_amd64.whl.
File metadata
- Download URL: aidge_backend_opencv-0.9.1.post2-cp310-cp310-win_amd64.whl
- Upload date:
- Size: 43.9 MB
- Tags: CPython 3.10, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c3ea27717e26af4d985afe3c1fa2d9d1b9db2ca22ef4d9a42dcc93e3e6ed4e91
|
|
| MD5 |
224f3c224a037f89ffac99ee43d320d6
|
|
| BLAKE2b-256 |
d1a54ac7b8bc028f39895a4e182e62627a6ab0bb2bcb8ba3b31eda8de3f12f8b
|
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
- Download URL: aidge_backend_opencv-0.9.1.post2-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
- Upload date:
- Size: 36.6 MB
- Tags: CPython 3.10, manylinux: glibc 2.27+ x86-64, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
27a344fd286a071731cc0f447304e9f7da0cb354669b02d4be95778f0f76cb72
|
|
| MD5 |
d484ef47d0502e84f6e3f718f13f1957
|
|
| BLAKE2b-256 |
83d10967d45573a38dac33da5ac1baeca1c2bcd919d8bebecd8eb435f2ce5797
|