feat(gui): add face ROIs to comparison results and update image size
This commit is contained in:
@@ -76,6 +76,8 @@ pub enum ComparisonResult {
|
||||
Success {
|
||||
image1_faces: usize,
|
||||
image2_faces: usize,
|
||||
image1_face_rois: Vec<ndarray::Array3<u8>>,
|
||||
image2_face_rois: Vec<ndarray::Array3<u8>>,
|
||||
best_similarity: f32,
|
||||
processing_time: f64,
|
||||
},
|
||||
@@ -765,6 +767,8 @@ impl FaceDetectorApp {
|
||||
ComparisonResult::Success {
|
||||
image1_faces,
|
||||
image2_faces,
|
||||
image1_face_rois: _,
|
||||
image2_face_rois: _,
|
||||
best_similarity,
|
||||
processing_time,
|
||||
} => {
|
||||
|
||||
Reference in New Issue
Block a user