mirror of
https://github.com/serengil/deepface.git
synced 2025-06-07 12:05:22 +00:00
remove #type ignore comments
This commit is contained in:
parent
c513b26d6d
commit
aa47e33cf4
@ -254,10 +254,10 @@ def search_identity(
|
|||||||
# detected face is coming from parent, safe to access 1st index
|
# detected face is coming from parent, safe to access 1st index
|
||||||
df = dfs[0]
|
df = dfs[0]
|
||||||
|
|
||||||
if df.shape[0] == 0: # type: ignore
|
if df.shape[0] == 0:
|
||||||
return None, None
|
return None, None
|
||||||
|
|
||||||
candidate = df.iloc[0] # type: ignore
|
candidate = df.iloc[0]
|
||||||
target_path = candidate["identity"]
|
target_path = candidate["identity"]
|
||||||
logger.info(f"Hello, {target_path}")
|
logger.info(f"Hello, {target_path}")
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user