提交 8789d10b 编写于 作者: A Adam Geitgey

Fix flake8 error

上级 72573306
......@@ -78,7 +78,7 @@ def process_images_in_process_pool(images_to_check, known_names, known_face_enco
@click.argument('known_people_folder')
@click.argument('image_to_check')
@click.option('--cpus', default=1, help='number of CPU cores to use in parallel (can speed up processing lots of images). -1 means "use all in system"')
@click.option('--tolerance', default=0.6, help='Tolerance to use for face comparisons. Default is 0.6 and lower is more strict matching. Lower this if you get multiple matches for the same person. Try 0.54 for example.')
@click.option('--tolerance', default=0.6, help='Tolerance for face comparisons. Default is 0.6. Lower this if you get multiple matches for the same person.')
def main(known_people_folder, image_to_check, cpus, tolerance):
known_names, known_face_encodings = scan_known_people(known_people_folder)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册