Files
raea/tools/perceive/Cargo.toml
shinyobjectzandJameschuthink b800a1c5e1 raea-perceive: portable OCR fetches ocrs's .onnx models (the .rten copies answer 403), and the tool's vision-portable feature turns on its own ocr-portable and face-portable, so a vision-portable build has read-lines and the face commands (closes #69)
Checked on this Mac with an empty model cache: cargo build --release -p raea-perceive --features vision-portable,
then read-lines --backend ocrs and see-layout --backend portable on a HELLO WORLD picture both read the line (rc 0),
and the cache holds the two .onnx files.

Co-authored-by: Jameschuthink <[email protected]>
2026-11-09 08:46:17 -08:00

27 lines
1.2 KiB
TOML

[package]
name = "raea-perceive"
version = "0.1.0"
edition = "2024"
license = "FSL-1.1-ALv2"
publish = false
description = "raea-perceive: perception from a shell (footage, frames, sound, the models' checks against their references)"
[features]
denoise = ["raea-sys-footage/denoise", "raea-sys-song/denoise"]
ocr-portable = ["raea-sys-perceive/ocr-portable"]
face-portable = ["raea-sys-perceive/face-portable"]
vision-portable = ["ocr-portable", "face-portable", "raea-sys-perceive/vision-portable"]
[dependencies]
# frames come from the media plane (VideoToolbox on Apple, ffmpeg or the software decoders elsewhere)
# soft-audio: a song's sound decoded in process off Apple (Symphonia), where an install has no ffmpeg (#43)
raea-io-media = { path = "../../io/media", default-features = false, features = ["apple", "soft-audio"] }
raea-sys-layout = { path = "../../systems/layout" }
raea-sys-vision = { path = "../../systems/vision" }
raea-sys-song = { path = "../../systems/song" }
raea-sys-perceive = { path = "../../systems/perceive" }
raea-sys-footage = { path = "../../systems/footage" }
serde_json = "1"
image = { version = "0.25", default-features = false, features = ["png", "jpeg"] }