MCPcopy Create free account

hub / github.com/ZhaoJ9014/face.evoLVe / functions

Functions423 in github.com/ZhaoJ9014/face.evoLVe

↓ 2 callersFunctionget_image_boxes
Cut out boxes from the image. Arguments: bounding_boxes: a float numpy array of shape [n, 5]. img: an instance of PIL.Image.
applications/align/box_utils.py:127
↓ 2 callersFunctionget_image_boxes
Cut out boxes from the image. Arguments: bounding_boxes: a float numpy array of shape [n, 5]. img: an instance of PIL.Image.
paddle/align/box_utils.py:127
↓ 2 callersFunctionget_reference_facial_points
Function: ---------- get reference 5 key points according to crop settings: 0. Set default crop_size: if default_
applications/align/align_trans.py:24
↓ 2 callersFunctionget_reference_facial_points
Function: ---------- get reference 5 key points according to crop settings: 0. Set default crop_size: if default_
paddle/align/align_trans.py:24
↓ 2 callersFunctionget_similarity_transform
Function: ---------- Find Similarity Transform Matrix 'trans': u = src_pts[:, 0] v = src_pts[:, 1]
applications/align/matlab_cp2tform.py:153
↓ 2 callersFunctionget_similarity_transform_for_cv2
Function: ---------- Find Similarity Transform Matrix 'cv2_trans' which could be directly used by cv2.warpAffine():
applications/align/matlab_cp2tform.py:221
↓ 2 callersFunctionhflip_batch
(imgs_tensor)
backup/utils.py:135
↓ 2 callersFunctionhflip_batch
(imgs_tensor)
util/extract_feature_v1.py:31
↓ 2 callersFunctionhflip_batch
(imgs_tensor)
util/utils.py:135
↓ 2 callersMethodinfer
人脸对比 :param img: :return:
paddle/PaddleInference-demo/main.py:79
↓ 2 callersMethodinfer
人脸对比 :param img: :return:
paddle/Paddle-Lite-Inference-demo/main.py:67
↓ 2 callersMethodinfer_image
(self, img, orimg, scale=1.0)
paddle/PaddleInference-demo/utils.py:255
↓ 2 callersMethodinfer_image
(self, img, orimg, scale=1.0)
paddle/Paddle-Lite-Inference-demo/MTCNN.py:215
↓ 2 callersFunctionl2_norm
(input, axis = 1)
backup/utils.py:24
↓ 2 callersFunctionl2_norm
(input, axis = 1)
util/extract_feature_v2.py:9
↓ 2 callersFunctionpad
将超出图像的box进行处理 参数: bboxes:人脸框 w,h:图像长宽 返回值: dy, dx : 为调整后的box的左上角坐标相对于原box左上角的坐标 edy, edx : n为调整后的box右下角相对原box左上角的相对坐标
paddle/PaddleInference-demo/utils.py:425
↓ 2 callersFunctionpad
将超出图像的box进行处理 参数: bboxes:人脸框 w,h:图像长宽 返回值: dy, dx : 为调整后的box的左上角坐标相对于原box左上角的坐标 edy, edx : n为调整后的box右下角相对原box左上角的相对坐标
paddle/Paddle-Lite-Inference-demo/MTCNN.py:373
↓ 2 callersMethodprocess
(imgs)
paddle/PaddleInference-demo/main.py:55
↓ 2 callersMethodprocess
(imgs)
paddle/Paddle-Lite-Inference-demo/main.py:55
↓ 2 callersMethodprocessed_image
(img, scale)
paddle/PaddleInference-demo/utils.py:92
↓ 2 callersMethodprocessed_image
(img, scale)
paddle/Paddle-Lite-Inference-demo/MTCNN.py:52
↓ 2 callersFunctionrun_first_stage
Run P-Net, generate bounding boxes, and do NMS. Arguments: image: an instance of PIL.Image. net: an instance of pytorch's nn.Modu
applications/align/first_stage.py:9
↓ 2 callersFunctionseparate_irse_bn_paras
(modules)
backup/utils.py:74
↓ 2 callersFunctionseparate_irse_bn_paras
(modules)
util/utils.py:74
↓ 2 callersFunctionseparate_resnet_bn_paras
(modules)
backup/utils.py:93
↓ 2 callersFunctionseparate_resnet_bn_paras
(modules)
util/utils.py:93
↓ 2 callersMethodupdate_face_data
用于更新人脸数据库 :return:
paddle/PaddleInference-demo/main.py:20
↓ 2 callersMethodupdate_queue
(self, g, cur_ids, batch_size)
head/metrics.py:658
↓ 1 callersMethod__getitem__
(self, index)
paddle/dataload.py:89
↓ 1 callersMethod__init__
(self, data_root, input_size, mean, std)
paddle/dataload.py:73
↓ 1 callersMethod_decode_block_string
Get a block through a string notation of arguments. Args: block_string (str): A string notation of arguments.
backbone/EfficientNets.py:358
↓ 1 callersFunction_generate_bboxes
Generate bounding boxes at places where there is probably a face. Arguments: probs: a float numpy array of shape [n, m]. offs
applications/align/first_stage.py:47
↓ 1 callersMethod_initialize_weights
(self)
backbone/model_irse.py:174
↓ 1 callersMethod_initialize_weights
(self)
backup/metrics.py:32
↓ 1 callersFunction_preprocess
Preprocessing step before feeding the network. Arguments: img: a float numpy array of shape [h, w, c]. Returns: a float nump
paddle/align/box_utils.py:226
↓ 1 callersFunctionaccuracy
Computes the precision@k for the specified values of k
backup/utils.py:219
↓ 1 callersFunctionaccuracy
Computes the precision@k for the specified values of k
util/utils.py:241
↓ 1 callersMethodadd_margin
(self, cos_theta, label, batch_size)
head/metrics.py:637
↓ 1 callersMethodadd_text
(self, img, text, left, top, color=(0, 0, 0), size=20)
paddle/PaddleInference-demo/main.py:129
↓ 1 callersFunctionbatch_generator
(data_reader)
paddle/quant/quant_post_static.py:9
↓ 1 callersMethodcalc_margin
(self, x)
head/metrics.py:510
↓ 1 callersFunctioncalculate_roc
(thresholds, embeddings1, embeddings2, actual_issame, nrof_folds = 10, pca = 0)
util/verification.py:37
↓ 1 callersFunctioncorrect_bboxes
Crop boxes that are too big and get coordinates with respect to cutouts. Arguments: bboxes: a float numpy array of shape [n, 5],
applications/align/box_utils.py:162
↓ 1 callersFunctioncorrect_bboxes
Crop boxes that are too big and get coordinates with respect to cutouts. Arguments: bboxes: a float numpy array of shape [n, 5],
paddle/align/box_utils.py:162
↓ 1 callersFunctioncvt_tform_mat_for_cv2
Function: ---------- Convert Transform Matrix 'trans' into 'cv2_trans' which could be directly used by cv2.warpAffine():
applications/align/matlab_cp2tform.py:193
↓ 1 callersMethoddata_prepare
Make a vector of weights for each image in the dataset, based on class frequency. The returned vector of weights can be used
paddle/dataload.py:36
↓ 1 callersMethoddata_prepare
(self)
paddle/dataload.py:97
↓ 1 callersFunctiondetect_faces
Arguments: image: an instance of PIL.Image. min_face_size: a float number. thresholds: a list of length 3. nms_th
applications/align/detector.py:9
↓ 1 callersFunctiondetect_faces
Arguments: image: an instance of PIL.Image. min_face_size: a float number. thresholds: a list of length 3. nms_th
paddle/align/detector.py:8
↓ 1 callersMethoddraw_face
(self, img, boxes_c, names)
paddle/PaddleInference-demo/main.py:138
↓ 1 callersMethoddraw_face
(self, img, boxes_c, names)
paddle/Paddle-Lite-Inference-demo/main.py:118
↓ 1 callersFunctiondrop_connect
Drop connect. Args: input (tensor: BCWH): Input of this structure. p (float: 0.0~1.0): Probability of drop connection. tr
backbone/EfficientNets.py:121
↓ 1 callersMethodestimate_norm
(lmk)
paddle/PaddleInference-demo/utils.py:238
↓ 1 callersMethodestimate_norm
(lmk)
paddle/Paddle-Lite-Inference-demo/MTCNN.py:198
↓ 1 callersMethodextract_features
use convolution layer to extract feature . Args: inputs (tensor): Input tensor. Returns: Output of the final
backbone/EfficientNets.py:891
↓ 1 callersFunctionfindSimilarity
(uv, xy, options=None)
applications/align/matlab_cp2tform.py:112
↓ 1 callersMethodfix_c1_stage_name
(self)
paddle/backbone/resnet_pp.py:668
↓ 1 callersMethodfix_layer_warp_name
(self, stage_num, count, i)
paddle/backbone/resnet_pp.py:655
↓ 1 callersMethodfrom_name
create an efficientnet model according to name. Args: model_name (str): Name for efficientnet. in_channels (int): Inp
backbone/EfficientNets.py:939
↓ 1 callersFunctiongen_plot
Create a pyplot plot and save to buffer.
backup/utils.py:143
↓ 1 callersFunctiongen_plot
Create a pyplot plot and save to buffer.
util/utils.py:161
↓ 1 callersFunctiongenerate_bbox
得到对应原图的box坐标,分类分数,box偏移量
paddle/PaddleInference-demo/utils.py:332
↓ 1 callersFunctiongenerate_bbox
得到对应原图的box坐标,分类分数,box偏移量
paddle/Paddle-Lite-Inference-demo/MTCNN.py:280
↓ 1 callersFunctionget_affine_transform_matrix
Function: ---------- get affine transform matrix 'tfm' from src_pts to dst_pts Parameters: ---------- @src_pts: Kx2 n
applications/align/align_trans.py:155
↓ 1 callersFunctionget_affine_transform_matrix
Function: ---------- get affine transform matrix 'tfm' from src_pts to dst_pts Parameters: ---------- @src_pts: Kx2 n
paddle/align/align_trans.py:155
↓ 1 callersFunctionget_blocks
(num_layers)
backbone/model_irse.py:103
↓ 1 callersFunctionget_blocks
(num_layers)
paddle/backbone/model_irse.py:100
↓ 1 callersMethodget_id_set
(self)
head/metrics.py:665
↓ 1 callersFunctionget_val_data
(data_path)
backup/utils.py:62
↓ 1 callersFunctionget_val_data
(data_path)
util/utils.py:62
↓ 1 callersFunctionget_width_and_height_from_size
Obtain height and width from x. Args: x (int, tuple or list): Data size. Returns: size: A tuple or list (H,W).
backbone/EfficientNets.py:149
↓ 1 callersMethodinit_resnet50_predictor
(model_dir)
paddle/PaddleInference-demo/main.py:68
↓ 1 callersFunctionl2_norm
(input, axis=1)
paddle/head/metrics.py:204
↓ 1 callersFunctionl2_norm
(input, axis = 1)
backup/metrics.py:197
↓ 1 callersFunctionload_bin
(path, rootdir, transform, image_size = [112, 112])
backup/data_pipe.py:11
↓ 1 callersMethodload_face_data
(self)
paddle/PaddleInference-demo/main.py:44
↓ 1 callersMethodload_face_data
(self)
paddle/Paddle-Lite-Inference-demo/main.py:44
↓ 1 callersFunctionload_mx_rec
(rec_path)
backup/data_pipe.py:30
↓ 1 callersFunctionload_pretrained_weights
Loads pretrained weights from weights path or download using url. Args: model (Module): The whole model of efficientnet. model_na
backbone/EfficientNets.py:592
↓ 1 callersFunctionmain
(source_root)
applications/align/face_resize.py:36
↓ 1 callersFunctionmain
(source_root)
paddle/align/face_resize.py:36
↓ 1 callersFunctionmake_weights_for_balanced_classes
Make a vector of weights for each image in the dataset, based on class frequency. The returned vector of weights can be used
backup/utils.py:31
↓ 1 callersFunctionmake_weights_for_balanced_classes
Make a vector of weights for each image in the dataset, based on class frequency. The returned vector of weights can be used
util/utils.py:31
↓ 1 callersFunctionmkdir
(path)
applications/align/face_resize.py:6
↓ 1 callersFunctionmkdir
(path)
paddle/align/face_resize.py:6
↓ 1 callersMethodnorm_crop
(self, img, landmark, image_size=112)
paddle/PaddleInference-demo/utils.py:250
↓ 1 callersMethodnorm_crop
(self, img, landmark, image_size=112)
paddle/Paddle-Lite-Inference-demo/MTCNN.py:210
↓ 1 callersMethodpredict_onet
(self, img)
paddle/PaddleInference-demo/utils.py:69
↓ 1 callersMethodpredict_onet
(self, img)
paddle/Paddle-Lite-Inference-demo/MTCNN.py:38
↓ 1 callersMethodpredict_pnet
(self, img)
paddle/PaddleInference-demo/utils.py:27
↓ 1 callersMethodpredict_pnet
(self, img)
paddle/Paddle-Lite-Inference-demo/MTCNN.py:15
↓ 1 callersMethodpredict_rnet
(self, img)
paddle/PaddleInference-demo/utils.py:49
↓ 1 callersMethodpredict_rnet
(self, img)
paddle/Paddle-Lite-Inference-demo/MTCNN.py:28
↓ 1 callersFunctionprocess_image
(img)
applications/align/face_resize.py:11
↓ 1 callersFunctionprocess_image
(img)
paddle/align/face_resize.py:11
↓ 1 callersMethodrand_augment
Generate a set of distortions. Args: N: Number of augmentation transformations to apply sequentially. N is len(transforms)/
data_processing/randaugment.py:73
↓ 1 callersMethodrecognition
(self, img)
paddle/PaddleInference-demo/main.py:101
↓ 1 callersMethodrecognition
(self, img)
paddle/Paddle-Lite-Inference-demo/main.py:81
↓ 1 callersMethodreset
(self)
paddle/utils.py:60
↓ 1 callersMethodreset
(self)
backup/utils.py:206
← previousnext →101–200 of 423, ranked by callers