Repository navigation
Licensing-only patch. No code or API changes.
The YOLO implementation is licensed under the GNU AGPL-3.0
SwiftSci's YOLOv8 and YOLO11 implementation (Sources/SwiftVision/YOLO/ and the YOLODetector type) is a Swift/MLX port of Ultralytics YOLO, which is licensed under the AGPL-3.0. A derived work carries the same license, so this code has been AGPL-3.0 since 3.3.0 (inference) and 3.15.0 (training). Releases before 3.17.1 labelled it MIT by mistake.
- Without the YOLO types: MIT only. Every other module stays MIT, and reading YOLO-format datasets (
YOLOAnnotationParser) is SwiftSci's own MIT code. - With the YOLO types, commercially or not: allowed, but the AGPL-3.0 then applies to your app or service, including offering its complete source code to its users.
- Closed-source products: don't use the YOLO types. A detector under a permissive license, based on YOLOX (Apache-2.0), is planned.
Added: NOTICE, LICENSE-AGPL-3.0 (official FSF text), an SPDX header on each covered file, the README License section and notes in the YOLO DocC articles. Complying with the AGPL-3.0 when you use the YOLO code is your responsibility; like all of SwiftSci, it comes without warranty. This is how the maintainer understands the licensing, not legal advice.
Full changelog: CHANGELOG.md