YAML Metadata Warning:empty or missing yaml metadata in repo card

Check out the documentation for more information.

VOCR6 ONNX models β€” redistribution

All models in this folder were created by Autumn (bee-san) and the vita-vn-ocr project. The uploader did not create, train, fine-tune, or otherwise author these models. The horizontal model is an unchanged copy of an upstream release file. The vertical model is an ONNX conversion of an upstream blob, performed with the upstream author's own converter; the weights themselves are entirely the original author's work.

Files

file what it is sha256
VOCR6.2_L_fast.onnx Upstream VOCR6.2-L "fast" recognizer, horizontal text, 2,525,242 bytes. Byte-for-byte copy of the release asset; no conversion or modification by the uploader. 3084fb3bd1332832c872009d869d267d5acd1bd69d26c80f742aa2f31a80c938
VOCR6_V_fast.onnx VOCR6-V vertical-column recognizer, converted to ONNX by the uploader from the upstream int8 blob (details below), 836,932 bytes. 080f0651fe2f23e87befea16995c21089e02da85be96b6189c26c2ab413ac5eb
convert_vertical.py Small script documenting/reproducing the vertical conversion, using the original author's converter code. β€”
VOCR6-ATTRIBUTION.md, ONNX-ATTRIBUTION.md Upstream attribution and terms for the horizontal model and the ONNX format, copied verbatim from release v0.5.1-onnx.2. β€”
VOCR6-V-ATTRIBUTION.md, MODEL_CARD_VOCR6_V.md Upstream attribution and model card for the vertical model, copied verbatim from release v0.4.2-vertical6.1 (renamed from upstream ATTRIBUTION.md). β€”
MODEL_CARD_VOCR6.2_L.md Upstream model card for VOCR6.2-L, copied verbatim from release v0.5.1-onnx.2. β€”
SHA256SUMS Hashes of the two ONNX files. β€”

Exact sources and conversion

VOCR6.2_L_fast.onnx (horizontal)

  • Source: https://github.com/bee-san/vita-vn-ocr/releases/download/v0.5.1-onnx.2/VOCR6.2_L_fast.onnx
  • Upstream origin: this file was published by the vita-vn-ocr author as part of release v0.5.1-onnx.2. The release notes state that it was converted by the author from the int8 blob VOCR6.2_L_w8_2l.vocr (release v0.5.0) using tools/export_onnx.py --mode fast.
  • Conversion by uploader: none. The bytes are unchanged from the upstream release asset (sha256 3084fb3bd1332832c872009d869d267d5acd1bd69d26c80f742aa2f31a80c938).

VOCR6_V_fast.onnx (vertical)

  • Source weights: https://github.com/bee-san/vita-vn-ocr/releases/download/v0.4.2-vertical6.1/VOCR6_V_w8.vocr (upstream blob, 819,792 bytes, sha256 40485fceaef46a666bcec7781eca88bc005e9211786638ae0dddfac2eb4eea81). This blob was created and published by the vita-vn-ocr author; the uploader did not train or change it.
  • Converter: the original author's tools/export_onnx.py at tag v0.5.1-onnx.2, with its own train/export.py, train/head2level.py, train/headgate.py and eval/charboxes_cal.json helper files from the same tag.
  • Conversion performed: export_onnx.recognizer(blob, mode="fast", charbox_cal=cal["models"]["V"]["cal"], name="VOCR6_V"), where the calibration is [-104, 0, 0, 0, 0, 0, 0, 0, 0] (upstream's "V" entry). This is the fast (plain float32 kernels) form of the upstream converter, not the bit-exact mode.
  • Result: VOCR6_V_fast.onnx, sha256 080f0651fe2f23e87befea16995c21089e02da85be96b6189c26c2ab413ac5eb.
  • convert_vertical.py downloads the pinned source files, verifies the blob hash, runs exactly this conversion and verifies the output hash. It requires numpy and onnx; it is documentation/reproduction tooling only.
  • Intended use: vertical columns are rotated anticlockwise and passed to this recognizer, as described in upstream docs/vertical.md / docs/vocr6v.md.

Licence and attribution

The model weights and the upstream converter are GPL-3.0-or-later, but the weights carry additional non-commercial-only terms because some training inputs do: see the included VOCR6-ATTRIBUTION.md, ONNX-ATTRIBUTION.md and VOCR6-V-ATTRIBUTION.md. Do not use these weights commercially.

Credit for the models, the training, the ONNX export tooling and all measurements belongs solely to Autumn (bee-san), author of vita-vn-ocr: https://github.com/bee-san/vita-vn-ocr . The uploader's contribution is limited to copying the horizontal ONNX file and converting the published vertical blob with the author's converter, as described above.

Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support