WiFi-Mat 用户指南¶
面向灾难响应的大规模伤亡评估工具¶
WiFi-Mat(大规模评估工具)是 WiFi-DensePose 的模块化扩展,专门用于搜索与救援行动。它利用 WiFi 信道状态信息(CSI)来检测和定位在地震、建筑物倒塌、雪崩及其他灾难场景中困在瓦砾、废墟和坍塌结构中的幸存者。
目录¶
概述¶
什么是 WiFi-Mat?¶
WiFi-Mat 利用了与 WiFi-DensePose 相同的基于 WiFi 的传感技术,但针对灾难响应的独特挑战进行了优化:
- 穿墙检测:通过废墟、瓦砾和坍塌结构检测生命体征
- 非侵入式:初始评估期间无需扰动不稳定的结构
- 快速部署:便携式传感器阵列可在数分钟内完成设置
- 多受害者检伤分类:使用 START 协议自动确定救援优先级
- 3D 定位:估计幸存者位置,包括穿过废墟的深度
使用场景¶
| 灾难类型 | 检测范围 | 典型深度 | 成功率 |
|---|---|---|---|
| 地震废墟 | 半径 15-30m | 最大 5m | 85-92% |
| 建筑物倒塌 | 半径 20-40m | 最大 8m | 80-88% |
| 雪崩 | 半径 10-20m | 最大 3m 雪深 | 75-85% |
| 矿井坍塌 | 半径 15-25m | 最大 10m | 70-82% |
| 洪水废墟 | 半径 10-15m | 最大 2m | 88-95% |
主要特性¶
1. 生命体征检测¶
- 呼吸检测:0.1-0.5 Hz(每分钟 4-60 次呼吸)
- 心跳检测:通过微多普勒实现 0.8-3.3 Hz(30-200 BPM)
- 运动分类:粗大运动、精细运动、震颤和周期性运动
2. 幸存者定位¶
- 2D 位置:使用 3 个及以上传感器时精度为 ±0.5m
- 深度估计:穿过厚达 5m 的废墟时精度为 ±0.3m
- 置信度评分:实时不确定性量化
3. 检伤分类¶
- START 协议:立即/延迟/轻伤/死亡
- 自动优先级排序:基于生命体征和可及性
- 动态更新:随情况变化重新检伤分类
4. 警报系统¶
- 基于优先级:危急/高/中/低警报
- 多渠道:音频、视觉、移动推送、无线电集成
- 升级机制:对状况恶化的幸存者自动升级
安装¶
先决条件¶
# Rust toolchain (1.70+)
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
# Required system dependencies (Ubuntu/Debian)
sudo apt-get install -y build-essential pkg-config libssl-dev
从源码构建¶
# Clone the repository
git clone https://github.com/ruvnet/wifi-densepose.git
cd wifi-densepose/v2
# Build the wifi-mat crate
cargo build --release --package wifi-densepose-mat
# Run tests
cargo test --package wifi-densepose-mat
# Build with all features
cargo build --release --package wifi-densepose-mat --all-features
功能标志¶
# Cargo.toml features
[features]
default = ["std"]
std = []
serde = ["dep:serde"]
async = ["tokio"]
hardware = ["wifi-densepose-hardware"]
neural = ["wifi-densepose-nn"]
full = ["serde", "async", "hardware", "neural"]
快速开始¶
基本示例¶
use wifi_densepose_mat::{
DisasterResponse, DisasterConfig, DisasterType,
ScanZone, ZoneBounds,
};
#[tokio::main]
async fn main() -> anyhow::Result<()> {
// Configure for earthquake response
let config = DisasterConfig::builder()
.disaster_type(DisasterType::Earthquake)
.sensitivity(0.85)
.confidence_threshold(0.5)
.max_depth(5.0)
.continuous_monitoring(true)
.build();
// Initialize the response system
let mut response = DisasterResponse::new(config);
// Initialize the disaster event
let location = geo::Point::new(-122.4194, 37.7749); // San Francisco
response.initialize_event(location, "Building collapse - Market Street")?;
// Define scan zones
let zone_a = ScanZone::new(
"North Wing - Ground Floor",
ZoneBounds::rectangle(0.0, 0.0, 30.0, 20.0),
);
response.add_zone(zone_a)?;
let zone_b = ScanZone::new(
"South Wing - Basement",
ZoneBounds::rectangle(30.0, 0.0, 60.0, 20.0),
);
response.add_zone(zone_b)?;
// Start scanning
println!("Starting survivor detection scan...");
response.start_scanning().await?;
// Get detected survivors
let survivors = response.survivors();
println!("Detected {} potential survivors", survivors.len());
// Get immediate priority survivors
let immediate = response.survivors_by_triage(TriageStatus::Immediate);
println!("{} survivors require immediate rescue", immediate.len());
Ok(())
}
最小检测示例¶
use wifi_densepose_mat::detection::{
BreathingDetector, BreathingDetectorConfig,
DetectionPipeline, DetectionConfig,
};
fn detect_breathing(csi_amplitudes: &[f64], sample_rate: f64) {
let config = BreathingDetectorConfig::default();
let detector = BreathingDetector::new(config);
if let Some(breathing) = detector.detect(csi_amplitudes, sample_rate) {
println!("Breathing detected!");
println!(" Rate: {:.1} BPM", breathing.rate_bpm);
println!(" Pattern: {:?}", breathing.pattern_type);
println!(" Confidence: {:.2}", breathing.confidence);
} else {
println!("No breathing detected");
}
}
架构¶
配置¶
检测能力¶
定位系统¶
检伤分类¶
警报系统¶
API 参考¶
硬件设置¶
现场部署指南¶
故障排除¶
最佳实践¶
安全注意事项¶
文档¶
用户指南¶
有关 WiFi-Mat 用户界面和操作的详细信息,请参阅用户指南。
技术参考¶
有关 API 文档、硬件规格和协议细节,请参阅技术参考。
部署手册¶
有关现场部署程序和操作指南,请参阅部署手册。
项目链接¶
WiFi-Mat 用户指南 - 版本 2.0.0
架构¶
系统概览¶
┌──────────────────────────────────────────────────────────────────┐
│ WiFi-Mat System │
├──────────────────────────────────────────────────────────────────┤
│ │
│ ┌─────────────────┐ ┌─────────────────┐ ┌─────────────────┐ │
│ │ Detection │ │ Localization │ │ Alerting │ │
│ │ Context │ │ Context │ │ Context │ │
│ │ │ │ │ │ │ │
│ │ • Breathing │ │ • Triangulation │ │ • Generator │ │
│ │ • Heartbeat │ │ • Depth Est. │ │ • Dispatcher │ │
│ │ • Movement │ │ • Fusion │ │ • Triage Svc │ │
│ │ • Pipeline │ │ │ │ │ │
│ └────────┬────────┘ └────────┬────────┘ └────────┬────────┘ │
│ │ │ │ │
│ └────────────────────┼────────────────────┘ │
│ │ │
│ ┌───────────▼───────────┐ │
│ │ Integration │ │
│ │ Layer │ │
│ │ │ │
│ │ • SignalAdapter │ │
│ │ • NeuralAdapter │ │
│ │ • HardwareAdapter │ │
│ └───────────┬───────────┘ │
│ │ │
└────────────────────────────────┼─────────────────────────────────┘
│
┌──────────────────┼──────────────────┐
│ │ │
┌─────────▼─────────┐ ┌─────▼─────┐ ┌─────────▼─────────┐
│ wifi-densepose- │ │ wifi- │ │ wifi-densepose- │
│ signal │ │ densepose │ │ hardware │
│ │ │ -nn │ │ │
└───────────────────┘ └───────────┘ └───────────────────┘
领域模型¶
┌─────────────────────────────────────────────────────────────┐
│ DisasterEvent │
│ (Aggregate Root) │
├─────────────────────────────────────────────────────────────┤
│ - id: DisasterEventId │
│ - disaster_type: DisasterType │
│ - location: Point<f64> │
│ - status: EventStatus │
│ - zones: Vec<ScanZone> │
│ - survivors: Vec<Survivor> │
│ - created_at: DateTime<Utc> │
│ - metadata: EventMetadata │
└─────────────────────────────────────────────────────────────┘
│ │
│ contains │ contains
▼ ▼
┌─────────────────────┐ ┌─────────────────────────────┐
│ ScanZone │ │ Survivor │
│ (Entity) │ │ (Entity) │
├─────────────────────┤ ├─────────────────────────────┤
│ - id: ScanZoneId │ │ - id: SurvivorId │
│ - name: String │ │ - vital_signs: VitalSigns │
│ - bounds: ZoneBounds│ │ - location: Option<Coord3D> │
│ - sensors: Vec<...> │ │ - triage: TriageStatus │
│ - parameters: ... │ │ - alerts: Vec<Alert> │
│ - status: ZoneStatus│ │ - metadata: SurvivorMeta │
└─────────────────────┘ └─────────────────────────────┘
配置¶
DisasterConfig 选项¶
let config = DisasterConfig {
// Type of disaster (affects detection algorithms)
disaster_type: DisasterType::Earthquake,
// Detection sensitivity (0.0-1.0)
// Higher = more false positives, fewer missed detections
sensitivity: 0.8,
// Minimum confidence to report a detection
confidence_threshold: 0.5,
// Maximum depth to attempt detection (meters)
max_depth: 5.0,
// Scan interval in milliseconds
scan_interval_ms: 500,
// Keep scanning continuously
continuous_monitoring: true,
// Alert configuration
alert_config: AlertConfig {
enable_audio: true,
enable_push: true,
escalation_timeout_secs: 300,
priority_threshold: Priority::Medium,
},
};
灾害类型¶
| 类型 | 优化 | 适用场景 |
|---|---|---|
Earthquake |
增强微运动检测 | 建筑物倒塌 |
BuildingCollapse |
深层穿透、噪声过滤 | 城市 SAR |
Avalanche |
低温身体补偿、积雪穿透 | 山地救援 |
Flood |
水干扰补偿 | 洪水救援 |
MineCollapse |
岩石穿透、气体检测 | 矿难 |
Explosion |
爆炸创伤模式 | 工业事故 |
Unknown |
均衡默认值 | 通用场景 |
ScanParameters¶
let params = ScanParameters {
// Detection sensitivity for this zone
sensitivity: 0.85,
// Maximum scan depth (meters)
max_depth: 5.0,
// Resolution level
resolution: ScanResolution::High,
// Enable enhanced breathing detection
enhanced_breathing: true,
// Enable heartbeat detection (slower but more accurate)
heartbeat_detection: true,
};
let zone = ScanZone::with_parameters("Zone A", bounds, params);
检测能力¶
呼吸检测¶
WiFi-Mat 通过周期性胸壁运动对 WiFi 信号的调制来检测呼吸。
use wifi_densepose_mat::detection::{BreathingDetector, BreathingDetectorConfig};
let config = BreathingDetectorConfig {
// Breathing frequency range (Hz)
min_frequency: 0.1, // 6 BPM
max_frequency: 0.5, // 30 BPM
// Analysis window
window_seconds: 10.0,
// Detection threshold
confidence_threshold: 0.3,
// Enable pattern classification
classify_patterns: true,
};
let detector = BreathingDetector::new(config);
let result = detector.detect(&litudes, sample_rate);
可检测模式: - 正常呼吸 - 浅快呼吸 - 深慢呼吸 - 不规则呼吸 - 濒死呼吸(危急)
心跳检测¶
使用微多普勒分析检测由心跳引起的细微身体运动。
use wifi_densepose_mat::detection::{HeartbeatDetector, HeartbeatDetectorConfig};
let config = HeartbeatDetectorConfig {
// Heart rate range (Hz)
min_frequency: 0.8, // 48 BPM
max_frequency: 3.0, // 180 BPM
// Require breathing detection first (reduces false positives)
require_breathing: true,
// Higher threshold due to subtle signal
confidence_threshold: 0.4,
};
let detector = HeartbeatDetector::new(config);
let result = detector.detect(&phases, sample_rate, Some(breathing_rate));
运动分类¶
use wifi_densepose_mat::detection::{MovementClassifier, MovementClassifierConfig};
let classifier = MovementClassifier::new(MovementClassifierConfig::default());
let movement = classifier.classify(&litudes, sample_rate);
match movement.movement_type {
MovementType::Gross => println!("Large movement - likely conscious"),
MovementType::Fine => println!("Small movement - possible injury"),
MovementType::Tremor => println!("Tremor detected - possible shock"),
MovementType::Periodic => println!("Periodic movement - likely breathing only"),
MovementType::None => println!("No movement detected"),
}
定位系统¶
三角定位¶
使用来自多个传感器的飞行时间和信号强度。
use wifi_densepose_mat::localization::{Triangulator, TriangulationConfig};
let config = TriangulationConfig {
// Minimum sensors for 2D localization
min_sensors: 3,
// Use RSSI in addition to CSI
use_rssi: true,
// Maximum iterations for optimization
max_iterations: 100,
// Convergence threshold
convergence_threshold: 0.01,
};
let triangulator = Triangulator::new(config);
// Sensor positions
let sensors = vec![
SensorPosition { x: 0.0, y: 0.0, z: 1.5, .. },
SensorPosition { x: 10.0, y: 0.0, z: 1.5, .. },
SensorPosition { x: 5.0, y: 10.0, z: 1.5, .. },
];
// RSSI measurements from each sensor
let measurements = vec![-45.0, -52.0, -48.0];
let position = triangulator.estimate(&sensors, &measurements)?;
println!("Estimated position: ({:.2}, {:.2})", position.x, position.y);
println!("Uncertainty: ±{:.2}m", position.uncertainty);
深度估计¶
使用信号衰减分析估计穿过碎屑的深度。
use wifi_densepose_mat::localization::{DepthEstimator, DepthEstimatorConfig};
let config = DepthEstimatorConfig {
// Material attenuation coefficients
material_model: MaterialModel::MixedDebris,
// Reference signal strength (clear line of sight)
reference_rssi: -30.0,
// Maximum detectable depth
max_depth: 8.0,
};
let estimator = DepthEstimator::new(config);
let depth = estimator.estimate(measured_rssi, expected_rssi)?;
println!("Estimated depth: {:.2}m", depth.meters);
println!("Confidence: {:.2}", depth.confidence);
println!("Material: {:?}", depth.estimated_material);
位置融合¶
使用卡尔曼滤波组合多种估计方法。
use wifi_densepose_mat::localization::{PositionFuser, LocalizationService};
let service = LocalizationService::new();
// Estimate full 3D position
let position = service.estimate_position(&vital_signs, &zone)?;
println!("3D Position:");
println!(" X: {:.2}m (±{:.2})", position.x, position.uncertainty.x);
println!(" Y: {:.2}m (±{:.2})", position.y, position.uncertainty.y);
println!(" Z: {:.2}m (±{:.2})", position.z, position.uncertainty.z);
println!(" Total confidence: {:.2}", position.confidence);
检伤分类¶
START 协议¶
WiFi-Mat 实现了简易检伤与快速治疗(START)协议:
| 状态 | 标准 | 行动 |
|---|---|---|
| 立即(红色) | 呼吸 10-29 次/分钟,无桡动脉搏动,能遵循指令 | 优先救援 |
| 延迟(黄色) | 呼吸正常,有脉搏,伤情非危及生命 | 次优先救援 |
| 轻微(绿色) | 可行走伤员,轻微伤情 | 可以等待 |
| 死亡(黑色) | 清理气道后无呼吸 | 不予救援 |
自动检伤¶
use wifi_densepose_mat::domain::triage::{TriageCalculator, TriageStatus};
let calculator = TriageCalculator::new();
// Calculate triage based on vital signs
let vital_signs = VitalSignsReading {
breathing: Some(BreathingPattern {
rate_bpm: 24.0,
pattern_type: BreathingType::Shallow,
..
}),
heartbeat: Some(HeartbeatSignature {
rate_bpm: 110.0,
..
}),
movement: MovementProfile {
movement_type: MovementType::Fine,
..
},
..
};
let triage = calculator.calculate(&vital_signs);
match triage {
TriageStatus::Immediate => println!("⚠️ IMMEDIATE - Rescue NOW"),
TriageStatus::Delayed => println!("🟡 DELAYED - Stable for now"),
TriageStatus::Minor => println!("🟢 MINOR - Walking wounded"),
TriageStatus::Deceased => println!("⬛ DECEASED - No vital signs"),
TriageStatus::Unknown => println!("❓ UNKNOWN - Insufficient data"),
}
检伤因素¶
// Access detailed triage reasoning
let factors = calculator.calculate_with_factors(&vital_signs);
println!("Triage: {:?}", factors.status);
println!("Contributing factors:");
for factor in &factors.contributing_factors {
println!(" - {} (weight: {:.2})", factor.description, factor.weight);
}
println!("Confidence: {:.2}", factors.confidence);
警报系统¶
警报生成¶
use wifi_densepose_mat::alerting::{AlertGenerator, AlertConfig};
let config = AlertConfig {
// Minimum priority to generate alerts
priority_threshold: Priority::Medium,
// Escalation settings
escalation_enabled: true,
escalation_timeout: Duration::from_secs(300),
// Notification channels
channels: vec![
AlertChannel::Audio,
AlertChannel::Visual,
AlertChannel::Push,
AlertChannel::Radio,
],
};
let generator = AlertGenerator::new(config);
// Generate alert for a survivor
let alert = generator.generate(&survivor)?;
println!("Alert generated:");
println!(" ID: {}", alert.id());
println!(" Priority: {:?}", alert.priority());
println!(" Message: {}", alert.message());
警报优先级¶
| 优先级 | 标准 | 响应时间 |
|---|---|---|
| 严重 | 立即分诊,恶化中 | < 5 分钟 |
| 高 | 立即分诊,稳定 | < 15 分钟 |
| 中 | 延迟分诊 | < 1 小时 |
| 低 | 轻微分诊 | 视可用情况 |
警报分发¶
use wifi_densepose_mat::alerting::AlertDispatcher;
let dispatcher = AlertDispatcher::new(config);
// Dispatch to all configured channels
dispatcher.dispatch(alert).await?;
// Dispatch to specific channel
dispatcher.dispatch_to(alert, AlertChannel::Radio).await?;
// Bulk dispatch for multiple survivors
dispatcher.dispatch_batch(&alerts).await?;
API 参考¶
核心类型¶
// Main entry point
pub struct DisasterResponse {
pub fn new(config: DisasterConfig) -> Self;
pub fn initialize_event(&mut self, location: Point, desc: &str) -> Result<&DisasterEvent>;
pub fn add_zone(&mut self, zone: ScanZone) -> Result<()>;
pub async fn start_scanning(&mut self) -> Result<()>;
pub fn stop_scanning(&self);
pub fn survivors(&self) -> Vec<&Survivor>;
pub fn survivors_by_triage(&self, status: TriageStatus) -> Vec<&Survivor>;
}
// Configuration
pub struct DisasterConfig {
pub disaster_type: DisasterType,
pub sensitivity: f64,
pub confidence_threshold: f64,
pub max_depth: f64,
pub scan_interval_ms: u64,
pub continuous_monitoring: bool,
pub alert_config: AlertConfig,
}
// Domain entities
pub struct Survivor { /* ... */ }
pub struct ScanZone { /* ... */ }
pub struct DisasterEvent { /* ... */ }
pub struct Alert { /* ... */ }
// Value objects
pub struct VitalSignsReading { /* ... */ }
pub struct BreathingPattern { /* ... */ }
pub struct HeartbeatSignature { /* ... */ }
pub struct Coordinates3D { /* ... */ }
检测 API¶
// Breathing
pub struct BreathingDetector {
pub fn new(config: BreathingDetectorConfig) -> Self;
pub fn detect(&self, amplitudes: &[f64], sample_rate: f64) -> Option<BreathingPattern>;
}
// Heartbeat
pub struct HeartbeatDetector {
pub fn new(config: HeartbeatDetectorConfig) -> Self;
pub fn detect(&self, phases: &[f64], sample_rate: f64, breathing_rate: Option<f64>) -> Option<HeartbeatSignature>;
}
// Movement
pub struct MovementClassifier {
pub fn new(config: MovementClassifierConfig) -> Self;
pub fn classify(&self, amplitudes: &[f64], sample_rate: f64) -> MovementProfile;
}
// Pipeline
pub struct DetectionPipeline {
pub fn new(config: DetectionConfig) -> Self;
pub async fn process_zone(&self, zone: &ScanZone) -> Result<Option<VitalSignsReading>>;
pub fn add_data(&self, amplitudes: &[f64], phases: &[f64]);
}
定位 API¶
pub struct Triangulator {
pub fn new(config: TriangulationConfig) -> Self;
pub fn estimate(&self, sensors: &[SensorPosition], measurements: &[f64]) -> Result<Position2D>;
}
pub struct DepthEstimator {
pub fn new(config: DepthEstimatorConfig) -> Self;
pub fn estimate(&self, measured: f64, expected: f64) -> Result<DepthEstimate>;
}
pub struct LocalizationService {
pub fn new() -> Self;
pub fn estimate_position(&self, vital_signs: &VitalSignsReading, zone: &ScanZone) -> Result<Coordinates3D>;
}
硬件设置¶
传感器要求¶
| 组件 | 最低要求 | 推荐 |
|---|---|---|
| WiFi 收发器 | 3 | 6-8 |
| 采样率 | 100 Hz | 1000 Hz |
| 频段 | 2.4 GHz | 5 GHz |
| 天线类型 | 全向 | 定向 |
| 电源 | 电池 | 交流电 + 电池 |
便携式传感器阵列¶
传感器布设¶
// Example sensor configuration for a 30x20m zone
let sensors = vec![
SensorPosition {
id: "S1".into(),
x: 0.0, y: 0.0, z: 2.0,
sensor_type: SensorType::Transceiver,
is_operational: true,
},
SensorPosition {
id: "S2".into(),
x: 30.0, y: 0.0, z: 2.0,
sensor_type: SensorType::Transceiver,
is_operational: true,
},
SensorPosition {
id: "S3".into(),
x: 0.0, y: 20.0, z: 2.0,
sensor_type: SensorType::Transceiver,
is_operational: true,
},
SensorPosition {
id: "S4".into(),
x: 30.0, y: 20.0, z: 2.0,
sensor_type: SensorType::Transceiver,
is_operational: true,
},
];
现场部署指南¶
部署前检查清单¶
- [ ] 确认所有传感器已充电(>80%)
- [ ] 测试传感器连接
- [ ] 针对当地条件进行校准
- [ ] 与指挥中心建立通信
- [ ] 向救援团队说明系统功能
部署步骤¶
- 现场评估(5 分钟)
- 确定安全的传感器布设位置
- 记录结构危险
-
评估碎片组成
-
传感器部署(10 分钟)
- 在搜索区域周边放置传感器
- 确保至少 3 个传感器之间具有视线路径
-
连接到控制器
-
系统初始化(2 分钟)
-
校准(5 分钟)
- 运行背景噪声校准
-
根据环境调整灵敏度
-
开始扫描(持续)
结果解读¶
┌─────────────────────────────────────────────────────┐
│ SCAN RESULTS │
├─────────────────────────────────────────────────────┤
│ Zone: North Wing - Ground Floor │
│ Status: ACTIVE | Scans: 127 | Duration: 10:34 │
├─────────────────────────────────────────────────────┤
│ DETECTIONS: │
│ │
│ [IMMEDIATE] Survivor #1 │
│ Position: (12.3, 8.7) ±0.5m │
│ Depth: 2.1m ±0.3m │
│ Breathing: 24 BPM (shallow) │
│ Movement: Fine motor │
│ Confidence: 87% │
│ │
│ [DELAYED] Survivor #2 │
│ Position: (22.1, 15.2) ±0.8m │
│ Depth: 1.5m ±0.2m │
│ Breathing: 16 BPM (normal) │
│ Movement: Periodic only │
│ Confidence: 92% │
│ │
│ [MINOR] Survivor #3 │
│ Position: (5.2, 3.1) ±0.3m │
│ Depth: 0.3m ±0.1m │
│ Breathing: 18 BPM (normal) │
│ Movement: Gross motor (likely mobile) │
│ Confidence: 95% │
└─────────────────────────────────────────────────────┘
故障排除¶
常见问题¶
| 问题 | 可能原因 | 解决方案 |
|---|---|---|
| 无检测结果 | 灵敏度过低 | 将 sensitivity 提高到 0.9 以上 |
| 误报过多 | 灵敏度过高 | 将 sensitivity 降低到 0.6-0.7 |
| 定位效果差 | 传感器不足 | 增加更多传感器(至少 3 个) |
| 检测不稳定 | 信号干扰 | 检查电磁源 |
| 深度估计失败 | 致密材料 | 调整 material_model |
诊断命令¶
// Check system health
let health = response.hardware_health();
println!("Sensors: {}/{} operational", health.connected, health.total);
// View detection statistics
let stats = response.detection_stats();
println!("Detection rate: {:.1}%", stats.detection_rate * 100.0);
println!("False positive rate: {:.1}%", stats.false_positive_rate * 100.0);
// Export diagnostic data
response.export_diagnostics("/path/to/diagnostics.json")?;
最佳实践¶
检测优化¶
- 从较高灵敏度开始,如果误报过多则降低
- 仅在确认呼吸时启用心跳检测
- 使用适当的灾害类型以启用优化算法
- 增加扫描时长以处理弱信号(最长 30 秒窗口)
定位优化¶
- 使用 4 个以上传感器以实现可靠的二维定位
- 分散布置传感器以覆盖整个搜索区域
- 保持安装高度一致(建议 1.5-2.0 米)
- 通过冗余设计应对传感器故障
操作技巧¶
- 分阶段扫描:先快速扫描,再进行聚焦的详细扫描
- 标记已确认目标:减少冗余警报
- 动态更新区域:移除已清除区域
- 传达置信度:并非所有检测都是确定的
安全注意事项¶
局限性¶
- 并非 100% 可靠:始终使用辅助方法验证
- 环境因素:金属、水和厚混凝土会降低效果
- 仅能检测生命活动:无法检测无呼吸的昏迷/死亡人员
- 深度限制:超过 5 米深度时精度下降
与其他方法的集成¶
WiFi-Mat 应与以下方法配合使用: - 声学检测(听音设备) - 搜救犬队 - 热成像 - 物理探测
漏检风险¶
阴性结果不能保证没有幸存者。始终: - 在清除瓦砾后重新扫描 - 使用多种扫描方法 - 继续人工搜索程序
支持¶
WiFi-Mat 旨在辅助搜救行动。它是一种用于增强而非替代经过训练的救援人员和既定 SAR 规程的工具。
本页原文 Markdown:在 AtomGit 查看·内容源自开源项目 wi/RuView