Update .gitignore and refine documentation for execution environment

- Added Cython generated files to .gitignore to prevent unnecessary tracking.
- Updated paths in `inference.c` and `coreml_engine.c` to reflect the correct virtual environment.
- Revised the execution environment documentation to clarify hardware dependency checks and local execution instructions, ensuring accurate guidance for users.
- Removed outdated Docker suitability checks and streamlined the assessment process for test execution environments.
This commit is contained in:
Oleksandr Bezdieniezhnykh
2026-03-30 00:53:46 +03:00
parent 27f4aceb52
commit 5a968edcba
12 changed files with 328 additions and 401 deletions
+177
View File
@@ -1590,3 +1590,180 @@
[00:21:21 INFO] init AI...
[00:21:21 INFO] init AI...
[00:21:21 INFO] init AI...
[00:41:54 INFO] init AI...
[00:41:54 INFO] Downloading
[00:41:57 INFO] CoreML model: 1280x1280
[00:41:57 INFO] Enabled
[00:42:05 INFO] init AI...
[00:42:05 INFO] init AI...
[00:42:05 INFO] run inference on ./fixtures/image_small.jpg...
[00:42:06 INFO] init AI...
[00:42:06 INFO] run inference on ./fixtures/video_test01.mp4...
[00:42:06 ERROR] Failed to open video: ./fixtures/video_test01.mp4
[00:45:22 INFO] init AI...
[00:45:22 INFO] Downloading
[00:45:24 INFO] CoreML model: 1280x1280
[00:45:24 INFO] Enabled
[00:45:31 INFO] init AI...
[00:45:31 INFO] init AI...
[00:45:31 INFO] run inference on /Users/obezdienie001/dev/azaion/suite/detections/e2e/fixtures/image_small.jpg...
[00:45:31 INFO] ground sampling distance: 0.3059895833333333
[00:45:31 INFO] Initial ann: image_small_000000: class: 0 77.0% (0.47, 0.21) (0.14, 0.19)
[00:45:31 INFO] Removed (53.80277931690216 42.89022199809551) > 8. class: ArmorVehicle
[00:45:32 INFO] init AI...
[00:45:32 INFO] run inference on /Users/obezdienie001/dev/azaion/suite/detections/e2e/fixtures/video_test01.mp4...
[00:45:32 INFO] Video: 200 frames, 25.0 fps, 2560x1440
[00:45:32 INFO] Video batch 1: frame 4/200 (2%)
[00:45:32 INFO] Video batch 2: frame 8/200 (4%)
[00:45:32 INFO] Video batch 3: frame 12/200 (6%)
[00:45:32 INFO] Video batch 4: frame 16/200 (8%)
[00:45:32 INFO] Video batch 4: 1 detections from postprocess
[00:45:32 INFO] Video frame video_test01_000006: 1 dets, valid=True
[00:45:32 INFO] Video batch 5: frame 20/200 (10%)
[00:45:33 INFO] Video batch 5: 1 detections from postprocess
[00:45:33 INFO] Video frame video_test01_000007: 1 dets, valid=True
[00:45:33 INFO] Video batch 6: frame 24/200 (12%)
[00:45:33 INFO] Video batch 6: 1 detections from postprocess
[00:45:33 INFO] Video frame video_test01_000009: 1 dets, valid=True
[00:45:33 INFO] Video batch 7: frame 28/200 (14%)
[00:45:33 INFO] Video batch 7: 1 detections from postprocess
[00:45:33 INFO] Video frame video_test01_000010: 1 dets, valid=True
[00:45:33 INFO] Video batch 8: frame 32/200 (16%)
[00:45:33 INFO] Video batch 8: 1 detections from postprocess
[00:45:33 INFO] Video frame video_test01_000012: 1 dets, valid=True
[00:45:33 INFO] Video batch 9: frame 36/200 (18%)
[00:45:33 INFO] Video batch 9: 1 detections from postprocess
[00:45:33 INFO] Video frame video_test01_000014: 1 dets, valid=True
[00:45:33 INFO] Video batch 10: frame 40/200 (20%)
[00:45:33 INFO] Video batch 10: 1 detections from postprocess
[00:45:33 INFO] Video frame video_test01_000015: 1 dets, valid=True
[00:45:33 INFO] Video batch 11: frame 44/200 (22%)
[00:45:33 INFO] Video batch 11: 1 detections from postprocess
[00:45:33 INFO] Video frame video_test01_000017: 1 dets, valid=True
[00:45:33 INFO] Video batch 12: frame 48/200 (24%)
[00:45:33 INFO] Video batch 12: 1 detections from postprocess
[00:45:33 INFO] Video frame video_test01_000018: 1 dets, valid=True
[00:45:33 INFO] Video batch 13: frame 52/200 (26%)
[00:45:34 INFO] Video batch 13: 1 detections from postprocess
[00:45:34 INFO] Video frame video_test01_000020: 1 dets, valid=True
[00:45:34 INFO] Video batch 14: frame 56/200 (28%)
[00:45:34 INFO] Video batch 14: 1 detections from postprocess
[00:45:34 INFO] Video frame video_test01_000022: 1 dets, valid=True
[00:45:34 INFO] Video batch 15: frame 60/200 (30%)
[00:45:34 INFO] Video batch 15: 1 detections from postprocess
[00:45:34 INFO] Video frame video_test01_000023: 1 dets, valid=True
[00:45:34 INFO] Video batch 16: frame 64/200 (32%)
[00:45:34 INFO] Video batch 16: 1 detections from postprocess
[00:45:34 INFO] Video frame video_test01_000025: 1 dets, valid=True
[00:45:34 INFO] Video batch 17: frame 68/200 (34%)
[00:45:34 INFO] Video batch 17: 1 detections from postprocess
[00:45:34 INFO] Video frame video_test01_000026: 1 dets, valid=True
[00:45:34 INFO] Video batch 18: frame 72/200 (36%)
[00:45:34 INFO] Video batch 18: 1 detections from postprocess
[00:45:34 INFO] Video frame video_test01_000028: 1 dets, valid=True
[00:45:34 INFO] Video batch 19: frame 76/200 (38%)
[00:45:34 INFO] Video batch 19: 1 detections from postprocess
[00:45:34 INFO] Video frame video_test01_000030: 1 dets, valid=True
[00:45:34 INFO] Video batch 20: frame 80/200 (40%)
[00:45:34 INFO] Video batch 20: 1 detections from postprocess
[00:45:34 INFO] Video frame video_test01_000031: 1 dets, valid=True
[00:45:34 INFO] Video batch 21: frame 84/200 (42%)
[00:45:35 INFO] Video batch 21: 1 detections from postprocess
[00:45:35 INFO] Video frame video_test01_000033: 1 dets, valid=True
[00:45:35 INFO] Video batch 22: frame 88/200 (44%)
[00:45:35 INFO] Video batch 22: 1 detections from postprocess
[00:45:35 INFO] Video frame video_test01_000034: 1 dets, valid=True
[00:45:35 INFO] Video batch 23: frame 92/200 (46%)
[00:45:35 INFO] Video batch 24: frame 96/200 (48%)
[00:45:35 INFO] Video batch 25: frame 100/200 (50%)
[00:45:35 INFO] Video batch 26: frame 104/200 (52%)
[00:45:35 INFO] Video batch 26: 1 detections from postprocess
[00:45:35 INFO] Video frame video_test01_000041: 1 dets, valid=True
[00:45:35 INFO] Video batch 27: frame 108/200 (54%)
[00:45:35 INFO] Video batch 27: 1 detections from postprocess
[00:45:35 INFO] Video frame video_test01_000042: 1 dets, valid=True
[00:45:35 INFO] Video batch 28: frame 112/200 (56%)
[00:45:35 INFO] Video batch 28: 1 detections from postprocess
[00:45:35 INFO] Video frame video_test01_000044: 1 dets, valid=True
[00:45:35 INFO] Video batch 29: frame 116/200 (58%)
[00:45:35 INFO] Video batch 29: 1 detections from postprocess
[00:45:35 INFO] Video frame video_test01_000046: 1 dets, valid=True
[00:45:36 INFO] Video batch 30: frame 120/200 (60%)
[00:45:36 INFO] Video batch 30: 1 detections from postprocess
[00:45:36 INFO] Video frame video_test01_000047: 1 dets, valid=True
[00:45:36 INFO] Video batch 31: frame 124/200 (62%)
[00:45:36 INFO] Video batch 31: 1 detections from postprocess
[00:45:36 INFO] Video frame video_test01_000049: 1 dets, valid=True
[00:45:36 INFO] Video batch 32: frame 128/200 (64%)
[00:45:36 INFO] Video batch 32: 1 detections from postprocess
[00:45:36 INFO] Video frame video_test01_000050: 1 dets, valid=True
[00:45:36 INFO] Video batch 33: frame 132/200 (66%)
[00:45:36 INFO] Video batch 33: 1 detections from postprocess
[00:45:36 INFO] Video frame video_test01_000052: 1 dets, valid=True
[00:45:36 INFO] Video batch 34: frame 136/200 (68%)
[00:45:36 INFO] Video batch 34: 1 detections from postprocess
[00:45:36 INFO] Video frame video_test01_000054: 1 dets, valid=True
[00:45:36 INFO] Video batch 35: frame 140/200 (70%)
[00:45:36 INFO] Video batch 35: 1 detections from postprocess
[00:45:36 INFO] Video frame video_test01_000055: 1 dets, valid=True
[00:45:36 INFO] Video batch 36: frame 144/200 (72%)
[00:45:36 INFO] Video batch 36: 1 detections from postprocess
[00:45:36 INFO] Video frame video_test01_000057: 1 dets, valid=True
[00:45:36 INFO] Video batch 37: frame 148/200 (74%)
[00:45:36 INFO] Video batch 38: frame 152/200 (76%)
[00:45:37 INFO] Video batch 39: frame 156/200 (78%)
[00:45:37 INFO] Video batch 40: frame 160/200 (80%)
[00:45:37 INFO] Video batch 41: frame 164/200 (82%)
[00:45:37 INFO] Video batch 42: frame 168/200 (84%)
[00:45:37 INFO] Video batch 42: 1 detections from postprocess
[00:45:37 INFO] Video frame video_test01_000066: 1 dets, valid=True
[00:45:37 INFO] Video batch 43: frame 172/200 (86%)
[00:45:37 INFO] Video batch 43: 1 detections from postprocess
[00:45:37 INFO] Video frame video_test01_000068: 1 dets, valid=True
[00:45:37 INFO] Video batch 44: frame 176/200 (88%)
[00:45:37 INFO] Video batch 45: frame 180/200 (90%)
[00:45:37 INFO] Video batch 46: frame 184/200 (92%)
[00:45:37 INFO] Video batch 46: 1 detections from postprocess
[00:45:37 INFO] Video frame video_test01_000073: 1 dets, valid=True
[00:45:38 INFO] Video batch 47: frame 188/200 (94%)
[00:45:38 INFO] Video batch 47: 1 detections from postprocess
[00:45:38 INFO] Video frame video_test01_000074: 1 dets, valid=True
[00:45:38 INFO] Video batch 48: frame 192/200 (96%)
[00:45:38 INFO] Video batch 48: 1 detections from postprocess
[00:45:38 INFO] Video frame video_test01_000076: 1 dets, valid=True
[00:45:38 INFO] Video batch 49: frame 196/200 (98%)
[00:45:38 INFO] Video batch 49: 1 detections from postprocess
[00:45:38 INFO] Video frame video_test01_000078: 1 dets, valid=True
[00:45:38 INFO] Video batch 50: frame 200/200 (100%)
[00:45:38 INFO] Video batch 50: 1 detections from postprocess
[00:45:38 INFO] Video frame video_test01_000079: 1 dets, valid=True
[00:45:38 INFO] Video done: 200 frames read, 50 batches processed
[00:45:38 INFO] init AI...
[00:45:38 INFO] run inference on /Users/obezdienie001/dev/azaion/suite/detections/e2e/fixtures/image_small.jpg...
[00:45:38 INFO] ground sampling distance: 0.3059895833333333
[00:45:38 INFO] init AI...
[00:45:38 INFO] Initial ann: image_small_000000: class: 0 77.0% (0.47, 0.21) (0.14, 0.19)
[00:45:38 INFO] Removed (53.80277931690216 42.89022199809551) > 8. class: ArmorVehicle
[00:45:38 INFO] init AI...
[00:45:38 INFO] init AI...
[00:45:38 INFO] init AI...
[00:45:39 INFO] init AI...
[00:45:39 INFO] init AI...
[00:45:39 INFO] init AI...
[00:45:39 INFO] init AI...
[00:45:39 INFO] init AI...
[00:45:39 INFO] init AI...
[00:45:39 INFO] init AI...
[00:45:39 INFO] init AI...
[00:45:39 INFO] init AI...
[00:45:40 INFO] init AI...
[00:45:40 INFO] init AI...
[00:45:40 INFO] init AI...
[00:45:40 INFO] init AI...
[00:45:40 INFO] init AI...
[00:45:40 INFO] init AI...
[00:45:40 INFO] init AI...
[00:53:38 INFO] init AI...
[00:53:38 INFO] Downloading
[00:53:41 INFO] CoreML model: 1280x1280
[00:53:41 INFO] Enabled