image-server-kit 0.0.1__tar.gz → 0.0.3__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.
Files changed (20) hide show
  1. image_server_kit-0.0.3/PKG-INFO +78 -0
  2. image_server_kit-0.0.3/README.md +56 -0
  3. {image_server_kit-0.0.1 → image_server_kit-0.0.3}/pyproject.toml +1 -1
  4. image_server_kit-0.0.3/src/image_server_kit.egg-info/PKG-INFO +78 -0
  5. image_server_kit-0.0.1/PKG-INFO +0 -76
  6. image_server_kit-0.0.1/README.md +0 -54
  7. image_server_kit-0.0.1/src/image_server_kit.egg-info/PKG-INFO +0 -76
  8. {image_server_kit-0.0.1 → image_server_kit-0.0.3}/LICENSE +0 -0
  9. {image_server_kit-0.0.1 → image_server_kit-0.0.3}/setup.cfg +0 -0
  10. {image_server_kit-0.0.1 → image_server_kit-0.0.3}/src/image_server/__init__.py +0 -0
  11. {image_server_kit-0.0.1 → image_server_kit-0.0.3}/src/image_server/image_stream_ctrl.py +0 -0
  12. {image_server_kit-0.0.1 → image_server_kit-0.0.3}/src/image_server/server_grpc/__init__.py +0 -0
  13. {image_server_kit-0.0.1 → image_server_kit-0.0.3}/src/image_server/server_grpc/client.py +0 -0
  14. {image_server_kit-0.0.1 → image_server_kit-0.0.3}/src/image_server/server_grpc/client.pyi +0 -0
  15. {image_server_kit-0.0.1 → image_server_kit-0.0.3}/src/image_server/server_grpc/image_stream_grpc_service.py +0 -0
  16. {image_server_kit-0.0.1 → image_server_kit-0.0.3}/src/image_server/server_grpc/make_pyi.py +0 -0
  17. {image_server_kit-0.0.1 → image_server_kit-0.0.3}/src/image_server_kit.egg-info/SOURCES.txt +0 -0
  18. {image_server_kit-0.0.1 → image_server_kit-0.0.3}/src/image_server_kit.egg-info/dependency_links.txt +0 -0
  19. {image_server_kit-0.0.1 → image_server_kit-0.0.3}/src/image_server_kit.egg-info/requires.txt +0 -0
  20. {image_server_kit-0.0.1 → image_server_kit-0.0.3}/src/image_server_kit.egg-info/top_level.txt +0 -0
