mirror of
https://github.com/Shawn-Shan/fawkes.git
synced 2024-09-20 07:26:37 +05:30
81a6fed188
Former-commit-id: e7e46967035dfb727d180de0a0780ca9e026dd02 [formerly 0e703ac63e52aafbaa3033759553e2f3b31d2886] Former-commit-id: 9dfff8ea4c2646d90203b378e0732330e655086a
21 lines
669 B
Python
21 lines
669 B
Python
# -*- coding: utf-8 -*-
|
|
# @Date : 2020-07-01
|
|
# @Author : Shawn Shan (shansixiong@cs.uchicago.edu)
|
|
# @Link : https://www.shawnshan.com/
|
|
|
|
|
|
__version__ = '0.0.6'
|
|
|
|
from .detect_faces import create_mtcnn, run_detect_face
|
|
from .differentiator import FawkesMaskGeneration
|
|
from .protection import main, Fawkes
|
|
from .utils import load_extractor, init_gpu, select_target_label, dump_image, reverse_process_cloaked, Faces, get_file
|
|
|
|
__all__ = (
|
|
'__version__', 'create_mtcnn', 'run_detect_face',
|
|
'FawkesMaskGeneration', 'load_extractor',
|
|
'init_gpu',
|
|
'select_target_label', 'dump_image', 'reverse_process_cloaked',
|
|
'Faces', 'get_file', 'main', 'Fawkes'
|
|
)
|