feat: Changed the struct for retinaface
Some checks failed
build / checks-matrix (push) Has been cancelled
build / checks-build (push) Has been cancelled
build / codecov (push) Has been cancelled
docs / docs (push) Has been cancelled

This commit is contained in:
uttarayan21
2025-08-18 11:59:09 +05:30
parent 33afbfc2b8
commit 050e937408
8 changed files with 27 additions and 48 deletions

View File

@@ -1,3 +0,0 @@
pub mod retinaface;
pub use retinaface::FaceDetection;

View File

@@ -1,3 +0,0 @@
pub mod retinaface;
pub use retinaface::FaceDetection;

View File

@@ -1,8 +1,10 @@
pub mod mnn;
pub mod ort;
use crate::errors::*;
use bounding_box::{Aabb2, nms::nms};
use error_stack::ResultExt;
use nalgebra::{Point2, Vector2};
use std::collections::HashMap;
/// Configuration for face detection postprocessing
#[derive(Debug, Clone, PartialEq)]

View File

@@ -1,5 +1,5 @@
use crate::errors::*;
use crate::facedet::postprocess::*;
use crate::facedet::*;
use error_stack::ResultExt;
use mnn_bridge::ndarray::*;
use ndarray_resize::NdFir;

View File

@@ -1,5 +1,5 @@
use crate::errors::*;
use crate::facedet::postprocess::*;
use crate::facedet::*;
use error_stack::ResultExt;
use ndarray_resize::NdFir;
use ort::{