Monitor bot Edge
Copyright (C) 2026 Nexial Technology LTD. / 朔域科技有限公司

This program is free software under the GNU Affero General Public License
v3.0 or later. See LICENSE.

The default detector runtime uses ONNX Runtime (MIT license:
https://github.com/microsoft/onnxruntime/blob/main/LICENSE). OpenVINO runs the
Open Model Zoo person-detector and skeleton IR files
(Apache-2.0: https://github.com/openvinotoolkit/openvino/blob/master/LICENSE).
An optional local YOLOX-Tiny ONNX adapter references Megvii YOLOX code
(Apache-2.0: https://github.com/Megvii-BaseDetection/YOLOX/blob/main/LICENSE).
The YOLOX model file is separate and needs artifact-specific source, hash,
weight-license and distribution-rights review before shipment.
The legacy local .pt detector is optional and uses Ultralytics (AGPL-3.0 or
separately licensed by its publisher: https://www.ultralytics.com/license);
installing that extra may also install PyTorch. Review the selected PyTorch
package and all transitive dependencies when distributing that optional path.

The free-tier object dictionary (monitor_bot_edge/objects) names the 80 COCO
classes of the OpenCV Zoo NanoDet model. The Traditional/Simplified table in monitor_bot_edge/objects/data/t2s.json was generated from OpenCC data
(Apache-2.0: https://github.com/BYVoid/OpenCC).

Model weights
-------------
Model weights are not stored in this repository. The product downloads them
from Nexial's Cloud, which serves only files on a SHA-256-pinned whitelist,
and Edge refuses files whose hash differs. Shipped models, all under the
Apache License 2.0 (full text: LICENSES/Apache-2.0.txt):

- Person detection: Intel Open Model Zoo person-detection-0200, FP16 IR.
  Copyright (C) Intel Corporation.
  https://github.com/openvinotoolkit/open_model_zoo/tree/master/models/intel/person-detection-0200
  SHA-256 xml 6a393e1a58607cf65ff58b437b0aeb0bf6c46a18926e1c5718374c804c419faa
          bin cebd5b36edce228fd7a519b372d824f220466c4c7a0d75bfe22fbb6c5aca4fcd
  Training data: not named by Intel; the model card reports accuracy on an
  "internal test set".
- Skeleton: Intel Open Model Zoo human-pose-estimation-0005, FP16 IR, used
  through MotiveMesh. Copyright (C) Intel Corporation.
  https://github.com/openvinotoolkit/open_model_zoo/tree/master/models/intel/human-pose-estimation-0005
  SHA-256 xml edc070b3976b84863a87e4cebef91713240e586a32cc2876c40f4930683fb1a7
          bin a3a31cc55b964b573903e73ddb0be707888fa2944b04d4a5b0a7b99cf81fb334
  Training data: not named by Intel; the model card reports accuracy on COCO
  keypoints.
- Free-tier objects: OpenCV Zoo NanoDet-Plus (object_detection_nanodet), ONNX.
  https://github.com/opencv/opencv_zoo/tree/48b10fa505aeb51fbd127fc60a5c660040e823b7/models/object_detection_nanodet
  SHA-256 4b82da9944b88577175ee23a459dce2e26e6e4be573def65b1055dc2d9720186
  Training data: COCO 2017, as stated by the publisher.

Each model is used under the license its publisher grants for those exact
weights. Nexial records the training data only as the publisher states it and
makes no further representation about it. Detection results are probabilistic
and may be missed or wrong; they support, and do not replace, human
supervision. Full disclaimer text: docs/MODEL_DISCLAIMER.md.

Third-party libraries
---------------------
THIRD_PARTY_NOTICES lists every library in the shipped dependency closure
with its license and notice texts; scripts/license_audit.py generates it. The
OpenCV wheel bundles FFmpeg as separate shared libraries under the GNU LGPL
version 2.1 or later. You may replace those libraries with your own build.
Nexial will provide the corresponding FFmpeg source on written request to
Nexial Technology LTD., Taipei, Taiwan, for three years after it last ships
this version; the source is also available from https://ffmpeg.org.

This corresponding source is Monitor bot Edge, including detection and
geometry/time safety rules. Qwen / GGUF are not used.

MotiveMesh (skeleton and pattern recognition)
---------------------------------------------
Skeleton tracking, 3D lifting, camera geometry and the pattern dictionary are
provided by the separate proprietary packages "nexial-motivemesh" and
"nexial-motivemesh-pro", Copyright (C) 2026 Nexial Technology LTD., Taipei,
Taiwan, under their own licenses. They are not part of this program's
corresponding source. Without them, Edge still runs object detection; skeleton
and pattern features are disabled.

Monitor Bot FPGA package
------------------------
Hardware acceleration on the AI Box is provided by the separate proprietary
Monitor Bot FPGA package, Copyright (C) 2026 Nexial Technology LTD., Taipei,
Taiwan: the runtime library libmbfpga.so with its VFIO driver, compiled
execution plans (.mbfpga) and FPGA bitstreams. It is not part of this
program's corresponding source. Without it, Edge runs the same models on the
CPU or GPU.

Additional permission under GNU AGPL version 3 section 7:
As the copyright holder of Monitor bot Edge, Nexial Technology LTD. grants
you permission to combine and convey this program with the MotiveMesh and
MotiveMesh Pro packages and with the Monitor Bot FPGA package, and to run and
interact with that combination over a network, without the terms of the AGPL
applying to those packages. The AGPL continues to apply to every part of
Monitor bot Edge itself, including the monitor_bot_edge.motivemesh_api
loader, the compatibility shims (pose, pose_hpe, skeleton_actions,
live_patterns) and the code that loads and calls the FPGA runtime library.
This permission covers only code whose copyright Nexial holds. It does not
cover third-party AGPL-licensed components, such as the optional Ultralytics
extra.

Earlier Edge releases that contained the skeleton code inside this repository
remain available under the AGPL as published.
