From 8b8acffcf5f1e9e9ddb552b8ac125e50f68987ac Mon Sep 17 00:00:00 2001 From: Onur Gündüz Date: Wed, 21 Oct 2026 17:47:57 +0200 Subject: Rename to facedet --- overlay.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'overlay.c') diff --git a/overlay.c b/overlay.c index ab3fcf4..4d2013d 100644 --- a/overlay.c +++ b/overlay.c @@ -6,7 +6,7 @@ static const vix_rgb GREEN = {80, 220, 80}; -static void draw_face(const vix_canvas *canvas, const yunet_detection *face, int index) { +static void draw_face(const vix_canvas *canvas, const facedet_detection *face, int index) { double left = face->x, top = face->y; double right = left + face->w, bottom = top + face->h; if (!isfinite(left) || !isfinite(top) || !isfinite(right) || !isfinite(bottom) || @@ -37,7 +37,7 @@ static void draw_face(const vix_canvas *canvas, const yunet_detection *face, int } int overlay_write_ppm(const char *path, unsigned char *rgb, int width, int height, - const yunet_detection *faces, int count) { + const facedet_detection *faces, int count) { if (!path || !*path || !rgb || width < 1 || height < 1 || width > 4096 || height > 4096 || count < 0 || (count && !faces)) return -1; -- cgit v1.3.1