Skip to content

Commit

Permalink
Fix centerface type hint
Browse files Browse the repository at this point in the history
  • Loading branch information
mdraw committed Jan 10, 2023
1 parent b80a601 commit edfe190
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions deface/deface.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ def cam_read_iter(reader):
def video_detect(
ipath: str,
opath: str,
centerface: str,
centerface: CenterFace,
threshold: float,
enable_preview: bool,
cam: bool,
Expand Down Expand Up @@ -172,7 +172,7 @@ def video_detect(
def image_detect(
ipath: str,
opath: str,
centerface: str,
centerface: CenterFace,
threshold: float,
replacewith: str,
mask_scale: float,
Expand Down

0 comments on commit edfe190

Please sign in to comment.