From aa47e33cf47ff2a875ef6133cadfbc93bf523d4b Mon Sep 17 00:00:00 2001 From: Mehrab Shahbazi Date: Thu, 2 Jan 2025 21:54:59 +0330 Subject: [PATCH] remove #type ignore comments --- deepface/modules/streaming.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/deepface/modules/streaming.py b/deepface/modules/streaming.py index 335f6ee..c16816d 100644 --- a/deepface/modules/streaming.py +++ b/deepface/modules/streaming.py @@ -254,10 +254,10 @@ def search_identity( # detected face is coming from parent, safe to access 1st index df = dfs[0] - if df.shape[0] == 0: # type: ignore + if df.shape[0] == 0: return None, None - candidate = df.iloc[0] # type: ignore + candidate = df.iloc[0] target_path = candidate["identity"] logger.info(f"Hello, {target_path}")