新增选项:1.避免模式3跳过人脸识别 2.避免对有码封面进行人脸识别

This commit is contained in:
lededev
2022-04-10 07:14:55 +08:00
parent e951429ec0
commit 09c81d7f59
4 changed files with 27 additions and 19 deletions

View File

@@ -717,7 +717,7 @@ def core_main(file_path, number_th, oCC):
# 裁剪图
cutImage(imagecut, path, fanart_path, poster_path)
cutImage(imagecut, path, fanart_path, poster_path, bool(conf.face_uncensored_only() and not uncensored))
# 添加水印
if conf.is_watermark():
@@ -760,7 +760,7 @@ def core_main(file_path, number_th, oCC):
extrafanart_download(json_data.get('extrafanart'), path, number, filepath)
# 裁剪图
cutImage(imagecut, path, fanart_path, poster_path)
cutImage(imagecut, path, fanart_path, poster_path, bool(conf.face_uncensored_only() and not uncensored))
# 添加水印
if conf.is_watermark():