@@ -0,0 +1,78 @@
1
+ Metadata-Version: 2.4
2
+ Name: image-server-kit
3
+ Version: 0.0.3
4
+ Summary: image_server (Template)
5
+ Author-email: Kengo NAKADA <kengo.nakada@email.com>
6
+ Requires-Python: >=3.8
7
+ Description-Content-Type: text/markdown
8
+ License-File: LICENSE
9
+ Requires-Dist: xlogger-py
10
+ Requires-Dist: pyserial
11
+ Requires-Dist: nest_asyncio
12
+ Requires-Dist: pydantic
13
+ Requires-Dist: pyyaml
14
+ Requires-Dist: pytest
15
+ Requires-Dist: sphinx
16
+ Requires-Dist: myst-parser
17
+ Requires-Dist: sphinx-autobuild
18
+ Requires-Dist: sphinx-rtd-theme
19
+ Requires-Dist: sphinxcontrib-napoleon
20
+ Requires-Dist: linkify-it-py
21
+ Dynamic: license-file
22
+
23
+ # image_server
24
+
25
+ [![en](https://img.shields.io/badge/lang-en-red.svg)](https://github.com/ohara-lab-su/image_server/blob/main/README.md)
26
+ [![ja](https://img.shields.io/badge/lang-ja-yellow.svg)](https://github.com/ohara-lab-su/image_server/blob/main/README.ja.md)
27
+
28
+ image_server is **not** a library for working with USB cameras.
29
+
30
+ This library is a **template for integrating image transfer functionality into existing programs**.
31
+ Rather than implementing OpenCV, gRPC, and a viewer from scratch each time, its goal is to enable developers to build an image transfer system quickly by modifying only the image acquisition component.
32
+
33
+ ## Problems This Library Solves
34
+
35
+ Normally, the following functionality must be implemented for each project:
36
+
37
+ - Camera connection
38
+ - Frame acquisition
39
+ - JPEG compression
40
+ - Communication
41
+ - Viewer
42
+ - Connection management
43
+ - Thread management
44
+
45
+ image_server provides these functions as common components, so users only need to implement **the image acquisition component**.
46
+
47
+ ## Layered Architecture
48
+
49
+ Application
50
+ ↓
51
+ ImageStreamGrpcService
52
+ ↓
53
+ ImageStreamCtrl
54
+ ↓
55
+ Camera SDK
56
+
57
+ ImageStreamCtrl is the layer that abstracts the Camera SDK.
58
+ ImageStreamGrpcService is responsible solely for image streaming.
59
+
60
+ ## Development Workflow
61
+
62
+ 1. Run ImageStreamCtrl with OpenCV.
63
+ 2. Replace OpenCV with the target SDK.
64
+ 3. Start `run_image_server.py`.
65
+ 4. Verify operation with the viewer.
66
+ 5. Integrate it with DeviceProxy or an AI system.
67
+
68
+ ## Intended Use Cases
69
+
70
+ - USB Camera
71
+ - Basler
72
+ - IDS
73
+ - HikVision
74
+ - GigE Vision
75
+ - ORiN Camera
76
+ - AI inference servers
77
+ - Visual inspection
78
+ - Robot vision
@@ -0,0 +1,56 @@
1
+ # image_server
2
+
3
+ [![en](https://img.shields.io/badge/lang-en-red.svg)](https://github.com/ohara-lab-su/image_server/blob/main/README.md)
4
+ [![ja](https://img.shields.io/badge/lang-ja-yellow.svg)](https://github.com/ohara-lab-su/image_server/blob/main/README.ja.md)
5
+
6
+ image_server is **not** a library for working with USB cameras.
7
+
8
+ This library is a **template for integrating image transfer functionality into existing programs**.
9
+ Rather than implementing OpenCV, gRPC, and a viewer from scratch each time, its goal is to enable developers to build an image transfer system quickly by modifying only the image acquisition component.
10
+
11
+ ## Problems This Library Solves
12
+
13
+ Normally, the following functionality must be implemented for each project:
14
+
15
+ - Camera connection
16
+ - Frame acquisition
17
+ - JPEG compression
18
+ - Communication
19
+ - Viewer
20
+ - Connection management
21
+ - Thread management
22
+
23
+ image_server provides these functions as common components, so users only need to implement **the image acquisition component**.
24
+
25
+ ## Layered Architecture
26
+
27
+ Application
28
+ ↓
29
+ ImageStreamGrpcService
30
+ ↓
31
+ ImageStreamCtrl
32
+ ↓
33
+ Camera SDK
34
+
35
+ ImageStreamCtrl is the layer that abstracts the Camera SDK.
36
+ ImageStreamGrpcService is responsible solely for image streaming.
37
+
38
+ ## Development Workflow
39
+
40
+ 1. Run ImageStreamCtrl with OpenCV.
41
+ 2. Replace OpenCV with the target SDK.
42
+ 3. Start `run_image_server.py`.
43
+ 4. Verify operation with the viewer.
44
+ 5. Integrate it with DeviceProxy or an AI system.
45
+
46
+ ## Intended Use Cases
47
+
48
+ - USB Camera
49
+ - Basler
50
+ - IDS
51
+ - HikVision
52
+ - GigE Vision
53
+ - ORiN Camera
54
+ - AI inference servers
55
+ - Visual inspection
56
+ - Robot vision
@@ -5,7 +5,7 @@ build-backend = "setuptools.build_meta"
5
5
  [project]
6
6
  name = "image-server-kit"
7
7
 
8
- version = "0.0.1"
8
+ version = "0.0.3"
9
9
 
10
10
  description = "image_server (Template)"
11
11
  authors = [
@@ -0,0 +1,78 @@
1
+ Metadata-Version: 2.4
2
+ Name: image-server-kit
3
+ Version: 0.0.3
4
+ Summary: image_server (Template)
5
+ Author-email: Kengo NAKADA <kengo.nakada@email.com>
6
+ Requires-Python: >=3.8
7
+ Description-Content-Type: text/markdown
8
+ License-File: LICENSE
9
+ Requires-Dist: xlogger-py
10
+ Requires-Dist: pyserial
11
+ Requires-Dist: nest_asyncio
12
+ Requires-Dist: pydantic
13
+ Requires-Dist: pyyaml
14
+ Requires-Dist: pytest
15
+ Requires-Dist: sphinx
16
+ Requires-Dist: myst-parser
17
+ Requires-Dist: sphinx-autobuild
18
+ Requires-Dist: sphinx-rtd-theme
19
+ Requires-Dist: sphinxcontrib-napoleon
20
+ Requires-Dist: linkify-it-py
21
+ Dynamic: license-file
22
+
23
+ # image_server
24
+
25
+ [![en](https://img.shields.io/badge/lang-en-red.svg)](https://github.com/ohara-lab-su/image_server/blob/main/README.md)
26
+ [![ja](https://img.shields.io/badge/lang-ja-yellow.svg)](https://github.com/ohara-lab-su/image_server/blob/main/README.ja.md)
27
+
28
+ image_server is **not** a library for working with USB cameras.
29
+
30
+ This library is a **template for integrating image transfer functionality into existing programs**.
31
+ Rather than implementing OpenCV, gRPC, and a viewer from scratch each time, its goal is to enable developers to build an image transfer system quickly by modifying only the image acquisition component.
32
+
33
+ ## Problems This Library Solves
34
+
35
+ Normally, the following functionality must be implemented for each project:
36
+
37
+ - Camera connection
38
+ - Frame acquisition
39
+ - JPEG compression
40
+ - Communication
41
+ - Viewer
42
+ - Connection management
43
+ - Thread management
44
+
45
+ image_server provides these functions as common components, so users only need to implement **the image acquisition component**.
46
+
47
+ ## Layered Architecture
48
+
49
+ Application
50
+ ↓
51
+ ImageStreamGrpcService
52
+ ↓
53
+ ImageStreamCtrl
54
+ ↓
55
+ Camera SDK
56
+
57
+ ImageStreamCtrl is the layer that abstracts the Camera SDK.
58
+ ImageStreamGrpcService is responsible solely for image streaming.
59
+
60
+ ## Development Workflow
61
+
62
+ 1. Run ImageStreamCtrl with OpenCV.
63
+ 2. Replace OpenCV with the target SDK.
64
+ 3. Start `run_image_server.py`.
65
+ 4. Verify operation with the viewer.
66
+ 5. Integrate it with DeviceProxy or an AI system.
67
+
68
+ ## Intended Use Cases
69
+
70
+ - USB Camera
71
+ - Basler
72
+ - IDS
73
+ - HikVision
74
+ - GigE Vision
75
+ - ORiN Camera
76
+ - AI inference servers
77
+ - Visual inspection
78
+ - Robot vision
@@ -1,76 +0,0 @@
1
- Metadata-Version: 2.4
2
- Name: image-server-kit
3
- Version: 0.0.1
4
- Summary: image_server (Template)
5
- Author-email: Kengo NAKADA <kengo.nakada@email.com>
6
- Requires-Python: >=3.8
7
- Description-Content-Type: text/markdown
8
- License-File: LICENSE
9
- Requires-Dist: xlogger-py
10
- Requires-Dist: pyserial
11
- Requires-Dist: nest_asyncio
12
- Requires-Dist: pydantic
13
- Requires-Dist: pyyaml
14
- Requires-Dist: pytest
15
- Requires-Dist: sphinx
16
- Requires-Dist: myst-parser
17
- Requires-Dist: sphinx-autobuild
18
- Requires-Dist: sphinx-rtd-theme
19
- Requires-Dist: sphinxcontrib-napoleon
20
- Requires-Dist: linkify-it-py
21
- Dynamic: license-file
22
-
23
- # image_server
24
-
25
- image_server は「USBカメラを扱うライブラリ」ではありません。
26
-
27
- 本ライブラリは **画像転送機能を既存プログラムへ組み込むためのテンプレート** です。
28
- OpenCV・gRPC・Viewer を毎回実装するのではなく、画像取得部分だけを書き換えることで
29
- 画像転送システムを短時間で構築できることを目的としています。
30
-
31
- ## このライブラリが解決する問題
32
-
33
- 通常は次のような処理を毎回実装する必要があります。
34
-
35
- - カメラ接続
36
- - フレーム取得
37
- - JPEG圧縮
38
- - 通信
39
- - Viewer
40
- - 接続管理
41
- - スレッド管理
42
-
43
- image_server はこれらを共通化し、利用者は **画像取得部だけ** を実装します。
44
-
45
- ## レイヤ構造
46
-
47
- Application
48
- ↓
49
- ImageStreamGrpcService
50
- ↓
51
- ImageStreamCtrl
52
- ↓
53
- Camera SDK
54
-
55
- ImageStreamCtrl は Camera SDK を抽象化する層です。
56
- ImageStreamGrpcService は画像配信だけを担当します。
57
-
58
- ## 開発フロー
59
-
60
- 1. ImageStreamCtrl を OpenCV で動かす
61
- 2. SDK に置き換える
62
- 3. run_image_server.py を起動
63
- 4. Viewer で確認
64
- 5. DeviceProxy や AI システムへ組み込む
65
-
66
- ## 想定用途
67
-
68
- - USB Camera
69
- - Basler
70
- - IDS
71
- - HikVision
72
- - GigE Vision
73
- - ORiN Camera
74
- - AI 推論サーバ
75
- - 外観検査
76
- - ロボットビジョン
@@ -1,54 +0,0 @@
1
- # image_server
2
-
3
- image_server は「USBカメラを扱うライブラリ」ではありません。
4
-
5
- 本ライブラリは **画像転送機能を既存プログラムへ組み込むためのテンプレート** です。
6
- OpenCV・gRPC・Viewer を毎回実装するのではなく、画像取得部分だけを書き換えることで
7
- 画像転送システムを短時間で構築できることを目的としています。
8
-
9
- ## このライブラリが解決する問題
10
-
11
- 通常は次のような処理を毎回実装する必要があります。
12
-
13
- - カメラ接続
14
- - フレーム取得
15
- - JPEG圧縮
16
- - 通信
17
- - Viewer
18
- - 接続管理
19
- - スレッド管理
20
-
21
- image_server はこれらを共通化し、利用者は **画像取得部だけ** を実装します。
22
-
23
- ## レイヤ構造
24
-
25
- Application
26
- ↓
27
- ImageStreamGrpcService
28
- ↓
29
- ImageStreamCtrl
30
- ↓
31
- Camera SDK
32
-
33
- ImageStreamCtrl は Camera SDK を抽象化する層です。
34
- ImageStreamGrpcService は画像配信だけを担当します。
35
-
36
- ## 開発フロー
37
-
38
- 1. ImageStreamCtrl を OpenCV で動かす
39
- 2. SDK に置き換える
40
- 3. run_image_server.py を起動
41
- 4. Viewer で確認
42
- 5. DeviceProxy や AI システムへ組み込む
43
-
44
- ## 想定用途
45
-
46
- - USB Camera
47
- - Basler
48
- - IDS
49
- - HikVision
50
- - GigE Vision
51
- - ORiN Camera
52
- - AI 推論サーバ
53
- - 外観検査
54
- - ロボットビジョン
@@ -1,76 +0,0 @@
1
- Metadata-Version: 2.4
2
- Name: image-server-kit
3
- Version: 0.0.1
4
- Summary: image_server (Template)
5
- Author-email: Kengo NAKADA <kengo.nakada@email.com>
6
- Requires-Python: >=3.8
7
- Description-Content-Type: text/markdown
8
- License-File: LICENSE
9
- Requires-Dist: xlogger-py
10
- Requires-Dist: pyserial
11
- Requires-Dist: nest_asyncio
12
- Requires-Dist: pydantic
13
- Requires-Dist: pyyaml
14
- Requires-Dist: pytest
15
- Requires-Dist: sphinx
16
- Requires-Dist: myst-parser
17
- Requires-Dist: sphinx-autobuild
18
- Requires-Dist: sphinx-rtd-theme
19
- Requires-Dist: sphinxcontrib-napoleon
20
- Requires-Dist: linkify-it-py
21
- Dynamic: license-file
22
-
23
- # image_server
24
-
25
- image_server は「USBカメラを扱うライブラリ」ではありません。
26
-
27
- 本ライブラリは **画像転送機能を既存プログラムへ組み込むためのテンプレート** です。
28
- OpenCV・gRPC・Viewer を毎回実装するのではなく、画像取得部分だけを書き換えることで
29
- 画像転送システムを短時間で構築できることを目的としています。
30
-
31
- ## このライブラリが解決する問題
32
-
33
- 通常は次のような処理を毎回実装する必要があります。
34
-
35
- - カメラ接続
36
- - フレーム取得
37
- - JPEG圧縮
38
- - 通信
39
- - Viewer
40
- - 接続管理
41
- - スレッド管理
42
-
43
- image_server はこれらを共通化し、利用者は **画像取得部だけ** を実装します。
44
-
45
- ## レイヤ構造
46
-
47
- Application
48
- ↓
49
- ImageStreamGrpcService
50
- ↓
51
- ImageStreamCtrl
52
- ↓
53
- Camera SDK
54
-
55
- ImageStreamCtrl は Camera SDK を抽象化する層です。
56
- ImageStreamGrpcService は画像配信だけを担当します。
57
-
58
- ## 開発フロー
59
-
60
- 1. ImageStreamCtrl を OpenCV で動かす
61
- 2. SDK に置き換える
62
- 3. run_image_server.py を起動
63
- 4. Viewer で確認
64
- 5. DeviceProxy や AI システムへ組み込む
65
-
66
- ## 想定用途
67
-
68
- - USB Camera
69
- - Basler
70
- - IDS
71
- - HikVision
72
- - GigE Vision
73
- - ORiN Camera
74
- - AI 推論サーバ
75
- - 外観検査
76
- - ロボットビジョン