SYMBOL INDEX (89 symbols across 8 files) FILE: afy/cam_fomm.py function is_new_frame_better (line 29) | def is_new_frame_better(source, driving, predictor): function load_stylegan_avatar (line 58) | def load_stylegan_avatar(): function load_images (line 70) | def load_images(IMG_SIZE = 256): function change_avatar (line 89) | def change_avatar(predictor, new_avatar): function draw_rect (line 97) | def draw_rect(img, rw=0.6, rh=0.8, color=(255, 0, 0), thickness=2): function kp_to_pixels (line 105) | def kp_to_pixels(arr): function draw_face_landmarks (line 109) | def draw_face_landmarks(img, face_kp, color=(20, 80, 255)): function print_help (line 113) | def print_help(): function draw_fps (line 132) | def draw_fps(frame, fps, timing, x0=10, y0=20, ystep=30, fontsz=0.5, col... function draw_landmark_text (line 141) | def draw_landmark_text(frame, thk=2, fontsz=0.5, color=(0, 0, 255)): function draw_calib_text (line 148) | def draw_calib_text(frame, thk=2, fontsz=0.5, color=(0, 0, 255)): function select_camera (line 157) | def select_camera(config): FILE: afy/camera_selector.py function query_cameras (line 11) | def query_cameras(n_cams): function make_grid (line 39) | def make_grid(images, cell_size=(320, 240), cols=2): function mouse_callback (line 56) | def mouse_callback(event, x, y, flags, userdata): function select_camera (line 67) | def select_camera(cam_frames, window="Camera selector"): FILE: afy/networking.py function check_connection (line 10) | def check_connection(socket, timeout=1000): class SerializingSocket (line 29) | class SerializingSocket(zmq.Socket): method send_array (line 38) | def send_array(self, A, msg='NoName', flags=0, copy=True, track=False): method send_data (line 61) | def send_data(self, method recv_array (line 84) | def recv_array(self, flags=0, copy=True, track=False): method recv_data (line 106) | def recv_data(self, flags=0, copy=True, track=False): class SerializingContext (line 127) | class SerializingContext(zmq.Context): FILE: afy/predictor_local.py function normalize_kp (line 11) | def normalize_kp(kp_source, kp_driving, kp_driving_initial, adapt_moveme... function to_tensor (line 34) | def to_tensor(a): class PredictorLocal (line 38) | class PredictorLocal: method __init__ (line 39) | def __init__(self, config_path, checkpoint_path, relative=False, adapt... method load_checkpoints (line 54) | def load_checkpoints(self): method reset_frames (line 75) | def reset_frames(self): method set_source_image (line 78) | def set_source_image(self, source_image): method predict (line 90) | def predict(self, driving_frame): method get_frame_kp (line 113) | def get_frame_kp(self, image): method normalize_alignment_kp (line 123) | def normalize_alignment_kp(kp): method get_start_frame (line 130) | def get_start_frame(self): method get_start_frame_kp (line 133) | def get_start_frame_kp(self): FILE: afy/predictor_remote.py class PredictorRemote (line 22) | class PredictorRemote: method __init__ (line 23) | def __init__(self, *args, in_addr=None, out_addr=None, **kwargs): method start (line 48) | def start(self): method stop (line 55) | def stop(self): method init_remote_worker (line 63) | def init_remote_worker(self): method __getattr__ (line 66) | def __getattr__(self, attr): method _send_recv_async (line 70) | def _send_recv_async(self, method, args, critical): method send_worker (line 128) | def send_worker(address, send_queue, worker_alive): method recv_worker (line 164) | def recv_worker(address, recv_queue, worker_alive): FILE: afy/predictor_worker.py class PredictorWorker (line 33) | class PredictorWorker(): method __init__ (line 34) | def __init__(self, in_port=None, out_port=None): method run (line 44) | def run(self): method recv_worker (line 59) | def recv_worker(port, recv_queue, worker_alive): method predictor_worker (line 101) | def predictor_worker(recv_queue, send_queue, worker_alive): method send_worker (line 184) | def send_worker(port, send_queue, worker_alive): function run_worker (line 224) | def run_worker(in_port=None, out_port=None): FILE: afy/utils.py function log (line 9) | def log(*args, file=sys.stderr, **kwargs): function info (line 14) | def info(*args, file=sys.stdout, **kwargs): class Tee (line 18) | class Tee(object): method __init__ (line 19) | def __init__(self, filename, mode='w', terminal=sys.stderr): method __del__ (line 23) | def __del__(self): method write (line 26) | def write(self, *args, **kwargs): method __call__ (line 30) | def __call__(self, *args, **kwargs): method flush (line 33) | def flush(self): class Logger (line 37) | class Logger(): method __init__ (line 38) | def __init__(self, filename, verbose=True): method __call__ (line 42) | def __call__(self, *args, important=False, **kwargs): class Once (line 49) | class Once(): method __init__ (line 52) | def __init__(self, what, who=log, per=1e12): class TicToc (line 65) | class TicToc: method __init__ (line 66) | def __init__(self): method tic (line 70) | def tic(self): method toc (line 73) | def toc(self, total=False): method tocp (line 80) | def tocp(self, str): class AccumDict (line 86) | class AccumDict: method __init__ (line 87) | def __init__(self, num_f=3): method add (line 91) | def add(self, k, v): method __dict__ (line 94) | def __dict__(self): method __getitem__ (line 97) | def __getitem__(self, key): method __str__ (line 100) | def __str__(self): method __repr__ (line 113) | def __repr__(self): function clamp (line 117) | def clamp(value, min_value, max_value): function crop (line 121) | def crop(img, p=0.7, offset_x=0, offset_y=0): function pad_img (line 140) | def pad_img(img, target_size, default_pad=0): function resize (line 152) | def resize(img, size, version='cv'): FILE: afy/videocaptureasync.py class VideoCaptureAsync (line 11) | class VideoCaptureAsync: method __init__ (line 12) | def __init__(self, src=0, width=640, height=480): method set (line 25) | def set(self, var1, var2): method isOpened (line 28) | def isOpened(self): method start (line 31) | def start(self): method update (line 50) | def update(self): method read (line 59) | def read(self): method stop (line 67) | def stop(self): method __exit__ (line 71) | def __exit__(self, exec_type, exc_value, traceback):