Metadata-Version: 2.2
Name: model-mp-core
Version: 0.1.8
Summary: Core inference library for Mind+ model training tool
Home-page: https://github.com/UNIHIKER/model-pypi-lib
Author: unihiker Team
Author-email: unihiker Team <unihiker@dfrobot.com>
License: MIT License
        
        Copyright (c) 2024 Model MP Team
        
        Permission is hereby granted, free of charge, to any person obtaining a copy
        of this software and associated documentation files (the "Software"), to deal
        in the Software without restriction, including without limitation the rights
        to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
        copies of the Software, and to permit persons to whom the Software is
        furnished to do so, subject to the following conditions:
        
        The above copyright notice and this permission notice shall be included in all
        copies or substantial portions of the Software.
        
        THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
        IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
        FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
        AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
        LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
        OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
        SOFTWARE.
        
Project-URL: Homepage, https://github.com/UNIHIKER/model-pypi-lib
Project-URL: Bug Tracker, https://github.com/UNIHIKER/model-pypi-lib/issues
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Intended Audience :: Education
Classifier: Intended Audience :: Developers
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
Classifier: Topic :: Education
Requires-Python: >=3.12
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: numpy>=1.19.0
Requires-Dist: opencv-python>=4.5.0
Requires-Dist: pillow>=8.0.0
Requires-Dist: onnxruntime>=1.8.0
Requires-Dist: pyyaml>=5.1.0
Requires-Dist: scikit-learn>=1.7.1
Requires-Dist: pydantic>=2.12.3
Requires-Dist: scipy>=1.16.2
Dynamic: author
Dynamic: home-page
Dynamic: requires-python

# model-mp-core

Mind+ 模型推理库，支持图像分类、目标检测、实例分割、时序识别、姿态和手势分类。需要 Python 3.12 及以上。

## 安装

```bash
pip install dist/model_mp_core-0.1.8-py3-none-any.whl
```

## 基本用法

```python
from model_mp_core import GestureClassificationInference

model = GestureClassificationInference("gesture.onnx", "gesture.yaml")
try:
    result = model.inference(frame)  # BGR 图像
finally:
    model.unload()
```

使用配套的 ONNX 和 YAML；姿态、手势基座随库安装。输入方向需与训练一致，库不会自动镜像。
模型来源及第三方声明见 `src/model_mp_core/assets/NOTICE.txt`。
