yscv-recognize 0.1.8

Face/object recognition with cosine matching and VP-Tree ANN
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use serde::{Deserialize, Serialize};

#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
pub struct RecognizerSnapshot {
    pub threshold: f32,
    pub identities: Vec<IdentitySnapshot>,
}

#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
pub struct IdentitySnapshot {
    pub id: String,
    pub embedding: Vec<f32>,
}