dvsense-driver 1.0.2__cp38-cp38-win_amd64.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
DvsenseBase.dll ADDED
Binary file
DvsenseBase.lib ADDED
Binary file
DvsenseDriver.dll ADDED
Binary file
DvsenseDriver.lib ADDED
Binary file
DvsenseHal.dll ADDED
Binary file
DvsenseHal.lib ADDED
Binary file
avcodec-61.dll ADDED
Binary file
avformat-61.dll ADDED
Binary file
avutil-59.dll ADDED
Binary file
Binary file
dvsense_base_py.lib ADDED
Binary file
File without changes
@@ -0,0 +1,2 @@
1
+ from dvsense_base_py import *
2
+
@@ -0,0 +1,5 @@
1
+ class Event2D:
2
+ x: int
3
+ y: int
4
+ polarity: int
5
+ timestamp: int
@@ -0,0 +1,3 @@
1
+ from dvsense_driver.hal.dvs_camera_utils import CameraDescription
2
+ from dvsense_driver.dvs_camera import DvsCamera
3
+ from dvsense_driver_py import DvsCameraManager
@@ -0,0 +1,9 @@
1
+ from dvsense_driver.hal.dvs_camera_utils import CameraDescription
2
+ from dvsense_driver.dvs_camera import DvsCamera
3
+
4
+ class DvsCameraManager:
5
+ def __init__(self): ...
6
+ def update_cameras(self): ...
7
+ def get_camera_descs(self) -> list[CameraDescription]: ...
8
+ def get_camera_desc(self, camera_id: int) -> CameraDescription: ...
9
+ def open_camera(self, serial: str) -> DvsCamera: ...
@@ -0,0 +1,4 @@
1
+ import numpy
2
+ import dvsense_driver.base
3
+ import dvsense_driver.hal.camera_tool
4
+ from dvsense_driver_py import DvsCamera
@@ -0,0 +1,21 @@
1
+ import numpy as np
2
+ from dvsense_driver.hal.camera_tool import ToolType, CameraTool
3
+ from dvsense_driver.hal.camera_tool import BasicParameterInfo, ToolInfo
4
+ from dvsense_driver.hal.dvs_camera_utils import CameraDescription
5
+
6
+ class DvsCamera:
7
+ def __init__(self): ...
8
+ def is_connected(self) -> bool: ...
9
+ def get_dvs_desc(self) -> CameraDescription: ...
10
+ def get_next_batch(self) -> np.ndarray: ...
11
+ def set_batch_events_num(self, n: int): ...
12
+ def set_batch_events_time(self, t: int): ...
13
+ def start(self): ...
14
+ def stop(self): ...
15
+ def start_recording(self, file_path: str) -> int: ...
16
+ def stop_recording(self) -> int: ...
17
+ def get_width(self) -> int: ...
18
+ def get_height(self) -> int: ...
19
+ def get_all_tools_info(self) -> list[BasicParameterInfo]: ...
20
+ def get_tool_info(self, tool_type: ToolType) -> ToolInfo: ...
21
+ def get_tool(self, tool_type: ToolType) -> CameraTool: ...
File without changes
@@ -0,0 +1,6 @@
1
+ from dvsense_hal_py import ToolType
2
+ from dvsense_hal_py import ToolInfo
3
+ from dvsense_hal_py import ToolParameterType, tool_parameter_type_to_string
4
+ from dvsense_hal_py import BasicParameterInfo
5
+ from dvsense_hal_py import IntParameterInfo, FloatParameterInfo, BoolParameterInfo, EnumParameterInfo
6
+ from dvsense_hal_py import CameraTool
@@ -0,0 +1,76 @@
1
+ from enum import Enum
2
+
3
+ class ToolType(Enum):
4
+ BIAS = 0
5
+
6
+ class ToolInfo:
7
+ def __init__(self): ...
8
+
9
+ tool_type: ToolType
10
+ parameter_names: list[str]
11
+ description: str
12
+
13
+ class ToolParameterType(Enum):
14
+ INT = 0
15
+ FLOAT = 1
16
+ BOOL = 2
17
+ STRING = 3
18
+ ENUM = 4
19
+
20
+ def tool_parameter_type_to_string(ToolParameterType: int) -> str: ...
21
+
22
+ class BasicParameterInfo:
23
+ def __init__(self): ...
24
+
25
+ name: str
26
+ description: str
27
+ type: ToolParameterType
28
+
29
+ def to_string(self) -> str: ...
30
+
31
+ class IntParameterInfo:
32
+ def __init__(self): ...
33
+ min: int
34
+ max: int
35
+ default_value: int
36
+ unit: str
37
+ def to_string(self) -> str: ...
38
+ def constraint_value(self, value: int) -> int: ...
39
+
40
+ class FloatParameterInfo:
41
+ def __init__(self): ...
42
+ min: float
43
+ max: float
44
+ default_value: float
45
+ unit: str
46
+ def to_string(self) -> str: ...
47
+ def constraint_value(self, value: float) -> float: ...
48
+
49
+ class BoolParameterInfo:
50
+ def __init__(self): ...
51
+ default_value: bool
52
+ def to_string(self) -> str: ...
53
+
54
+ class EnumParameterInfo:
55
+ def __init__(self): ...
56
+ options: list[str]
57
+ default_value: str
58
+ def to_string(self) -> str: ...
59
+
60
+ DetailedParameterInfo = IntParameterInfo|FloatParameterInfo|BoolParameterInfo|EnumParameterInfo
61
+
62
+ class CameraTool:
63
+ def get_tool_info(self) -> ToolInfo:
64
+ pass
65
+
66
+ def get_all_param_info(self) -> dict[str, BasicParameterInfo]:
67
+ pass
68
+
69
+ def get_param_info(self, name: str) -> tuple[bool, DetailedParameterInfo]:
70
+ pass
71
+
72
+ def get_param(self, name: str) -> tuple[bool, int|float|bool|str]:
73
+ pass
74
+
75
+ def set_param(self, name: str, value: int|float|bool|str) -> bool:
76
+ pass
@@ -0,0 +1,6 @@
1
+ from dvsense_driver.base import Event2D
2
+ from dvsense_hal_py import INTERFACE_TYPE
3
+ from dvsense_hal_py import CAMERA_TYPE
4
+ from dvsense_hal_py import RawEventStreamEncodingType
5
+ from dvsense_hal_py import CameraDescription
6
+ from dvsense_hal_py import RawEventStreamFormat
@@ -0,0 +1,39 @@
1
+ from enum import Enum
2
+
3
+ class INTERFACE_TYPE(Enum):
4
+ USB = 0
5
+
6
+ class CAMERA_TYPE(Enum):
7
+ EVK4 = 0
8
+ DVSLume = 1
9
+
10
+ class RawEventStreamEncodingType(Enum):
11
+ EVT3 = 0
12
+ UNKNOWN = 1
13
+
14
+ class CameraDescription:
15
+ """
16
+ Description of a camera device.
17
+ """
18
+
19
+ # Constructor
20
+ def __init__(self) -> None: ...
21
+
22
+ # Properties with type annotations
23
+ serial: str
24
+ product: str
25
+ manufacturer: str
26
+ vid: int
27
+ pid: int
28
+ interfaceType: INTERFACE_TYPE # Assuming interfaceType is a string; change the type if it's different
29
+
30
+ class RawEventStreamFormat:
31
+ def __init__(self) -> None: ...
32
+
33
+ def get_encoding_type(self) -> RawEventStreamEncodingType: ...
34
+
35
+ def get_encoding_type_str(self) -> str: ...
36
+
37
+ def contains(name: str) -> bool: ...
38
+
39
+ def __getitem__(self, key: str) -> str: ...
@@ -0,0 +1,2 @@
1
+ from dvsense_driver.base import Event2D
2
+ from dvsense_driver_py import RawFileReader
@@ -0,0 +1,47 @@
1
+ from typing import overload
2
+ import numpy as np
3
+
4
+ class RawFileReader:
5
+ def __init__(self, file_path: str) -> None:
6
+ ...
7
+
8
+ def load_file(self) -> bool:
9
+ ...
10
+
11
+ def get_start_timestamp(self) -> tuple[bool, int]:
12
+ ...
13
+
14
+ def get_end_timestamp(self) -> tuple[bool, int]:
15
+ ...
16
+
17
+ def seek_time(self, t: int) -> bool:
18
+ ...
19
+
20
+ def get_current_pos_timestamp(self) -> int:
21
+ ...
22
+
23
+ def get_current_pos_event_num(self) -> int:
24
+ ...
25
+
26
+ @overload
27
+ def get_n_events(self, n: int) -> np.ndarray:
28
+ ...
29
+
30
+ def get_n_events(self, start_time: int, n: int) -> np.ndarray:
31
+ ...
32
+
33
+ @overload
34
+ def get_n_time_events(self, t: int) -> np.ndarray:
35
+ ...
36
+
37
+ def get_n_time_events(self, start_time: int, end_time: int) -> np.ndarray:
38
+ ...
39
+
40
+ def get_width(self) -> int:
41
+ ...
42
+
43
+ def get_height(self) -> int:
44
+ ...
45
+
46
+ def close(self) -> None:
47
+ ...
@@ -0,0 +1,18 @@
1
+ Metadata-Version: 2.1
2
+ Name: dvsense_driver
3
+ Version: 1.0.2
4
+ Summary: Driver library for DVSense cameras)
5
+ Author: Ziteng Wang
6
+ Author-email: Ziteng Wang <ziteng.wang@dvsense.com>, Xuanbin Wang <xuanbin.wang@dvsense.com>
7
+ Classifier: Development Status :: 4 - Beta
8
+ Classifier: License :: OSI Approved :: MIT License
9
+ Classifier: Programming Language :: Python :: 3 :: Only
10
+ Classifier: Programming Language :: Python :: 3.7
11
+ Classifier: Programming Language :: Python :: 3.8
12
+ Classifier: Programming Language :: Python :: 3.9
13
+ Classifier: Programming Language :: Python :: 3.10
14
+ Classifier: Programming Language :: Python :: 3.11
15
+ Classifier: Programming Language :: Python :: 3.12
16
+ Classifier: Programming Language :: Python :: 3.13
17
+ Requires-Python: >=3.7
18
+
@@ -0,0 +1,37 @@
1
+ DvsenseBase.dll,sha256=C08omaOagcZafw_71jkBrfLMekTbfID5xWrXozh2s58,140800
2
+ DvsenseBase.lib,sha256=CSlYVzhoEA11RN1eFEOiJY_UL-CSmCb1izWxVGHReho,6652
3
+ DvsenseDriver.dll,sha256=WjjRLyA82qtwck-tYEu5C-sSdgpm-KxoPpdDUmXDMig,489984
4
+ DvsenseDriver.lib,sha256=Gble0tRbjY2eri97UfM6r-szRs3W6YkTCgtfi3dLHow,113982
5
+ DvsenseHal.dll,sha256=ExQaWHPuFcX5fYSdN_4aZ3o32DphHfj43CgTkV-LlKQ,311808
6
+ DvsenseHal.lib,sha256=2VyFZZ005yobMfGnUwnbGgtNbKdBGsDjKwJly1e2y1E,162578
7
+ avcodec-61.dll,sha256=r0MnDAnyL3tnyKwSn07VQL0XhPl0jE7GzpFQZ1oq6ZA,13136896
8
+ avformat-61.dll,sha256=EJ9r5qZYstiyIqaRrxJSg_MyrFEACapcnMbz6oaWO_c,2316800
9
+ avutil-59.dll,sha256=9UUoEn6nw5M4I_B98nbu-kmVgGZPDOSZLrXa0CwMINA,892928
10
+ dvsense_base_py.cp38-win_amd64.pyd,sha256=IioVpJgDufLS0PV4GyhfjJufWncpQm4zy4-f_v1QguE,186880
11
+ dvsense_base_py.lib,sha256=UchSV1vLPEGLCSD4qP2KZnE_cBozyB5wVRHfZPA9gVI,4876
12
+ dvsense_driver_py.cp38-win_amd64.pyd,sha256=RUZhVC-sPOM5Z9QOh0pkZeMofTcIV5D1saMPI9SSnwo,310272
13
+ dvsense_driver_py.lib,sha256=B0SnByvAIHWEhubvOohVk0DZiJz2hY3E4BFlMdecobQ,32326
14
+ dvsense_hal_py.cp38-win_amd64.pyd,sha256=FrHOkMFI1wq6FFyLpaVOLjcL1SLaMfPFXRoGlBYd_DU,369664
15
+ dvsense_hal_py.lib,sha256=-KI2AthO8ZFaY1Xtch2WSxko45yRWTjNUdpTzyIWAxY,25264
16
+ fmt.dll,sha256=oaK-m7KWov6IjNFCXcVD49eYkWdMb5kjIWkeqSe3jUQ,138752
17
+ libusb-1.0.dll,sha256=fF-9cwMKfvi5j5i55bIDoP1AS42WSLr_eBvzuLdIwWg,157184
18
+ swresample-5.dll,sha256=rlEBUSaAqh9R1yttaeBe8BV7TClN2LZBenBtZk6lE1w,123904
19
+ swscale-8.dll,sha256=TMUcxaBv2D_KUO3iTyAjNH-9KGTxNjJ-m3-XoHqpedE,574976
20
+ dvsense_driver/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
21
+ dvsense_driver/camera_manager.py,sha256=PNwaLElGDm4nNg8iB8QqB3FoEQB900q7uQ2LvYdSqKM,164
22
+ dvsense_driver/camera_manager.pyi,sha256=lms4P2l6bXZveBhA3YoFnKRktfjmV_u_iDVZ-yl95nw,400
23
+ dvsense_driver/dvs_camera.py,sha256=6VcTQhjqjm4UFwb_09Iy5eC4V0r-T3VaT7a_4qf7Jhc,120
24
+ dvsense_driver/dvs_camera.pyi,sha256=nT_DqxkqjVsritBtvF53PnRNa7RTMcG1z8Wu_vt5n0Q,942
25
+ dvsense_driver/raw_file_reader.py,sha256=4ZfG028hcsnc3ZVN1B21PsYw6ZYcx8tXhipjF_HeLt8,84
26
+ dvsense_driver/raw_file_reader.pyi,sha256=CVCKX9ZwS0xfL-QaVeGvS87tEnxlcp-6O3SUi9dGJQk,996
27
+ dvsense_driver/base/__init__.py,sha256=vZzBIYY0n8dbDnGPe046QFWOM-a3AZPw9fPJ3S9-x2o,34
28
+ dvsense_driver/base/__init__.pyi,sha256=oOMsKEarRGiO-mb6gKSG6v4OMhQR0svhjXZVKG58wAg,77
29
+ dvsense_driver/hal/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
30
+ dvsense_driver/hal/camera_tool.py,sha256=Ga6BJQCVckXaY8d0WsspCSnV_cdnpsBJSAzPCouyltI,338
31
+ dvsense_driver/hal/camera_tool.pyi,sha256=a1Buz9UvHzEWlOQvQ0yaxh6emf5_ldxFW2YdwTGXcfs,1770
32
+ dvsense_driver/hal/dvs_camera_utils.py,sha256=Qhj_1Yu6JyfHi_gwG47WlTNZgzfwvwaYW3qnk9GTjiE,274
33
+ dvsense_driver/hal/dvs_camera_utils.pyi,sha256=rSYNw_vq8L3yPXeP8A1bQExm8wblRwlAZS8fH_9NMMY,859
34
+ dvsense_driver-1.0.2.dist-info/METADATA,sha256=_Scrif0x1H2uBVhDwrRXozt_njoDIiDKYimxJdJdzbk,762
35
+ dvsense_driver-1.0.2.dist-info/WHEEL,sha256=1rwUt2BQv3N5S0pE0N9WlEu1uiKd-mQhEp4H-4r377U,99
36
+ dvsense_driver-1.0.2.dist-info/top_level.txt,sha256=5p6ICJI_mbaGM8Gb9h6lc-QA5pfUiO01HqFzYIHjqJ8,15
37
+ dvsense_driver-1.0.2.dist-info/RECORD,,
@@ -0,0 +1,5 @@
1
+ Wheel-Version: 1.0
2
+ Generator: setuptools (75.1.0)
3
+ Root-Is-Purelib: false
4
+ Tag: cp38-cp38-win_amd64
5
+
@@ -0,0 +1 @@
1
+ dvsense_driver
Binary file
dvsense_driver_py.lib ADDED
Binary file
Binary file
dvsense_hal_py.lib ADDED
Binary file
fmt.dll ADDED
Binary file
libusb-1.0.dll ADDED
Binary file
swresample-5.dll ADDED
Binary file
swscale-8.dll ADDED
Binary file