Skip to content

Commit

Permalink
Increase similarity threshold
Browse files Browse the repository at this point in the history
Fixes #31

Signed-off-by: Šimon Brandner <[email protected]>
  • Loading branch information
SimonBrandner committed Jan 28, 2025
1 parent 3067b82 commit b60f647
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/oblichey-cli/src/processors/face.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ use serde_with::serde_as;
use std::ops::{AddAssign, Div};

pub const EMBEDDING_LENGTH: usize = 512;
pub const SIMILARITY_THRESHOLD: f32 = 0.51;
pub const SIMILARITY_THRESHOLD: f32 = 0.9;

#[derive(Debug, PartialEq, Eq, Clone, Copy)]
pub enum FaceRecognitionError {
Expand Down

0 comments on commit b60f647

Please sign in to comment.