Cargo Features
layoutparser-ort has no features set by default.
[dependencies]
layoutparser-ort = { version = "0.1.0", features = ["serde", "save", "ocr", "cuda", "tensorrt", "directml", "coreml", "rocm", "openvino", "onednn", "xnnpack", "qnn", "cann", "nnapi", "tvm", "acl", "armnn", "migraphx", "vitis", "rknpu", "default-formats", "rayon", "avif", "bmp", "dds", "exr", "ff", "gif", "hdr", "ico", "jpeg", "png", "pnm", "qoi", "tga", "tiff", "webp", "nasm", "avif-native"] }
- serde
-
Enables serde
- save
-
Enables csv
- ocr
-
Enables hocr-parser and tesseract
Affects
layoutparser-ort::ocr
… - cuda
-
ort/onnxruntime execution providers: https://ort.pyke.io/setup/cargo-features
- tensorrt
- directml
- coreml
- rocm
- openvino
- onednn
- xnnpack
- qnn
- cann
- nnapi
- tvm
- acl
- armnn
- migraphx
- vitis
- rknpu
- default-formats
-
image features
Enables default-formats of image
- rayon
-
image:
Other features
Enables multi-threading - avif
- bmp
- dds
- exr
- ff
-
Farbfeld image format
- gif
- hdr
- ico
- jpeg
- png
- pnm
- qoi
- tga
- tiff
- webp
- nasm
-
image:
Enables use of nasm by rav1e (requires nasm to be installed)
- avif-native
-
Enables avif-native of image
image:
Enable native dependency libdav1d