CollectorVision — Scan & Collect vendored runtime
================================================

This directory contains a modified version of the CollectorVision web scanner
from https://github.com/HanClinto/CollectorVision (AGPL-3.0-or-later).

Copyright (C) HanClinto and CollectorVision contributors.
Modifications for Scan & Collect (MTG Deck Tools) are Copyright (C) Greg Pace.

Licensed under the GNU Affero General Public License v3.0 or later. See LICENSE
in this directory for the full license text.

Modifications
-------------
See MODIFICATIONS.md for changes made to upstream CollectorVision files.

Corresponding source (AGPL section 13)
--------------------------------------
A source archive of the modified runtime and build scripts is published at:

  /scan-and-collect/collectorvision-source.tar.gz

This archive is regenerated on each production build. It contains the JavaScript
source, local patches, and scripts needed to rebuild the scanner runtime. Large
generated assets (ONNX models, embedding catalog) are served alongside this
runtime at /scan-and-collect/collectorvision/assets/ and can be rebuilt with the
included scripts (see README in the source archive).

Upstream project
----------------
  https://github.com/HanClinto/CollectorVision

ML models (cornelius, milo) are from the CollectorVision project on Hugging Face
(also AGPL-3.0): https://huggingface.co/HanClinto/milo

ONNX Runtime Web in vendor/onnxruntime-web/ is licensed separately (MIT).

The Scan & Collect user interface, collection storage, and cloud sync are
separate from this runtime and are not part of the CollectorVision program.
