mirror of
https://github.com/spacedriveapp/spacedrive
synced 2024-07-20 10:39:11 +00:00
7c90bcb95b
* First draft on image labeling * Fixing execution providers for other OSs * Better error handling and shutdown * Working with shallow media processor * bruh * Fix warnings * Now hooked to media processor job * Link desktop app with libonnxruntime to avoid TLS error during startup * Be able to change models on runtime Revert to use labels table instead of tags * A bug on a model-less inference * Show AI labels on Inspector - Change yolo inference to use half precision - Add labels api to core * Remove LD_PRELOAD * Fix race condition on model executor shutdown * Don't load all images in memory moron * Embeed yolo model in prod build - Change yolo model path to new one relative to executable * Disable volume watcher on linux, it was crashing the app - Invalidate labels when they are updated * Rust fmt * Minor changes * Gate onnxruntime linking to the ai-models feature * Add build script to sd-server to handle onnxruntime linking workaround * Move AI stuff to its own crate and normalize deps * Rust fmt * Don't regenerate labels unless asked to * Now blazingly fast * Bad merge * Fix * Fix * Add backend logic to download extra yolo models * Add models api route - Add api call to get available model version - Add api call to change the model version * Improve new model download logic - Add frontend to change image labeler model * Fix new model downloader * Fix model select width * invalidate labels count after media_processor generates a new output * Rename AI crate and first draft on download notifications * fix types --------- Co-authored-by: Vítor Vasconcellos <vasconcellos.dev@gmail.com> Co-authored-by: Brendan Allan <brendonovich@outlook.com>
39 lines
1.1 KiB
TOML
39 lines
1.1 KiB
TOML
[package]
|
|
name = "sd-images"
|
|
version = "0.0.0"
|
|
authors = [
|
|
"Jake Robinson <jake@spacedrive.com>",
|
|
"Vítor Vasconcellos <vitor@spacedrive.com>",
|
|
]
|
|
license = { workspace = true }
|
|
repository = { workspace = true }
|
|
edition = { workspace = true }
|
|
|
|
[features]
|
|
heif = ["dep:libheif-rs", "dep:libheif-sys"]
|
|
|
|
[dependencies]
|
|
image = { workspace = true }
|
|
once_cell = { workspace = true }
|
|
rspc = { workspace = true, optional = true } # error conversion
|
|
specta = { workspace = true, optional = true }
|
|
serde = { workspace = true, optional = true, features = ["derive"] }
|
|
thiserror = { workspace = true }
|
|
tracing = { workspace = true }
|
|
|
|
bincode = { version = "2.0.0-rc.3", features = [
|
|
"derive",
|
|
"alloc",
|
|
], optional = true }
|
|
resvg = "0.36.0"
|
|
|
|
# both of these added *default* bindgen features in 0.22.0 and 2.0.0 respectively
|
|
# this broke builds as we build our own liibheif, so i disabled their default features
|
|
libheif-rs = { version = "0.22.0", default-features = false, optional = true }
|
|
libheif-sys = { version = "2.0.0", default-features = false, optional = true }
|
|
pdfium-render = { version = "0.8.15", features = [
|
|
"sync",
|
|
"image",
|
|
"thread_safe",
|
|
] }
|