label-studio-paddleocr
This project integrates Label Studio with PaddleOCR-VL for OCR and auto labeling.
Usage
- Deploy PaddleOCR-VL as standalone service. Tutorials can be found at https://www.paddleocr.ai/main/en/version3.x/pipeline_usage/PaddleOCR-VL.html#4-service-deployment
- Create
app.yamlfile as following and run this application. E.g.:gunicorn label_studio_paddleocr._wsgi:app.
paddleocr_url: http://paddleocr.addr:8080/
label_studio_url: https://labelstudio.addr/
label_studio_api_key: "api token"
We have to use Label Studio legacy token instead of personal access token due to https://github.com/HumanSignal/label-studio-ml-backend/issues/749.
- In Label Studio, configure project labeling interface as something like below. Then connect the project with this application in "Model" settings.
<View>
<Image name="image" value="$image"/>
<RectangleLabels name="category" toName="image">
<Label value="OCR:" background="green" selected="true"/>
<Label value="Table Recognition:" background="blue"/>
<Label value="Formula Recognition:" background="red"/>
<Label value="Chart Recognition:" background="coral"/>
</RectangleLabels>
<TextArea name="transcription" toName="image"
editable="true"
perRegion="true"
required="true"
maxSubmissions="1"
rows="5"
placeholder="Recognized Text"
displayMode="region-list"
/>
</View>
Metadata
Release files for label-studio-paddleocr 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| label_studio_paddleocr-0.2.0.tar.gz | 4.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| label_studio_paddleocr-0.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 11.7 kB
Release files / label_studio_paddleocr-0.2.0.tar.gz
| Download URL | label_studio_paddleocr-0.2.0.tar.gz |
|---|---|
| Size | 4.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f3860590f4337d2010dfe29d3d89eb2e922474b5c9829a45cb49db949e441324
|
|
BLAKE2b-256 checksum How to use checksums |
7fe20d0c1b4dc30b135daca0c91e9eb0b4a060f464d447cebddc28f24f79ce14
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.18 {"installer":{"name":"uv","version":"0.9.18","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / label_studio_paddleocr-0.2.0-py3-none-any.whl
| Download URL | label_studio_paddleocr-0.2.0-py3-none-any.whl |
|---|---|
| Size | 6.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
871a51afbfbf7aac1bcdfe4b923a9f543c6b70677bb0b3aa8c054e77eebb3006
|
|
BLAKE2b-256 checksum How to use checksums |
33db3c2081a1f047377e1d4716386a502c1e2244a1f01215b883cd0b5ac7dd83
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.18 {"installer":{"name":"uv","version":"0.9.18","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|