Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ZhaoJ9014/face.evoLVe
/ functions
Functions
423 in github.com/ZhaoJ9014/face.evoLVe
⨍
Functions
423
◇
Types & classes
103
↓ 2 callers
Function
get_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 callers
Function
get_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 callers
Function
get_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 callers
Function
get_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 callers
Function
get_similarity_transform
Function: ---------- Find Similarity Transform Matrix 'trans': u = src_pts[:, 0] v = src_pts[:, 1]
applications/align/matlab_cp2tform.py:153
↓ 2 callers
Function
get_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 callers
Function
hflip_batch
(imgs_tensor)
backup/utils.py:135
↓ 2 callers
Function
hflip_batch
(imgs_tensor)
util/extract_feature_v1.py:31
↓ 2 callers
Function
hflip_batch
(imgs_tensor)
util/utils.py:135
↓ 2 callers
Method
infer
人脸对比 :param img: :return:
paddle/PaddleInference-demo/main.py:79
↓ 2 callers
Method
infer
人脸对比 :param img: :return:
paddle/Paddle-Lite-Inference-demo/main.py:67
↓ 2 callers
Method
infer_image
(self, img, orimg, scale=1.0)
paddle/PaddleInference-demo/utils.py:255
↓ 2 callers
Method
infer_image
(self, img, orimg, scale=1.0)
paddle/Paddle-Lite-Inference-demo/MTCNN.py:215
↓ 2 callers
Function
l2_norm
(input, axis = 1)
backup/utils.py:24
↓ 2 callers
Function
l2_norm
(input, axis = 1)
util/extract_feature_v2.py:9
↓ 2 callers
Function
pad
将超出图像的box进行处理 参数: bboxes:人脸框 w,h:图像长宽 返回值: dy, dx : 为调整后的box的左上角坐标相对于原box左上角的坐标 edy, edx : n为调整后的box右下角相对原box左上角的相对坐标
paddle/PaddleInference-demo/utils.py:425
↓ 2 callers
Function
pad
将超出图像的box进行处理 参数: bboxes:人脸框 w,h:图像长宽 返回值: dy, dx : 为调整后的box的左上角坐标相对于原box左上角的坐标 edy, edx : n为调整后的box右下角相对原box左上角的相对坐标
paddle/Paddle-Lite-Inference-demo/MTCNN.py:373
↓ 2 callers
Method
process
(imgs)
paddle/PaddleInference-demo/main.py:55
↓ 2 callers
Method
process
(imgs)
paddle/Paddle-Lite-Inference-demo/main.py:55
↓ 2 callers
Method
processed_image
(img, scale)
paddle/PaddleInference-demo/utils.py:92
↓ 2 callers
Method
processed_image
(img, scale)
paddle/Paddle-Lite-Inference-demo/MTCNN.py:52
↓ 2 callers
Function
run_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 callers
Function
separate_irse_bn_paras
(modules)
backup/utils.py:74
↓ 2 callers
Function
separate_irse_bn_paras
(modules)
util/utils.py:74
↓ 2 callers
Function
separate_resnet_bn_paras
(modules)
backup/utils.py:93
↓ 2 callers
Function
separate_resnet_bn_paras
(modules)
util/utils.py:93
↓ 2 callers
Method
update_face_data
用于更新人脸数据库 :return:
paddle/PaddleInference-demo/main.py:20
↓ 2 callers
Method
update_queue
(self, g, cur_ids, batch_size)
head/metrics.py:658
↓ 1 callers
Method
__getitem__
(self, index)
paddle/dataload.py:89
↓ 1 callers
Method
__init__
(self, data_root, input_size, mean, std)
paddle/dataload.py:73
↓ 1 callers
Method
_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 callers
Function
_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 callers
Method
_initialize_weights
(self)
backbone/model_irse.py:174
↓ 1 callers
Method
_initialize_weights
(self)
backup/metrics.py:32
↓ 1 callers
Function
_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 callers
Function
accuracy
Computes the precision@k for the specified values of k
backup/utils.py:219
↓ 1 callers
Function
accuracy
Computes the precision@k for the specified values of k
util/utils.py:241
↓ 1 callers
Method
add_margin
(self, cos_theta, label, batch_size)
head/metrics.py:637
↓ 1 callers
Method
add_text
(self, img, text, left, top, color=(0, 0, 0), size=20)
paddle/PaddleInference-demo/main.py:129
↓ 1 callers
Function
batch_generator
(data_reader)
paddle/quant/quant_post_static.py:9
↓ 1 callers
Method
calc_margin
(self, x)
head/metrics.py:510
↓ 1 callers
Function
calculate_roc
(thresholds, embeddings1, embeddings2, actual_issame, nrof_folds = 10, pca = 0)
util/verification.py:37
↓ 1 callers
Function
correct_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 callers
Function
correct_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 callers
Function
cvt_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 callers
Method
data_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 callers
Method
data_prepare
(self)
paddle/dataload.py:97
↓ 1 callers
Function
detect_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 callers
Function
detect_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 callers
Method
draw_face
(self, img, boxes_c, names)
paddle/PaddleInference-demo/main.py:138
↓ 1 callers
Method
draw_face
(self, img, boxes_c, names)
paddle/Paddle-Lite-Inference-demo/main.py:118
↓ 1 callers
Function
drop_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 callers
Method
estimate_norm
(lmk)
paddle/PaddleInference-demo/utils.py:238
↓ 1 callers
Method
estimate_norm
(lmk)
paddle/Paddle-Lite-Inference-demo/MTCNN.py:198
↓ 1 callers
Method
extract_features
use convolution layer to extract feature . Args: inputs (tensor): Input tensor. Returns: Output of the final
backbone/EfficientNets.py:891
↓ 1 callers
Function
findSimilarity
(uv, xy, options=None)
applications/align/matlab_cp2tform.py:112
↓ 1 callers
Method
fix_c1_stage_name
(self)
paddle/backbone/resnet_pp.py:668
↓ 1 callers
Method
fix_layer_warp_name
(self, stage_num, count, i)
paddle/backbone/resnet_pp.py:655
↓ 1 callers
Method
from_name
create an efficientnet model according to name. Args: model_name (str): Name for efficientnet. in_channels (int): Inp
backbone/EfficientNets.py:939
↓ 1 callers
Function
gen_plot
Create a pyplot plot and save to buffer.
backup/utils.py:143
↓ 1 callers
Function
gen_plot
Create a pyplot plot and save to buffer.
util/utils.py:161
↓ 1 callers
Function
generate_bbox
得到对应原图的box坐标,分类分数,box偏移量
paddle/PaddleInference-demo/utils.py:332
↓ 1 callers
Function
generate_bbox
得到对应原图的box坐标,分类分数,box偏移量
paddle/Paddle-Lite-Inference-demo/MTCNN.py:280
↓ 1 callers
Function
get_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 callers
Function
get_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 callers
Function
get_blocks
(num_layers)
backbone/model_irse.py:103
↓ 1 callers
Function
get_blocks
(num_layers)
paddle/backbone/model_irse.py:100
↓ 1 callers
Method
get_id_set
(self)
head/metrics.py:665
↓ 1 callers
Function
get_val_data
(data_path)
backup/utils.py:62
↓ 1 callers
Function
get_val_data
(data_path)
util/utils.py:62
↓ 1 callers
Function
get_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 callers
Method
init_resnet50_predictor
(model_dir)
paddle/PaddleInference-demo/main.py:68
↓ 1 callers
Function
l2_norm
(input, axis=1)
paddle/head/metrics.py:204
↓ 1 callers
Function
l2_norm
(input, axis = 1)
backup/metrics.py:197
↓ 1 callers
Function
load_bin
(path, rootdir, transform, image_size = [112, 112])
backup/data_pipe.py:11
↓ 1 callers
Method
load_face_data
(self)
paddle/PaddleInference-demo/main.py:44
↓ 1 callers
Method
load_face_data
(self)
paddle/Paddle-Lite-Inference-demo/main.py:44
↓ 1 callers
Function
load_mx_rec
(rec_path)
backup/data_pipe.py:30
↓ 1 callers
Function
load_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 callers
Function
main
(source_root)
applications/align/face_resize.py:36
↓ 1 callers
Function
main
(source_root)
paddle/align/face_resize.py:36
↓ 1 callers
Function
make_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 callers
Function
make_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 callers
Function
mkdir
(path)
applications/align/face_resize.py:6
↓ 1 callers
Function
mkdir
(path)
paddle/align/face_resize.py:6
↓ 1 callers
Method
norm_crop
(self, img, landmark, image_size=112)
paddle/PaddleInference-demo/utils.py:250
↓ 1 callers
Method
norm_crop
(self, img, landmark, image_size=112)
paddle/Paddle-Lite-Inference-demo/MTCNN.py:210
↓ 1 callers
Method
predict_onet
(self, img)
paddle/PaddleInference-demo/utils.py:69
↓ 1 callers
Method
predict_onet
(self, img)
paddle/Paddle-Lite-Inference-demo/MTCNN.py:38
↓ 1 callers
Method
predict_pnet
(self, img)
paddle/PaddleInference-demo/utils.py:27
↓ 1 callers
Method
predict_pnet
(self, img)
paddle/Paddle-Lite-Inference-demo/MTCNN.py:15
↓ 1 callers
Method
predict_rnet
(self, img)
paddle/PaddleInference-demo/utils.py:49
↓ 1 callers
Method
predict_rnet
(self, img)
paddle/Paddle-Lite-Inference-demo/MTCNN.py:28
↓ 1 callers
Function
process_image
(img)
applications/align/face_resize.py:11
↓ 1 callers
Function
process_image
(img)
paddle/align/face_resize.py:11
↓ 1 callers
Method
rand_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 callers
Method
recognition
(self, img)
paddle/PaddleInference-demo/main.py:101
↓ 1 callers
Method
recognition
(self, img)
paddle/Paddle-Lite-Inference-demo/main.py:81
↓ 1 callers
Method
reset
(self)
paddle/utils.py:60
↓ 1 callers
Method
reset
(self)
backup/utils.py:206
← previous
next →
101–200 of 423, ranked by callers