datamata 1.9.2__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 (299) hide show
  1. datamata-1.9.2/LICENSE +198 -0
  2. datamata-1.9.2/NOTICE +84 -0
  3. datamata-1.9.2/PKG-INFO +1510 -0
  4. datamata-1.9.2/README.md +1434 -0
  5. datamata-1.9.2/pyproject.toml +183 -0
  6. datamata-1.9.2/setup.cfg +4 -0
  7. datamata-1.9.2/src/datamata.egg-info/PKG-INFO +1510 -0
  8. datamata-1.9.2/src/datamata.egg-info/SOURCES.txt +297 -0
  9. datamata-1.9.2/src/datamata.egg-info/dependency_links.txt +1 -0
  10. datamata-1.9.2/src/datamata.egg-info/requires.txt +64 -0
  11. datamata-1.9.2/src/datamata.egg-info/top_level.txt +1 -0
  12. datamata-1.9.2/src/mata/__init__.py +117 -0
  13. datamata-1.9.2/src/mata/adapters/__init__.py +54 -0
  14. datamata-1.9.2/src/mata/adapters/base.py +309 -0
  15. datamata-1.9.2/src/mata/adapters/clip_adapter.py +504 -0
  16. datamata-1.9.2/src/mata/adapters/embed_adapter.py +80 -0
  17. datamata-1.9.2/src/mata/adapters/helpers/__init__.py +6 -0
  18. datamata-1.9.2/src/mata/adapters/helpers/detr_helper.py +40 -0
  19. datamata-1.9.2/src/mata/adapters/helpers/dino_helper.py +40 -0
  20. datamata-1.9.2/src/mata/adapters/helpers/rtdetr_helper.py +40 -0
  21. datamata-1.9.2/src/mata/adapters/huggingface_adapter.py +356 -0
  22. datamata-1.9.2/src/mata/adapters/huggingface_classify_adapter.py +358 -0
  23. datamata-1.9.2/src/mata/adapters/huggingface_depth_adapter.py +142 -0
  24. datamata-1.9.2/src/mata/adapters/huggingface_sam_adapter.py +840 -0
  25. datamata-1.9.2/src/mata/adapters/huggingface_segment_adapter.py +814 -0
  26. datamata-1.9.2/src/mata/adapters/huggingface_vlm_adapter.py +588 -0
  27. datamata-1.9.2/src/mata/adapters/huggingface_zeroshot_detect_adapter.py +519 -0
  28. datamata-1.9.2/src/mata/adapters/huggingface_zeroshot_segment_adapter.py +552 -0
  29. datamata-1.9.2/src/mata/adapters/ocr/__init__.py +13 -0
  30. datamata-1.9.2/src/mata/adapters/ocr/easyocr_adapter.py +170 -0
  31. datamata-1.9.2/src/mata/adapters/ocr/huggingface_ocr_adapter.py +281 -0
  32. datamata-1.9.2/src/mata/adapters/ocr/paddleocr_adapter.py +704 -0
  33. datamata-1.9.2/src/mata/adapters/ocr/tesseract_adapter.py +170 -0
  34. datamata-1.9.2/src/mata/adapters/onnx_adapter.py +704 -0
  35. datamata-1.9.2/src/mata/adapters/onnx_base.py +152 -0
  36. datamata-1.9.2/src/mata/adapters/onnx_classify_adapter.py +266 -0
  37. datamata-1.9.2/src/mata/adapters/pipeline_adapter.py +405 -0
  38. datamata-1.9.2/src/mata/adapters/pytorch_adapter.py +288 -0
  39. datamata-1.9.2/src/mata/adapters/pytorch_base.py +151 -0
  40. datamata-1.9.2/src/mata/adapters/pytorch_classify_adapter.py +241 -0
  41. datamata-1.9.2/src/mata/adapters/reid_adapter.py +360 -0
  42. datamata-1.9.2/src/mata/adapters/tensorrt_adapter.py +42 -0
  43. datamata-1.9.2/src/mata/adapters/torchscript_adapter.py +219 -0
  44. datamata-1.9.2/src/mata/adapters/torchscript_classify_adapter.py +231 -0
  45. datamata-1.9.2/src/mata/adapters/torchvision_detect_adapter.py +505 -0
  46. datamata-1.9.2/src/mata/adapters/tracking_adapter.py +513 -0
  47. datamata-1.9.2/src/mata/adapters/wrappers/__init__.py +51 -0
  48. datamata-1.9.2/src/mata/adapters/wrappers/classify_wrapper.py +131 -0
  49. datamata-1.9.2/src/mata/adapters/wrappers/depth_wrapper.py +126 -0
  50. datamata-1.9.2/src/mata/adapters/wrappers/detect_wrapper.py +137 -0
  51. datamata-1.9.2/src/mata/adapters/wrappers/ocr_wrapper.py +146 -0
  52. datamata-1.9.2/src/mata/adapters/wrappers/sam_wrapper.py +162 -0
  53. datamata-1.9.2/src/mata/adapters/wrappers/segment_wrapper.py +125 -0
  54. datamata-1.9.2/src/mata/adapters/wrappers/vlm_wrapper.py +212 -0
  55. datamata-1.9.2/src/mata/api.py +1227 -0
  56. datamata-1.9.2/src/mata/core/__init__.py +58 -0
  57. datamata-1.9.2/src/mata/core/agent_loop.py +684 -0
  58. datamata-1.9.2/src/mata/core/artifacts/__init__.py +83 -0
  59. datamata-1.9.2/src/mata/core/artifacts/base.py +287 -0
  60. datamata-1.9.2/src/mata/core/artifacts/classifications.py +140 -0
  61. datamata-1.9.2/src/mata/core/artifacts/converters.py +790 -0
  62. datamata-1.9.2/src/mata/core/artifacts/cross_matches.py +164 -0
  63. datamata-1.9.2/src/mata/core/artifacts/depth_map.py +167 -0
  64. datamata-1.9.2/src/mata/core/artifacts/detections.py +532 -0
  65. datamata-1.9.2/src/mata/core/artifacts/embeddings.py +96 -0
  66. datamata-1.9.2/src/mata/core/artifacts/image.py +478 -0
  67. datamata-1.9.2/src/mata/core/artifacts/keypoints.py +213 -0
  68. datamata-1.9.2/src/mata/core/artifacts/masks.py +351 -0
  69. datamata-1.9.2/src/mata/core/artifacts/ocr_text.py +195 -0
  70. datamata-1.9.2/src/mata/core/artifacts/result.py +328 -0
  71. datamata-1.9.2/src/mata/core/artifacts/rois.py +291 -0
  72. datamata-1.9.2/src/mata/core/artifacts/tracks.py +255 -0
  73. datamata-1.9.2/src/mata/core/config.py +127 -0
  74. datamata-1.9.2/src/mata/core/exceptions.py +112 -0
  75. datamata-1.9.2/src/mata/core/exporters/__init__.py +31 -0
  76. datamata-1.9.2/src/mata/core/exporters/crop_exporter.py +148 -0
  77. datamata-1.9.2/src/mata/core/exporters/csv_exporter.py +398 -0
  78. datamata-1.9.2/src/mata/core/exporters/image_exporter.py +658 -0
  79. datamata-1.9.2/src/mata/core/exporters/json_exporter.py +174 -0
  80. datamata-1.9.2/src/mata/core/exporters/text_exporter.py +58 -0
  81. datamata-1.9.2/src/mata/core/exporters/valkey_exporter.py +245 -0
  82. datamata-1.9.2/src/mata/core/graph/__init__.py +65 -0
  83. datamata-1.9.2/src/mata/core/graph/conditionals.py +501 -0
  84. datamata-1.9.2/src/mata/core/graph/context.py +450 -0
  85. datamata-1.9.2/src/mata/core/graph/dsl.py +459 -0
  86. datamata-1.9.2/src/mata/core/graph/graph.py +877 -0
  87. datamata-1.9.2/src/mata/core/graph/node.py +376 -0
  88. datamata-1.9.2/src/mata/core/graph/scheduler.py +1122 -0
  89. datamata-1.9.2/src/mata/core/graph/temporal.py +499 -0
  90. datamata-1.9.2/src/mata/core/graph/validator.py +581 -0
  91. datamata-1.9.2/src/mata/core/image_tools.py +230 -0
  92. datamata-1.9.2/src/mata/core/logging.py +229 -0
  93. datamata-1.9.2/src/mata/core/mask_utils.py +243 -0
  94. datamata-1.9.2/src/mata/core/model_loader.py +993 -0
  95. datamata-1.9.2/src/mata/core/model_registry.py +400 -0
  96. datamata-1.9.2/src/mata/core/observability/__init__.py +16 -0
  97. datamata-1.9.2/src/mata/core/observability/metrics.py +277 -0
  98. datamata-1.9.2/src/mata/core/observability/provenance.py +402 -0
  99. datamata-1.9.2/src/mata/core/observability/tracing.py +293 -0
  100. datamata-1.9.2/src/mata/core/parsers.py +826 -0
  101. datamata-1.9.2/src/mata/core/registry/__init__.py +40 -0
  102. datamata-1.9.2/src/mata/core/registry/protocols.py +639 -0
  103. datamata-1.9.2/src/mata/core/registry/providers.py +454 -0
  104. datamata-1.9.2/src/mata/core/tool_prompts.py +210 -0
  105. datamata-1.9.2/src/mata/core/tool_registry.py +761 -0
  106. datamata-1.9.2/src/mata/core/tool_schema.py +437 -0
  107. datamata-1.9.2/src/mata/core/types.py +1716 -0
  108. datamata-1.9.2/src/mata/core/video_io.py +447 -0
  109. datamata-1.9.2/src/mata/eval/__init__.py +29 -0
  110. datamata-1.9.2/src/mata/eval/confusion_matrix.py +371 -0
  111. datamata-1.9.2/src/mata/eval/dataset.py +476 -0
  112. datamata-1.9.2/src/mata/eval/metrics/__init__.py +25 -0
  113. datamata-1.9.2/src/mata/eval/metrics/base.py +398 -0
  114. datamata-1.9.2/src/mata/eval/metrics/classify.py +224 -0
  115. datamata-1.9.2/src/mata/eval/metrics/depth.py +379 -0
  116. datamata-1.9.2/src/mata/eval/metrics/detect.py +201 -0
  117. datamata-1.9.2/src/mata/eval/metrics/iou.py +222 -0
  118. datamata-1.9.2/src/mata/eval/metrics/ocr.py +296 -0
  119. datamata-1.9.2/src/mata/eval/metrics/segment.py +227 -0
  120. datamata-1.9.2/src/mata/eval/plots.py +399 -0
  121. datamata-1.9.2/src/mata/eval/printer.py +321 -0
  122. datamata-1.9.2/src/mata/eval/validator.py +888 -0
  123. datamata-1.9.2/src/mata/nodes/__init__.py +93 -0
  124. datamata-1.9.2/src/mata/nodes/annotate.py +179 -0
  125. datamata-1.9.2/src/mata/nodes/annotate_rt.py +282 -0
  126. datamata-1.9.2/src/mata/nodes/classify.py +107 -0
  127. datamata-1.9.2/src/mata/nodes/depth.py +109 -0
  128. datamata-1.9.2/src/mata/nodes/detect.py +105 -0
  129. datamata-1.9.2/src/mata/nodes/embed.py +107 -0
  130. datamata-1.9.2/src/mata/nodes/expand_boxes.py +208 -0
  131. datamata-1.9.2/src/mata/nodes/filter.py +206 -0
  132. datamata-1.9.2/src/mata/nodes/fuse.py +192 -0
  133. datamata-1.9.2/src/mata/nodes/keep_best_mask.py +152 -0
  134. datamata-1.9.2/src/mata/nodes/mask_to_box.py +231 -0
  135. datamata-1.9.2/src/mata/nodes/merge.py +212 -0
  136. datamata-1.9.2/src/mata/nodes/nms.py +157 -0
  137. datamata-1.9.2/src/mata/nodes/ocr.py +242 -0
  138. datamata-1.9.2/src/mata/nodes/promote_entities.py +139 -0
  139. datamata-1.9.2/src/mata/nodes/prompt_boxes.py +309 -0
  140. datamata-1.9.2/src/mata/nodes/prompt_points.py +171 -0
  141. datamata-1.9.2/src/mata/nodes/refine_mask.py +206 -0
  142. datamata-1.9.2/src/mata/nodes/reid.py +146 -0
  143. datamata-1.9.2/src/mata/nodes/roi.py +155 -0
  144. datamata-1.9.2/src/mata/nodes/segment.py +106 -0
  145. datamata-1.9.2/src/mata/nodes/segment_everything.py +114 -0
  146. datamata-1.9.2/src/mata/nodes/topk.py +90 -0
  147. datamata-1.9.2/src/mata/nodes/track.py +651 -0
  148. datamata-1.9.2/src/mata/nodes/valkey_load.py +99 -0
  149. datamata-1.9.2/src/mata/nodes/valkey_store.py +133 -0
  150. datamata-1.9.2/src/mata/nodes/vlm_describe.py +200 -0
  151. datamata-1.9.2/src/mata/nodes/vlm_detect.py +194 -0
  152. datamata-1.9.2/src/mata/nodes/vlm_query.py +229 -0
  153. datamata-1.9.2/src/mata/presets/__init__.py +142 -0
  154. datamata-1.9.2/src/mata/presets/agriculture.py +56 -0
  155. datamata-1.9.2/src/mata/presets/detection_pose.py +88 -0
  156. datamata-1.9.2/src/mata/presets/detection_segmentation.py +139 -0
  157. datamata-1.9.2/src/mata/presets/driving.py +339 -0
  158. datamata-1.9.2/src/mata/presets/full_scene.py +149 -0
  159. datamata-1.9.2/src/mata/presets/general.py +61 -0
  160. datamata-1.9.2/src/mata/presets/manufacturing.py +182 -0
  161. datamata-1.9.2/src/mata/presets/retail.py +194 -0
  162. datamata-1.9.2/src/mata/presets/surveillance.py +279 -0
  163. datamata-1.9.2/src/mata/presets/vlm.py +234 -0
  164. datamata-1.9.2/src/mata/py.typed +0 -0
  165. datamata-1.9.2/src/mata/runtimes/__init__.py +11 -0
  166. datamata-1.9.2/src/mata/runtimes/base.py +50 -0
  167. datamata-1.9.2/src/mata/runtimes/onnx_runtime.py +84 -0
  168. datamata-1.9.2/src/mata/runtimes/torch_runtime.py +75 -0
  169. datamata-1.9.2/src/mata/tasks/__init__.py +19 -0
  170. datamata-1.9.2/src/mata/tasks/base.py +213 -0
  171. datamata-1.9.2/src/mata/trackers/__init__.py +40 -0
  172. datamata-1.9.2/src/mata/trackers/basetrack.py +148 -0
  173. datamata-1.9.2/src/mata/trackers/bot_sort.py +498 -0
  174. datamata-1.9.2/src/mata/trackers/byte_tracker.py +995 -0
  175. datamata-1.9.2/src/mata/trackers/global_id_registry.py +196 -0
  176. datamata-1.9.2/src/mata/trackers/reid_bridge.py +179 -0
  177. datamata-1.9.2/src/mata/trackers/utils/__init__.py +7 -0
  178. datamata-1.9.2/src/mata/trackers/utils/gmc.py +260 -0
  179. datamata-1.9.2/src/mata/trackers/utils/kalman_filter.py +350 -0
  180. datamata-1.9.2/src/mata/trackers/utils/matching.py +255 -0
  181. datamata-1.9.2/src/mata/visualization.py +886 -0
  182. datamata-1.9.2/src/mata/visualization_cv2.py +223 -0
  183. datamata-1.9.2/tests/test_adapter_wrappers.py +1150 -0
  184. datamata-1.9.2/tests/test_agent_loop.py +1176 -0
  185. datamata-1.9.2/tests/test_agent_loop_tracing.py +532 -0
  186. datamata-1.9.2/tests/test_annotate_rt.py +847 -0
  187. datamata-1.9.2/tests/test_api.py +169 -0
  188. datamata-1.9.2/tests/test_artifact_base.py +496 -0
  189. datamata-1.9.2/tests/test_artifact_converters.py +556 -0
  190. datamata-1.9.2/tests/test_artifact_image.py +666 -0
  191. datamata-1.9.2/tests/test_artifact_task_1_4.py +628 -0
  192. datamata-1.9.2/tests/test_backward_compatibility.py +593 -0
  193. datamata-1.9.2/tests/test_base_adapter.py +443 -0
  194. datamata-1.9.2/tests/test_basetrack_strack.py +715 -0
  195. datamata-1.9.2/tests/test_bbox_from_mask.py +120 -0
  196. datamata-1.9.2/tests/test_bot_sort.py +974 -0
  197. datamata-1.9.2/tests/test_byte_tracker.py +1001 -0
  198. datamata-1.9.2/tests/test_capability_protocols.py +651 -0
  199. datamata-1.9.2/tests/test_classify_adapter.py +358 -0
  200. datamata-1.9.2/tests/test_classify_types.py +305 -0
  201. datamata-1.9.2/tests/test_clip_adapter.py +486 -0
  202. datamata-1.9.2/tests/test_conditionals.py +788 -0
  203. datamata-1.9.2/tests/test_config.py +51 -0
  204. datamata-1.9.2/tests/test_converters.py +792 -0
  205. datamata-1.9.2/tests/test_cross_matches.py +306 -0
  206. datamata-1.9.2/tests/test_depth_adapter.py +67 -0
  207. datamata-1.9.2/tests/test_depth_metrics.py +447 -0
  208. datamata-1.9.2/tests/test_depth_result.py +29 -0
  209. datamata-1.9.2/tests/test_detections_artifact.py +676 -0
  210. datamata-1.9.2/tests/test_dsl.py +545 -0
  211. datamata-1.9.2/tests/test_embed_adapter.py +285 -0
  212. datamata-1.9.2/tests/test_embed_api.py +381 -0
  213. datamata-1.9.2/tests/test_embed_node.py +428 -0
  214. datamata-1.9.2/tests/test_embeddings_artifact.py +197 -0
  215. datamata-1.9.2/tests/test_eval_ap_per_class.py +391 -0
  216. datamata-1.9.2/tests/test_eval_api.py +285 -0
  217. datamata-1.9.2/tests/test_eval_box_iou.py +284 -0
  218. datamata-1.9.2/tests/test_eval_classify.py +520 -0
  219. datamata-1.9.2/tests/test_eval_dataset.py +940 -0
  220. datamata-1.9.2/tests/test_eval_depth.py +603 -0
  221. datamata-1.9.2/tests/test_eval_detect_metrics.py +445 -0
  222. datamata-1.9.2/tests/test_eval_iou.py +479 -0
  223. datamata-1.9.2/tests/test_eval_metrics.py +334 -0
  224. datamata-1.9.2/tests/test_eval_ocr.py +839 -0
  225. datamata-1.9.2/tests/test_eval_plots.py +271 -0
  226. datamata-1.9.2/tests/test_eval_printer.py +306 -0
  227. datamata-1.9.2/tests/test_eval_segment_metrics.py +590 -0
  228. datamata-1.9.2/tests/test_eval_validator.py +764 -0
  229. datamata-1.9.2/tests/test_examples_validation.py +305 -0
  230. datamata-1.9.2/tests/test_exceptions.py +46 -0
  231. datamata-1.9.2/tests/test_execution_context.py +599 -0
  232. datamata-1.9.2/tests/test_fusion_nodes.py +468 -0
  233. datamata-1.9.2/tests/test_global_id_registry.py +291 -0
  234. datamata-1.9.2/tests/test_graph_builder.py +741 -0
  235. datamata-1.9.2/tests/test_graph_run.py +287 -0
  236. datamata-1.9.2/tests/test_graph_run_video.py +605 -0
  237. datamata-1.9.2/tests/test_graph_validator.py +760 -0
  238. datamata-1.9.2/tests/test_graph_video_pipeline_integration.py +856 -0
  239. datamata-1.9.2/tests/test_huggingface_ocr_adapter.py +371 -0
  240. datamata-1.9.2/tests/test_image_tools.py +349 -0
  241. datamata-1.9.2/tests/test_import_compatibility.py +341 -0
  242. datamata-1.9.2/tests/test_infer_api.py +693 -0
  243. datamata-1.9.2/tests/test_kalman_filter.py +554 -0
  244. datamata-1.9.2/tests/test_mask_refinement_nodes.py +425 -0
  245. datamata-1.9.2/tests/test_mask_utils.py +133 -0
  246. datamata-1.9.2/tests/test_matching_utils.py +475 -0
  247. datamata-1.9.2/tests/test_model_type_enum.py +489 -0
  248. datamata-1.9.2/tests/test_multiresult.py +683 -0
  249. datamata-1.9.2/tests/test_node_base.py +484 -0
  250. datamata-1.9.2/tests/test_observability.py +884 -0
  251. datamata-1.9.2/tests/test_ocr_adapter.py +1587 -0
  252. datamata-1.9.2/tests/test_ocr_node.py +824 -0
  253. datamata-1.9.2/tests/test_onnx_classify_adapter.py +294 -0
  254. datamata-1.9.2/tests/test_parsers.py +536 -0
  255. datamata-1.9.2/tests/test_pipeline_adapter.py +431 -0
  256. datamata-1.9.2/tests/test_polygon_visualization.py +116 -0
  257. datamata-1.9.2/tests/test_presets.py +683 -0
  258. datamata-1.9.2/tests/test_prompt_nodes.py +951 -0
  259. datamata-1.9.2/tests/test_protocols.py +53 -0
  260. datamata-1.9.2/tests/test_provider_registry.py +763 -0
  261. datamata-1.9.2/tests/test_region_tool_dispatch.py +340 -0
  262. datamata-1.9.2/tests/test_reid_adapter.py +694 -0
  263. datamata-1.9.2/tests/test_reid_bridge.py +491 -0
  264. datamata-1.9.2/tests/test_reid_node.py +571 -0
  265. datamata-1.9.2/tests/test_sam_adapter.py +685 -0
  266. datamata-1.9.2/tests/test_save_functionality.py +314 -0
  267. datamata-1.9.2/tests/test_scenario_presets.py +647 -0
  268. datamata-1.9.2/tests/test_scheduler.py +1082 -0
  269. datamata-1.9.2/tests/test_segment_adapter.py +295 -0
  270. datamata-1.9.2/tests/test_segment_types.py +303 -0
  271. datamata-1.9.2/tests/test_task_nodes.py +730 -0
  272. datamata-1.9.2/tests/test_temporal.py +1122 -0
  273. datamata-1.9.2/tests/test_tool_call_parser.py +578 -0
  274. datamata-1.9.2/tests/test_tool_prompts.py +223 -0
  275. datamata-1.9.2/tests/test_tool_registry.py +905 -0
  276. datamata-1.9.2/tests/test_tool_schema.py +537 -0
  277. datamata-1.9.2/tests/test_torchscript_classify_adapter.py +311 -0
  278. datamata-1.9.2/tests/test_torchvision_detect_adapter.py +734 -0
  279. datamata-1.9.2/tests/test_track_api.py +757 -0
  280. datamata-1.9.2/tests/test_track_node.py +823 -0
  281. datamata-1.9.2/tests/test_tracking_adapter.py +661 -0
  282. datamata-1.9.2/tests/test_tracking_reid.py +778 -0
  283. datamata-1.9.2/tests/test_tracking_visualization.py +1416 -0
  284. datamata-1.9.2/tests/test_transformation_nodes.py +670 -0
  285. datamata-1.9.2/tests/test_types.py +117 -0
  286. datamata-1.9.2/tests/test_universal_loader.py +958 -0
  287. datamata-1.9.2/tests/test_valkey_config.py +285 -0
  288. datamata-1.9.2/tests/test_valkey_exporter.py +672 -0
  289. datamata-1.9.2/tests/test_valkey_nodes.py +442 -0
  290. datamata-1.9.2/tests/test_video_io.py +757 -0
  291. datamata-1.9.2/tests/test_vision_result.py +365 -0
  292. datamata-1.9.2/tests/test_visualization_analysis_nodes.py +494 -0
  293. datamata-1.9.2/tests/test_vlm_adapter.py +995 -0
  294. datamata-1.9.2/tests/test_vlm_nodes.py +961 -0
  295. datamata-1.9.2/tests/test_vlm_nodes_agent_mode.py +337 -0
  296. datamata-1.9.2/tests/test_vlm_tool_calling.py +610 -0
  297. datamata-1.9.2/tests/test_zeroshot_detect_adapter.py +363 -0
  298. datamata-1.9.2/tests/test_zeroshot_integration.py +487 -0
  299. datamata-1.9.2/tests/test_zeroshot_segment_adapter.py +939 -0
