-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
Description
Adaptive, // TODO: window adaptive pca |
},
};
use bevy_burn_dino::{
platform::camera::{
receive_image,
self,
},
process_frame,
};
#[derive(
Debug,
Default,
Clone,
PartialEq,
Serialize,
Deserialize,
Reflect,
ValueEnum,
)]
pub enum PcaType {
Adaptive, // TODO: window adaptive pca
#[default]
Face,
Person,
}
impl PcaType {
#[allow(dead_code)]
const fn pca_weights_mpk(&self) -> &'static str {
match self {
PcaType::Adaptive => "adaptive_pca.mpk",
PcaType::Face => "face_pca.mpk",
PcaType::Person => "person_pca.mpk",
}
}
}
#[derive(