Expand description
§WiFi-DensePose Core
Core types, traits, and utilities for the WiFi-DensePose pose estimation system.
This crate provides the foundational building blocks used throughout the WiFi-DensePose ecosystem, including:
-
Core Data Types:
CsiFrame,ProcessedSignal,PoseEstimate,PersonPose, andKeypointfor representingWiFiCSI data and pose estimation results. -
Error Types: Comprehensive error handling via the
errormodule, with specific error types for different subsystems. -
Traits: Core abstractions like
SignalProcessor,NeuralInference, andDataStorethat define the contracts for signal processing, neural network inference, and data persistence. -
Utilities: Common helper functions and types used across the codebase.
§Feature Flags
std(default): Enable standard library supportserde: Enable serialization/deserialization via serdeasync: Enable async trait definitions
§Example
use wifi_densepose_core::{CsiFrame, Keypoint, KeypointType, Confidence};
// Create a keypoint with high confidence
let keypoint = Keypoint::new(
KeypointType::Nose,
0.5,
0.3,
Confidence::new(0.95).unwrap(),
);
assert!(keypoint.is_visible());Re-exports§
pub use error::CoreError;pub use error::CoreResult;pub use error::SignalError;pub use error::InferenceError;pub use error::StorageError;pub use traits::SignalProcessor;pub use traits::NeuralInference;pub use traits::DataStore;pub use types::CsiFrame;pub use types::CsiMetadata;pub use types::AntennaConfig;pub use types::ProcessedSignal;pub use types::SignalFeatures;pub use types::FrequencyBand;pub use types::PoseEstimate;pub use types::PersonPose;pub use types::Keypoint;pub use types::KeypointType;pub use types::Confidence;pub use types::Timestamp;pub use types::FrameId;pub use types::DeviceId;pub use types::BoundingBox;
Modules§
- error
- Error types for the WiFi-DensePose system.
- prelude
- Prelude module for convenient imports.
- traits
- Core trait definitions for the WiFi-DensePose system.
- types
- Core data types for the WiFi-DensePose system.
- utils
- Common utility functions for the WiFi-DensePose system.
Constants§
- DEFAULT_
CONFIDENCE_ THRESHOLD - Default confidence threshold for keypoint visibility
- MAX_
KEYPOINTS - Maximum number of keypoints per person (COCO format)
- MAX_
SUBCARRIERS - Maximum number of subcarriers typically used in
WiFiCSI - VERSION
- Crate version