2020-07-02 23:02:05 +05:30
|
|
|
# -*- coding: utf-8 -*-
|
|
|
|
# @Date : 2020-07-01
|
|
|
|
# @Author : Shawn Shan (shansixiong@cs.uchicago.edu)
|
|
|
|
# @Link : https://www.shawnshan.com/
|
|
|
|
|
|
|
|
|
2020-07-09 11:56:42 +05:30
|
|
|
__version__ = '0.0.6'
|
2020-07-02 23:02:05 +05:30
|
|
|
|
2020-07-07 21:44:38 +05:30
|
|
|
from .detect_faces import create_mtcnn, run_detect_face
|
2020-07-02 23:02:05 +05:30
|
|
|
from .differentiator import FawkesMaskGeneration
|
2020-07-12 04:42:32 +05:30
|
|
|
from .protection import main, Fawkes
|
2020-07-07 21:44:38 +05:30
|
|
|
from .utils import load_extractor, init_gpu, select_target_label, dump_image, reverse_process_cloaked, Faces, get_file
|
2020-07-02 23:02:05 +05:30
|
|
|
|
|
|
|
__all__ = (
|
2020-07-07 21:44:38 +05:30
|
|
|
'__version__', 'create_mtcnn', 'run_detect_face',
|
2020-07-02 23:02:05 +05:30
|
|
|
'FawkesMaskGeneration', 'load_extractor',
|
|
|
|
'init_gpu',
|
2020-07-07 21:44:38 +05:30
|
|
|
'select_target_label', 'dump_image', 'reverse_process_cloaked',
|
2020-07-12 04:42:32 +05:30
|
|
|
'Faces', 'get_file', 'main', 'Fawkes'
|
2020-07-07 21:44:38 +05:30
|
|
|
)
|