grabbit 6910a247b6 feat: implement Vida meteor detection algorithm
Implement the Vida detection algorithm for meteor and fireball detection
based on the RMS/CMN paper. Key features:

- Frame accumulator: 256-frame FTP compression (maxpixel, avepixel, stdpixel, maxframe)
- Meteor detector: K1=1.5 threshold, Hough transform, temporal propagation verification
- Fireball detector: K1=4 threshold, 3D point cloud analysis for very bright meteors
- Binary image downsampling with OR operation to preserve trajectory connectivity
- Star extraction for astrometric calibration
- FTPdetect format output for interoperability with RMS tools
- test-vida CLI command for testing detection on video files

Performance optimizations:
- Binary image downsampling instead of FTP downsampling (fixes false positives)
- Inline centroid calculation with bounding box scan
- ~100ms/block processing time (down from 377ms)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-07 00:02:16 +08:00

78 lines
2.0 KiB
TOML

[package]
name = "meteor-edge-client"
version = "0.1.0"
edition = "2021"
default-run = "meteor-edge-client"
[features]
default = []
# Production hardware features
hardware_camera = []
opencv_integration = []
# Debug and development features
debug_logging = []
performance_profiling = []
[dependencies]
clap = { version = "4.0", features = ["derive"] }
reqwest = { version = "0.11", features = ["json", "multipart", "rustls-tls"], default-features = false }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
toml = "0.8"
tokio = { version = "1.0", features = ["full"] }
anyhow = "1.0"
thiserror = "1.0"
dirs = "5.0"
chrono = { version = "0.4", features = ["serde"] }
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["json", "chrono", "env-filter"] }
tracing-appender = "0.2"
uuid = { version = "1.0", features = ["v4"] }
flate2 = "1.0"
bytes = "1.5"
lazy_static = "1.4"
sys-info = "0.9"
libc = "0.2"
hostname = "0.3"
num_cpus = "1.16"
# Device registration and security dependencies
sha2 = "0.10"
base64 = "0.22"
hmac = "0.12"
rand = { version = "0.8", features = ["small_rng"] }
jsonwebtoken = { version = "9.2", default-features = false }
hex = "0.4"
ring = "0.17"
rustls = { version = "0.23", features = ["ring"] }
rustls-pemfile = "2.0"
x509-parser = "0.16"
qrcode = "0.14"
image = "0.24"
# Network and WebSocket
tungstenite = { version = "0.21", features = ["rustls-tls-native-roots"] }
tokio-tungstenite = { version = "0.21", features = ["rustls-tls-native-roots"] }
futures-util = "0.3"
http = "1.0"
# Hardware fingerprinting
sysinfo = "0.30"
mac_address = "1.1"
# opencv = { version = "0.88", default-features = false } # Commented out for demo - requires system OpenCV installation
# Camera interface dependencies
async-trait = "0.1"
# Optional video processing backends
[target.'cfg(windows)'.dependencies]
winapi = { version = "0.3", features = ["memoryapi", "winnt", "handleapi"] }
[dev-dependencies]
tempfile = "3.0"
futures = "0.3"
[[bin]]
name = "test-fingerprint"
path = "src/test_fingerprint.rs"