datamata-1.9.2/LICENSE ADDED
@@ -0,0 +1,198 @@
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ Copyright 2026 MATA Contributors
6
+
7
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
8
+
9
+ 1. Definitions.
10
+
11
+ "License" shall mean the terms and conditions for use, reproduction,
12
+ and distribution as defined by Sections 1 through 9 of this document.
13
+
14
+ "Licensor" shall mean the copyright owner or entity authorized by
15
+ the copyright owner that is granting the License.
16
+
17
+ "Legal Entity" shall mean the union of the acting entity and all
18
+ other entities that control, are controlled by, or are under common
19
+ control with that entity. For the purposes of this definition,
20
+ "control" means (i) the power, direct or indirect, to cause the
21
+ direction or management of such entity, whether by contract or
22
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
23
+ outstanding shares, or (iii) beneficial ownership of such entity.
24
+
25
+ "You" (or "Your") shall mean an individual or Legal Entity
26
+ exercising permissions granted by this License.
27
+
28
+ "Source" form shall mean the preferred form for making modifications,
29
+ including but not limited to software source code, documentation
30
+ source, and configuration files.
31
+
32
+ "Object" form shall mean any form resulting from mechanical
33
+ transformation or translation of a Source form, including but
34
+ not limited to compiled object code, generated documentation,
35
+ and conversions to other media types.
36
+
37
+ "Work" shall mean the work of authorship made available under
38
+ the License, as indicated by a copyright notice that is included in
39
+ or attached to the work (an example is provided in the Appendix below).
40
+
41
+ "Derivative Works" shall mean any work, whether in Source or Object
42
+ form, that is based on (or derived from) the Work and for which the
43
+ editorial revisions, annotations, elaborations, or other modifications
44
+ represent, as a whole, an original work of authorship. For the purposes
45
+ of this License, Derivative Works shall not include works that remain
46
+ separable from, or merely link (or bind by name) to the interfaces of,
47
+ the Work and Derivative Works thereof.
48
+
49
+ "Contribution" shall mean, as submitted to the Licensor for inclusion
50
+ in the Work by the copyright owner or by an individual or Legal Entity
51
+ authorized to submit on behalf of the copyright owner. For the purposes
52
+ of this definition, "submitted" means any form of electronic, verbal,
53
+ or written communication sent to the Licensor or its representatives,
54
+ including but not limited to communication on electronic mailing lists,
55
+ source code control systems, and issue tracking systems that are managed
56
+ by, or on behalf of, the Licensor for the purpose of discussing and
57
+ improving the Work, but excluding communication that is conspicuously
58
+ marked or otherwise designated in writing by the copyright owner as
59
+ "Not a Contribution."
60
+
61
+ "Contributor" shall mean Licensor and any Legal Entity on behalf of
62
+ whom a Contribution has been received by the Licensor and incorporated
63
+ within the Work.
64
+
65
+ 2. Grant of Copyright License. Subject to the terms and conditions of
66
+ this License, each Contributor hereby grants to You a perpetual,
67
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
68
+ copyright license to reproduce, prepare Derivative Works of,
69
+ publicly display, publicly perform, sublicense, and distribute the
70
+ Work and such Derivative Works in Source or Object form.
71
+
72
+ 3. Grant of Patent License. Subject to the terms and conditions of
73
+ this License, each Contributor hereby grants to You a perpetual,
74
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
75
+ (except as stated in this section) patent license to make, have made,
76
+ use, offer to sell, sell, import, and otherwise transfer the Work,
77
+ where such license applies only to those patent claims licensable
78
+ by such Contributor that are necessarily infringed by their
79
+ Contribution(s) alone or by the combination of their Contribution(s)
80
+ with the Work to which such Contribution(s) was submitted. If You
81
+ institute patent litigation against any entity (including a cross-claim
82
+ or counterclaim in a lawsuit) alleging that the Work or any
83
+ Contribution embodied within the Work constitutes direct or contributory
84
+ patent infringement, then any patent licenses granted to You under
85
+ this License for that Work shall terminate as of the date such
86
+ litigation is filed.
87
+
88
+ 4. Redistribution. You may reproduce and distribute copies of the
89
+ Work or Derivative Works thereof in any medium, with or without
90
+ modifications, and in Source or Object form, provided that You
91
+ meet the following conditions:
92
+
93
+ (a) You must give any other recipients of the Work or Derivative
94
+ Works a copy of this License; and
95
+
96
+ (b) You must cause any modified files to carry prominent notices
97
+ stating that You changed the files; and
98
+
99
+ (c) You must retain, in the Source form of any Derivative Works
100
+ that You distribute, all copyright, patent, trademark, and
101
+ attribution notices from the Source form of the Work,
102
+ excluding those notices that do not pertain to any part of
103
+ the Derivative Works; and
104
+
105
+ (d) If the Work includes a "NOTICE" text file as part of its
106
+ distribution, You must include a readable copy of the
107
+ attribution notices contained within such NOTICE file, in
108
+ at least one of the following places: within a NOTICE text
109
+ file distributed as part of the Derivative Works; within
110
+ the Source form or documentation, if provided along with the
111
+ Derivative Works; or, within a display generated by the
112
+ Derivative Works, if and wherever such third-party notices
113
+ normally appear. The contents of the NOTICE file are for
114
+ informational purposes only and do not modify the License.
115
+ You may add Your own attribution notices within Derivative
116
+ Works that You distribute, alongside or as an addendum to
117
+ the NOTICE text from the Work, provided that such additional
118
+ attribution notices cannot be construed as modifying the License.
119
+
120
+ You may add Your own license statement for Your modifications and
121
+ may provide additional grant of rights to use, reproduce, modify,
122
+ prepare Derivative Works of, publicly display, publicly perform,
123
+ sublicense, and distribute the Work and such Derivative Works in
124
+ Source or Object form.
125
+
126
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
127
+ any Contribution intentionally submitted for inclusion in the Work
128
+ by You to the Licensor shall be under the terms and conditions of
129
+ this License, without any additional terms or conditions.
130
+ Notwithstanding the above, nothing herein shall supersede or modify
131
+ the terms of any separate license agreement you may have executed
132
+ with Licensor regarding such Contributions.
133
+
134
+ 6. Trademarks. This License does not grant permission to use the trade
135
+ names, trademarks, service marks, or product names of the Licensor,
136
+ except as required for reasonable and customary use in describing the
137
+ origin of the Work and reproducing the content of the NOTICE file.
138
+
139
+ 7. Disclaimer of Warranty. Unless required by applicable law or
140
+ agreed to in writing, Licensor provides the Work (and each
141
+ Contributor provides its Contributions) on an "AS IS" BASIS,
142
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
143
+ implied, including, without limitation, any warranties or conditions
144
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
145
+ PARTICULAR PURPOSE. You are solely responsible for determining the
146
+ appropriateness of using or reproducing the Work and assume any
147
+ risks associated with Your exercise of permissions under this License.
148
+
149
+ 8. Limitation of Liability. In no event and under no legal theory,
150
+ whether in tort (including negligence), contract, or otherwise,
151
+ unless required by applicable law (such as deliberate and grossly
152
+ negligent acts) or agreed to in writing, shall any Contributor be
153
+ liable to You for damages, including any direct, indirect, special,
154
+ incidental, or exemplary damages of any character arising as a
155
+ result of this License or out of the use or inability to use the
156
+ Work (including but not limited to damages for loss of goodwill,
157
+ work stoppage, computer failure or malfunction, or all other
158
+ commercial damages or losses), even if such Contributor has been
159
+ advised of the possibility of such damages.
160
+
161
+ 9. Accepting Warranty or Liability. While redistributing the Work or
162
+ Derivative Works thereof, You may choose to offer, and charge a fee
163
+ for, acceptance of support, warranty, indemnity, or other liability
164
+ obligations and/or rights consistent with this License. However, in
165
+ accepting such obligations, You may offer such liability obligations
166
+ consistent with the terms of this License, only on Your own behalf
167
+ and on Your sole responsibility, not on behalf of any other
168
+ Contributor, and only if You agree to indemnify, defend, and hold
169
+ each Contributor harmless for any liability incurred by, or claims
170
+ asserted against, such Contributor by reason of your accepting any
171
+ such warranty or additional liability.
172
+
173
+ END OF TERMS AND CONDITIONS
174
+
175
+ APPENDIX: How to apply the Apache License to your work.
176
+
177
+ To apply the Apache License to your work, attach the following
178
+ boilerplate notice, with the fields enclosed by brackets "[]"
179
+ replaced with your own identifying information. (Don't include
180
+ the brackets!) The text should be enclosed in the appropriate
181
+ comment syntax for the file format in use. It should also be
182
+ included with a single page of plain text or HTML the human-readable
183
+ form of the notice. For more information about licensing, see
184
+ https://www.apache.org/licenses/
185
+
186
+ Copyright [yyyy] [name of copyright owner]
187
+
188
+ Licensed under the Apache License, Version 2.0 (the "License");
189
+ you may not use this file except in compliance with the License.
190
+ You may obtain a copy of the License at
191
+
192
+ http://www.apache.org/licenses/LICENSE-2.0
193
+
194
+ Unless required by applicable law or agreed to in writing, software
195
+ distributed under the License is distributed on an "AS IS" BASIS,
196
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
197
+ See the License for the specific language governing permissions and
198
+ limitations under the License.
datamata-1.9.2/NOTICE ADDED
@@ -0,0 +1,84 @@
1
+ MATA — Model-Agnostic Task Architecture
2
+ Copyright 2026 MATA Contributors
3
+
4
+ This product is licensed under the Apache License, Version 2.0.
5
+ You may obtain a copy of the License at:
6
+
7
+ http://www.apache.org/licenses/LICENSE-2.0
8
+
9
+ ===========================================================================
10
+ IMPORTANT: MODEL WEIGHTS ARE NOT COVERED BY THIS LICENSE
11
+ ===========================================================================
12
+
13
+ MATA is a software framework only. It does NOT distribute, bundle, or
14
+ include pre-trained model weights. When you use MATA to load a model —
15
+ whether from HuggingFace Hub, a local file, or any other source — that
16
+ model's weights are governed by their own separate license terms.
17
+
18
+ You are solely responsible for ensuring that your use of any model weights
19
+ complies with the applicable license for those weights. Common licenses
20
+ encountered include (but are not limited to):
21
+
22
+ - Apache License 2.0 (e.g., DETR, RT-DETR, GroundingDINO, SAM,
23
+ Depth Anything V2, Mask2Former)
24
+ - MIT License (e.g., CLIP)
25
+ - Tongyi Qianwen License (e.g., Qwen-VL series — commercial use
26
+ requires additional acceptance)
27
+ - Meta Community License (e.g., LLaMA-based models — usage thresholds
28
+ and restrictions apply)
29
+ - Creative Commons BY-NC (non-commercial use only)
30
+ - GNU GPL / AGPL (copyleft — derivative works must be
31
+ open-sourced under same terms)
32
+
33
+ Some models on HuggingFace Hub require you to agree to additional terms
34
+ before downloading. By using MATA to load such models you acknowledge that
35
+ you have read and accepted those terms independently.
36
+
37
+ MATA makes no representation or warranty regarding the licensing terms of
38
+ any third-party model weights accessed through this framework.
39
+
40
+ ===========================================================================
41
+ THIRD-PARTY SOFTWARE
42
+ ===========================================================================
43
+
44
+ This product includes or depends on the following third-party software:
45
+
46
+ HuggingFace Transformers
47
+ License: Apache License 2.0
48
+ https://github.com/huggingface/transformers
49
+
50
+ PyTorch
51
+ License: BSD 3-Clause License
52
+ https://github.com/pytorch/pytorch
53
+
54
+ ONNX Runtime
55
+ License: MIT License
56
+ https://github.com/microsoft/onnxruntime
57
+
58
+ PyYAML
59
+ License: MIT License
60
+ https://github.com/yaml/pyyaml
61
+
62
+ NumPy
63
+ License: BSD 3-Clause License
64
+ https://github.com/numpy/numpy
65
+
66
+ Pillow (PIL Fork)
67
+ License: Historical Permission Notice and Disclaimer (HPND)
68
+ https://github.com/python-pillow/Pillow
69
+
70
+ Vendored tracking algorithms (ByteTrack, BotSort) are adapted from
71
+ Ultralytics (AGPL-3.0 upstream). The vendored code in src/mata/trackers/
72
+ has been independently re-implemented based on the published research
73
+ papers and is not derived from Ultralytics source code.
74
+ ByteTrack paper: https://arxiv.org/abs/2110.06864
75
+ BoTrack/OC-SORT paper: https://arxiv.org/abs/2206.14651
76
+
77
+ YOLO ONNX postprocessing (src/mata/adapters/onnx_adapter.py) is an
78
+ independent clean-room implementation based on the published YOLO research
79
+ papers and the standard YOLO ONNX export tensor layout. No source code
80
+ from Ultralytics (AGPL-3.0) has been used or derived.
81
+ YOLO paper: Redmon et al., "You Only Look Once", CVPR 2016
82
+ https://arxiv.org/abs/1506.02640
83
+ NMS algorithm: Neubeck & Van Gool, "Efficient Non-Maximum Suppression",
84
+ ICPR 2006