.gitignore check

This commit is contained in:
unknown
2025-12-21 18:36:47 +08:00
parent 20231aac4d
commit 09eb281c90
70 changed files with 6 additions and 240 deletions
+6
View File
@@ -0,0 +1,6 @@
/build/
/dist/
/dist_obfuscated/
/release/
__pycache__/
orisys.egg-info/
-63
View File
@@ -1,63 +0,0 @@
# OrisysSDK API 文档
本文件提供了 OrisysSDK 的各类方法
---
## `Sensor` 类别
### 描述
创建一个传感器实例
### 输入参数
* **cam_id** (`int | str`, 可选): 传感器 ID、序列号或视频路径。默认为 `0`。
* **isstitch** (`bool`,可选): 是否启用图像拼接,默认为 `True`。
* **cuda** (`bool`,可选): 是否使用 GPU cuda 加速,默认为 `False`。
* **cfg** (`str`,可选): 指定拼接标定数据,默认为 `/config/cal.npy`。
### 返回
* `Sensor` 对象
### 示例
```python
# Example 1: 用相机编号创建
from xensesdk import Sensor
from src.sensor import Sensor
sensor = Sensor(0)
# Example 2: 用视频文件创建
sensor = Sensor("/data/data.mp4")
# Example 3: 用相机编号开启
sensor = Sensor.create(0)
```
---
## 2. `get_img` 方法
### 描述
从传感器获取图像,进行复眼图像提取和拼接。
### 返回
* 提取(`issitch = False`)或拼接后(`issitch = True`)的图像
---
## 3. `compute_deformation` 方法
### 描述
计算传感器变形和应力
---
## 4. `compute_deformation` 方法
### 描述
计算传感器变形和应力
---
## 常见问题解答 (FAQ)
TBC
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -1,3 +0,0 @@
# Pyarmor 9.2.2 (trial), 000000, non-profits, 2025-12-15T17:04:23.768373
from pyarmor_runtime_000000 import __pyarmor__
__pyarmor__(__name__, __file__, b'PY000000\x00\x03\x08\x00U\r\r\n\x80\x00\x01\x00\x08\x00\x00\x00\x04\x00\x00\x00@\x00\x00\x00~\x02\x00\x00\x12\t\x04\x00\x12\xaa\x82i\x1d>\x02\x90i|\x16H\xd7\xed\x8e\x88\x00\x00\x00\x00\x00\x00\x00\x00\xe0$\xf1\xe0\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a\xaf/\xbd\xc2\xfd\xbd\x9a\xdd\xefz\xab\x04\xf3h\xc6\xa5\xfe\x11\xe2\x80`<\x10b\xf8\xa2\xd2^=\xde\xaa\xb9\x8c\x164\xbb/U~<\xe3\xbfG\xc8\x1ev(\xd0\xd3F\x9e\x99\x1b|/\x99u\xdf\x12z\xcd\x07R\x92w*z\x11)\x03\xcf\xe1\xfd\xab]\xeb\nc\x84\xbc\xf5h\x1dM\x9b\xb5\x12v\x16\xf5\x86\x0b\xa4$sa\x15n\x90\xc2\x15"\x15\x08z \xfe\x00\xa3\')\xed\xa8f\x0c\x86J{\xa5>\xaaV\xcb}\x9c\x0f\xe7\xbcEX!\t\xd5\x1f\x0f\x1c\xb92\x9c\x07B#yn@\xf3C\xae\xca7\x0fPV\xe6\x9b)Q\x85\xd5\x1e\xea\'.?8\x92$\x9eH5\xad*:\x17QK\xba+d\xbd\x88p\x16j\xea\x90 It?b\xf9\x19q\xf8\x86\xff\x004\xf2\xfd\xe6\xe8\xc1\x1b\xad\x82\xb9CF\xfa\x9f\x01\x82\xf3\x84\xf5.oo\xb5\xda\x1b\xd8\x98*\xb7\xec\xa0&%\xfa\xc4\xab')
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -1,2 +0,0 @@
# Pyarmor 9.2.2 (trial), 000000, 2025-12-15T17:04:23.412278
from .pyarmor_runtime import __pyarmor__
Binary file not shown.
Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.2 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.0 MiB

