Image-to-Video
LivePortrait
ONNX
MLX
face-detection
face-recognition
face-landmark
talking-head
audio-driven-animation
joyvasa
auraface
mediapipe
apple-silicon
Instructions to use talkyon/scribis_models with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- LivePortrait
How to use talkyon/scribis_models with LivePortrait:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
- MLX
How to use talkyon/scribis_models with MLX:
# Download the model from the Hub pip install huggingface_hub[hf_xet] hf download talkyon/scribis_models --local-dir scribis_models
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
- Atomic Chat
Upload 20 files
Browse files- .gitattributes +10 -0
- LICENSE.md +129 -121
- paddleocr/PP-DocLayoutV3/LICENSE.md +233 -0
- paddleocr/PP-DocLayoutV3/PP-DocLayoutV3.mnn +3 -0
- paddleocr/PP-DocLayout_plus-L/LICENSE.md +233 -0
- paddleocr/PP-DocLayout_plus-L/PP-DocLayout_plus-L.mnn +3 -0
- paddleocr/PP-FormulaNet_plus-L/LICENSE.md +235 -0
- paddleocr/PP-FormulaNet_plus-L/PP-FormulaNet_plus-L_decoder.mnn +3 -0
- paddleocr/PP-FormulaNet_plus-L/PP-FormulaNet_plus-L_encoder.mnn +3 -0
- paddleocr/PP-FormulaNet_plus-L/PP-FormulaNet_plus-L_vocab.txt +0 -0
- paddleocr/PP-LCNet_x1_0_table_cls/LICENSE.md +233 -0
- paddleocr/PP-LCNet_x1_0_table_cls/PP-LCNet_x1_0_table_cls.mnn +3 -0
- paddleocr/RT-DETR-L_wired_table_cell_det/LICENSE.md +233 -0
- paddleocr/RT-DETR-L_wired_table_cell_det/RT-DETR-L_wired_table_cell_det.mnn +3 -0
- paddleocr/RT-DETR-L_wireless_table_cell_det/LICENSE.md +233 -0
- paddleocr/RT-DETR-L_wireless_table_cell_det/RT-DETR-L_wireless_table_cell_det.mnn +3 -0
- paddleocr/SLANet_plus/LICENSE.md +234 -0
- paddleocr/SLANet_plus/SLANet_plus_encoder.mnn +3 -0
- paddleocr/SLANet_plus/SLANet_plus_step.mnn +3 -0
- paddleocr/UVDoc/LICENSE.md +233 -0
- paddleocr/UVDoc/UVDoc.mnn +3 -0
.gitattributes
CHANGED
|
@@ -35,3 +35,13 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
mediapipe/float/face_detector.data filter=lfs diff=lfs merge=lfs -text
|
| 37 |
mediapipe/float/face_landmark_detector.data filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
mediapipe/float/face_detector.data filter=lfs diff=lfs merge=lfs -text
|
| 37 |
mediapipe/float/face_landmark_detector.data filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
paddleocr/PP-DocLayout_plus-L/PP-DocLayout_plus-L.mnn filter=lfs diff=lfs merge=lfs -text
|
| 39 |
+
paddleocr/PP-DocLayoutV3/PP-DocLayoutV3.mnn filter=lfs diff=lfs merge=lfs -text
|
| 40 |
+
paddleocr/PP-FormulaNet_plus-L/PP-FormulaNet_plus-L_decoder.mnn filter=lfs diff=lfs merge=lfs -text
|
| 41 |
+
paddleocr/PP-FormulaNet_plus-L/PP-FormulaNet_plus-L_encoder.mnn filter=lfs diff=lfs merge=lfs -text
|
| 42 |
+
paddleocr/PP-LCNet_x1_0_table_cls/PP-LCNet_x1_0_table_cls.mnn filter=lfs diff=lfs merge=lfs -text
|
| 43 |
+
paddleocr/RT-DETR-L_wired_table_cell_det/RT-DETR-L_wired_table_cell_det.mnn filter=lfs diff=lfs merge=lfs -text
|
| 44 |
+
paddleocr/RT-DETR-L_wireless_table_cell_det/RT-DETR-L_wireless_table_cell_det.mnn filter=lfs diff=lfs merge=lfs -text
|
| 45 |
+
paddleocr/SLANet_plus/SLANet_plus_encoder.mnn filter=lfs diff=lfs merge=lfs -text
|
| 46 |
+
paddleocr/SLANet_plus/SLANet_plus_step.mnn filter=lfs diff=lfs merge=lfs -text
|
| 47 |
+
paddleocr/UVDoc/UVDoc.mnn filter=lfs diff=lfs merge=lfs -text
|
LICENSE.md
CHANGED
|
@@ -1,121 +1,129 @@
|
|
| 1 |
-
# Scribis Model Bundle License Notice
|
| 2 |
-
|
| 3 |
-
This repository is an aggregate distribution of third-party model assets,
|
| 4 |
-
converted model weights, and Scribis runtime metadata.
|
| 5 |
-
|
| 6 |
-
It is intentionally marked as `other` rather than assigning a single MIT or
|
| 7 |
-
Apache-2.0 license to the entire repository, because individual components
|
| 8 |
-
originate from different upstream projects and may carry different license,
|
| 9 |
-
copyright, attribution, and redistribution requirements.
|
| 10 |
-
|
| 11 |
-
This file is an attribution and license summary. It does not replace, modify,
|
| 12 |
-
or supersede the licenses of the original upstream projects.
|
| 13 |
-
|
| 14 |
-
## Component summary
|
| 15 |
-
|
| 16 |
-
| Local path | Upstream source | License / terms |
|
| 17 |
-
| --- | --- | --- |
|
| 18 |
-
| `auraface/glintr100.onnx` | Hugging Face: `fal/AuraFace-v1` | Apache-2.0 as stated by the upstream repository |
|
| 19 |
-
| `mediapipe/` | Hugging Face: `Heliosoph/mediapipe-face-onnx` | Apache-2.0 as stated by the upstream repository |
|
| 20 |
-
| `avatar/onnx/audio_encoder.onnx` | Hugging Face: `TencentGameMate/chinese-hubert-base` | MIT as stated by the upstream repository |
|
| 21 |
-
| `avatar/mlx/JoyVASA/audio_encoder/` | Hugging Face: `TencentGameMate/chinese-hubert-base` | Converted weights retain the applicable upstream MIT terms |
|
| 22 |
-
| `avatar/onnx/motion_generator.onnx` | Hugging Face: `jdh-algo/JoyVASA` | MIT as stated by the upstream repository |
|
| 23 |
-
| `avatar/mlx/JoyVASA/motion_generator/` | Hugging Face: `jdh-algo/JoyVASA` | Converted weights retain the applicable upstream MIT terms |
|
| 24 |
-
| `avatar/mlx/JoyVASA/motion_template/` | Hugging Face: `jdh-algo/JoyVASA` | Derived runtime assets retain applicable upstream terms |
|
| 25 |
-
| `avatar/onnx/liveportrait_onnx/` | Hugging Face: `warmshao/FasterLivePortrait`; upstream LivePortrait: `KlingTeam/LivePortrait` / `KlingAIResearch/LivePortrait` | FasterLivePortrait code is MIT, while its model files remain subject to their respective upstream terms. The LivePortrait model repository is marked MIT upstream. |
|
| 26 |
-
| `avatar/mlx/liveportrait_mlx/` | Hugging Face: `ivanfioravanti/FasterLivePortrait-MLX-weights`; GitHub: `ivanfioravanti/fasterliveportrait-mlx`; upstream LivePortrait | The MLX conversion code is MIT. Converted model weights are derivative model assets and retain the applicable upstream model-license obligations. |
|
| 27 |
-
|
| 28 |
-
|
| 29 |
-
|
| 30 |
-
|
| 31 |
-
|
| 32 |
-
|
| 33 |
-
|
| 34 |
-
|
| 35 |
-
|
| 36 |
-
|
| 37 |
-
|
| 38 |
-
|
| 39 |
-
|
| 40 |
-
|
| 41 |
-
|
| 42 |
-
|
| 43 |
-
```
|
| 44 |
-
|
| 45 |
-
|
| 46 |
-
|
| 47 |
-
|
| 48 |
-
|
| 49 |
-
|
| 50 |
-
|
| 51 |
-
|
| 52 |
-
|
| 53 |
-
|
| 54 |
-
|
| 55 |
-
|
| 56 |
-
|
| 57 |
-
|
| 58 |
-
|
| 59 |
-
|
| 60 |
-
|
| 61 |
-
|
| 62 |
-
|
| 63 |
-
|
| 64 |
-
|
| 65 |
-
|
| 66 |
-
|
| 67 |
-
|
| 68 |
-
|
| 69 |
-
|
| 70 |
-
|
| 71 |
-
|
| 72 |
-
|
| 73 |
-
|
| 74 |
-
|
| 75 |
-
|
| 76 |
-
|
| 77 |
-
|
| 78 |
-
|
| 79 |
-
|
| 80 |
-
|
| 81 |
-
|
| 82 |
-
|
| 83 |
-
|
| 84 |
-
|
| 85 |
-
|
| 86 |
-
|
| 87 |
-
|
| 88 |
-
|
| 89 |
-
|
| 90 |
-
|
| 91 |
-
|
| 92 |
-
|
| 93 |
-
|
| 94 |
-
|
| 95 |
-
|
| 96 |
-
|
| 97 |
-
|
| 98 |
-
|
| 99 |
-
|
| 100 |
-
|
| 101 |
-
|
| 102 |
-
|
| 103 |
-
|
| 104 |
-
|
| 105 |
-
|
| 106 |
-
|
| 107 |
-
|
| 108 |
-
|
| 109 |
-
|
| 110 |
-
|
| 111 |
-
|
| 112 |
-
|
| 113 |
-
|
| 114 |
-
|
| 115 |
-
|
| 116 |
-
|
| 117 |
-
upstream
|
| 118 |
-
|
| 119 |
-
|
| 120 |
-
|
| 121 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Scribis Model Bundle License Notice
|
| 2 |
+
|
| 3 |
+
This repository is an aggregate distribution of third-party model assets,
|
| 4 |
+
converted model weights, and Scribis runtime metadata.
|
| 5 |
+
|
| 6 |
+
It is intentionally marked as `other` rather than assigning a single MIT or
|
| 7 |
+
Apache-2.0 license to the entire repository, because individual components
|
| 8 |
+
originate from different upstream projects and may carry different license,
|
| 9 |
+
copyright, attribution, and redistribution requirements.
|
| 10 |
+
|
| 11 |
+
This file is an attribution and license summary. It does not replace, modify,
|
| 12 |
+
or supersede the licenses of the original upstream projects.
|
| 13 |
+
|
| 14 |
+
## Component summary
|
| 15 |
+
|
| 16 |
+
| Local path | Upstream source | License / terms |
|
| 17 |
+
| --- | --- | --- |
|
| 18 |
+
| `auraface/glintr100.onnx` | Hugging Face: `fal/AuraFace-v1` | Apache-2.0 as stated by the upstream repository |
|
| 19 |
+
| `mediapipe/` | Hugging Face: `Heliosoph/mediapipe-face-onnx` | Apache-2.0 as stated by the upstream repository |
|
| 20 |
+
| `avatar/onnx/audio_encoder.onnx` | Hugging Face: `TencentGameMate/chinese-hubert-base` | MIT as stated by the upstream repository |
|
| 21 |
+
| `avatar/mlx/JoyVASA/audio_encoder/` | Hugging Face: `TencentGameMate/chinese-hubert-base` | Converted weights retain the applicable upstream MIT terms |
|
| 22 |
+
| `avatar/onnx/motion_generator.onnx` | Hugging Face: `jdh-algo/JoyVASA` | MIT as stated by the upstream repository |
|
| 23 |
+
| `avatar/mlx/JoyVASA/motion_generator/` | Hugging Face: `jdh-algo/JoyVASA` | Converted weights retain the applicable upstream MIT terms |
|
| 24 |
+
| `avatar/mlx/JoyVASA/motion_template/` | Hugging Face: `jdh-algo/JoyVASA` | Derived runtime assets retain applicable upstream terms |
|
| 25 |
+
| `avatar/onnx/liveportrait_onnx/` | Hugging Face: `warmshao/FasterLivePortrait`; upstream LivePortrait: `KlingTeam/LivePortrait` / `KlingAIResearch/LivePortrait` | FasterLivePortrait code is MIT, while its model files remain subject to their respective upstream terms. The LivePortrait model repository is marked MIT upstream. |
|
| 26 |
+
| `avatar/mlx/liveportrait_mlx/` | Hugging Face: `ivanfioravanti/FasterLivePortrait-MLX-weights`; GitHub: `ivanfioravanti/fasterliveportrait-mlx`; upstream LivePortrait | The MLX conversion code is MIT. Converted model weights are derivative model assets and retain the applicable upstream model-license obligations. |
|
| 27 |
+
| `paddleocr/PP-DocLayoutV3/` | Hugging Face: `PaddlePaddle/PP-DocLayoutV3_onnx / PaddlePaddle/PP-DocLayoutV3` | Apache-2.0 as stated by the upstream repository; converted to MNN (see folder `LICENSE.md`) |
|
| 28 |
+
| `paddleocr/PP-DocLayout_plus-L/` | Hugging Face: `PaddlePaddle/PP-DocLayout_plus-L_onnx / PaddlePaddle/PP-DocLayout_plus-L` | Apache-2.0 as stated by the upstream repository; converted to MNN (see folder `LICENSE.md`) |
|
| 29 |
+
| `paddleocr/SLANet_plus/` | Hugging Face: `PaddlePaddle/SLANet_plus_onnx / PaddlePaddle/SLANet_plus` | Apache-2.0 as stated by the upstream repository; converted to MNN (see folder `LICENSE.md`) |
|
| 30 |
+
| `paddleocr/PP-LCNet_x1_0_table_cls/` | Hugging Face: `PaddlePaddle/PP-LCNet_x1_0_table_cls_onnx / PaddlePaddle/PP-LCNet_x1_0_table_cls` | Apache-2.0 as stated by the upstream repository; converted to MNN (see folder `LICENSE.md`) |
|
| 31 |
+
| `paddleocr/RT-DETR-L_wired_table_cell_det/` | Hugging Face: `PaddlePaddle/RT-DETR-L_wired_table_cell_det_onnx / PaddlePaddle/RT-DETR-L_wired_table_cell_det` | Apache-2.0 as stated by the upstream repository; converted to MNN (see folder `LICENSE.md`) |
|
| 32 |
+
| `paddleocr/RT-DETR-L_wireless_table_cell_det/` | Hugging Face: `PaddlePaddle/RT-DETR-L_wireless_table_cell_det_onnx / PaddlePaddle/RT-DETR-L_wireless_table_cell_det` | Apache-2.0 as stated by the upstream repository; converted to MNN (see folder `LICENSE.md`) |
|
| 33 |
+
| `paddleocr/PP-FormulaNet_plus-L/` | Hugging Face: `PaddlePaddle/PP-FormulaNet_plus-L_safetensors / PaddlePaddle/PP-FormulaNet_plus-L` | Apache-2.0 as stated by the upstream repository; converted to MNN (see folder `LICENSE.md`) |
|
| 34 |
+
| `paddleocr/UVDoc/` | Hugging Face: `PaddlePaddle/UVDoc_onnx / PaddlePaddle/UVDoc` | Apache-2.0 as stated by the upstream repository; converted to MNN (see folder `LICENSE.md`) |
|
| 35 |
+
|
| 36 |
+
## LivePortrait model scope
|
| 37 |
+
|
| 38 |
+
This repository redistributes only the LivePortrait human-animation assets
|
| 39 |
+
required by Scribis.
|
| 40 |
+
|
| 41 |
+
The ONNX LivePortrait bundle used by Scribis contains:
|
| 42 |
+
|
| 43 |
+
```text
|
| 44 |
+
appearance_feature_extractor.onnx
|
| 45 |
+
motion_extractor.onnx
|
| 46 |
+
landmark.onnx
|
| 47 |
+
stitching.onnx
|
| 48 |
+
stitching_eye.onnx
|
| 49 |
+
stitching_lip.onnx
|
| 50 |
+
warping_spade.onnx
|
| 51 |
+
```
|
| 52 |
+
|
| 53 |
+
The MLX LivePortrait bundle used by Scribis contains:
|
| 54 |
+
|
| 55 |
+
```text
|
| 56 |
+
appearance_feature_extractor.npz
|
| 57 |
+
motion_extractor.npz
|
| 58 |
+
landmark.npz
|
| 59 |
+
stitching.npz
|
| 60 |
+
stitching_eye.npz
|
| 61 |
+
stitching_lip.npz
|
| 62 |
+
warping_module.npz
|
| 63 |
+
spade_generator.npz
|
| 64 |
+
```
|
| 65 |
+
|
| 66 |
+
The original LivePortrait project notes that InsightFace model weights are
|
| 67 |
+
restricted to non-commercial research use and should be replaced for
|
| 68 |
+
commercial deployments.
|
| 69 |
+
|
| 70 |
+
Scribis does not redistribute the InsightFace detection models from the
|
| 71 |
+
original LivePortrait pipeline.
|
| 72 |
+
|
| 73 |
+
In particular, this bundle does not include the FasterLivePortrait assets:
|
| 74 |
+
|
| 75 |
+
```text
|
| 76 |
+
retinaface_det_static.onnx
|
| 77 |
+
face_2dpose_106_static.onnx
|
| 78 |
+
```
|
| 79 |
+
|
| 80 |
+
Face detection and face-landmark processing required by Scribis are provided
|
| 81 |
+
separately through the MediaPipe-based assets under `mediapipe/`.
|
| 82 |
+
|
| 83 |
+
The Scribis MLX bundle also does not include XPose.
|
| 84 |
+
|
| 85 |
+
## Converted model assets
|
| 86 |
+
|
| 87 |
+
Conversion of a model to another runtime or serialization format does not
|
| 88 |
+
replace or remove the license obligations of the original model.
|
| 89 |
+
|
| 90 |
+
Accordingly, ONNX, MLX and MNN exports in this repository should be treated as
|
| 91 |
+
derivative or converted model assets whose applicable upstream copyright,
|
| 92 |
+
license, attribution, and redistribution requirements continue to apply.
|
| 93 |
+
|
| 94 |
+
## Scribis metadata
|
| 95 |
+
|
| 96 |
+
Configuration files, runtime metadata, manifests, or other Scribis-authored
|
| 97 |
+
files included alongside the models are not intended to relicense the
|
| 98 |
+
third-party model assets.
|
| 99 |
+
|
| 100 |
+
Third-party model licenses remain authoritative for the corresponding model
|
| 101 |
+
weights.
|
| 102 |
+
|
| 103 |
+
## Redistribution
|
| 104 |
+
|
| 105 |
+
When redistributing this model bundle or individual model files:
|
| 106 |
+
|
| 107 |
+
1. Preserve this notice and the repository `README.md`.
|
| 108 |
+
2. Preserve applicable upstream copyright, attribution, and license notices.
|
| 109 |
+
3. Include the applicable upstream license text where required by the
|
| 110 |
+
corresponding license.
|
| 111 |
+
4. Do not represent converted or aggregated model assets as being relicensed
|
| 112 |
+
solely by Scribis.
|
| 113 |
+
5. Review the original upstream license and model documentation before
|
| 114 |
+
commercial redistribution if the provenance or license of a particular
|
| 115 |
+
model asset changes.
|
| 116 |
+
|
| 117 |
+
Where upstream license or notice files are included with this repository,
|
| 118 |
+
they should remain with the corresponding redistributed assets.
|
| 119 |
+
|
| 120 |
+
The original upstream licenses and notices remain authoritative.
|
| 121 |
+
|
| 122 |
+
## No additional rights granted
|
| 123 |
+
|
| 124 |
+
Nothing in this notice grants rights beyond those provided by the respective
|
| 125 |
+
upstream licenses.
|
| 126 |
+
|
| 127 |
+
Users and redistributors are responsible for complying with applicable model
|
| 128 |
+
licenses as well as copyright, privacy, biometric-data, publicity-rights, and
|
| 129 |
+
other applicable laws.
|
paddleocr/PP-DocLayoutV3/LICENSE.md
ADDED
|
@@ -0,0 +1,233 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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| 7 |
+
- `PP-DocLayoutV3.mnn`
|
| 8 |
+
|
| 9 |
+
## Upstream source
|
| 10 |
+
|
| 11 |
+
Copyright (c) PaddlePaddle Authors. All Rights Reserved.
|
| 12 |
+
|
| 13 |
+
- https://huggingface.co/PaddlePaddle/PP-DocLayoutV3_onnx
|
| 14 |
+
- https://huggingface.co/PaddlePaddle/PP-DocLayoutV3
|
| 15 |
+
|
| 16 |
+
The upstream model is released under the **Apache License, Version 2.0**, which permits
|
| 17 |
+
commercial use, modification and redistribution under its terms.
|
| 18 |
+
|
| 19 |
+
## Modifications (Apache-2.0 Section 4(b) notice)
|
| 20 |
+
|
| 21 |
+
The files in this folder are modified, converted versions of the upstream model:
|
| 22 |
+
|
| 23 |
+
Converted from ONNX to MNN with `mnnconvert` (MNN 3.4.1, `--fp16` weight storage).
|
| 24 |
+
|
| 25 |
+
No retraining or fine-tuning was performed; the weights are the upstream weights
|
| 26 |
+
(stored in float16 where converted with `--fp16`).
|
| 27 |
+
|
| 28 |
+
These converted files remain under the Apache License, Version 2.0. The full license
|
| 29 |
+
text follows.
|
| 30 |
+
|
| 31 |
+
---
|
| 32 |
+
|
| 33 |
+
Apache License
|
| 34 |
+
Version 2.0, January 2004
|
| 35 |
+
http://www.apache.org/licenses/
|
| 36 |
+
|
| 37 |
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
| 38 |
+
|
| 39 |
+
1. Definitions.
|
| 40 |
+
|
| 41 |
+
"License" shall mean the terms and conditions for use, reproduction,
|
| 42 |
+
and distribution as defined by Sections 1 through 9 of this document.
|
| 43 |
+
|
| 44 |
+
"Licensor" shall mean the copyright owner or entity authorized by
|
| 45 |
+
the copyright owner that is granting the License.
|
| 46 |
+
|
| 47 |
+
"Legal Entity" shall mean the union of the acting entity and all
|
| 48 |
+
other entities that control, are controlled by, or are under common
|
| 49 |
+
control with that entity. For the purposes of this definition,
|
| 50 |
+
"control" means (i) the power, direct or indirect, to cause the
|
| 51 |
+
direction or management of such entity, whether by contract or
|
| 52 |
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
| 53 |
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
| 54 |
+
|
| 55 |
+
"You" (or "Your") shall mean an individual or Legal Entity
|
| 56 |
+
exercising permissions granted by this License.
|
| 57 |
+
|
| 58 |
+
"Source" form shall mean the preferred form for making modifications,
|
| 59 |
+
including but not limited to software source code, documentation
|
| 60 |
+
source, and configuration files.
|
| 61 |
+
|
| 62 |
+
"Object" form shall mean any form resulting from mechanical
|
| 63 |
+
transformation or translation of a Source form, including but
|
| 64 |
+
not limited to compiled object code, generated documentation,
|
| 65 |
+
and conversions to other media types.
|
| 66 |
+
|
| 67 |
+
"Work" shall mean the work of authorship, whether in Source or
|
| 68 |
+
Object form, made available under the License, as indicated by a
|
| 69 |
+
copyright notice that is included in or attached to the work
|
| 70 |
+
(an example is provided in the Appendix below).
|
| 71 |
+
|
| 72 |
+
"Derivative Works" shall mean any work, whether in Source or Object
|
| 73 |
+
form, that is based on (or derived from) the Work and for which the
|
| 74 |
+
editorial revisions, annotations, elaborations, or other modifications
|
| 75 |
+
represent, as a whole, an original work of authorship. For the purposes
|
| 76 |
+
of this License, Derivative Works shall not include works that remain
|
| 77 |
+
separable from, or merely link (or bind by name) to the interfaces of,
|
| 78 |
+
the Work and Derivative Works thereof.
|
| 79 |
+
|
| 80 |
+
"Contribution" shall mean any work of authorship, including
|
| 81 |
+
the original version of the Work and any modifications or additions
|
| 82 |
+
to that Work or Derivative Works thereof, that is intentionally
|
| 83 |
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
| 84 |
+
or by an individual or Legal Entity authorized to submit on behalf of
|
| 85 |
+
the copyright owner. For the purposes of this definition, "submitted"
|
| 86 |
+
means any form of electronic, verbal, or written communication sent
|
| 87 |
+
to the Licensor or its representatives, including but not limited to
|
| 88 |
+
communication on electronic mailing lists, source code control systems,
|
| 89 |
+
and issue tracking systems that are managed by, or on behalf of, the
|
| 90 |
+
Licensor for the purpose of discussing and improving the Work, but
|
| 91 |
+
excluding communication that is conspicuously marked or otherwise
|
| 92 |
+
designated in writing by the copyright owner as "Not a Contribution."
|
| 93 |
+
|
| 94 |
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
| 95 |
+
on behalf of whom a Contribution has been received by Licensor and
|
| 96 |
+
subsequently incorporated within the Work.
|
| 97 |
+
|
| 98 |
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
| 99 |
+
this License, each Contributor hereby grants to You a perpetual,
|
| 100 |
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
| 101 |
+
copyright license to reproduce, prepare Derivative Works of,
|
| 102 |
+
publicly display, publicly perform, sublicense, and distribute the
|
| 103 |
+
Work and such Derivative Works in Source or Object form.
|
| 104 |
+
|
| 105 |
+
3. Grant of Patent License. Subject to the terms and conditions of
|
| 106 |
+
this License, each Contributor hereby grants to You a perpetual,
|
| 107 |
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
| 108 |
+
(except as stated in this section) patent license to make, have made,
|
| 109 |
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
| 110 |
+
where such license applies only to those patent claims licensable
|
| 111 |
+
by such Contributor that are necessarily infringed by their
|
| 112 |
+
Contribution(s) alone or by combination of their Contribution(s)
|
| 113 |
+
with the Work to which such Contribution(s) was submitted. If You
|
| 114 |
+
institute patent litigation against any entity (including a
|
| 115 |
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
| 116 |
+
or a Contribution incorporated within the Work constitutes direct
|
| 117 |
+
or contributory patent infringement, then any patent licenses
|
| 118 |
+
granted to You under this License for that Work shall terminate
|
| 119 |
+
as of the date such litigation is filed.
|
| 120 |
+
|
| 121 |
+
4. Redistribution. You may reproduce and distribute copies of the
|
| 122 |
+
Work or Derivative Works thereof in any medium, with or without
|
| 123 |
+
modifications, and in Source or Object form, provided that You
|
| 124 |
+
meet the following conditions:
|
| 125 |
+
|
| 126 |
+
(a) You must give any other recipients of the Work or
|
| 127 |
+
Derivative Works a copy of this License; and
|
| 128 |
+
|
| 129 |
+
(b) You must cause any modified files to carry prominent notices
|
| 130 |
+
stating that You changed the files; and
|
| 131 |
+
|
| 132 |
+
(c) You must retain, in the Source form of any Derivative Works
|
| 133 |
+
that You distribute, all copyright, patent, trademark, and
|
| 134 |
+
attribution notices from the Source form of the Work,
|
| 135 |
+
excluding those notices that do not pertain to any part of
|
| 136 |
+
the Derivative Works; and
|
| 137 |
+
|
| 138 |
+
(d) If the Work includes a "NOTICE" text file as part of its
|
| 139 |
+
distribution, then any Derivative Works that You distribute must
|
| 140 |
+
include a readable copy of the attribution notices contained
|
| 141 |
+
within such NOTICE file, excluding those notices that do not
|
| 142 |
+
pertain to any part of the Derivative Works, in at least one
|
| 143 |
+
of the following places: within a NOTICE text file distributed
|
| 144 |
+
as part of the Derivative Works; within the Source form or
|
| 145 |
+
documentation, if provided along with the Derivative Works; or,
|
| 146 |
+
within a display generated by the Derivative Works, if and
|
| 147 |
+
wherever such third-party notices normally appear. The contents
|
| 148 |
+
of the NOTICE file are for informational purposes only and
|
| 149 |
+
do not modify the License. You may add Your own attribution
|
| 150 |
+
notices within Derivative Works that You distribute, alongside
|
| 151 |
+
or as an addendum to the NOTICE text from the Work, provided
|
| 152 |
+
that such additional attribution notices cannot be construed
|
| 153 |
+
as modifying the License.
|
| 154 |
+
|
| 155 |
+
You may add Your own copyright statement to Your modifications and
|
| 156 |
+
may provide additional or different license terms and conditions
|
| 157 |
+
for use, reproduction, or distribution of Your modifications, or
|
| 158 |
+
for any such Derivative Works as a whole, provided Your use,
|
| 159 |
+
reproduction, and distribution of the Work otherwise complies with
|
| 160 |
+
the conditions stated in this License.
|
| 161 |
+
|
| 162 |
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
| 163 |
+
any Contribution intentionally submitted for inclusion in the Work
|
| 164 |
+
by You to the Licensor shall be under the terms and conditions of
|
| 165 |
+
this License, without any additional terms or conditions.
|
| 166 |
+
Notwithstanding the above, nothing herein shall supersede or modify
|
| 167 |
+
the terms of any separate license agreement you may have executed
|
| 168 |
+
with Licensor regarding such Contributions.
|
| 169 |
+
|
| 170 |
+
6. Trademarks. This License does not grant permission to use the trade
|
| 171 |
+
names, trademarks, service marks, or product names of the Licensor,
|
| 172 |
+
except as required for reasonable and customary use in describing the
|
| 173 |
+
origin of the Work and reproducing the content of the NOTICE file.
|
| 174 |
+
|
| 175 |
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
| 176 |
+
agreed to in writing, Licensor provides the Work (and each
|
| 177 |
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
| 178 |
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
| 179 |
+
implied, including, without limitation, any warranties or conditions
|
| 180 |
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
| 181 |
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
| 182 |
+
appropriateness of using or redistributing the Work and assume any
|
| 183 |
+
risks associated with Your exercise of permissions under this License.
|
| 184 |
+
|
| 185 |
+
8. Limitation of Liability. In no event and under no legal theory,
|
| 186 |
+
whether in tort (including negligence), contract, or otherwise,
|
| 187 |
+
unless required by applicable law (such as deliberate and grossly
|
| 188 |
+
negligent acts) or agreed to in writing, shall any Contributor be
|
| 189 |
+
liable to You for damages, including any direct, indirect, special,
|
| 190 |
+
incidental, or consequential damages of any character arising as a
|
| 191 |
+
result of this License or out of the use or inability to use the
|
| 192 |
+
Work (including but not limited to damages for loss of goodwill,
|
| 193 |
+
work stoppage, computer failure or malfunction, or any and all
|
| 194 |
+
other commercial damages or losses), even if such Contributor
|
| 195 |
+
has been advised of the possibility of such damages.
|
| 196 |
+
|
| 197 |
+
9. Accepting Warranty or Additional Liability. While redistributing
|
| 198 |
+
the Work or Derivative Works thereof, You may choose to offer,
|
| 199 |
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
| 200 |
+
or other liability obligations and/or rights consistent with this
|
| 201 |
+
License. However, in accepting such obligations, You may act only
|
| 202 |
+
on Your own behalf and on Your sole responsibility, not on behalf
|
| 203 |
+
of any other Contributor, and only if You agree to indemnify,
|
| 204 |
+
defend, and hold each Contributor harmless for any liability
|
| 205 |
+
incurred by, or claims asserted against, such Contributor by reason
|
| 206 |
+
of your accepting any such warranty or additional liability.
|
| 207 |
+
|
| 208 |
+
END OF TERMS AND CONDITIONS
|
| 209 |
+
|
| 210 |
+
APPENDIX: How to apply the Apache License to your work.
|
| 211 |
+
|
| 212 |
+
To apply the Apache License to your work, attach the following
|
| 213 |
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
| 214 |
+
replaced with your own identifying information. (Don't include
|
| 215 |
+
the brackets!) The text should be enclosed in the appropriate
|
| 216 |
+
comment syntax for the file format. We also recommend that a
|
| 217 |
+
file or class name and description of purpose be included on the
|
| 218 |
+
same "printed page" as the copyright notice for easier
|
| 219 |
+
identification within third-party archives.
|
| 220 |
+
|
| 221 |
+
Copyright [yyyy] [name of copyright owner]
|
| 222 |
+
|
| 223 |
+
Licensed under the Apache License, Version 2.0 (the "License");
|
| 224 |
+
you may not use this file except in compliance with the License.
|
| 225 |
+
You may obtain a copy of the License at
|
| 226 |
+
|
| 227 |
+
http://www.apache.org/licenses/LICENSE-2.0
|
| 228 |
+
|
| 229 |
+
Unless required by applicable law or agreed to in writing, software
|
| 230 |
+
distributed under the License is distributed on an "AS IS" BASIS,
|
| 231 |
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
| 232 |
+
See the License for the specific language governing permissions and
|
| 233 |
+
limitations under the License.
|
paddleocr/PP-DocLayoutV3/PP-DocLayoutV3.mnn
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:40512806678191c185f73189a3ec504b2b8a5617e4deb7f1d71bb020e5784e8e
|
| 3 |
+
size 65555896
|
paddleocr/PP-DocLayout_plus-L/LIC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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# PP-DocLayout_plus-L (MNN) - License
|
| 2 |
+
|
| 3 |
+
Document layout detection (20 classes).
|
| 4 |
+
|
| 5 |
+
## Files
|
| 6 |
+
|
| 7 |
+
- `PP-DocLayout_plus-L.mnn`
|
| 8 |
+
|
| 9 |
+
## Upstream source
|
| 10 |
+
|
| 11 |
+
Copyright (c) PaddlePaddle Authors. All Rights Reserved.
|
| 12 |
+
|
| 13 |
+
- https://huggingface.co/PaddlePaddle/PP-DocLayout_plus-L_onnx
|
| 14 |
+
- https://huggingface.co/PaddlePaddle/PP-DocLayout_plus-L
|
| 15 |
+
|
| 16 |
+
The upstream model is released under the **Apache License, Version 2.0**, which permits
|
| 17 |
+
commercial use, modification and redistribution under its terms.
|
| 18 |
+
|
| 19 |
+
## Modifications (Apache-2.0 Section 4(b) notice)
|
| 20 |
+
|
| 21 |
+
The files in this folder are modified, converted versions of the upstream model:
|
| 22 |
+
|
| 23 |
+
Converted from ONNX to MNN with `mnnconvert` (MNN 3.4.1, `--fp16` weight storage).
|
| 24 |
+
|
| 25 |
+
No retraining or fine-tuning was performed; the weights are the upstream weights
|
| 26 |
+
(stored in float16 where converted with `--fp16`).
|
| 27 |
+
|
| 28 |
+
These converted files remain under the Apache License, Version 2.0. The full license
|
| 29 |
+
text follows.
|
| 30 |
+
|
| 31 |
+
---
|
| 32 |
+
|
| 33 |
+
Apache License
|
| 34 |
+
Version 2.0, January 2004
|
| 35 |
+
http://www.apache.org/licenses/
|
| 36 |
+
|
| 37 |
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
| 38 |
+
|
| 39 |
+
1. Definitions.
|
| 40 |
+
|
| 41 |
+
"License" shall mean the terms and conditions for use, reproduction,
|
| 42 |
+
and distribution as defined by Sections 1 through 9 of this document.
|
| 43 |
+
|
| 44 |
+
"Licensor" shall mean the copyright owner or entity authorized by
|
| 45 |
+
the copyright owner that is granting the License.
|
| 46 |
+
|
| 47 |
+
"Legal Entity" shall mean the union of the acting entity and all
|
| 48 |
+
other entities that control, are controlled by, or are under common
|
| 49 |
+
control with that entity. For the purposes of this definition,
|
| 50 |
+
"control" means (i) the power, direct or indirect, to cause the
|
| 51 |
+
direction or management of such entity, whether by contract or
|
| 52 |
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
| 53 |
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
| 54 |
+
|
| 55 |
+
"You" (or "Your") shall mean an individual or Legal Entity
|
| 56 |
+
exercising permissions granted by this License.
|
| 57 |
+
|
| 58 |
+
"Source" form shall mean the preferred form for making modifications,
|
| 59 |
+
including but not limited to software source code, documentation
|
| 60 |
+
source, and configuration files.
|
| 61 |
+
|
| 62 |
+
"Object" form shall mean any form resulting from mechanical
|
| 63 |
+
transformation or translation of a Source form, including but
|
| 64 |
+
not limited to compiled object code, generated documentation,
|
| 65 |
+
and conversions to other media types.
|
| 66 |
+
|
| 67 |
+
"Work" shall mean the work of authorship, whether in Source or
|
| 68 |
+
Object form, made available under the License, as indicated by a
|
| 69 |
+
copyright notice that is included in or attached to the work
|
| 70 |
+
(an example is provided in the Appendix below).
|
| 71 |
+
|
| 72 |
+
"Derivative Works" shall mean any work, whether in Source or Object
|
| 73 |
+
form, that is based on (or derived from) the Work and for which the
|
| 74 |
+
editorial revisions, annotations, elaborations, or other modifications
|
| 75 |
+
represent, as a whole, an original work of authorship. For the purposes
|
| 76 |
+
of this License, Derivative Works shall not include works that remain
|
| 77 |
+
separable from, or merely link (or bind by name) to the interfaces of,
|
| 78 |
+
the Work and Derivative Works thereof.
|
| 79 |
+
|
| 80 |
+
"Contribution" shall mean any work of authorship, including
|
| 81 |
+
the original version of the Work and any modifications or additions
|
| 82 |
+
to that Work or Derivative Works thereof, that is intentionally
|
| 83 |
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
| 84 |
+
or by an individual or Legal Entity authorized to submit on behalf of
|
| 85 |
+
the copyright owner. For the purposes of this definition, "submitted"
|
| 86 |
+
means any form of electronic, verbal, or written communication sent
|
| 87 |
+
to the Licensor or its representatives, including but not limited to
|
| 88 |
+
communication on electronic mailing lists, source code control systems,
|
| 89 |
+
and issue tracking systems that are managed by, or on behalf of, the
|
| 90 |
+
Licensor for the purpose of discussing and improving the Work, but
|
| 91 |
+
excluding communication that is conspicuously marked or otherwise
|
| 92 |
+
designated in writing by the copyright owner as "Not a Contribution."
|
| 93 |
+
|
| 94 |
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
| 95 |
+
on behalf of whom a Contribution has been received by Licensor and
|
| 96 |
+
subsequently incorporated within the Work.
|
| 97 |
+
|
| 98 |
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
| 99 |
+
this License, each Contributor hereby grants to You a perpetual,
|
| 100 |
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
| 101 |
+
copyright license to reproduce, prepare Derivative Works of,
|
| 102 |
+
publicly display, publicly perform, sublicense, and distribute the
|
| 103 |
+
Work and such Derivative Works in Source or Object form.
|
| 104 |
+
|
| 105 |
+
3. Grant of Patent License. Subject to the terms and conditions of
|
| 106 |
+
this License, each Contributor hereby grants to You a perpetual,
|
| 107 |
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
| 108 |
+
(except as stated in this section) patent license to make, have made,
|
| 109 |
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
| 110 |
+
where such license applies only to those patent claims licensable
|
| 111 |
+
by such Contributor that are necessarily infringed by their
|
| 112 |
+
Contribution(s) alone or by combination of their Contribution(s)
|
| 113 |
+
with the Work to which such Contribution(s) was submitted. If You
|
| 114 |
+
institute patent litigation against any entity (including a
|
| 115 |
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
| 116 |
+
or a Contribution incorporated within the Work constitutes direct
|
| 117 |
+
or contributory patent infringement, then any patent licenses
|
| 118 |
+
granted to You under this License for that Work shall terminate
|
| 119 |
+
as of the date such litigation is filed.
|
| 120 |
+
|
| 121 |
+
4. Redistribution. You may reproduce and distribute copies of the
|
| 122 |
+
Work or Derivative Works thereof in any medium, with or without
|
| 123 |
+
modifications, and in Source or Object form, provided that You
|
| 124 |
+
meet the following conditions:
|
| 125 |
+
|
| 126 |
+
(a) You must give any other recipients of the Work or
|
| 127 |
+
Derivative Works a copy of this License; and
|
| 128 |
+
|
| 129 |
+
(b) You must cause any modified files to carry prominent notices
|
| 130 |
+
stating that You changed the files; and
|
| 131 |
+
|
| 132 |
+
(c) You must retain, in the Source form of any Derivative Works
|
| 133 |
+
that You distribute, all copyright, patent, trademark, and
|
| 134 |
+
attribution notices from the Source form of the Work,
|
| 135 |
+
excluding those notices that do not pertain to any part of
|
| 136 |
+
the Derivative Works; and
|
| 137 |
+
|
| 138 |
+
(d) If the Work includes a "NOTICE" text file as part of its
|
| 139 |
+
distribution, then any Derivative Works that You distribute must
|
| 140 |
+
include a readable copy of the attribution notices contained
|
| 141 |
+
within such NOTICE file, excluding those notices that do not
|
| 142 |
+
pertain to any part of the Derivative Works, in at least one
|
| 143 |
+
of the following places: within a NOTICE text file distributed
|
| 144 |
+
as part of the Derivative Works; within the Source form or
|
| 145 |
+
documentation, if provided along with the Derivative Works; or,
|
| 146 |
+
within a display generated by the Derivative Works, if and
|
| 147 |
+
wherever such third-party notices normally appear. The contents
|
| 148 |
+
of the NOTICE file are for informational purposes only and
|
| 149 |
+
do not modify the License. You may add Your own attribution
|
| 150 |
+
notices within Derivative Works that You distribute, alongside
|
| 151 |
+
or as an addendum to the NOTICE text from the Work, provided
|
| 152 |
+
that such additional attribution notices cannot be construed
|
| 153 |
+
as modifying the License.
|
| 154 |
+
|
| 155 |
+
You may add Your own copyright statement to Your modifications and
|
| 156 |
+
may provide additional or different license terms and conditions
|
| 157 |
+
for use, reproduction, or distribution of Your modifications, or
|
| 158 |
+
for any such Derivative Works as a whole, provided Your use,
|
| 159 |
+
reproduction, and distribution of the Work otherwise complies with
|
| 160 |
+
the conditions stated in this License.
|
| 161 |
+
|
| 162 |
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
| 163 |
+
any Contribution intentionally submitted for inclusion in the Work
|
| 164 |
+
by You to the Licensor shall be under the terms and conditions of
|
| 165 |
+
this License, without any additional terms or conditions.
|
| 166 |
+
Notwithstanding the above, nothing herein shall supersede or modify
|
| 167 |
+
the terms of any separate license agreement you may have executed
|
| 168 |
+
with Licensor regarding such Contributions.
|
| 169 |
+
|
| 170 |
+
6. Trademarks. This License does not grant permission to use the trade
|
| 171 |
+
names, trademarks, service marks, or product names of the Licensor,
|
| 172 |
+
except as required for reasonable and customary use in describing the
|
| 173 |
+
origin of the Work and reproducing the content of the NOTICE file.
|
| 174 |
+
|
| 175 |
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
| 176 |
+
agreed to in writing, Licensor provides the Work (and each
|
| 177 |
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
| 178 |
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
| 179 |
+
implied, including, without limitation, any warranties or conditions
|
| 180 |
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
| 181 |
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
| 182 |
+
appropriateness of using or redistributing the Work and assume any
|
| 183 |
+
risks associated with Your exercise of permissions under this License.
|
| 184 |
+
|
| 185 |
+
8. Limitation of Liability. In no event and under no legal theory,
|
| 186 |
+
whether in tort (including negligence), contract, or otherwise,
|
| 187 |
+
unless required by applicable law (such as deliberate and grossly
|
| 188 |
+
negligent acts) or agreed to in writing, shall any Contributor be
|
| 189 |
+
liable to You for damages, including any direct, indirect, special,
|
| 190 |
+
incidental, or consequential damages of any character arising as a
|
| 191 |
+
result of this License or out of the use or inability to use the
|
| 192 |
+
Work (including but not limited to damages for loss of goodwill,
|
| 193 |
+
work stoppage, computer failure or malfunction, or any and all
|
| 194 |
+
other commercial damages or losses), even if such Contributor
|
| 195 |
+
has been advised of the possibility of such damages.
|
| 196 |
+
|
| 197 |
+
9. Accepting Warranty or Additional Liability. While redistributing
|
| 198 |
+
the Work or Derivative Works thereof, You may choose to offer,
|
| 199 |
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
| 200 |
+
or other liability obligations and/or rights consistent with this
|
| 201 |
+
License. However, in accepting such obligations, You may act only
|
| 202 |
+
on Your own behalf and on Your sole responsibility, not on behalf
|
| 203 |
+
of any other Contributor, and only if You agree to indemnify,
|
| 204 |
+
defend, and hold each Contributor harmless for any liability
|
| 205 |
+
incurred by, or claims asserted against, such Contributor by reason
|
| 206 |
+
of your accepting any such warranty or additional liability.
|
| 207 |
+
|
| 208 |
+
END OF TERMS AND CONDITIONS
|
| 209 |
+
|
| 210 |
+
APPENDIX: How to apply the Apache License to your work.
|
| 211 |
+
|
| 212 |
+
To apply the Apache License to your work, attach the following
|
| 213 |
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
| 214 |
+
replaced with your own identifying information. (Don't include
|
| 215 |
+
the brackets!) The text should be enclosed in the appropriate
|
| 216 |
+
comment syntax for the file format. We also recommend that a
|
| 217 |
+
file or class name and description of purpose be included on the
|
| 218 |
+
same "printed page" as the copyright notice for easier
|
| 219 |
+
identification within third-party archives.
|
| 220 |
+
|
| 221 |
+
Copyright [yyyy] [name of copyright owner]
|
| 222 |
+
|
| 223 |
+
Licensed under the Apache License, Version 2.0 (the "License");
|
| 224 |
+
you may not use this file except in compliance with the License.
|
| 225 |
+
You may obtain a copy of the License at
|
| 226 |
+
|
| 227 |
+
http://www.apache.org/licenses/LICENSE-2.0
|
| 228 |
+
|
| 229 |
+
Unless required by applicable law or agreed to in writing, software
|
| 230 |
+
distributed under the License is distributed on an "AS IS" BASIS,
|
| 231 |
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
| 232 |
+
See the License for the specific language governing permissions and
|
| 233 |
+
limitations under the License.
|
paddleocr/PP-DocLayout_plus-L/PP-DocLayout_plus-L.mnn
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2f3d378be04d0212f382dd7c61cf92b2eed7b1d55462b96511d0bc4f04ea0347
|
| 3 |
+
size 64877964
|
paddleocr/PP-FormulaNet_plus-L/LICENSE.md
ADDED
|
@@ -0,0 +1,235 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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
|
| 5 |
+
## Files
|
| 6 |
+
|
| 7 |
+
- `PP-FormulaNet_plus-L_encoder.mnn`
|
| 8 |
+
- `PP-FormulaNet_plus-L_decoder.mnn`
|
| 9 |
+
- `PP-FormulaNet_plus-L_vocab.txt`
|
| 10 |
+
|
| 11 |
+
## Upstream source
|
| 12 |
+
|
| 13 |
+
Copyright (c) PaddlePaddle Authors. All Rights Reserved.
|
| 14 |
+
|
| 15 |
+
- https://huggingface.co/PaddlePaddle/PP-FormulaNet_plus-L_safetensors
|
| 16 |
+
- https://huggingface.co/PaddlePaddle/PP-FormulaNet_plus-L
|
| 17 |
+
|
| 18 |
+
The upstream model is released under the **Apache License, Version 2.0**, which permits
|
| 19 |
+
commercial use, modification and redistribution under its terms.
|
| 20 |
+
|
| 21 |
+
## Modifications (Apache-2.0 Section 4(b) notice)
|
| 22 |
+
|
| 23 |
+
The files in this folder are modified, converted versions of the upstream model:
|
| 24 |
+
|
| 25 |
+
Exported from the upstream safetensors weights with PyTorch (`transformers` implementation) into an encoder graph (image to per-layer cross-attention keys/values) and a KV-cached single-step decoder graph; the vision attention was re-expressed with static relative-position tables and `MatMul` (numerically equivalent). The encoder was simplified with onnxsim. Both graphs were then converted from ONNX to MNN with `mnnconvert` (MNN 3.4.1, `--fp16` weight storage). `PP-FormulaNet_plus-L_vocab.txt` is the token vocabulary extracted unchanged from the upstream `tokenizer.json`.
|
| 26 |
+
|
| 27 |
+
No retraining or fine-tuning was performed; the weights are the upstream weights
|
| 28 |
+
(stored in float16 where converted with `--fp16`).
|
| 29 |
+
|
| 30 |
+
These converted files remain under the Apache License, Version 2.0. The full license
|
| 31 |
+
text follows.
|
| 32 |
+
|
| 33 |
+
---
|
| 34 |
+
|
| 35 |
+
Apache License
|
| 36 |
+
Version 2.0, January 2004
|
| 37 |
+
http://www.apache.org/licenses/
|
| 38 |
+
|
| 39 |
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
| 40 |
+
|
| 41 |
+
1. Definitions.
|
| 42 |
+
|
| 43 |
+
"License" shall mean the terms and conditions for use, reproduction,
|
| 44 |
+
and distribution as defined by Sections 1 through 9 of this document.
|
| 45 |
+
|
| 46 |
+
"Licensor" shall mean the copyright owner or entity authorized by
|
| 47 |
+
the copyright owner that is granting the License.
|
| 48 |
+
|
| 49 |
+
"Legal Entity" shall mean the union of the acting entity and all
|
| 50 |
+
other entities that control, are controlled by, or are under common
|
| 51 |
+
control with that entity. For the purposes of this definition,
|
| 52 |
+
"control" means (i) the power, direct or indirect, to cause the
|
| 53 |
+
direction or management of such entity, whether by contract or
|
| 54 |
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
| 55 |
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
| 56 |
+
|
| 57 |
+
"You" (or "Your") shall mean an individual or Legal Entity
|
| 58 |
+
exercising permissions granted by this License.
|
| 59 |
+
|
| 60 |
+
"Source" form shall mean the preferred form for making modifications,
|
| 61 |
+
including but not limited to software source code, documentation
|
| 62 |
+
source, and configuration files.
|
| 63 |
+
|
| 64 |
+
"Object" form shall mean any form resulting from mechanical
|
| 65 |
+
transformation or translation of a Source form, including but
|
| 66 |
+
not limited to compiled object code, generated documentation,
|
| 67 |
+
and conversions to other media types.
|
| 68 |
+
|
| 69 |
+
"Work" shall mean the work of authorship, whether in Source or
|
| 70 |
+
Object form, made available under the License, as indicated by a
|
| 71 |
+
copyright notice that is included in or attached to the work
|
| 72 |
+
(an example is provided in the Appendix below).
|
| 73 |
+
|
| 74 |
+
"Derivative Works" shall mean any work, whether in Source or Object
|
| 75 |
+
form, that is based on (or derived from) the Work and for which the
|
| 76 |
+
editorial revisions, annotations, elaborations, or other modifications
|
| 77 |
+
represent, as a whole, an original work of authorship. For the purposes
|
| 78 |
+
of this License, Derivative Works shall not include works that remain
|
| 79 |
+
separable from, or merely link (or bind by name) to the interfaces of,
|
| 80 |
+
the Work and Derivative Works thereof.
|
| 81 |
+
|
| 82 |
+
"Contribution" shall mean any work of authorship, including
|
| 83 |
+
the original version of the Work and any modifications or additions
|
| 84 |
+
to that Work or Derivative Works thereof, that is intentionally
|
| 85 |
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
| 86 |
+
or by an individual or Legal Entity authorized to submit on behalf of
|
| 87 |
+
the copyright owner. For the purposes of this definition, "submitted"
|
| 88 |
+
means any form of electronic, verbal, or written communication sent
|
| 89 |
+
to the Licensor or its representatives, including but not limited to
|
| 90 |
+
communication on electronic mailing lists, source code control systems,
|
| 91 |
+
and issue tracking systems that are managed by, or on behalf of, the
|
| 92 |
+
Licensor for the purpose of discussing and improving the Work, but
|
| 93 |
+
excluding communication that is conspicuously marked or otherwise
|
| 94 |
+
designated in writing by the copyright owner as "Not a Contribution."
|
| 95 |
+
|
| 96 |
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
| 97 |
+
on behalf of whom a Contribution has been received by Licensor and
|
| 98 |
+
subsequently incorporated within the Work.
|
| 99 |
+
|
| 100 |
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
| 101 |
+
this License, each Contributor hereby grants to You a perpetual,
|
| 102 |
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
| 103 |
+
copyright license to reproduce, prepare Derivative Works of,
|
| 104 |
+
publicly display, publicly perform, sublicense, and distribute the
|
| 105 |
+
Work and such Derivative Works in Source or Object form.
|
| 106 |
+
|
| 107 |
+
3. Grant of Patent License. Subject to the terms and conditions of
|
| 108 |
+
this License, each Contributor hereby grants to You a perpetual,
|
| 109 |
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
| 110 |
+
(except as stated in this section) patent license to make, have made,
|
| 111 |
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
| 112 |
+
where such license applies only to those patent claims licensable
|
| 113 |
+
by such Contributor that are necessarily infringed by their
|
| 114 |
+
Contribution(s) alone or by combination of their Contribution(s)
|
| 115 |
+
with the Work to which such Contribution(s) was submitted. If You
|
| 116 |
+
institute patent litigation against any entity (including a
|
| 117 |
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
| 118 |
+
or a Contribution incorporated within the Work constitutes direct
|
| 119 |
+
or contributory patent infringement, then any patent licenses
|
| 120 |
+
granted to You under this License for that Work shall terminate
|
| 121 |
+
as of the date such litigation is filed.
|
| 122 |
+
|
| 123 |
+
4. Redistribution. You may reproduce and distribute copies of the
|
| 124 |
+
Work or Derivative Works thereof in any medium, with or without
|
| 125 |
+
modifications, and in Source or Object form, provided that You
|
| 126 |
+
meet the following conditions:
|
| 127 |
+
|
| 128 |
+
(a) You must give any other recipients of the Work or
|
| 129 |
+
Derivative Works a copy of this License; and
|
| 130 |
+
|
| 131 |
+
(b) You must cause any modified files to carry prominent notices
|
| 132 |
+
stating that You changed the files; and
|
| 133 |
+
|
| 134 |
+
(c) You must retain, in the Source form of any Derivative Works
|
| 135 |
+
that You distribute, all copyright, patent, trademark, and
|
| 136 |
+
attribution notices from the Source form of the Work,
|
| 137 |
+
excluding those notices that do not pertain to any part of
|
| 138 |
+
the Derivative Works; and
|
| 139 |
+
|
| 140 |
+
(d) If the Work includes a "NOTICE" text file as part of its
|
| 141 |
+
distribution, then any Derivative Works that You distribute must
|
| 142 |
+
include a readable copy of the attribution notices contained
|
| 143 |
+
within such NOTICE file, excluding those notices that do not
|
| 144 |
+
pertain to any part of the Derivative Works, in at least one
|
| 145 |
+
of the following places: within a NOTICE text file distributed
|
| 146 |
+
as part of the Derivative Works; within the Source form or
|
| 147 |
+
documentation, if provided along with the Derivative Works; or,
|
| 148 |
+
within a display generated by the Derivative Works, if and
|
| 149 |
+
wherever such third-party notices normally appear. The contents
|
| 150 |
+
of the NOTICE file are for informational purposes only and
|
| 151 |
+
do not modify the License. You may add Your own attribution
|
| 152 |
+
notices within Derivative Works that You distribute, alongside
|
| 153 |
+
or as an addendum to the NOTICE text from the Work, provided
|
| 154 |
+
that such additional attribution notices cannot be construed
|
| 155 |
+
as modifying the License.
|
| 156 |
+
|
| 157 |
+
You may add Your own copyright statement to Your modifications and
|
| 158 |
+
may provide additional or different license terms and conditions
|
| 159 |
+
for use, reproduction, or distribution of Your modifications, or
|
| 160 |
+
for any such Derivative Works as a whole, provided Your use,
|
| 161 |
+
reproduction, and distribution of the Work otherwise complies with
|
| 162 |
+
the conditions stated in this License.
|
| 163 |
+
|
| 164 |
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
| 165 |
+
any Contribution intentionally submitted for inclusion in the Work
|
| 166 |
+
by You to the Licensor shall be under the terms and conditions of
|
| 167 |
+
this License, without any additional terms or conditions.
|
| 168 |
+
Notwithstanding the above, nothing herein shall supersede or modify
|
| 169 |
+
the terms of any separate license agreement you may have executed
|
| 170 |
+
with Licensor regarding such Contributions.
|
| 171 |
+
|
| 172 |
+
6. Trademarks. This License does not grant permission to use the trade
|
| 173 |
+
names, trademarks, service marks, or product names of the Licensor,
|
| 174 |
+
except as required for reasonable and customary use in describing the
|
| 175 |
+
origin of the Work and reproducing the content of the NOTICE file.
|
| 176 |
+
|
| 177 |
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
| 178 |
+
agreed to in writing, Licensor provides the Work (and each
|
| 179 |
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
| 180 |
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
| 181 |
+
implied, including, without limitation, any warranties or conditions
|
| 182 |
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
| 183 |
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
| 184 |
+
appropriateness of using or redistributing the Work and assume any
|
| 185 |
+
risks associated with Your exercise of permissions under this License.
|
| 186 |
+
|
| 187 |
+
8. Limitation of Liability. In no event and under no legal theory,
|
| 188 |
+
whether in tort (including negligence), contract, or otherwise,
|
| 189 |
+
unless required by applicable law (such as deliberate and grossly
|
| 190 |
+
negligent acts) or agreed to in writing, shall any Contributor be
|
| 191 |
+
liable to You for damages, including any direct, indirect, special,
|
| 192 |
+
incidental, or consequential damages of any character arising as a
|
| 193 |
+
result of this License or out of the use or inability to use the
|
| 194 |
+
Work (including but not limited to damages for loss of goodwill,
|
| 195 |
+
work stoppage, computer failure or malfunction, or any and all
|
| 196 |
+
other commercial damages or losses), even if such Contributor
|
| 197 |
+
has been advised of the possibility of such damages.
|
| 198 |
+
|
| 199 |
+
9. Accepting Warranty or Additional Liability. While redistributing
|
| 200 |
+
the Work or Derivative Works thereof, You may choose to offer,
|
| 201 |
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
| 202 |
+
or other liability obligations and/or rights consistent with this
|
| 203 |
+
License. However, in accepting such obligations, You may act only
|
| 204 |
+
on Your own behalf and on Your sole responsibility, not on behalf
|
| 205 |
+
of any other Contributor, and only if You agree to indemnify,
|
| 206 |
+
defend, and hold each Contributor harmless for any liability
|
| 207 |
+
incurred by, or claims asserted against, such Contributor by reason
|
| 208 |
+
of your accepting any such warranty or additional liability.
|
| 209 |
+
|
| 210 |
+
END OF TERMS AND CONDITIONS
|
| 211 |
+
|
| 212 |
+
APPENDIX: How to apply the Apache License to your work.
|
| 213 |
+
|
| 214 |
+
To apply the Apache License to your work, attach the following
|
| 215 |
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
| 216 |
+
replaced with your own identifying information. (Don't include
|
| 217 |
+
the brackets!) The text should be enclosed in the appropriate
|
| 218 |
+
comment syntax for the file format. We also recommend that a
|
| 219 |
+
file or class name and description of purpose be included on the
|
| 220 |
+
same "printed page" as the copyright notice for easier
|
| 221 |
+
identification within third-party archives.
|
| 222 |
+
|
| 223 |
+
Copyright [yyyy] [name of copyright owner]
|
| 224 |
+
|
| 225 |
+
Licensed under the Apache License, Version 2.0 (the "License");
|
| 226 |
+
you may not use this file except in compliance with the License.
|
| 227 |
+
You may obtain a copy of the License at
|
| 228 |
+
|
| 229 |
+
http://www.apache.org/licenses/LICENSE-2.0
|
| 230 |
+
|
| 231 |
+
Unless required by applicable law or agreed to in writing, software
|
| 232 |
+
distributed under the License is distributed on an "AS IS" BASIS,
|
| 233 |
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
| 234 |
+
See the License for the specific language governing permissions and
|
| 235 |
+
limitations under the License.
|
paddleocr/PP-FormulaNet_plus-L/PP-FormulaNet_plus-L_decoder.mnn
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:34598757ea0a5072fdcb95f6423711eba01c92a2355d9ed493078c721b5f60f7
|
| 3 |
+
size 164396296
|
paddleocr/PP-FormulaNet_plus-L/PP-FormulaNet_plus-L_encoder.mnn
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:dfa2899597fb161f3ae1f22c19adb96575f573c5065c0627f23d341512f92af5
|
| 3 |
+
size 202969492
|
paddleocr/PP-FormulaNet_plus-L/PP-FormulaNet_plus-L_vocab.txt
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
paddleocr/PP-LCNet_x1_0_table_cls/LICENSE.md
ADDED
|
@@ -0,0 +1,233 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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 |
+
|
| 3 |
+
Wired / wireless table classification.
|
| 4 |
+
|
| 5 |
+
## Files
|
| 6 |
+
|
| 7 |
+
- `PP-LCNet_x1_0_table_cls.mnn`
|
| 8 |
+
|
| 9 |
+
## Upstream source
|
| 10 |
+
|
| 11 |
+
Copyright (c) PaddlePaddle Authors. All Rights Reserved.
|
| 12 |
+
|
| 13 |
+
- https://huggingface.co/PaddlePaddle/PP-LCNet_x1_0_table_cls_onnx
|
| 14 |
+
- https://huggingface.co/PaddlePaddle/PP-LCNet_x1_0_table_cls
|
| 15 |
+
|
| 16 |
+
The upstream model is released under the **Apache License, Version 2.0**, which permits
|
| 17 |
+
commercial use, modification and redistribution under its terms.
|
| 18 |
+
|
| 19 |
+
## Modifications (Apache-2.0 Section 4(b) notice)
|
| 20 |
+
|
| 21 |
+
The files in this folder are modified, converted versions of the upstream model:
|
| 22 |
+
|
| 23 |
+
Converted from ONNX to MNN with `mnnconvert` (MNN 3.4.1, `--fp16` weight storage).
|
| 24 |
+
|
| 25 |
+
No retraining or fine-tuning was performed; the weights are the upstream weights
|
| 26 |
+
(stored in float16 where converted with `--fp16`).
|
| 27 |
+
|
| 28 |
+
These converted files remain under the Apache License, Version 2.0. The full license
|
| 29 |
+
text follows.
|
| 30 |
+
|
| 31 |
+
---
|
| 32 |
+
|
| 33 |
+
Apache License
|
| 34 |
+
Version 2.0, January 2004
|
| 35 |
+
http://www.apache.org/licenses/
|
| 36 |
+
|
| 37 |
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
| 38 |
+
|
| 39 |
+
1. Definitions.
|
| 40 |
+
|
| 41 |
+
"License" shall mean the terms and conditions for use, reproduction,
|
| 42 |
+
and distribution as defined by Sections 1 through 9 of this document.
|
| 43 |
+
|
| 44 |
+
"Licensor" shall mean the copyright owner or entity authorized by
|
| 45 |
+
the copyright owner that is granting the License.
|
| 46 |
+
|
| 47 |
+
"Legal Entity" shall mean the union of the acting entity and all
|
| 48 |
+
other entities that control, are controlled by, or are under common
|
| 49 |
+
control with that entity. For the purposes of this definition,
|
| 50 |
+
"control" means (i) the power, direct or indirect, to cause the
|
| 51 |
+
direction or management of such entity, whether by contract or
|
| 52 |
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
| 53 |
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
| 54 |
+
|
| 55 |
+
"You" (or "Your") shall mean an individual or Legal Entity
|
| 56 |
+
exercising permissions granted by this License.
|
| 57 |
+
|
| 58 |
+
"Source" form shall mean the preferred form for making modifications,
|
| 59 |
+
including but not limited to software source code, documentation
|
| 60 |
+
source, and configuration files.
|
| 61 |
+
|
| 62 |
+
"Object" form shall mean any form resulting from mechanical
|
| 63 |
+
transformation or translation of a Source form, including but
|
| 64 |
+
not limited to compiled object code, generated documentation,
|
| 65 |
+
and conversions to other media types.
|
| 66 |
+
|
| 67 |
+
"Work" shall mean the work of authorship, whether in Source or
|
| 68 |
+
Object form, made available under the License, as indicated by a
|
| 69 |
+
copyright notice that is included in or attached to the work
|
| 70 |
+
(an example is provided in the Appendix below).
|
| 71 |
+
|
| 72 |
+
"Derivative Works" shall mean any work, whether in Source or Object
|
| 73 |
+
form, that is based on (or derived from) the Work and for which the
|
| 74 |
+
editorial revisions, annotations, elaborations, or other modifications
|
| 75 |
+
represent, as a whole, an original work of authorship. For the purposes
|
| 76 |
+
of this License, Derivative Works shall not include works that remain
|
| 77 |
+
separable from, or merely link (or bind by name) to the interfaces of,
|
| 78 |
+
the Work and Derivative Works thereof.
|
| 79 |
+
|
| 80 |
+
"Contribution" shall mean any work of authorship, including
|
| 81 |
+
the original version of the Work and any modifications or additions
|
| 82 |
+
to that Work or Derivative Works thereof, that is intentionally
|
| 83 |
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
| 84 |
+
or by an individual or Legal Entity authorized to submit on behalf of
|
| 85 |
+
the copyright owner. For the purposes of this definition, "submitted"
|
| 86 |
+
means any form of electronic, verbal, or written communication sent
|
| 87 |
+
to the Licensor or its representatives, including but not limited to
|
| 88 |
+
communication on electronic mailing lists, source code control systems,
|
| 89 |
+
and issue tracking systems that are managed by, or on behalf of, the
|
| 90 |
+
Licensor for the purpose of discussing and improving the Work, but
|
| 91 |
+
excluding communication that is conspicuously marked or otherwise
|
| 92 |
+
designated in writing by the copyright owner as "Not a Contribution."
|
| 93 |
+
|
| 94 |
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
| 95 |
+
on behalf of whom a Contribution has been received by Licensor and
|
| 96 |
+
subsequently incorporated within the Work.
|
| 97 |
+
|
| 98 |
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
| 99 |
+
this License, each Contributor hereby grants to You a perpetual,
|
| 100 |
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
| 101 |
+
copyright license to reproduce, prepare Derivative Works of,
|
| 102 |
+
publicly display, publicly perform, sublicense, and distribute the
|
| 103 |
+
Work and such Derivative Works in Source or Object form.
|
| 104 |
+
|
| 105 |
+
3. Grant of Patent License. Subject to the terms and conditions of
|
| 106 |
+
this License, each Contributor hereby grants to You a perpetual,
|
| 107 |
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
| 108 |
+
(except as stated in this section) patent license to make, have made,
|
| 109 |
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
| 110 |
+
where such license applies only to those patent claims licensable
|
| 111 |
+
by such Contributor that are necessarily infringed by their
|
| 112 |
+
Contribution(s) alone or by combination of their Contribution(s)
|
| 113 |
+
with the Work to which such Contribution(s) was submitted. If You
|
| 114 |
+
institute patent litigation against any entity (including a
|
| 115 |
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
| 116 |
+
or a Contribution incorporated within the Work constitutes direct
|
| 117 |
+
or contributory patent infringement, then any patent licenses
|
| 118 |
+
granted to You under this License for that Work shall terminate
|
| 119 |
+
as of the date such litigation is filed.
|
| 120 |
+
|
| 121 |
+
4. Redistribution. You may reproduce and distribute copies of the
|
| 122 |
+
Work or Derivative Works thereof in any medium, with or without
|
| 123 |
+
modifications, and in Source or Object form, provided that You
|
| 124 |
+
meet the following conditions:
|
| 125 |
+
|
| 126 |
+
(a) You must give any other recipients of the Work or
|
| 127 |
+
Derivative Works a copy of this License; and
|
| 128 |
+
|
| 129 |
+
(b) You must cause any modified files to carry prominent notices
|
| 130 |
+
stating that You changed the files; and
|
| 131 |
+
|
| 132 |
+
(c) You must retain, in the Source form of any Derivative Works
|
| 133 |
+
that You distribute, all copyright, patent, trademark, and
|
| 134 |
+
attribution notices from the Source form of the Work,
|
| 135 |
+
excluding those notices that do not pertain to any part of
|
| 136 |
+
the Derivative Works; and
|
| 137 |
+
|
| 138 |
+
(d) If the Work includes a "NOTICE" text file as part of its
|
| 139 |
+
distribution, then any Derivative Works that You distribute must
|
| 140 |
+
include a readable copy of the attribution notices contained
|
| 141 |
+
within such NOTICE file, excluding those notices that do not
|
| 142 |
+
pertain to any part of the Derivative Works, in at least one
|
| 143 |
+
of the following places: within a NOTICE text file distributed
|
| 144 |
+
as part of the Derivative Works; within the Source form or
|
| 145 |
+
documentation, if provided along with the Derivative Works; or,
|
| 146 |
+
within a display generated by the Derivative Works, if and
|
| 147 |
+
wherever such third-party notices normally appear. The contents
|
| 148 |
+
of the NOTICE file are for informational purposes only and
|
| 149 |
+
do not modify the License. You may add Your own attribution
|
| 150 |
+
notices within Derivative Works that You distribute, alongside
|
| 151 |
+
or as an addendum to the NOTICE text from the Work, provided
|
| 152 |
+
that such additional attribution notices cannot be construed
|
| 153 |
+
as modifying the License.
|
| 154 |
+
|
| 155 |
+
You may add Your own copyright statement to Your modifications and
|
| 156 |
+
may provide additional or different license terms and conditions
|
| 157 |
+
for use, reproduction, or distribution of Your modifications, or
|
| 158 |
+
for any such Derivative Works as a whole, provided Your use,
|
| 159 |
+
reproduction, and distribution of the Work otherwise complies with
|
| 160 |
+
the conditions stated in this License.
|
| 161 |
+
|
| 162 |
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
| 163 |
+
any Contribution intentionally submitted for inclusion in the Work
|
| 164 |
+
by You to the Licensor shall be under the terms and conditions of
|
| 165 |
+
this License, without any additional terms or conditions.
|
| 166 |
+
Notwithstanding the above, nothing herein shall supersede or modify
|
| 167 |
+
the terms of any separate license agreement you may have executed
|
| 168 |
+
with Licensor regarding such Contributions.
|
| 169 |
+
|
| 170 |
+
6. Trademarks. This License does not grant permission to use the trade
|
| 171 |
+
names, trademarks, service marks, or product names of the Licensor,
|
| 172 |
+
except as required for reasonable and customary use in describing the
|
| 173 |
+
origin of the Work and reproducing the content of the NOTICE file.
|
| 174 |
+
|
| 175 |
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
| 176 |
+
agreed to in writing, Licensor provides the Work (and each
|
| 177 |
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
| 178 |
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
| 179 |
+
implied, including, without limitation, any warranties or conditions
|
| 180 |
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
| 181 |
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
| 182 |
+
appropriateness of using or redistributing the Work and assume any
|
| 183 |
+
risks associated with Your exercise of permissions under this License.
|
| 184 |
+
|
| 185 |
+
8. Limitation of Liability. In no event and under no legal theory,
|
| 186 |
+
whether in tort (including negligence), contract, or otherwise,
|
| 187 |
+
unless required by applicable law (such as deliberate and grossly
|
| 188 |
+
negligent acts) or agreed to in writing, shall any Contributor be
|
| 189 |
+
liable to You for damages, including any direct, indirect, special,
|
| 190 |
+
incidental, or consequential damages of any character arising as a
|
| 191 |
+
result of this License or out of the use or inability to use the
|
| 192 |
+
Work (including but not limited to damages for loss of goodwill,
|
| 193 |
+
work stoppage, computer failure or malfunction, or any and all
|
| 194 |
+
other commercial damages or losses), even if such Contributor
|
| 195 |
+
has been advised of the possibility of such damages.
|
| 196 |
+
|
| 197 |
+
9. Accepting Warranty or Additional Liability. While redistributing
|
| 198 |
+
the Work or Derivative Works thereof, You may choose to offer,
|
| 199 |
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
| 200 |
+
or other liability obligations and/or rights consistent with this
|
| 201 |
+
License. However, in accepting such obligations, You may act only
|
| 202 |
+
on Your own behalf and on Your sole responsibility, not on behalf
|
| 203 |
+
of any other Contributor, and only if You agree to indemnify,
|
| 204 |
+
defend, and hold each Contributor harmless for any liability
|
| 205 |
+
incurred by, or claims asserted against, such Contributor by reason
|
| 206 |
+
of your accepting any such warranty or additional liability.
|
| 207 |
+
|
| 208 |
+
END OF TERMS AND CONDITIONS
|
| 209 |
+
|
| 210 |
+
APPENDIX: How to apply the Apache License to your work.
|
| 211 |
+
|
| 212 |
+
To apply the Apache License to your work, attach the following
|
| 213 |
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
| 214 |
+
replaced with your own identifying information. (Don't include
|
| 215 |
+
the brackets!) The text should be enclosed in the appropriate
|
| 216 |
+
comment syntax for the file format. We also recommend that a
|
| 217 |
+
file or class name and description of purpose be included on the
|
| 218 |
+
same "printed page" as the copyright notice for easier
|
| 219 |
+
identification within third-party archives.
|
| 220 |
+
|
| 221 |
+
Copyright [yyyy] [name of copyright owner]
|
| 222 |
+
|
| 223 |
+
Licensed under the Apache License, Version 2.0 (the "License");
|
| 224 |
+
you may not use this file except in compliance with the License.
|
| 225 |
+
You may obtain a copy of the License at
|
| 226 |
+
|
| 227 |
+
http://www.apache.org/licenses/LICENSE-2.0
|
| 228 |
+
|
| 229 |
+
Unless required by applicable law or agreed to in writing, software
|
| 230 |
+
distributed under the License is distributed on an "AS IS" BASIS,
|
| 231 |
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
| 232 |
+
See the License for the specific language governing permissions and
|
| 233 |
+
limitations under the License.
|
paddleocr/PP-LCNet_x1_0_table_cls/PP-LCNet_x1_0_table_cls.mnn
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# RT-DETR-L_wired_table_cell_det (MNN) - License
|
| 2 |
+
|
| 3 |
+
Table cell detection for tables with ruling lines.
|
| 4 |
+
|
| 5 |
+
## Files
|
| 6 |
+
|
| 7 |
+
- `RT-DETR-L_wired_table_cell_det.mnn`
|
| 8 |
+
|
| 9 |
+
## Upstream source
|
| 10 |
+
|
| 11 |
+
Copyright (c) PaddlePaddle Authors. All Rights Reserved.
|
| 12 |
+
|
| 13 |
+
- https://huggingface.co/PaddlePaddle/RT-DETR-L_wired_table_cell_det_onnx
|
| 14 |
+
- https://huggingface.co/PaddlePaddle/RT-DETR-L_wired_table_cell_det
|
| 15 |
+
|
| 16 |
+
The upstream model is released under the **Apache License, Version 2.0**, which permits
|
| 17 |
+
commercial use, modification and redistribution under its terms.
|
| 18 |
+
|
| 19 |
+
## Modifications (Apache-2.0 Section 4(b) notice)
|
| 20 |
+
|
| 21 |
+
The files in this folder are modified, converted versions of the upstream model:
|
| 22 |
+
|
| 23 |
+
Converted from ONNX to MNN with `mnnconvert` (MNN 3.4.1, `--fp16` weight storage).
|
| 24 |
+
|
| 25 |
+
No retraining or fine-tuning was performed; the weights are the upstream weights
|
| 26 |
+
(stored in float16 where converted with `--fp16`).
|
| 27 |
+
|
| 28 |
+
These converted files remain under the Apache License, Version 2.0. The full license
|
| 29 |
+
text follows.
|
| 30 |
+
|
| 31 |
+
---
|
| 32 |
+
|
| 33 |
+
Apache License
|
| 34 |
+
Version 2.0, January 2004
|
| 35 |
+
http://www.apache.org/licenses/
|
| 36 |
+
|
| 37 |
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
| 38 |
+
|
| 39 |
+
1. Definitions.
|
| 40 |
+
|
| 41 |
+
"License" shall mean the terms and conditions for use, reproduction,
|
| 42 |
+
and distribution as defined by Sections 1 through 9 of this document.
|
| 43 |
+
|
| 44 |
+
"Licensor" shall mean the copyright owner or entity authorized by
|
| 45 |
+
the copyright owner that is granting the License.
|
| 46 |
+
|
| 47 |
+
"Legal Entity" shall mean the union of the acting entity and all
|
| 48 |
+
other entities that control, are controlled by, or are under common
|
| 49 |
+
control with that entity. For the purposes of this definition,
|
| 50 |
+
"control" means (i) the power, direct or indirect, to cause the
|
| 51 |
+
direction or management of such entity, whether by contract or
|
| 52 |
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
| 53 |
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
| 54 |
+
|
| 55 |
+
"You" (or "Your") shall mean an individual or Legal Entity
|
| 56 |
+
exercising permissions granted by this License.
|
| 57 |
+
|
| 58 |
+
"Source" form shall mean the preferred form for making modifications,
|
| 59 |
+
including but not limited to software source code, documentation
|
| 60 |
+
source, and configuration files.
|
| 61 |
+
|
| 62 |
+
"Object" form shall mean any form resulting from mechanical
|
| 63 |
+
transformation or translation of a Source form, including but
|
| 64 |
+
not limited to compiled object code, generated documentation,
|
| 65 |
+
and conversions to other media types.
|
| 66 |
+
|
| 67 |
+
"Work" shall mean the work of authorship, whether in Source or
|
| 68 |
+
Object form, made available under the License, as indicated by a
|
| 69 |
+
copyright notice that is included in or attached to the work
|
| 70 |
+
(an example is provided in the Appendix below).
|
| 71 |
+
|
| 72 |
+
"Derivative Works" shall mean any work, whether in Source or Object
|
| 73 |
+
form, that is based on (or derived from) the Work and for which the
|
| 74 |
+
editorial revisions, annotations, elaborations, or other modifications
|
| 75 |
+
represent, as a whole, an original work of authorship. For the purposes
|
| 76 |
+
of this License, Derivative Works shall not include works that remain
|
| 77 |
+
separable from, or merely link (or bind by name) to the interfaces of,
|
| 78 |
+
the Work and Derivative Works thereof.
|
| 79 |
+
|
| 80 |
+
"Contribution" shall mean any work of authorship, including
|
| 81 |
+
the original version of the Work and any modifications or additions
|
| 82 |
+
to that Work or Derivative Works thereof, that is intentionally
|
| 83 |
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
| 84 |
+
or by an individual or Legal Entity authorized to submit on behalf of
|
| 85 |
+
the copyright owner. For the purposes of this definition, "submitted"
|
| 86 |
+
means any form of electronic, verbal, or written communication sent
|
| 87 |
+
to the Licensor or its representatives, including but not limited to
|
| 88 |
+
communication on electronic mailing lists, source code control systems,
|
| 89 |
+
and issue tracking systems that are managed by, or on behalf of, the
|
| 90 |
+
Licensor for the purpose of discussing and improving the Work, but
|
| 91 |
+
excluding communication that is conspicuously marked or otherwise
|
| 92 |
+
designated in writing by the copyright owner as "Not a Contribution."
|
| 93 |
+
|
| 94 |
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
| 95 |
+
on behalf of whom a Contribution has been received by Licensor and
|
| 96 |
+
subsequently incorporated within the Work.
|
| 97 |
+
|
| 98 |
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
| 99 |
+
this License, each Contributor hereby grants to You a perpetual,
|
| 100 |
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
| 101 |
+
copyright license to reproduce, prepare Derivative Works of,
|
| 102 |
+
publicly display, publicly perform, sublicense, and distribute the
|
| 103 |
+
Work and such Derivative Works in Source or Object form.
|
| 104 |
+
|
| 105 |
+
3. Grant of Patent License. Subject to the terms and conditions of
|
| 106 |
+
this License, each Contributor hereby grants to You a perpetual,
|
| 107 |
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
| 108 |
+
(except as stated in this section) patent license to make, have made,
|
| 109 |
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
| 110 |
+
where such license applies only to those patent claims licensable
|
| 111 |
+
by such Contributor that are necessarily infringed by their
|
| 112 |
+
Contribution(s) alone or by combination of their Contribution(s)
|
| 113 |
+
with the Work to which such Contribution(s) was submitted. If You
|
| 114 |
+
institute patent litigation against any entity (including a
|
| 115 |
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
| 116 |
+
or a Contribution incorporated within the Work constitutes direct
|
| 117 |
+
or contributory patent infringement, then any patent licenses
|
| 118 |
+
granted to You under this License for that Work shall terminate
|
| 119 |
+
as of the date such litigation is filed.
|
| 120 |
+
|
| 121 |
+
4. Redistribution. You may reproduce and distribute copies of the
|
| 122 |
+
Work or Derivative Works thereof in any medium, with or without
|
| 123 |
+
modifications, and in Source or Object form, provided that You
|
| 124 |
+
meet the following conditions:
|
| 125 |
+
|
| 126 |
+
(a) You must give any other recipients of the Work or
|
| 127 |
+
Derivative Works a copy of this License; and
|
| 128 |
+
|
| 129 |
+
(b) You must cause any modified files to carry prominent notices
|
| 130 |
+
stating that You changed the files; and
|
| 131 |
+
|
| 132 |
+
(c) You must retain, in the Source form of any Derivative Works
|
| 133 |
+
that You distribute, all copyright, patent, trademark, and
|
| 134 |
+
attribution notices from the Source form of the Work,
|
| 135 |
+
excluding those notices that do not pertain to any part of
|
| 136 |
+
the Derivative Works; and
|
| 137 |
+
|
| 138 |
+
(d) If the Work includes a "NOTICE" text file as part of its
|
| 139 |
+
distribution, then any Derivative Works that You distribute must
|
| 140 |
+
include a readable copy of the attribution notices contained
|
| 141 |
+
within such NOTICE file, excluding those notices that do not
|
| 142 |
+
pertain to any part of the Derivative Works, in at least one
|
| 143 |
+
of the following places: within a NOTICE text file distributed
|
| 144 |
+
as part of the Derivative Works; within the Source form or
|
| 145 |
+
documentation, if provided along with the Derivative Works; or,
|
| 146 |
+
within a display generated by the Derivative Works, if and
|
| 147 |
+
wherever such third-party notices normally appear. The contents
|
| 148 |
+
of the NOTICE file are for informational purposes only and
|
| 149 |
+
do not modify the License. You may add Your own attribution
|
| 150 |
+
notices within Derivative Works that You distribute, alongside
|
| 151 |
+
or as an addendum to the NOTICE text from the Work, provided
|
| 152 |
+
that such additional attribution notices cannot be construed
|
| 153 |
+
as modifying the License.
|
| 154 |
+
|
| 155 |
+
You may add Your own copyright statement to Your modifications and
|
| 156 |
+
may provide additional or different license terms and conditions
|
| 157 |
+
for use, reproduction, or distribution of Your modifications, or
|
| 158 |
+
for any such Derivative Works as a whole, provided Your use,
|
| 159 |
+
reproduction, and distribution of the Work otherwise complies with
|
| 160 |
+
the conditions stated in this License.
|
| 161 |
+
|
| 162 |
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
| 163 |
+
any Contribution intentionally submitted for inclusion in the Work
|
| 164 |
+
by You to the Licensor shall be under the terms and conditions of
|
| 165 |
+
this License, without any additional terms or conditions.
|
| 166 |
+
Notwithstanding the above, nothing herein shall supersede or modify
|
| 167 |
+
the terms of any separate license agreement you may have executed
|
| 168 |
+
with Licensor regarding such Contributions.
|
| 169 |
+
|
| 170 |
+
6. Trademarks. This License does not grant permission to use the trade
|
| 171 |
+
names, trademarks, service marks, or product names of the Licensor,
|
| 172 |
+
except as required for reasonable and customary use in describing the
|
| 173 |
+
origin of the Work and reproducing the content of the NOTICE file.
|
| 174 |
+
|
| 175 |
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
| 176 |
+
agreed to in writing, Licensor provides the Work (and each
|
| 177 |
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
| 178 |
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
| 179 |
+
implied, including, without limitation, any warranties or conditions
|
| 180 |
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
| 181 |
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
| 182 |
+
appropriateness of using or redistributing the Work and assume any
|
| 183 |
+
risks associated with Your exercise of permissions under this License.
|
| 184 |
+
|
| 185 |
+
8. Limitation of Liability. In no event and under no legal theory,
|
| 186 |
+
whether in tort (including negligence), contract, or otherwise,
|
| 187 |
+
unless required by applicable law (such as deliberate and grossly
|
| 188 |
+
negligent acts) or agreed to in writing, shall any Contributor be
|
| 189 |
+
liable to You for damages, including any direct, indirect, special,
|
| 190 |
+
incidental, or consequential damages of any character arising as a
|
| 191 |
+
result of this License or out of the use or inability to use the
|
| 192 |
+
Work (including but not limited to damages for loss of goodwill,
|
| 193 |
+
work stoppage, computer failure or malfunction, or any and all
|
| 194 |
+
other commercial damages or losses), even if such Contributor
|
| 195 |
+
has been advised of the possibility of such damages.
|
| 196 |
+
|
| 197 |
+
9. Accepting Warranty or Additional Liability. While redistributing
|
| 198 |
+
the Work or Derivative Works thereof, You may choose to offer,
|
| 199 |
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
| 200 |
+
or other liability obligations and/or rights consistent with this
|
| 201 |
+
License. However, in accepting such obligations, You may act only
|
| 202 |
+
on Your own behalf and on Your sole responsibility, not on behalf
|
| 203 |
+
of any other Contributor, and only if You agree to indemnify,
|
| 204 |
+
defend, and hold each Contributor harmless for any liability
|
| 205 |
+
incurred by, or claims asserted against, such Contributor by reason
|
| 206 |
+
of your accepting any such warranty or additional liability.
|
| 207 |
+
|
| 208 |
+
END OF TERMS AND CONDITIONS
|
| 209 |
+
|
| 210 |
+
APPENDIX: How to apply the Apache License to your work.
|
| 211 |
+
|
| 212 |
+
To apply the Apache License to your work, attach the following
|
| 213 |
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
| 214 |
+
replaced with your own identifying information. (Don't include
|
| 215 |
+
the brackets!) The text should be enclosed in the appropriate
|
| 216 |
+
comment syntax for the file format. We also recommend that a
|
| 217 |
+
file or class name and description of purpose be included on the
|
| 218 |
+
same "printed page" as the copyright notice for easier
|
| 219 |
+
identification within third-party archives.
|
| 220 |
+
|
| 221 |
+
Copyright [yyyy] [name of copyright owner]
|
| 222 |
+
|
| 223 |
+
Licensed under the Apache License, Version 2.0 (the "License");
|
| 224 |
+
you may not use this file except in compliance with the License.
|
| 225 |
+
You may obtain a copy of the License at
|
| 226 |
+
|
| 227 |
+
http://www.apache.org/licenses/LICENSE-2.0
|
| 228 |
+
|
| 229 |
+
Unless required by applicable law or agreed to in writing, software
|
| 230 |
+
distributed under the License is distributed on an "AS IS" BASIS,
|
| 231 |
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
| 232 |
+
See the License for the specific language governing permissions and
|
| 233 |
+
limitations under the License.
|
paddleocr/RT-DETR-L_wired_table_cell_det/RT-DETR-L_wired_table_cell_det.mnn
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:730fb4baac958cbffb8d9c9508882db2cbfdde1f446a76efe33b1b5d312adcf9
|
| 3 |
+
size 64686032
|
paddleocr/RT-DETR-L_wireless_table_cell_det/LICENSE.md
ADDED
|
@@ -0,0 +1,233 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# RT-DETR-L_wireless_table_cell_det (MNN) - License
|
| 2 |
+
|
| 3 |
+
Table cell detection for tables without ruling lines.
|
| 4 |
+
|
| 5 |
+
## Files
|
| 6 |
+
|
| 7 |
+
- `RT-DETR-L_wireless_table_cell_det.mnn`
|
| 8 |
+
|
| 9 |
+
## Upstream source
|
| 10 |
+
|
| 11 |
+
Copyright (c) PaddlePaddle Authors. All Rights Reserved.
|
| 12 |
+
|
| 13 |
+
- https://huggingface.co/PaddlePaddle/RT-DETR-L_wireless_table_cell_det_onnx
|
| 14 |
+
- https://huggingface.co/PaddlePaddle/RT-DETR-L_wireless_table_cell_det
|
| 15 |
+
|
| 16 |
+
The upstream model is released under the **Apache License, Version 2.0**, which permits
|
| 17 |
+
commercial use, modification and redistribution under its terms.
|
| 18 |
+
|
| 19 |
+
## Modifications (Apache-2.0 Section 4(b) notice)
|
| 20 |
+
|
| 21 |
+
The files in this folder are modified, converted versions of the upstream model:
|
| 22 |
+
|
| 23 |
+
Converted from ONNX to MNN with `mnnconvert` (MNN 3.4.1, `--fp16` weight storage).
|
| 24 |
+
|
| 25 |
+
No retraining or fine-tuning was performed; the weights are the upstream weights
|
| 26 |
+
(stored in float16 where converted with `--fp16`).
|
| 27 |
+
|
| 28 |
+
These converted files remain under the Apache License, Version 2.0. The full license
|
| 29 |
+
text follows.
|
| 30 |
+
|
| 31 |
+
---
|
| 32 |
+
|
| 33 |
+
Apache License
|
| 34 |
+
Version 2.0, January 2004
|
| 35 |
+
http://www.apache.org/licenses/
|
| 36 |
+
|
| 37 |
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
| 38 |
+
|
| 39 |
+
1. Definitions.
|
| 40 |
+
|
| 41 |
+
"License" shall mean the terms and conditions for use, reproduction,
|
| 42 |
+
and distribution as defined by Sections 1 through 9 of this document.
|
| 43 |
+
|
| 44 |
+
"Licensor" shall mean the copyright owner or entity authorized by
|
| 45 |
+
the copyright owner that is granting the License.
|
| 46 |
+
|
| 47 |
+
"Legal Entity" shall mean the union of the acting entity and all
|
| 48 |
+
other entities that control, are controlled by, or are under common
|
| 49 |
+
control with that entity. For the purposes of this definition,
|
| 50 |
+
"control" means (i) the power, direct or indirect, to cause the
|
| 51 |
+
direction or management of such entity, whether by contract or
|
| 52 |
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
| 53 |
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
| 54 |
+
|
| 55 |
+
"You" (or "Your") shall mean an individual or Legal Entity
|
| 56 |
+
exercising permissions granted by this License.
|
| 57 |
+
|
| 58 |
+
"Source" form shall mean the preferred form for making modifications,
|
| 59 |
+
including but not limited to software source code, documentation
|
| 60 |
+
source, and configuration files.
|
| 61 |
+
|
| 62 |
+
"Object" form shall mean any form resulting from mechanical
|
| 63 |
+
transformation or translation of a Source form, including but
|
| 64 |
+
not limited to compiled object code, generated documentation,
|
| 65 |
+
and conversions to other media types.
|
| 66 |
+
|
| 67 |
+
"Work" shall mean the work of authorship, whether in Source or
|
| 68 |
+
Object form, made available under the License, as indicated by a
|
| 69 |
+
copyright notice that is included in or attached to the work
|
| 70 |
+
(an example is provided in the Appendix below).
|
| 71 |
+
|
| 72 |
+
"Derivative Works" shall mean any work, whether in Source or Object
|
| 73 |
+
form, that is based on (or derived from) the Work and for which the
|
| 74 |
+
editorial revisions, annotations, elaborations, or other modifications
|
| 75 |
+
represent, as a whole, an original work of authorship. For the purposes
|
| 76 |
+
of this License, Derivative Works shall not include works that remain
|
| 77 |
+
separable from, or merely link (or bind by name) to the interfaces of,
|
| 78 |
+
the Work and Derivative Works thereof.
|
| 79 |
+
|
| 80 |
+
"Contribution" shall mean any work of authorship, including
|
| 81 |
+
the original version of the Work and any modifications or additions
|
| 82 |
+
to that Work or Derivative Works thereof, that is intentionally
|
| 83 |
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
| 84 |
+
or by an individual or Legal Entity authorized to submit on behalf of
|
| 85 |
+
the copyright owner. For the purposes of this definition, "submitted"
|
| 86 |
+
means any form of electronic, verbal, or written communication sent
|
| 87 |
+
to the Licensor or its representatives, including but not limited to
|
| 88 |
+
communication on electronic mailing lists, source code control systems,
|
| 89 |
+
and issue tracking systems that are managed by, or on behalf of, the
|
| 90 |
+
Licensor for the purpose of discussing and improving the Work, but
|
| 91 |
+
excluding communication that is conspicuously marked or otherwise
|
| 92 |
+
designated in writing by the copyright owner as "Not a Contribution."
|
| 93 |
+
|
| 94 |
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
| 95 |
+
on behalf of whom a Contribution has been received by Licensor and
|
| 96 |
+
subsequently incorporated within the Work.
|
| 97 |
+
|
| 98 |
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
| 99 |
+
this License, each Contributor hereby grants to You a perpetual,
|
| 100 |
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
| 101 |
+
copyright license to reproduce, prepare Derivative Works of,
|
| 102 |
+
publicly display, publicly perform, sublicense, and distribute the
|
| 103 |
+
Work and such Derivative Works in Source or Object form.
|
| 104 |
+
|
| 105 |
+
3. Grant of Patent License. Subject to the terms and conditions of
|
| 106 |
+
this License, each Contributor hereby grants to You a perpetual,
|
| 107 |
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
| 108 |
+
(except as stated in this section) patent license to make, have made,
|
| 109 |
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
| 110 |
+
where such license applies only to those patent claims licensable
|
| 111 |
+
by such Contributor that are necessarily infringed by their
|
| 112 |
+
Contribution(s) alone or by combination of their Contribution(s)
|
| 113 |
+
with the Work to which such Contribution(s) was submitted. If You
|
| 114 |
+
institute patent litigation against any entity (including a
|
| 115 |
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
| 116 |
+
or a Contribution incorporated within the Work constitutes direct
|
| 117 |
+
or contributory patent infringement, then any patent licenses
|
| 118 |
+
granted to You under this License for that Work shall terminate
|
| 119 |
+
as of the date such litigation is filed.
|
| 120 |
+
|
| 121 |
+
4. Redistribution. You may reproduce and distribute copies of the
|
| 122 |
+
Work or Derivative Works thereof in any medium, with or without
|
| 123 |
+
modifications, and in Source or Object form, provided that You
|
| 124 |
+
meet the following conditions:
|
| 125 |
+
|
| 126 |
+
(a) You must give any other recipients of the Work or
|
| 127 |
+
Derivative Works a copy of this License; and
|
| 128 |
+
|
| 129 |
+
(b) You must cause any modified files to carry prominent notices
|
| 130 |
+
stating that You changed the files; and
|
| 131 |
+
|
| 132 |
+
(c) You must retain, in the Source form of any Derivative Works
|
| 133 |
+
that You distribute, all copyright, patent, trademark, and
|
| 134 |
+
attribution notices from the Source form of the Work,
|
| 135 |
+
excluding those notices that do not pertain to any part of
|
| 136 |
+
the Derivative Works; and
|
| 137 |
+
|
| 138 |
+
(d) If the Work includes a "NOTICE" text file as part of its
|
| 139 |
+
distribution, then any Derivative Works that You distribute must
|
| 140 |
+
include a readable copy of the attribution notices contained
|
| 141 |
+
within such NOTICE file, excluding those notices that do not
|
| 142 |
+
pertain to any part of the Derivative Works, in at least one
|
| 143 |
+
of the following places: within a NOTICE text file distributed
|
| 144 |
+
as part of the Derivative Works; within the Source form or
|
| 145 |
+
documentation, if provided along with the Derivative Works; or,
|
| 146 |
+
within a display generated by the Derivative Works, if and
|
| 147 |
+
wherever such third-party notices normally appear. The contents
|
| 148 |
+
of the NOTICE file are for informational purposes only and
|
| 149 |
+
do not modify the License. You may add Your own attribution
|
| 150 |
+
notices within Derivative Works that You distribute, alongside
|
| 151 |
+
or as an addendum to the NOTICE text from the Work, provided
|
| 152 |
+
that such additional attribution notices cannot be construed
|
| 153 |
+
as modifying the License.
|
| 154 |
+
|
| 155 |
+
You may add Your own copyright statement to Your modifications and
|
| 156 |
+
may provide additional or different license terms and conditions
|
| 157 |
+
for use, reproduction, or distribution of Your modifications, or
|
| 158 |
+
for any such Derivative Works as a whole, provided Your use,
|
| 159 |
+
reproduction, and distribution of the Work otherwise complies with
|
| 160 |
+
the conditions stated in this License.
|
| 161 |
+
|
| 162 |
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
| 163 |
+
any Contribution intentionally submitted for inclusion in the Work
|
| 164 |
+
by You to the Licensor shall be under the terms and conditions of
|
| 165 |
+
this License, without any additional terms or conditions.
|
| 166 |
+
Notwithstanding the above, nothing herein shall supersede or modify
|
| 167 |
+
the terms of any separate license agreement you may have executed
|
| 168 |
+
with Licensor regarding such Contributions.
|
| 169 |
+
|
| 170 |
+
6. Trademarks. This License does not grant permission to use the trade
|
| 171 |
+
names, trademarks, service marks, or product names of the Licensor,
|
| 172 |
+
except as required for reasonable and customary use in describing the
|
| 173 |
+
origin of the Work and reproducing the content of the NOTICE file.
|
| 174 |
+
|
| 175 |
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
| 176 |
+
agreed to in writing, Licensor provides the Work (and each
|
| 177 |
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
| 178 |
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
| 179 |
+
implied, including, without limitation, any warranties or conditions
|
| 180 |
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
| 181 |
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
| 182 |
+
appropriateness of using or redistributing the Work and assume any
|
| 183 |
+
risks associated with Your exercise of permissions under this License.
|
| 184 |
+
|
| 185 |
+
8. Limitation of Liability. In no event and under no legal theory,
|
| 186 |
+
whether in tort (including negligence), contract, or otherwise,
|
| 187 |
+
unless required by applicable law (such as deliberate and grossly
|
| 188 |
+
negligent acts) or agreed to in writing, shall any Contributor be
|
| 189 |
+
liable to You for damages, including any direct, indirect, special,
|
| 190 |
+
incidental, or consequential damages of any character arising as a
|
| 191 |
+
result of this License or out of the use or inability to use the
|
| 192 |
+
Work (including but not limited to damages for loss of goodwill,
|
| 193 |
+
work stoppage, computer failure or malfunction, or any and all
|
| 194 |
+
other commercial damages or losses), even if such Contributor
|
| 195 |
+
has been advised of the possibility of such damages.
|
| 196 |
+
|
| 197 |
+
9. Accepting Warranty or Additional Liability. While redistributing
|
| 198 |
+
the Work or Derivative Works thereof, You may choose to offer,
|
| 199 |
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
| 200 |
+
or other liability obligations and/or rights consistent with this
|
| 201 |
+
License. However, in accepting such obligations, You may act only
|
| 202 |
+
on Your own behalf and on Your sole responsibility, not on behalf
|
| 203 |
+
of any other Contributor, and only if You agree to indemnify,
|
| 204 |
+
defend, and hold each Contributor harmless for any liability
|
| 205 |
+
incurred by, or claims asserted against, such Contributor by reason
|
| 206 |
+
of your accepting any such warranty or additional liability.
|
| 207 |
+
|
| 208 |
+
END OF TERMS AND CONDITIONS
|
| 209 |
+
|
| 210 |
+
APPENDIX: How to apply the Apache License to your work.
|
| 211 |
+
|
| 212 |
+
To apply the Apache License to your work, attach the following
|
| 213 |
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
| 214 |
+
replaced with your own identifying information. (Don't include
|
| 215 |
+
the brackets!) The text should be enclosed in the appropriate
|
| 216 |
+
comment syntax for the file format. We also recommend that a
|
| 217 |
+
file or class name and description of purpose be included on the
|
| 218 |
+
same "printed page" as the copyright notice for easier
|
| 219 |
+
identification within third-party archives.
|
| 220 |
+
|
| 221 |
+
Copyright [yyyy] [name of copyright owner]
|
| 222 |
+
|
| 223 |
+
Licensed under the Apache License, Version 2.0 (the "License");
|
| 224 |
+
you may not use this file except in compliance with the License.
|
| 225 |
+
You may obtain a copy of the License at
|
| 226 |
+
|
| 227 |
+
http://www.apache.org/licenses/LICENSE-2.0
|
| 228 |
+
|
| 229 |
+
Unless required by applicable law or agreed to in writing, software
|
| 230 |
+
distributed under the License is distributed on an "AS IS" BASIS,
|
| 231 |
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
| 232 |
+
See the License for the specific language governing permissions and
|
| 233 |
+
limitations under the License.
|
paddleocr/RT-DETR-L_wireless_table_cell_det/R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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# SLANet_plus (MNN) - License
|
| 2 |
+
|
| 3 |
+
Table structure recognition (HTML tokens and cell boxes).
|
| 4 |
+
|
| 5 |
+
## Files
|
| 6 |
+
|
| 7 |
+
- `SLANet_plus_encoder.mnn`
|
| 8 |
+
- `SLANet_plus_step.mnn`
|
| 9 |
+
|
| 10 |
+
## Upstream source
|
| 11 |
+
|
| 12 |
+
Copyright (c) PaddlePaddle Authors. All Rights Reserved.
|
| 13 |
+
|
| 14 |
+
- https://huggingface.co/PaddlePaddle/SLANet_plus_onnx
|
| 15 |
+
- https://huggingface.co/PaddlePaddle/SLANet_plus
|
| 16 |
+
|
| 17 |
+
The upstream model is released under the **Apache License, Version 2.0**, which permits
|
| 18 |
+
commercial use, modification and redistribution under its terms.
|
| 19 |
+
|
| 20 |
+
## Modifications (Apache-2.0 Section 4(b) notice)
|
| 21 |
+
|
| 22 |
+
The files in this folder are modified, converted versions of the upstream model:
|
| 23 |
+
|
| 24 |
+
The official ONNX graph was split into an encoder graph and a single decode-step graph extracted from its `Loop` body (the decode loop runs in application code). In the step graph, `OneHot` was replaced by an equivalent `Equal`/`Cast` construction and one `Squeeze` by an equivalent `Reshape`. Both graphs were then converted from ONNX to MNN with `mnnconvert` (MNN 3.4.1, `--fp16` weight storage).
|
| 25 |
+
|
| 26 |
+
No retraining or fine-tuning was performed; the weights are the upstream weights
|
| 27 |
+
(stored in float16 where converted with `--fp16`).
|
| 28 |
+
|
| 29 |
+
These converted files remain under the Apache License, Version 2.0. The full license
|
| 30 |
+
text follows.
|
| 31 |
+
|
| 32 |
+
---
|
| 33 |
+
|
| 34 |
+
Apache License
|
| 35 |
+
Version 2.0, January 2004
|
| 36 |
+
http://www.apache.org/licenses/
|
| 37 |
+
|
| 38 |
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
| 39 |
+
|
| 40 |
+
1. Definitions.
|
| 41 |
+
|
| 42 |
+
"License" shall mean the terms and conditions for use, reproduction,
|
| 43 |
+
and distribution as defined by Sections 1 through 9 of this document.
|
| 44 |
+
|
| 45 |
+
"Licensor" shall mean the copyright owner or entity authorized by
|
| 46 |
+
the copyright owner that is granting the License.
|
| 47 |
+
|
| 48 |
+
"Legal Entity" shall mean the union of the acting entity and all
|
| 49 |
+
other entities that control, are controlled by, or are under common
|
| 50 |
+
control with that entity. For the purposes of this definition,
|
| 51 |
+
"control" means (i) the power, direct or indirect, to cause the
|
| 52 |
+
direction or management of such entity, whether by contract or
|
| 53 |
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
| 54 |
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
| 55 |
+
|
| 56 |
+
"You" (or "Your") shall mean an individual or Legal Entity
|
| 57 |
+
exercising permissions granted by this License.
|
| 58 |
+
|
| 59 |
+
"Source" form shall mean the preferred form for making modifications,
|
| 60 |
+
including but not limited to software source code, documentation
|
| 61 |
+
source, and configuration files.
|
| 62 |
+
|
| 63 |
+
"Object" form shall mean any form resulting from mechanical
|
| 64 |
+
transformation or translation of a Source form, including but
|
| 65 |
+
not limited to compiled object code, generated documentation,
|
| 66 |
+
and conversions to other media types.
|
| 67 |
+
|
| 68 |
+
"Work" shall mean the work of authorship, whether in Source or
|
| 69 |
+
Object form, made available under the License, as indicated by a
|
| 70 |
+
copyright notice that is included in or attached to the work
|
| 71 |
+
(an example is provided in the Appendix below).
|
| 72 |
+
|
| 73 |
+
"Derivative Works" shall mean any work, whether in Source or Object
|
| 74 |
+
form, that is based on (or derived from) the Work and for which the
|
| 75 |
+
editorial revisions, annotations, elaborations, or other modifications
|
| 76 |
+
represent, as a whole, an original work of authorship. For the purposes
|
| 77 |
+
of this License, Derivative Works shall not include works that remain
|
| 78 |
+
separable from, or merely link (or bind by name) to the interfaces of,
|
| 79 |
+
the Work and Derivative Works thereof.
|
| 80 |
+
|
| 81 |
+
"Contribution" shall mean any work of authorship, including
|
| 82 |
+
the original version of the Work and any modifications or additions
|
| 83 |
+
to that Work or Derivative Works thereof, that is intentionally
|
| 84 |
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
| 85 |
+
or by an individual or Legal Entity authorized to submit on behalf of
|
| 86 |
+
the copyright owner. For the purposes of this definition, "submitted"
|
| 87 |
+
means any form of electronic, verbal, or written communication sent
|
| 88 |
+
to the Licensor or its representatives, including but not limited to
|
| 89 |
+
communication on electronic mailing lists, source code control systems,
|
| 90 |
+
and issue tracking systems that are managed by, or on behalf of, the
|
| 91 |
+
Licensor for the purpose of discussing and improving the Work, but
|
| 92 |
+
excluding communication that is conspicuously marked or otherwise
|
| 93 |
+
designated in writing by the copyright owner as "Not a Contribution."
|
| 94 |
+
|
| 95 |
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
| 96 |
+
on behalf of whom a Contribution has been received by Licensor and
|
| 97 |
+
subsequently incorporated within the Work.
|
| 98 |
+
|
| 99 |
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
| 100 |
+
this License, each Contributor hereby grants to You a perpetual,
|
| 101 |
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
| 102 |
+
copyright license to reproduce, prepare Derivative Works of,
|
| 103 |
+
publicly display, publicly perform, sublicense, and distribute the
|
| 104 |
+
Work and such Derivative Works in Source or Object form.
|
| 105 |
+
|
| 106 |
+
3. Grant of Patent License. Subject to the terms and conditions of
|
| 107 |
+
this License, each Contributor hereby grants to You a perpetual,
|
| 108 |
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
| 109 |
+
(except as stated in this section) patent license to make, have made,
|
| 110 |
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
| 111 |
+
where such license applies only to those patent claims licensable
|
| 112 |
+
by such Contributor that are necessarily infringed by their
|
| 113 |
+
Contribution(s) alone or by combination of their Contribution(s)
|
| 114 |
+
with the Work to which such Contribution(s) was submitted. If You
|
| 115 |
+
institute patent litigation against any entity (including a
|
| 116 |
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
| 117 |
+
or a Contribution incorporated within the Work constitutes direct
|
| 118 |
+
or contributory patent infringement, then any patent licenses
|
| 119 |
+
granted to You under this License for that Work shall terminate
|
| 120 |
+
as of the date such litigation is filed.
|
| 121 |
+
|
| 122 |
+
4. Redistribution. You may reproduce and distribute copies of the
|
| 123 |
+
Work or Derivative Works thereof in any medium, with or without
|
| 124 |
+
modifications, and in Source or Object form, provided that You
|
| 125 |
+
meet the following conditions:
|
| 126 |
+
|
| 127 |
+
(a) You must give any other recipients of the Work or
|
| 128 |
+
Derivative Works a copy of this License; and
|
| 129 |
+
|
| 130 |
+
(b) You must cause any modified files to carry prominent notices
|
| 131 |
+
stating that You changed the files; and
|
| 132 |
+
|
| 133 |
+
(c) You must retain, in the Source form of any Derivative Works
|
| 134 |
+
that You distribute, all copyright, patent, trademark, and
|
| 135 |
+
attribution notices from the Source form of the Work,
|
| 136 |
+
excluding those notices that do not pertain to any part of
|
| 137 |
+
the Derivative Works; and
|
| 138 |
+
|
| 139 |
+
(d) If the Work includes a "NOTICE" text file as part of its
|
| 140 |
+
distribution, then any Derivative Works that You distribute must
|
| 141 |
+
include a readable copy of the attribution notices contained
|
| 142 |
+
within such NOTICE file, excluding those notices that do not
|
| 143 |
+
pertain to any part of the Derivative Works, in at least one
|
| 144 |
+
of the following places: within a NOTICE text file distributed
|
| 145 |
+
as part of the Derivative Works; within the Source form or
|
| 146 |
+
documentation, if provided along with the Derivative Works; or,
|
| 147 |
+
within a display generated by the Derivative Works, if and
|
| 148 |
+
wherever such third-party notices normally appear. The contents
|
| 149 |
+
of the NOTICE file are for informational purposes only and
|
| 150 |
+
do not modify the License. You may add Your own attribution
|
| 151 |
+
notices within Derivative Works that You distribute, alongside
|
| 152 |
+
or as an addendum to the NOTICE text from the Work, provided
|
| 153 |
+
that such additional attribution notices cannot be construed
|
| 154 |
+
as modifying the License.
|
| 155 |
+
|
| 156 |
+
You may add Your own copyright statement to Your modifications and
|
| 157 |
+
may provide additional or different license terms and conditions
|
| 158 |
+
for use, reproduction, or distribution of Your modifications, or
|
| 159 |
+
for any such Derivative Works as a whole, provided Your use,
|
| 160 |
+
reproduction, and distribution of the Work otherwise complies with
|
| 161 |
+
the conditions stated in this License.
|
| 162 |
+
|
| 163 |
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
| 164 |
+
any Contribution intentionally submitted for inclusion in the Work
|
| 165 |
+
by You to the Licensor shall be under the terms and conditions of
|
| 166 |
+
this License, without any additional terms or conditions.
|
| 167 |
+
Notwithstanding the above, nothing herein shall supersede or modify
|
| 168 |
+
the terms of any separate license agreement you may have executed
|
| 169 |
+
with Licensor regarding such Contributions.
|
| 170 |
+
|
| 171 |
+
6. Trademarks. This License does not grant permission to use the trade
|
| 172 |
+
names, trademarks, service marks, or product names of the Licensor,
|
| 173 |
+
except as required for reasonable and customary use in describing the
|
| 174 |
+
origin of the Work and reproducing the content of the NOTICE file.
|
| 175 |
+
|
| 176 |
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
| 177 |
+
agreed to in writing, Licensor provides the Work (and each
|
| 178 |
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
| 179 |
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
| 180 |
+
implied, including, without limitation, any warranties or conditions
|
| 181 |
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
| 182 |
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
| 183 |
+
appropriateness of using or redistributing the Work and assume any
|
| 184 |
+
risks associated with Your exercise of permissions under this License.
|
| 185 |
+
|
| 186 |
+
8. Limitation of Liability. In no event and under no legal theory,
|
| 187 |
+
whether in tort (including negligence), contract, or otherwise,
|
| 188 |
+
unless required by applicable law (such as deliberate and grossly
|
| 189 |
+
negligent acts) or agreed to in writing, shall any Contributor be
|
| 190 |
+
liable to You for damages, including any direct, indirect, special,
|
| 191 |
+
incidental, or consequential damages of any character arising as a
|
| 192 |
+
result of this License or out of the use or inability to use the
|
| 193 |
+
Work (including but not limited to damages for loss of goodwill,
|
| 194 |
+
work stoppage, computer failure or malfunction, or any and all
|
| 195 |
+
other commercial damages or losses), even if such Contributor
|
| 196 |
+
has been advised of the possibility of such damages.
|
| 197 |
+
|
| 198 |
+
9. Accepting Warranty or Additional Liability. While redistributing
|
| 199 |
+
the Work or Derivative Works thereof, You may choose to offer,
|
| 200 |
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
| 201 |
+
or other liability obligations and/or rights consistent with this
|
| 202 |
+
License. However, in accepting such obligations, You may act only
|
| 203 |
+
on Your own behalf and on Your sole responsibility, not on behalf
|
| 204 |
+
of any other Contributor, and only if You agree to indemnify,
|
| 205 |
+
defend, and hold each Contributor harmless for any liability
|
| 206 |
+
incurred by, or claims asserted against, such Contributor by reason
|
| 207 |
+
of your accepting any such warranty or additional liability.
|
| 208 |
+
|
| 209 |
+
END OF TERMS AND CONDITIONS
|
| 210 |
+
|
| 211 |
+
APPENDIX: How to apply the Apache License to your work.
|
| 212 |
+
|
| 213 |
+
To apply the Apache License to your work, attach the following
|
| 214 |
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
| 215 |
+
replaced with your own identifying information. (Don't include
|
| 216 |
+
the brackets!) The text should be enclosed in the appropriate
|
| 217 |
+
comment syntax for the file format. We also recommend that a
|
| 218 |
+
file or class name and description of purpose be included on the
|
| 219 |
+
same "printed page" as the copyright notice for easier
|
| 220 |
+
identification within third-party archives.
|
| 221 |
+
|
| 222 |
+
Copyright [yyyy] [name of copyright owner]
|
| 223 |
+
|
| 224 |
+
Licensed under the Apache License, Version 2.0 (the "License");
|
| 225 |
+
you may not use this file except in compliance with the License.
|
| 226 |
+
You may obtain a copy of the License at
|
| 227 |
+
|
| 228 |
+
http://www.apache.org/licenses/LICENSE-2.0
|
| 229 |
+
|
| 230 |
+
Unless required by applicable law or agreed to in writing, software
|
| 231 |
+
distributed under the License is distributed on an "AS IS" BASIS,
|
| 232 |
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
| 233 |
+
See the License for the specific language governing permissions and
|
| 234 |
+
limitations under the License.
|
paddleocr/SLANet_plus/SLANet_plus_encoder.mnn
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:05f6ea426e448fb41f61a4606ccac14b4ec0f52e0b6c50b1b23c01c4f47414b1
|
| 3 |
+
size 2739808
|
paddleocr/SLANet_plus/SLANet_plus_step.mnn
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b1df1c197cbeeb53e75229cbcf23c3d9d0c195e9361c92316197d00d0cbc3023
|
| 3 |
+
size 1118816
|
paddleocr/UVDoc/LICENSE.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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# UVDoc (MNN) - License
|
| 2 |
+
|
| 3 |
+
Document image unwarping.
|
| 4 |
+
|
| 5 |
+
## Files
|
| 6 |
+
|
| 7 |
+
- `UVDoc.mnn`
|
| 8 |
+
|
| 9 |
+
## Upstream source
|
| 10 |
+
|
| 11 |
+
Copyright (c) PaddlePaddle Authors. All Rights Reserved.
|
| 12 |
+
|
| 13 |
+
- https://huggingface.co/PaddlePaddle/UVDoc_onnx
|
| 14 |
+
- https://huggingface.co/PaddlePaddle/UVDoc
|
| 15 |
+
|
| 16 |
+
The upstream model is released under the **Apache License, Version 2.0**, which permits
|
| 17 |
+
commercial use, modification and redistribution under its terms.
|
| 18 |
+
|
| 19 |
+
## Modifications (Apache-2.0 Section 4(b) notice)
|
| 20 |
+
|
| 21 |
+
The files in this folder are modified, converted versions of the upstream model:
|
| 22 |
+
|
| 23 |
+
Converted from ONNX to MNN with `mnnconvert` (MNN 3.4.1, `--fp16` weight storage).
|
| 24 |
+
|
| 25 |
+
No retraining or fine-tuning was performed; the weights are the upstream weights
|
| 26 |
+
(stored in float16 where converted with `--fp16`).
|
| 27 |
+
|
| 28 |
+
These converted files remain under the Apache License, Version 2.0. The full license
|
| 29 |
+
text follows.
|
| 30 |
+
|
| 31 |
+
---
|
| 32 |
+
|
| 33 |
+
Apache License
|
| 34 |
+
Version 2.0, January 2004
|
| 35 |
+
http://www.apache.org/licenses/
|
| 36 |
+
|
| 37 |
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
| 38 |
+
|
| 39 |
+
1. Definitions.
|
| 40 |
+
|
| 41 |
+
"License" shall mean the terms and conditions for use, reproduction,
|
| 42 |
+
and distribution as defined by Sections 1 through 9 of this document.
|
| 43 |
+
|
| 44 |
+
"Licensor" shall mean the copyright owner or entity authorized by
|
| 45 |
+
the copyright owner that is granting the License.
|
| 46 |
+
|
| 47 |
+
"Legal Entity" shall mean the union of the acting entity and all
|
| 48 |
+
other entities that control, are controlled by, or are under common
|
| 49 |
+
control with that entity. For the purposes of this definition,
|
| 50 |
+
"control" means (i) the power, direct or indirect, to cause the
|
| 51 |
+
direction or management of such entity, whether by contract or
|
| 52 |
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
| 53 |
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
| 54 |
+
|
| 55 |
+
"You" (or "Your") shall mean an individual or Legal Entity
|
| 56 |
+
exercising permissions granted by this License.
|
| 57 |
+
|
| 58 |
+
"Source" form shall mean the preferred form for making modifications,
|
| 59 |
+
including but not limited to software source code, documentation
|
| 60 |
+
source, and configuration files.
|
| 61 |
+
|
| 62 |
+
"Object" form shall mean any form resulting from mechanical
|
| 63 |
+
transformation or translation of a Source form, including but
|
| 64 |
+
not limited to compiled object code, generated documentation,
|
| 65 |
+
and conversions to other media types.
|
| 66 |
+
|
| 67 |
+
"Work" shall mean the work of authorship, whether in Source or
|
| 68 |
+
Object form, made available under the License, as indicated by a
|
| 69 |
+
copyright notice that is included in or attached to the work
|
| 70 |
+
(an example is provided in the Appendix below).
|
| 71 |
+
|
| 72 |
+
"Derivative Works" shall mean any work, whether in Source or Object
|
| 73 |
+
form, that is based on (or derived from) the Work and for which the
|
| 74 |
+
editorial revisions, annotations, elaborations, or other modifications
|
| 75 |
+
represent, as a whole, an original work of authorship. For the purposes
|
| 76 |
+
of this License, Derivative Works shall not include works that remain
|
| 77 |
+
separable from, or merely link (or bind by name) to the interfaces of,
|
| 78 |
+
the Work and Derivative Works thereof.
|
| 79 |
+
|
| 80 |
+
"Contribution" shall mean any work of authorship, including
|
| 81 |
+
the original version of the Work and any modifications or additions
|
| 82 |
+
to that Work or Derivative Works thereof, that is intentionally
|
| 83 |
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
| 84 |
+
or by an individual or Legal Entity authorized to submit on behalf of
|
| 85 |
+
the copyright owner. For the purposes of this definition, "submitted"
|
| 86 |
+
means any form of electronic, verbal, or written communication sent
|
| 87 |
+
to the Licensor or its representatives, including but not limited to
|
| 88 |
+
communication on electronic mailing lists, source code control systems,
|
| 89 |
+
and issue tracking systems that are managed by, or on behalf of, the
|
| 90 |
+
Licensor for the purpose of discussing and improving the Work, but
|
| 91 |
+
excluding communication that is conspicuously marked or otherwise
|
| 92 |
+
designated in writing by the copyright owner as "Not a Contribution."
|
| 93 |
+
|
| 94 |
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
| 95 |
+
on behalf of whom a Contribution has been received by Licensor and
|
| 96 |
+
subsequently incorporated within the Work.
|
| 97 |
+
|
| 98 |
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
| 99 |
+
this License, each Contributor hereby grants to You a perpetual,
|
| 100 |
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
| 101 |
+
copyright license to reproduce, prepare Derivative Works of,
|
| 102 |
+
publicly display, publicly perform, sublicense, and distribute the
|
| 103 |
+
Work and such Derivative Works in Source or Object form.
|
| 104 |
+
|
| 105 |
+
3. Grant of Patent License. Subject to the terms and conditions of
|
| 106 |
+
this License, each Contributor hereby grants to You a perpetual,
|
| 107 |
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
| 108 |
+
(except as stated in this section) patent license to make, have made,
|
| 109 |
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
| 110 |
+
where such license applies only to those patent claims licensable
|
| 111 |
+
by such Contributor that are necessarily infringed by their
|
| 112 |
+
Contribution(s) alone or by combination of their Contribution(s)
|
| 113 |
+
with the Work to which such Contribution(s) was submitted. If You
|
| 114 |
+
institute patent litigation against any entity (including a
|
| 115 |
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
| 116 |
+
or a Contribution incorporated within the Work constitutes direct
|
| 117 |
+
or contributory patent infringement, then any patent licenses
|
| 118 |
+
granted to You under this License for that Work shall terminate
|
| 119 |
+
as of the date such litigation is filed.
|
| 120 |
+
|
| 121 |
+
4. Redistribution. You may reproduce and distribute copies of the
|
| 122 |
+
Work or Derivative Works thereof in any medium, with or without
|
| 123 |
+
modifications, and in Source or Object form, provided that You
|
| 124 |
+
meet the following conditions:
|
| 125 |
+
|
| 126 |
+
(a) You must give any other recipients of the Work or
|
| 127 |
+
Derivative Works a copy of this License; and
|
| 128 |
+
|
| 129 |
+
(b) You must cause any modified files to carry prominent notices
|
| 130 |
+
stating that You changed the files; and
|
| 131 |
+
|
| 132 |
+
(c) You must retain, in the Source form of any Derivative Works
|
| 133 |
+
that You distribute, all copyright, patent, trademark, and
|
| 134 |
+
attribution notices from the Source form of the Work,
|
| 135 |
+
excluding those notices that do not pertain to any part of
|
| 136 |
+
the Derivative Works; and
|
| 137 |
+
|
| 138 |
+
(d) If the Work includes a "NOTICE" text file as part of its
|
| 139 |
+
distribution, then any Derivative Works that You distribute must
|
| 140 |
+
include a readable copy of the attribution notices contained
|
| 141 |
+
within such NOTICE file, excluding those notices that do not
|
| 142 |
+
pertain to any part of the Derivative Works, in at least one
|
| 143 |
+
of the following places: within a NOTICE text file distributed
|
| 144 |
+
as part of the Derivative Works; within the Source form or
|
| 145 |
+
documentation, if provided along with the Derivative Works; or,
|
| 146 |
+
within a display generated by the Derivative Works, if and
|
| 147 |
+
wherever such third-party notices normally appear. The contents
|
| 148 |
+
of the NOTICE file are for informational purposes only and
|
| 149 |
+
do not modify the License. You may add Your own attribution
|
| 150 |
+
notices within Derivative Works that You distribute, alongside
|
| 151 |
+
or as an addendum to the NOTICE text from the Work, provided
|
| 152 |
+
that such additional attribution notices cannot be construed
|
| 153 |
+
as modifying the License.
|
| 154 |
+
|
| 155 |
+
You may add Your own copyright statement to Your modifications and
|
| 156 |
+
may provide additional or different license terms and conditions
|
| 157 |
+
for use, reproduction, or distribution of Your modifications, or
|
| 158 |
+
for any such Derivative Works as a whole, provided Your use,
|
| 159 |
+
reproduction, and distribution of the Work otherwise complies with
|
| 160 |
+
the conditions stated in this License.
|
| 161 |
+
|
| 162 |
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
| 163 |
+
any Contribution intentionally submitted for inclusion in the Work
|
| 164 |
+
by You to the Licensor shall be under the terms and conditions of
|
| 165 |
+
this License, without any additional terms or conditions.
|
| 166 |
+
Notwithstanding the above, nothing herein shall supersede or modify
|
| 167 |
+
the terms of any separate license agreement you may have executed
|
| 168 |
+
with Licensor regarding such Contributions.
|
| 169 |
+
|
| 170 |
+
6. Trademarks. This License does not grant permission to use the trade
|
| 171 |
+
names, trademarks, service marks, or product names of the Licensor,
|
| 172 |
+
except as required for reasonable and customary use in describing the
|
| 173 |
+
origin of the Work and reproducing the content of the NOTICE file.
|
| 174 |
+
|
| 175 |
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
| 176 |
+
agreed to in writing, Licensor provides the Work (and each
|
| 177 |
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
| 178 |
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
| 179 |
+
implied, including, without limitation, any warranties or conditions
|
| 180 |
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
| 181 |
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
| 182 |
+
appropriateness of using or redistributing the Work and assume any
|
| 183 |
+
risks associated with Your exercise of permissions under this License.
|
| 184 |
+
|
| 185 |
+
8. Limitation of Liability. In no event and under no legal theory,
|
| 186 |
+
whether in tort (including negligence), contract, or otherwise,
|
| 187 |
+
unless required by applicable law (such as deliberate and grossly
|
| 188 |
+
negligent acts) or agreed to in writing, shall any Contributor be
|
| 189 |
+
liable to You for damages, including any direct, indirect, special,
|
| 190 |
+
incidental, or consequential damages of any character arising as a
|
| 191 |
+
result of this License or out of the use or inability to use the
|
| 192 |
+
Work (including but not limited to damages for loss of goodwill,
|
| 193 |
+
work stoppage, computer failure or malfunction, or any and all
|
| 194 |
+
other commercial damages or losses), even if such Contributor
|
| 195 |
+
has been advised of the possibility of such damages.
|
| 196 |
+
|
| 197 |
+
9. Accepting Warranty or Additional Liability. While redistributing
|
| 198 |
+
the Work or Derivative Works thereof, You may choose to offer,
|
| 199 |
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
| 200 |
+
or other liability obligations and/or rights consistent with this
|
| 201 |
+
License. However, in accepting such obligations, You may act only
|
| 202 |
+
on Your own behalf and on Your sole responsibility, not on behalf
|
| 203 |
+
of any other Contributor, and only if You agree to indemnify,
|
| 204 |
+
defend, and hold each Contributor harmless for any liability
|
| 205 |
+
incurred by, or claims asserted against, such Contributor by reason
|
| 206 |
+
of your accepting any such warranty or additional liability.
|
| 207 |
+
|
| 208 |
+
END OF TERMS AND CONDITIONS
|
| 209 |
+
|
| 210 |
+
APPENDIX: How to apply the Apache License to your work.
|
| 211 |
+
|
| 212 |
+
To apply the Apache License to your work, attach the following
|
| 213 |
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
| 214 |
+
replaced with your own identifying information. (Don't include
|
| 215 |
+
the brackets!) The text should be enclosed in the appropriate
|
| 216 |
+
comment syntax for the file format. We also recommend that a
|
| 217 |
+
file or class name and description of purpose be included on the
|
| 218 |
+
same "printed page" as the copyright notice for easier
|
| 219 |
+
identification within third-party archives.
|
| 220 |
+
|
| 221 |
+
Copyright [yyyy] [name of copyright owner]
|
| 222 |
+
|
| 223 |
+
Licensed under the Apache License, Version 2.0 (the "License");
|
| 224 |
+
you may not use this file except in compliance with the License.
|
| 225 |
+
You may obtain a copy of the License at
|
| 226 |
+
|
| 227 |
+
http://www.apache.org/licenses/LICENSE-2.0
|
| 228 |
+
|
| 229 |
+
Unless required by applicable law or agreed to in writing, software
|
| 230 |
+
distributed under the License is distributed on an "AS IS" BASIS,
|
| 231 |
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
| 232 |
+
See the License for the specific language governing permissions and
|
| 233 |
+
limitations under the License.
|
paddleocr/UVDoc/UVDoc.mnn
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4bb48bab5b82627043e3ed2ce95aa1149de7d36fdcf0bac9c9254cb76429b0ee
|
| 3 |
+
size 15810596
|