Directories
¶
| Path | Synopsis |
|---|---|
|
Package backend selects the GoMLX compute backend the local OCR engine runs on.
|
Package backend selects the GoMLX compute backend the local OCR engine runs on. |
|
Package catalog finds, lists and installs local OCR models.
|
Package catalog finds, lists and installs local OCR models. |
|
cmd
|
|
|
docstomd-ocr-local
command
Command docstomd-ocr-local is docstomd's local OCR engine: it runs OCR models on the CPU, without cgo, and speaks the docstomd OCR protocol (docs/ocr-protocol.md) on stdin/stdout.
|
Command docstomd-ocr-local is docstomd's local OCR engine: it runs OCR models on the CPU, without cgo, and speaks the docstomd OCR protocol (docs/ocr-protocol.md) on stdin/stdout. |
|
Package engine runs text detection, line orientation and text recognition models described by a manifest, on a GoMLX backend.
|
Package engine runs text detection, line orientation and text recognition models described by a manifest, on a GoMLX backend. |
|
internal
|
|
|
computeonnx
Package onnxbackend implements an ONNX Runtime (ORT) compute backend for GoMLX (github.com/gomlx/compute).
|
Package onnxbackend implements an ONNX Runtime (ORT) compute backend for GoMLX (github.com/gomlx/compute). |
|
computeonnx/internal/executionprovider
Package executionprovider defines the native GPU execution providers supported by the ONNX Runtime backend.
|
Package executionprovider defines the native GPU execution providers supported by the ONNX Runtime backend. |
|
computeonnx/internal/ort
Package ort drives the ONNX Runtime C API through purego: the shared library is loaded at run time and its OrtApi function table is called directly, so builds need no cgo.
|
Package ort drives the ONNX Runtime C API through purego: the shared library is loaded at run time and its OrtApi function table is called directly, so builds need no cgo. |
|
ocrtest
Package ocrtest holds helpers shared by the OCR module's tests: locating installed test models, fixtures and goldens.
|
Package ocrtest holds helpers shared by the OCR module's tests: locating installed test models, fixtures and goldens. |
|
onnxgomlx/internal/onnxgomlx
Package togomlx contains several conversion utilities from ONNX and GoMLX.
|
Package togomlx contains several conversion utilities from ONNX and GoMLX. |
|
onnxgomlx/internal/onnxgomlx/filesreader
Package filesreader implements the onnx.ExternalDataReader interface by reading files from a
|
Package filesreader implements the onnx.ExternalDataReader interface by reading files from a |
|
onnxgomlx/internal/onnxgraph
Package onnxgraph provides graph-manipulation utilities for ONNX proto graphs.
|
Package onnxgraph provides graph-manipulation utilities for ONNX proto graphs. |
|
onnxgomlx/onnx
Package onnx provides the public interface for ONNX models in GoMLX.
|
Package onnx provides the public interface for ONNX models in GoMLX. |
|
onnxgomlx/onnx/parser
Package parser provides functions to parse ONNX models into GoMLX.
|
Package parser provides functions to parse ONNX models into GoMLX. |
|
Package pageimage extracts the image of a scanned PDF page in pure Go, for OCR engines and adapter authors.
|
Package pageimage extracts the image of a scanned PDF page in pure Go, for OCR engines and adapter authors. |
Click to show internal directories.
Click to hide internal directories.