tinesight 0.0.11.dev1__tar.gz → 0.0.12.dev1__tar.gz
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.
- {tinesight-0.0.11.dev1 → tinesight-0.0.12.dev1}/PKG-INFO +2 -2
- {tinesight-0.0.11.dev1 → tinesight-0.0.12.dev1}/pyproject.toml +2 -4
- {tinesight-0.0.11.dev1 → tinesight-0.0.12.dev1}/src/tinesight/client.py +0 -4
- {tinesight-0.0.11.dev1 → tinesight-0.0.12.dev1}/README.md +0 -0
- {tinesight-0.0.11.dev1 → tinesight-0.0.12.dev1}/src/tinesight/__init__.py +0 -0
- {tinesight-0.0.11.dev1 → tinesight-0.0.12.dev1}/src/tinesight/_api.py +0 -0
- {tinesight-0.0.11.dev1 → tinesight-0.0.12.dev1}/src/tinesight/registrar.py +0 -0
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: tinesight
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.12.dev1
|
|
4
4
|
Summary: Tinesight SDK
|
|
5
|
-
Requires-Dist: cryptography>=
|
|
5
|
+
Requires-Dist: cryptography>=44
|
|
6
6
|
Requires-Dist: pycognito>=2024.5.1
|
|
7
7
|
Requires-Dist: opencv-python>=4.13.0.90 ; extra == 'video'
|
|
8
8
|
Requires-Python: >=3.12
|
|
@@ -1,19 +1,17 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "tinesight"
|
|
3
|
-
version = "0.0.
|
|
3
|
+
version = "0.0.12.dev1"
|
|
4
4
|
description = "Tinesight SDK"
|
|
5
5
|
readme = "README.md"
|
|
6
6
|
requires-python = ">=3.12"
|
|
7
7
|
dependencies = [
|
|
8
|
-
"cryptography>=
|
|
8
|
+
"cryptography>=44",
|
|
9
9
|
"pycognito>=2024.5.1",
|
|
10
10
|
]
|
|
11
11
|
|
|
12
12
|
[project.optional-dependencies]
|
|
13
13
|
video = [
|
|
14
14
|
"opencv-python>=4.13.0.90",
|
|
15
|
-
# "python-prctl; sys_platform == 'linux'",
|
|
16
|
-
# "picamera2; sys_platform== 'linux'",
|
|
17
15
|
]
|
|
18
16
|
|
|
19
17
|
[build-system]
|
|
@@ -79,8 +79,6 @@ class TinesightClient(TinesightApiMixin):
|
|
|
79
79
|
|
|
80
80
|
Args:
|
|
81
81
|
video_source: Video source - can be device index (0 for default camera),
|
|
82
|
-
RTSP URL (e.g., "rtsp://192.168.1.100:8554/stream"),
|
|
83
|
-
or HTTP stream URL
|
|
84
82
|
frame_skip: Classify every Nth frame (default: 10). Higher values = faster but less frequent updates
|
|
85
83
|
probability_threshold: Minimum confidence threshold to display classification (default: 0.55)
|
|
86
84
|
window_name: Name of the display window
|
|
@@ -89,8 +87,6 @@ class TinesightClient(TinesightApiMixin):
|
|
|
89
87
|
>>> client = TinesightClient(key_path, cert_path)
|
|
90
88
|
>>> # Local camera
|
|
91
89
|
>>> client.classify_video_stream(0)
|
|
92
|
-
>>> # Raspberry Pi RTSP stream
|
|
93
|
-
>>> client.classify_video_stream("rtsp://raspberrypi.local:8554/stream")
|
|
94
90
|
>>> # With custom threshold
|
|
95
91
|
>>> client.classify_video_stream(0, probability_threshold=0.75)
|
|
96
92
|
"""
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|