Opencv implementations of the operators and tensor of aidge framework
Project description
Aidge backend OpenCV library
You can find in this folder the library that implements :
- Computer vision databases
- The OpenCV tensor, operators and stimulis
So far be sure to have the correct requirements to use this library
[TOC]
Quick Start
ℹ️ First, make sure to go through installation instructions required for every module.
Dependencies
Make sure to install the following tools:
[!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
Aidge dependencies
aidge_coreaidge_backend_cpu- Only needed for tests.
# On Windows, from aidge/
# ----------[ C++ development]----------
setup.ps1 -Modules core, backend_cpu -Clean -Tests
# ----------[ Python development]----------
setup.ps1 -Modules core, backend_cpu -Clean -Tests -Python
# On Unix, from aidge/
# ----------[ C++ development]----------
./setup.sh -m core -m backend_cpu --clean --tests
# ----------[ Python development]----------
./setup.sh -m core -m backend_cpu --clean --tests --python
Using setup.ps1
[!NOTE] Windows only* *Unless you installed powershell on your system
# ----------[ C++ development]----------
# From aidge/
setup.ps1 -Modules backend_opencv -Clean -Tests
# ----------[ Python development]----------
# From aidge/
setup.ps1 -Modules backend_opencv -Clean -Tests -Python
[!TIP] Run
Get-Help setup.ps1 --Fullto display documentation
Using setup.sh
[!NOTE] Unix only*
# ----------[ C++ development]----------
# From aidge/
./setup.sh -m backend_opencv --clean --tests
# ----------[ Python development]----------
# From aidge/
./setup.sh -m backend_opencv --clean --tests --python
[!TIP] Run
setup.sh -hto display documentation
Using pip
[!NOTE] If using virtual environment, make sure to use the same for every installation !
# ----------[ Python development]----------
# only in aidge/aidge/aidge_backend_opencv/
pip install . -v
# If you want to install test, do this instead
pip install .[test] -v
# Launch tests using pytest
pytest
[!TIP]
-vis to enable verbose mode !
Development mode install
[!WARNING] Experimental Untested & experimental feature, see https://scikit-build-core.readthedocs.io/en/latest/configuration/index.html#editable-installs.
pip install --no-build-isolation --config-settings=editable.rebuild=true -Cbuild-dir=build -ve.
Using CMake
[!NOTE] Only for C++ development Don't use this method, if you wish to create a pip package Use
pipinstead.
A CMakePreset.json is available.
# Configure
cmake --preset clang-debug
# Build
cmake --build --preset clang-debug
# Install
cmake --install
# Test
ctest --test-dir build/
Feel free to create your own presets in CMakeUsersPresets.json by inheriting the ones available in CMakePresets.json.
FAQ
For windows set this env variables: OPENCV_DLL_DIR so that python can load OpenCV DLL. (This is not needed for C++)
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.0-cp312-cp312-win_amd64.whl.
File metadata
- Download URL: aidge_backend_opencv-0.9.0-cp312-cp312-win_amd64.whl
- Upload date:
- Size: 42.0 MB
- Tags: CPython 3.12, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1ca65718dc9ef24d9d59b2c86b37c037e9f1edfd41d93db10e5f52e9e686cad2
|
|
| MD5 |
16a3692dc1b2ebbda0d97b404626f07c
|
|
| BLAKE2b-256 |
00d36cce0e04a9ae56783469da2da12100f31f23da892ecc03c00858c884e142
|
File details
Details for the file aidge_backend_opencv-0.9.0-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.
File metadata
- Download URL: aidge_backend_opencv-0.9.0-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
- Upload date:
- Size: 36.2 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 |
c57b11ffd6547a165daf6308a0abfee57d0b53f005647562cbae2129cb31a187
|
|
| MD5 |
d52caa5bbfc9f9b7c19232e10f422ac5
|
|
| BLAKE2b-256 |
d29a768160770befffd36f22eb77d92d981c516c535f1f1834e791691fc7f67d
|
File details
Details for the file aidge_backend_opencv-0.9.0-cp311-cp311-win_amd64.whl.
File metadata
- Download URL: aidge_backend_opencv-0.9.0-cp311-cp311-win_amd64.whl
- Upload date:
- Size: 41.9 MB
- Tags: CPython 3.11, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0746386c03c09e76a1cec34535378ac28aac2f9009616d6565433aa7bd33ec68
|
|
| MD5 |
b263812acf638ff779511c936bbc1ab9
|
|
| BLAKE2b-256 |
8f179e4c776c5370feb09aa36010c6e2a2a9839447afd1ac4bb282d7403e6874
|
File details
Details for the file aidge_backend_opencv-0.9.0-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.
File metadata
- Download URL: aidge_backend_opencv-0.9.0-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
- Upload date:
- Size: 36.1 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 |
8f6e1df9ad27d6ae5a13b767d0918f096bab0ee834a767b213376be6179a3c4d
|
|
| MD5 |
619efdb8e416b3c964f4e235d3e82f86
|
|
| BLAKE2b-256 |
1cd290c9d65269db2fff2351e41368a5d6b7baf8f85bd99b326847b7574f79d1
|
File details
Details for the file aidge_backend_opencv-0.9.0-cp310-cp310-win_amd64.whl.
File metadata
- Download URL: aidge_backend_opencv-0.9.0-cp310-cp310-win_amd64.whl
- Upload date:
- Size: 41.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 |
cb4d9555bebf16c5c700219f889a8b0739b552ee4ec1d5e849bf02d4f37c6de4
|
|
| MD5 |
d36b0a16864348d1fa3f9a9e2e74d90d
|
|
| BLAKE2b-256 |
d0de70c244e00caa2f4fab2e12525cf13631241c20a89b7721da3e7dad36b1ab
|
File details
Details for the file aidge_backend_opencv-0.9.0-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.
File metadata
- Download URL: aidge_backend_opencv-0.9.0-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
- Upload date:
- Size: 36.1 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 |
f23ed45b26b10e392947b5ae53156862ac1af6468c823a49ea355c5fadb8c61a
|
|
| MD5 |
2a3b62c990db8f11960abad52c430238
|
|
| BLAKE2b-256 |
6f597cd8514525ab3ab69f39a134ae77ec480d2b6ab0712e4f49aad9934fdeeb
|