Python bindings for SecureMR.
Project description
pySecureMR
Python bindings for SecureMR project.
Table of Contents
Why pySecureMR?
When developing a SecureMR app, it's not very easy to debug pipeline.
You are not allowed to access each operator output directly. pySecureMR happens here
to rescue you from complicated and painful debugging time. We bind most of SecureMR
operators to python so you can call each operator and check input and output.
Supported platform
- Linux (ubuntu22): YES
- Windows (wsl2, ubuntu22): YES
- Mac: NO
Install
Manual install
git clone https://github.com/Pico-Developer/pySecureMR
cd pySecureMR
pip3 install -e "."
Check installation:
python3 -c "import securemr"
Pip
TODO
Run test
pytest
Refer to test code to learn more about the usage.
Supported operators
| ID | Name | Pybind |
|---|---|---|
| 1 | ARITHMETIC_COMPOSE | ✅ |
| 4 | ELEMENTWISE_MIN | ✅ |
| 5 | ELEMENTWISE_MAX | ✅ |
| 6 | ELEMENTWISE_MULTIPLY | ✅ |
| 7 | CUSTOMIZED_COMPARE | ✅ |
| 8 | ELEMENTWISE_OR | ✅ |
| 9 | ELEMENTWISE_AND | ✅ |
| 10 | ALL | ✅ |
| 11 | ANY | ✅ |
| 12 | NMS | ✅ |
| 13 | SOLVE_P_N_P | ✅ |
| 14 | GET_AFFINE | ✅ |
| 15 | APPLY_AFFINE | ✅ |
| 16 | APPLY_AFFINE_POINT | ✅ |
| 17 | UV_TO_3D_IN_CAM_SPACE | ❌ |
| 18 | ASSIGNMENT | ✅ |
| 19 | RUN_MODEL_INFERENCE | ❌ |
| 21 | NORMALIZE | ✅ |
| 22 | CAMERA_SPACE_TO_WORLD | ❌ |
| 23 | RECTIFIED_VST_ACCESS | ❌ |
| 24 | ARGMAX | ✅ |
| 25 | CONVERT_COLOR | ✅ |
| 26 | SORT_VEC | ✅ |
| 27 | INVERSION | ✅ |
| 28 | MAKE_TRANSFORM_MAT | ✅ |
| 29 | SORT_MAT | ✅ |
| 30 | SWITCH_GLTF_RENDER_STATUS | ❌ |
| 31 | UPDATE_GLTF | ❌ |
| 32 | RENDER_TEXT | ❌ |
| 33 | UPLOAD_TEXTURE_TO_GLTF | ❌ |
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 Distribution
Built Distribution
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 securemr-0.0.1.tar.gz.
File metadata
- Download URL: securemr-0.0.1.tar.gz
- Upload date:
- Size: 27.7 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.16
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fe28fa31fb45464423506a1d4e3f916d6d4b78840a1b3c9e6b431618adc23040
|
|
| MD5 |
d03209da368e1816e646f70b93ea66a5
|
|
| BLAKE2b-256 |
135c134abcfdb1bb26b095c3128049eef4229ed061630cad87583baa95a0f9d3
|
File details
Details for the file securemr-0.0.1-py3-none-any.whl.
File metadata
- Download URL: securemr-0.0.1-py3-none-any.whl
- Upload date:
- Size: 27.8 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.16
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b79bf0548937be3b119bf4ff580ccaa7b2c48bfc4ece5680488e28bea1ab91b7
|
|
| MD5 |
31c4863047817baa5c43cb141b13870c
|
|
| BLAKE2b-256 |
604e7a8e7e1a3d72b296f8c8d50c178dffea50f1c7ab8e908288320e37d92266
|