Modern-Apps.git
Publicgit clone https://git.maproj.org/Modern-Apps.gitModern-Apps.git / camera / src / main / rust / Cargo.toml
Cargo.toml26 lines · 1.3 KiBRaw
| 1 | [package] |
| 2 | name = "camera_stitch" |
| 3 | version = "0.1.0" |
| 4 | edition = "2021" |
| 5 | description = "Feature-based panorama stitcher + night burst aligner for the camera app, armv8-only stdlib" |
| 6 | license = "GPL-2.0-only" |
| 7 | |
| 8 | [lib] |
| 9 | name = "camera_stitch" |
| 10 | crate-type = ["cdylib", "rlib"] |
| 11 | |
| 12 | [dependencies] |
| 13 | jni.workspace = true |
| 14 | # Shared CV primitives (linalg / imgbuf / features / geometry / camera) now live in |
| 15 | # library/vision/src/main/rust so measure's VIO engine can reuse them. The `jpeg` |
| 16 | # feature keeps Rgba::from_jpeg available for the panorama pipeline. |
| 17 | vision_core = { path = "../../../../library/vision/src/main/rust", features = ["jpeg"] } |
| 18 | # image crate 0.25 removed – pulled moxcms/pxfm/bytemuck; now jpeg-decoder + jpeg-encoder (trivial 1-function) |
| 19 | jpeg-decoder.workspace = true |
| 20 | jpeg-encoder.workspace = true |
| 21 | # nalgebra removed – replaced by a tiny in-crate linalg module (src/linalg.rs): |
| 22 | # fixed 3×3 Matrix3/Vector3, closed-form inverse, Jacobi symmetric-eigen, SVD |
| 23 | # (3×3 + dense DLT null-space), and partial-pivot LU solve. Drops ~9 transitive |
| 24 | # crates (simba, wide, safe_arch, bytemuck, approx, paste, num-rational, |
| 25 | # num-iter, nalgebra-macros). |
| 26 | # rayon removed – was 6 crates (crossbeam-deque/epoch/utils/either/rayon-core) for par_iter in bundle/matching/stitch – now std iter (prefer stdlib) |