-5
View File
@@ -1,5 +0,0 @@
cupy_cuda12x>=12.3.0
numpy>=1.24.4
opencv_python>=4.10.0.84
scipy>=1.10.1
setuptools>=45.2.0
-42
View File
@@ -1,42 +0,0 @@
from setuptools import setup, find_packages
import os
from pathlib import Path
# Read requirements
with open('requirements.txt', 'r') as f:
requirements = [line.strip() for line in f if line.strip() and not line.startswith('#')]
# Find all packages including pyarmor_runtime
packages = find_packages(where="src")
# Collect all package data including PyArmor runtime files
package_data = {}
for pkg in packages:
pkg_path = Path('src') / pkg.replace('.', '/')
if pkg_path.exists():
# Include all .pyd, .so, .dll files (PyArmor runtime)
data_files = []
for pattern in ['*.pyd', '*.so', '*.dll', '*.dylib']:
data_files.extend([str(f.relative_to(pkg_path)) for f in pkg_path.glob(pattern)])
if data_files:
package_data[pkg] = data_files
setup(
name="orisys",
version="0.1.0",
description="Orisys - Optical Tactile Sensor SDK (Protected)",
author="Your Name",
package_dir={"": "src"},
packages=packages,
package_data=package_data,
include_package_data=True,
install_requires=requirements,
python_requires="==3.8.*",
# Include PyArmor runtime files
zip_safe=False,
options={
'bdist_wheel': {
'python_tag': 'py38',
}
},
)
@@ -1,11 +0,0 @@
Metadata-Version: 2.1
Name: orisys
Version: 0.1.0
Summary: Orisys - Optical Tactile Sensor SDK (Protected)
Author: Your Name
Requires-Python: ==3.8.*
Requires-Dist: cupy_cuda12x>=12.3.0
Requires-Dist: numpy>=1.24.4
Requires-Dist: opencv_python>=4.10.0.84
Requires-Dist: scipy>=1.10.1
Requires-Dist: setuptools>=45.2.0
@@ -1,18 +0,0 @@
setup.py
src/orisys/Stitcher.py
src/orisys/StructuredGrid.py
src/orisys/UnstructuredGrid.py
src/orisys/__init__.py
src/orisys/nHHD.py
src/orisys/nPoisson.py
src/orisys/sensor.py
src/orisys/timer.py
src/orisys/tracker.py
src/orisys.egg-info/PKG-INFO
src/orisys.egg-info/SOURCES.txt
src/orisys.egg-info/dependency_links.txt
src/orisys.egg-info/not-zip-safe
src/orisys.egg-info/requires.txt
src/orisys.egg-info/top_level.txt
src/pyarmor_runtime_000000/__init__.py
src/pyarmor_runtime_000000/pyarmor_runtime.pyd
@@ -1 +0,0 @@
@@ -1 +0,0 @@
@@ -1,5 +0,0 @@
cupy_cuda12x>=12.3.0
numpy>=1.24.4
opencv_python>=4.10.0.84
scipy>=1.10.1
setuptools>=45.2.0
@@ -1,2 +0,0 @@
orisys
pyarmor_runtime_000000
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
-3
View File
@@ -1,3 +0,0 @@
# Pyarmor 9.2.2 (trial), 000000, non-profits, 2025-12-15T17:04:23.768373
from pyarmor_runtime_000000 import __pyarmor__
__pyarmor__(__name__, __file__, b'PY000000\x00\x03\x08\x00U\r\r\n\x80\x00\x01\x00\x08\x00\x00\x00\x04\x00\x00\x00@\x00\x00\x00~\x02\x00\x00\x12\t\x04\x00\x12\xaa\x82i\x1d>\x02\x90i|\x16H\xd7\xed\x8e\x88\x00\x00\x00\x00\x00\x00\x00\x00\xe0$\xf1\xe0\x96\x7f\xad\xebdIP\x04\xd2\xf2L\x88lwh\xfb\xe6\xea5\xcd\x0f\x81\xa4\x8c\xd1a\xae\x80\x1c\x063\xbe*<2d\xa2\x9a+R\x1a\xdcL2\xd7\x83\xa5\xfc7R8\x1f\x19f\xa2\x9b\x17\xae\xf9\x881f\xd1\x85\x0b\x1a\x07Mz\xcb\x01o\x91\xa8\xe6<\xbc\xff\xca\xf7W\xd0].}^\xc2\x02\r\x9a\xdd\xe6\xa0\xc1\x8d8\xee\x1f{\xc1AE\xd0\xa5x\xce\xe5\x071YEN\xaf\xeak\xe9~\xd4K)\x07**\xf8#\xccoS\xa9\xeby\x07H\xe67B\xf3!\x88\xe3\x87^R\x1b\x03d\x19\xa4O\xedr\xe0\x05\r\xd8%\x97\xd4XE\x8c,\x90l\xa7 kBj\xf5\xf42\xc0\x1d=\xdb\x13\xbb^0@\xf3)\xb6\xc4\x84+N${\x82\xfc\xac3\x0f\x1b\xcfz\x9f\xaa\x98\xd9*\xcc\xb5\x84^!\x11[U(\xf6\x0c\xc5\xa5W\xe6]\xfa\xd8\x98\xf7\xd1\x1a\x81\'\x1a\x9b\x8c\xe6\x8fH\n\xc567c\xe5\x9d\x1avT\'\xd9"m\xfe\xe3o\xaa|\xdf%a\xcb\xcb\\\xaa\xe9OM\x965\x90\xb4n&\x86\x85\x9f0%,g\t\xb3|\xd5\xd2ip\xdf[}\xac\x93\xe3\xae0\xae\xad\x02\x9f\x8f\x1d\x12*xM?\xa1vU\x80\x91\xb3\x05\x8d#5\xa4\x0b\x00\\iw\xd9\xec\x9a<\xeb\xca\xa2\xb7\xcc\xcc\x03\x1a\xd5\xb6\xed\xc6\x80\x1f\xb0\xd8\xaa%\xb3\xa2\xf97AYB(\xd2^:/>1\xce)\xc1x\x90\x11I\x98\xc6\xfe\x978\xfa\xf0\x05+\x95\xd8\xda|\x93C8\xc8\xbc\xe24\x96\xe7*\x823\xbf\xfe\x94=\x86\xd4\xf5t\x1aR\xfd\x97\x1eM\x9a\xaf/\xbd\xc2\xfd\xbd\x9a\xdd\xefz\xab\x04\xf3h\xc6\xa5\xfe\x11\xe2\x80`<\x10b\xf8\xa2\xd2^=\xde\xaa\xb9\x8c\x164\xbb/U~<\xe3\xbfG\xc8\x1ev(\xd0\xd3F\x9e\x99\x1b|/\x99u\xdf\x12z\xcd\x07R\x92w*z\x11)\x03\xcf\xe1\xfd\xab]\xeb\nc\x84\xbc\xf5h\x1dM\x9b\xb5\x12v\x16\xf5\x86\x0b\xa4$sa\x15n\x90\xc2\x15"\x15\x08z \xfe\x00\xa3\')\xed\xa8f\x0c\x86J{\xa5>\xaaV\xcb}\x9c\x0f\xe7\xbcEX!\t\xd5\x1f\x0f\x1c\xb92\x9c\x07B#yn@\xf3C\xae\xca7\x0fPV\xe6\x9b)Q\x85\xd5\x1e\xea\'.?8\x92$\x9eH5\xad*:\x17QK\xba+d\xbd\x88p\x16j\xea\x90 It?b\xf9\x19q\xf8\x86\xff\x004\xf2\xfd\xe6\xe8\xc1\x1b\xad\x82\xb9CF\xfa\x9f\x01\x82\xf3\x84\xf5.oo\xb5\xda\x1b\xd8\x98*\xb7\xec\xa0&%\xfa\xc4\xab')
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -1,2 +0,0 @@
# Pyarmor 9.2.2 (trial), 000000, 2025-12-15T17:04:23.412278
from .pyarmor_runtime import __pyarmor__
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
-13
View File
@@ -1,13 +0,0 @@
Metadata-Version: 2.4
Name: orisys
Version: 0.1.0
Summary: Orisys - Optical Tactile Sensor SDK
Author: Your Name
Requires-Python: >=3.8
Requires-Dist: numpy
Requires-Dist: opencv-python
Requires-Dist: scipy
Dynamic: author
Dynamic: requires-dist
Dynamic: requires-python
Dynamic: summary
-16
View File
@@ -1,16 +0,0 @@
setup.py
src/orisys/Stitcher.py
src/orisys/StructuredGrid.py
src/orisys/UnstructuredGrid.py
src/orisys/__init__.py
src/orisys/getDensity.py
src/orisys/nHHD.py
src/orisys/nPoisson.py
src/orisys/sensor.py
src/orisys/timer.py
src/orisys/tracker.py
src/orisys.egg-info/PKG-INFO
src/orisys.egg-info/SOURCES.txt
src/orisys.egg-info/dependency_links.txt
src/orisys.egg-info/requires.txt
src/orisys.egg-info/top_level.txt
-1
View File
@@ -1 +0,0 @@
-3
View File
@@ -1,3 +0,0 @@
numpy
opencv-python
scipy
-1
View File
@@ -1 +0,0 @@
orisys
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.