Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Aristochi/Dangerous_driving_behavior_detection
/ functions
Functions
81 in github.com/Aristochi/Dangerous_driving_behavior_detection
⨍
Functions
81
◇
Types & classes
12
↓ 13 callers
Function
_depthwise_conv_block
(inputs, pointwise_conv_filters, depth_multiplier=1, strides=(1, 1), block_id=1)
Facemask/mobileNet.py:81
↓ 6 callers
Function
detect_faces
(image, min_face_size=35.0, thresholds=[0.6, 0.7, 0.8], nms
mtcnn/detector.py:296
↓ 4 callers
Function
get_face_expression
(img, bounding_box)
mtcnn/detector.py:559
↓ 4 callers
Function
nms
(boxes, overlap_threshold=0.5, mode='union')
mtcnn/detector.py:30
↓ 4 callers
Function
show_bboxes
(img, bounding_boxes, facial_landmarks=[])
mtcnn/detector.py:149
↓ 3 callers
Method
__init__
(self)
mtcnn/detector.py:173
↓ 3 callers
Function
calibrate_box
(bboxes, offsets)
mtcnn/detector.py:76
↓ 3 callers
Function
get_head_pose
(landmarks)
mtcnn/detector.py:471
↓ 3 callers
Method
showTime
(self)
Run.py:106
↓ 2 callers
Function
_preprocess
(img)
mtcnn/detector.py:142
↓ 2 callers
Function
convert_to_square
(bboxes)
mtcnn/detector.py:63
↓ 2 callers
Function
get_emotion
(img)
mtcnn/detector.py:575
↓ 2 callers
Function
get_face_state
(img)
mtcnn/detector.py:602
↓ 2 callers
Function
get_image_boxes
(bounding_boxes, img, size=24)
mtcnn/detector.py:88
↓ 1 callers
Method
CallBackFunctions
(self)
Run.py:96
↓ 1 callers
Method
ColorAdjust
(self, img)
Run.py:119
↓ 1 callers
Function
MobileNet
(input_shape=[224,224,3], depth_multiplier=1, dropout=1e-3, classes=
Facemask/mobileNet.py:11
↓ 1 callers
Method
PrepCamera
(self)
Run.py:84
↓ 1 callers
Method
PrepareTorch
(self)
Run.py:160
↓ 1 callers
Function
_conv_block
(inputs, filters, kernel=(3, 3), strides=(1, 1))
Facemask/mobileNet.py:71
↓ 1 callers
Function
_generate_bboxes
(probs, offsets, scale, threshold)
mtcnn/detector.py:275
↓ 1 callers
Function
correct_bboxes
(bboxes, width, height)
mtcnn/detector.py:110
↓ 1 callers
Function
decode
Decode locations from predictions using priors to undo the encoding we did for offset regression at train time. Args: loc (tensor): lo
utils.py:131
↓ 1 callers
Function
default_prior_box
()
utils.py:5
↓ 1 callers
Function
encode
(match_boxes,prior_box,variances)
utils.py:30
↓ 1 callers
Function
insersect
(box1,box2)
utils.py:48
↓ 1 callers
Function
isRotationMatrix
(rvec)
mtcnn/detector.py:386
↓ 1 callers
Function
jaccard
计算jaccard比 公式: A ∩ B / A ∪ B = A ∩ B / (area(A) + area(B) - A ∩ B)
utils.py:62
↓ 1 callers
Function
nms
Apply non-maximum suppression at test time to avoid detecting too many overlapping bounding boxes for a given object. Args: boxes: (te
utils.py:150
↓ 1 callers
Function
point_form
(boxes)
utils.py:74
↓ 1 callers
Function
preprocess_input
(x)
Facemask/mobileNet.py:106
↓ 1 callers
Method
pull_image
Returns the original image object at index in PIL form Note: not using self.__getitem__(), as any transformations passed in could mes
voc0712.py:139
↓ 1 callers
Method
pull_item
(self, index)
voc0712.py:119
↓ 1 callers
Method
reset_parameters
(self)
l2norm.py:19
↓ 1 callers
Method
retranslateUi
(self, MainWindow)
MainWindow.py:610
↓ 1 callers
Function
run_first_stage
(image, net, scale, threshold)
mtcnn/detector.py:257
↓ 1 callers
Method
setupUi
(self, MainWindow)
MainWindow.py:14
↓ 1 callers
Function
simple_CNN
(input_shape, num_classes)
Emoji/models/cnn.py:13
Method
ExitApp
(self, event)
Run.py:919
Method
StartDection
(self)
Run.py:181
Method
TimerOutFun
(self)
Run.py:167
Method
__call__
Arguments: target (annotation) : the target annotation to be made usable will be an ET.Element Returns:
voc0712.py:44
Method
__del__
(self)
Run.py:31
Method
__getitem__
(self, index)
voc0712.py:111
Method
__init__
(self, parent=None)
Run.py:37
Method
__init__
(self, num_classes, bkg_label, top_k, conf_thresh, nms_thresh)
detection.py:12
Method
__init__
(self,n_channels, scale)
l2norm.py:8
Method
__init__
(self, class_to_ind=None, keep_difficult=False)
voc0712.py:39
Method
__init__
(self, root, image_sets=[('trainval')], transform=None, target_transform=VOC
voc0712.py:92
Method
__init__
(self)
ssd_net_vgg.py:6
Method
__init__
(self)
Emoji/models/xception.py:5
Method
__init__
(self)
mtcnn/detector.py:164
Method
__init__
(self)
mtcnn/detector.py:196
Method
__init__
(self)
mtcnn/detector.py:220
Method
__len__
(self)
voc0712.py:116
Function
big_XCEPTION
(input_shape, num_classes)
Emoji/models/cnn.py:298
Function
change_prior_box
(box)
utils.py:40
Method
closeEvent
(self, event)
Run.py:961
Method
forward
Args: loc_data: (tensor) Loc preds from loc layers Shape: [batch,num_priors*4] conf_data: (tensor) Sh
detection.py:23
Method
forward
(self, x)
l2norm.py:22
Method
forward
(self, image)
ssd_net_vgg.py:119
Method
forward
(self, x)
Emoji/models/xception.py:20
Method
forward
(self, x)
mtcnn/detector.py:167
Method
forward
(self, x)
mtcnn/detector.py:187
Method
forward
(self, x)
mtcnn/detector.py:211
Method
forward
(self, x)
mtcnn/detector.py:248
Function
get_euler_angle
(rotation_vector)
mtcnn/detector.py:431
Function
log_sum_exp
Utility function for computing log_sum_exp while determining This will be used to determine unaveraged confidence loss across all examples in
utils.py:120
Function
match
计算default box和实际位置的jaccard比,计算出每个box的最大jaccard比的种类和每个种类的最大jaccard比的box Args: threshold: (float) jaccard比的阈值. truths: (tensor) 实际位置
utils.py:78
Function
mini_XCEPTION
(input_shape, num_classes, l2_regularization=0.01)
Emoji/models/cnn.py:203
Method
pull_anno
Returns the original annotation of image at index Note: not using self.__getitem__(), as any transformations passed in could mess up
voc0712.py:153
Method
pull_tensor
Returns the original image at an index in tensor form Note: not using self.__getitem__(), as any transformations passed in could mess
voc0712.py:170
Function
relu6
(x)
Facemask/mobileNet.py:102
Function
rotationMatrixToAngles
(Re)
mtcnn/detector.py:402
Method
setFilePath
(self)
Run.py:952
Method
setRecordImg
(self)
Run.py:941
Method
show_img
(self)
Run.py:238
Function
simpler_CNN
(input_shape, num_classes)
Emoji/models/cnn.py:56
Method
testCamera
(self)
Run.py:133
Method
testVideo
(self)
Run.py:863
Function
tiny_XCEPTION
(input_shape, num_classes, l2_regularization=0.01)
Emoji/models/cnn.py:107