# 同梱している認識モデルについて

## japan_rec.onnx / japan_dict.txt

PaddleOCR の日本語テキスト行認識モデル
`japan_PP-OCRv3_rec` を ONNX に変換したもの。

- **作者**: PaddleOCR チーム (PaddlePaddle Authors)
- **ライセンス**: Apache License 2.0
- **入手元**: https://huggingface.co/deepghs/paddleocr/tree/main/rec/japan_PP-OCRv3_rec
- **元のモデル**: https://huggingface.co/PaddlePaddle/japan_PP-OCRv3_mobile_rec

**中身は改変していない。** 置き場所に合わせてファイル名を
`japan_rec.onnx` / `japan_dict.txt` に変えただけ。

## Apache License 2.0

```
Copyright (c) PaddlePaddle Authors. All Rights Reserved.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
```

全文は `LICENSE-Apache-2.0.txt` に置いてある。

## 再配布してよいのか

Apache 2.0 は使用・改変・再配布を、オープンソースでも商用でも
認めている。**そのまま配って構わない。** ただし次を守ること。

1. ライセンス本文を同梱する (このフォルダの `LICENSE-Apache-2.0.txt`)
2. 著作権表示を残す (上記)
3. 改変したならその旨を記す (今回は無改変)

このプロジェクト自身のライセンスとは別物なので、混ぜないこと。
