SYMBOL INDEX (119 symbols across 17 files) FILE: face_alignment/api.py class LandmarksType (line 13) | class LandmarksType(IntEnum): class NetworkSize (line 26) | class NetworkSize(IntEnum): class FaceAlignment (line 53) | class FaceAlignment: method __init__ (line 54) | def __init__(self, landmarks_type, network_size=NetworkSize.LARGE, method get_landmarks (line 101) | def get_landmarks(self, image_or_path, detected_faces=None, return_bbo... method get_landmarks_from_image (line 116) | def get_landmarks_from_image(self, image_or_path, detected_faces=None,... method get_landmarks_from_batch (line 206) | def get_landmarks_from_batch(self, image_batch, detected_faces=None, r... method get_landmarks_from_directory (line 272) | def get_landmarks_from_directory(self, path, extensions=['.jpg', '.png... FILE: face_alignment/detection/blazeface/blazeface_detector.py class BlazeFaceDetector (line 17) | class BlazeFaceDetector(FaceDetector): method __init__ (line 18) | def __init__(self, device, back_model=False, path_to_detector=None, pa... method detect_from_image (line 46) | def detect_from_image(self, tensor_or_path): method detect_from_batch (line 54) | def detect_from_batch(self, tensor): method reference_scale (line 60) | def reference_scale(self): method reference_x_shift (line 64) | def reference_x_shift(self): method reference_y_shift (line 68) | def reference_y_shift(self): FILE: face_alignment/detection/blazeface/detect.py function detect (line 10) | def detect(net, img, target_size=128, device='cuda'): function batch_detect (line 28) | def batch_detect(net, img_batch, target_size=128, device='cuda'): function flip_detect (line 58) | def flip_detect(net, img, device): function pts_to_bb (line 71) | def pts_to_bb(pts): FILE: face_alignment/detection/blazeface/net_blazeface.py class BlazeBlock (line 7) | class BlazeBlock(nn.Module): method __init__ (line 8) | def __init__(self, in_channels, out_channels, kernel_size=3, stride=1): method forward (line 32) | def forward(self, x): class FinalBlazeBlock (line 44) | class FinalBlazeBlock(nn.Module): method __init__ (line 45) | def __init__(self, channels, kernel_size=3): method forward (line 59) | def forward(self, x): class BlazeFace (line 65) | class BlazeFace(nn.Module): method __init__ (line 86) | def __init__(self, back_model=False): method _define_back_model_layers (line 113) | def _define_back_model_layers(self): method _define_front_model_layers (line 132) | def _define_front_model_layers(self): method _define_layers (line 166) | def _define_layers(self): method forward (line 172) | def forward(self, x): method _device (line 210) | def _device(self): method load_weights (line 214) | def load_weights(self, path): method load_anchors (line 218) | def load_anchors(self, path, device=None): method load_anchors_from_npy (line 226) | def load_anchors_from_npy(self, arr, device=None): method _preprocess (line 234) | def _preprocess(self, x): method predict_on_image (line 238) | def predict_on_image(self, img): method predict_on_batch (line 254) | def predict_on_batch(self, x): method _tensors_to_detections (line 303) | def _tensors_to_detections(self, raw_box_tensor, raw_score_tensor, anc... method _decode_boxes (line 347) | def _decode_boxes(self, raw_boxes, anchors): method _weighted_non_max_suppression (line 377) | def _weighted_non_max_suppression(self, detections): function intersect (line 438) | def intersect(box_a, box_b): function jaccard (line 459) | def jaccard(box_a, box_b): function overlap_similarity (line 480) | def overlap_similarity(box, other_boxes): FILE: face_alignment/detection/blazeface/utils.py function image_resize (line 5) | def image_resize(image, width=None, height=None, inter=cv2.INTER_AREA): function resize_and_crop_image (line 37) | def resize_and_crop_image(image, dim): function resize_and_crop_batch (line 52) | def resize_and_crop_batch(frames, dim): FILE: face_alignment/detection/core.py class FaceDetector (line 9) | class FaceDetector(object): method __init__ (line 18) | def __init__(self, device, verbose): method detect_from_image (line 32) | def detect_from_image(self, tensor_or_path): method detect_from_batch (line 54) | def detect_from_batch(self, tensor): method detect_from_directory (line 75) | def detect_from_directory(self, path, extensions=['.jpg', '.png'], rec... method reference_scale (line 125) | def reference_scale(self): method reference_x_shift (line 129) | def reference_x_shift(self): method reference_y_shift (line 133) | def reference_y_shift(self): method tensor_or_path_to_ndarray (line 137) | def tensor_or_path_to_ndarray(tensor_or_path): FILE: face_alignment/detection/dlib/dlib_detector.py class DlibDetector (line 9) | class DlibDetector(FaceDetector): method __init__ (line 10) | def __init__(self, device, path_to_detector=None, verbose=False): method detect_from_image (line 25) | def detect_from_image(self, tensor_or_path): method reference_scale (line 39) | def reference_scale(self): method reference_x_shift (line 43) | def reference_x_shift(self): method reference_y_shift (line 47) | def reference_y_shift(self): FILE: face_alignment/detection/folder/folder_detector.py class FolderDetector (line 8) | class FolderDetector(FaceDetector): method __init__ (line 19) | def __init__(self, device, path_to_detector=None, verbose=False): method detect_from_image (line 22) | def detect_from_image(self, tensor_or_path): method reference_scale (line 44) | def reference_scale(self): method reference_x_shift (line 48) | def reference_x_shift(self): method reference_y_shift (line 52) | def reference_y_shift(self): FILE: face_alignment/detection/sfd/bbox.py function nms (line 5) | def nms(dets, thresh): function encode (line 28) | def encode(matched, priors, variances): function decode (line 53) | def decode(loc, priors, variances): FILE: face_alignment/detection/sfd/detect.py function detect (line 10) | def detect(net, img, device): function batch_detect (line 20) | def batch_detect(net, img_batch, device): function get_predictions (line 47) | def get_predictions(olist, batch_size): function flip_detect (line 69) | def flip_detect(net, img, device): function pts_to_bb (line 82) | def pts_to_bb(pts): FILE: face_alignment/detection/sfd/net_s3fd.py class L2Norm (line 6) | class L2Norm(nn.Module): method __init__ (line 7) | def __init__(self, n_channels, scale=1.0): method forward (line 14) | def forward(self, x): class s3fd (line 20) | class s3fd(nn.Module): method __init__ (line 21) | def __init__(self): method forward (line 68) | def forward(self, x): FILE: face_alignment/detection/sfd/sfd_detector.py class SFDDetector (line 15) | class SFDDetector(FaceDetector): method __init__ (line 19) | def __init__(self, device, path_to_detector=None, verbose=False, filte... method _filter_bboxes (line 34) | def _filter_bboxes(self, bboxlist): method detect_from_image (line 42) | def detect_from_image(self, tensor_or_path): method detect_from_batch (line 50) | def detect_from_batch(self, tensor): method reference_scale (line 62) | def reference_scale(self): method reference_x_shift (line 66) | def reference_x_shift(self): method reference_y_shift (line 70) | def reference_y_shift(self): FILE: face_alignment/folder_data.py class FolderData (line 6) | class FolderData(torch.utils.data.Dataset): method __init__ (line 7) | def __init__(self, path, transforms, extensions=['.jpg', '.png'], recu... method __getitem__ (line 31) | def __getitem__(self, idx): method __len__ (line 37) | def __len__(self): FILE: face_alignment/utils.py function _gaussian (line 22) | def _gaussian( function draw_gaussian (line 48) | def draw_gaussian(image, point, sigma): function transform (line 72) | def transform(point, center, scale, resolution, invert=False): function crop (line 108) | def crop(image, center, scale, resolution=256.0): function transform_np (line 149) | def transform_np(point, center, scale, resolution, invert=False): function get_preds_fromhm (line 185) | def get_preds_fromhm(hm, center=None, scale=None): function _get_preds_fromhm (line 207) | def _get_preds_fromhm(hm, idx, center=None, scale=None): function create_target_heatmap (line 248) | def create_target_heatmap(target_landmarks, centers, scales): function create_bounding_box (line 257) | def create_bounding_box(target_landmarks, expansion_factor=0.0): function shuffle_lr (line 280) | def shuffle_lr(parts, pairs=None): function flip (line 305) | def flip(tensor, is_label=False): function get_image (line 325) | def get_image(image_or_path): function load_file_from_url (line 351) | def load_file_from_url(url, model_dir=None, progress=True, check_hash=Fa... FILE: setup.py function read (line 12) | def read(*names, **kwargs): function find_version (line 22) | def find_version(*file_paths): FILE: test/facealignment_test.py class Tester (line 10) | class Tester(unittest.TestCase): method setUp (line 11) | def setUp(self) -> None: method test_predict_points (line 81) | def test_predict_points(self): method test_predict_batch_points (line 88) | def test_predict_batch_points(self): method test_predict_points_from_dir (line 103) | def test_predict_points_from_dir(self): FILE: test/test_utils.py class Tester (line 9) | class Tester(unittest.TestCase): method test_flip_is_label (line 10) | def test_flip_is_label(self): method test_flip_is_image (line 18) | def test_flip_is_image(self): method test_getpreds (line 24) | def test_getpreds(self): method test_create_heatmaps (line 37) | def test_create_heatmaps(self):