enot-vp 0.1.0__py3-none-any.whl → 0.1.3__py3-none-any.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.
@@ -0,0 +1,48 @@
1
+ Metadata-Version: 2.4
2
+ Name: enot-vp
3
+ Version: 0.1.3
4
+ Summary: ENOT video processor package for iterating over video frames easily.
5
+ Project-URL: Repository, https://github.com/Ruhrozz/enot-vp.git
6
+ Author-email: Malofeev Ivan <ruhrozz@bk.ru>
7
+ License-Expression: MIT
8
+ License-File: LICENSE
9
+ Classifier: Operating System :: OS Independent
10
+ Classifier: Programming Language :: Python :: 3
11
+ Requires-Python: >=3.9
12
+ Requires-Dist: av>=14.4.0
13
+ Requires-Dist: numpy>=2.0.2
14
+ Description-Content-Type: text/markdown
15
+
16
+ # ENOT Video Processor
17
+
18
+ Package for processing video with `pyav` package.
19
+ Provides methods for reading from video and writing modified video frames.
20
+
21
+ # Examples
22
+
23
+ Reading
24
+
25
+ ```
26
+ from enot_vp import VideoProcessor
27
+ from ultralytics import YOLO
28
+
29
+ model = YOLO(MODEL_PATH)
30
+
31
+ with VideoProcessor(input_video=VIDEO_PATH) as vp:
32
+ for frame in vp:
33
+ ndarray = model(frame.to_image(), imgsz=1600, verbose=False)[0].plot()[..., ::-1]
34
+ ```
35
+
36
+ Modification
37
+
38
+ ```
39
+ from enot_vp import VideoProcessor
40
+ from ultralytics import YOLO
41
+
42
+ model = YOLO(MODEL_PATH)
43
+
44
+ with VideoProcessor(input_video=VIDEO_PATH, output_video=OUTPUT_VIDEO_PATH) as vp:
45
+ for frame in vp:
46
+ ndarray = model(frame.to_image(), imgsz=1600, verbose=False)[0].plot()[..., ::-1]
47
+ vp.put(ndarray)
48
+ ```
@@ -0,0 +1,6 @@
1
+ enot_vp/__init__.py,sha256=0jTdY7p0CdAbF2pqIZZpC_3nFvnUgQolDAl_cWfqoc0,69
2
+ enot_vp/video_processor.py,sha256=FsHiBCFQoWpT942I9_L0pVZIzM9j45crceSmLrPeaWA,2494
3
+ enot_vp-0.1.3.dist-info/METADATA,sha256=PTIhFI_cu-wDsUWQ0QDk4yOFVjVziCsYxIb9TDOfljg,1260
4
+ enot_vp-0.1.3.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
5
+ enot_vp-0.1.3.dist-info/licenses/LICENSE,sha256=7EI8xVBu6h_7_JlVw-yPhhOZlpY9hP8wal7kHtqKT_E,1074
6
+ enot_vp-0.1.3.dist-info/RECORD,,
@@ -1,12 +0,0 @@
1
- Metadata-Version: 2.4
2
- Name: enot-vp
3
- Version: 0.1.0
4
- Summary: ENOT video processor package for iterating over video frames easily.
5
- Author-email: Malofeev Ivan <ruhrozz@bk.ru>
6
- License-Expression: MIT
7
- License-File: LICENSE
8
- Classifier: Operating System :: OS Independent
9
- Classifier: Programming Language :: Python :: 3
10
- Requires-Python: >=3.9
11
- Requires-Dist: av>=14.4.0
12
- Requires-Dist: numpy>=2.0.2
@@ -1,6 +0,0 @@
1
- enot_vp/__init__.py,sha256=0jTdY7p0CdAbF2pqIZZpC_3nFvnUgQolDAl_cWfqoc0,69
2
- enot_vp/video_processor.py,sha256=FsHiBCFQoWpT942I9_L0pVZIzM9j45crceSmLrPeaWA,2494
3
- enot_vp-0.1.0.dist-info/METADATA,sha256=ZlAuvBXEvvLgDIqj3Z71QgKZupXV3G6JUVUgiyyzx3s,391
4
- enot_vp-0.1.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
5
- enot_vp-0.1.0.dist-info/licenses/LICENSE,sha256=7EI8xVBu6h_7_JlVw-yPhhOZlpY9hP8wal7kHtqKT_E,1074
6
- enot_vp-0.1.0.dist-info/RECORD,,