MCPcopy Create free account

hub / github.com/ahmetozlu/tensorflow_object_counting_api / functions

Functions517 in github.com/ahmetozlu/tensorflow_object_counting_api

Methodancestor
Finds the ancestor of a TF tensor in the computation graph. tensor: TensorFlow symbolic tensor. name: Name of ancestor tensor to find
mask_rcnn_counting_api/spaghetti_counter_training/training/mrcnn/model.py:2627
Methodappend_data
(self, class_info, image_info)
mask_rcnn_counting_api/utils.py:333
Methodappend_data
(self, class_info, image_info)
mask_rcnn_counting_api/spaghetti_counter_training/mrcnn/utils.py:342
Methodappend_data
(self, class_info, image_info)
mask_rcnn_counting_api/spaghetti_counter_training/training/mrcnn/utils.py:342
Functionapply_box_deltas
Applies the given deltas to the given boxes. boxes: [N, (y1, x1, y2, x2)]. Note that (y2, x2) is outside the box. deltas: [N, (dy, dx, log(dh)
mask_rcnn_counting_api/utils.py:151
Functionapply_box_deltas
Applies the given deltas to the given boxes. boxes: [N, (y1, x1, y2, x2)]. Note that (y2, x2) is outside the box. deltas: [N, (dy, dx, log(dh)
mask_rcnn_counting_api/spaghetti_counter_training/mrcnn/utils.py:157
Functionapply_box_deltas
Applies the given deltas to the given boxes. boxes: [N, (y1, x1, y2, x2)]. Note that (y2, x2) is outside the box. deltas: [N, (dy, dx, log(dh)
mask_rcnn_counting_api/spaghetti_counter_training/training/mrcnn/utils.py:157
Functionbatch_slice
Splits inputs into slices and feeds each slice to a copy of the given computation graph and then combines the results. It allows you to run a
mask_rcnn_counting_api/utils.py:682
Functionbatch_slice
Splits inputs into slices and feeds each slice to a copy of the given computation graph and then combines the results. It allows you to run a
mask_rcnn_counting_api/spaghetti_counter_training/mrcnn/utils.py:812
Functionbatch_slice
Splits inputs into slices and feeds each slice to a copy of the given computation graph and then combines the results. It allows you to run a
mask_rcnn_counting_api/spaghetti_counter_training/training/mrcnn/utils.py:812
Functionbox_iou
(a, b)
utils/object_tracking_module/tracking_utils.py:38
Functionbox_iou2
(a, b)
utils/object_tracking_module/tracking_utils.py:41
Functionbox_refinement
Compute refinement needed to transform box to gt_box. box and gt_box are [N, (y1, x1, y2, x2)]. (y2, x2) is assumed to be outside the box.
mask_rcnn_counting_api/utils.py:201
Functionbox_refinement
Compute refinement needed to transform box to gt_box. box and gt_box are [N, (y1, x1, y2, x2)]. (y2, x2) is assumed to be outside the box.
mask_rcnn_counting_api/spaghetti_counter_training/mrcnn/utils.py:207
Functionbox_refinement
Compute refinement needed to transform box to gt_box. box and gt_box are [N, (y1, x1, y2, x2)]. (y2, x2) is assumed to be outside the box.
mask_rcnn_counting_api/spaghetti_counter_training/training/mrcnn/utils.py:207
Functionbox_refinement_graph
Compute refinement needed to transform box to gt_box. box and gt_box are [N, (y1, x1, y2, x2)]
mask_rcnn_counting_api/utils.py:175
Functionbox_refinement_graph
Compute refinement needed to transform box to gt_box. box and gt_box are [N, (y1, x1, y2, x2)]
mask_rcnn_counting_api/spaghetti_counter_training/mrcnn/utils.py:181
Functionbox_refinement_graph
Compute refinement needed to transform box to gt_box. box and gt_box are [N, (y1, x1, y2, x2)]
mask_rcnn_counting_api/spaghetti_counter_training/training/mrcnn/utils.py:181
Methodcall
(self, inputs, training=None)
mask_rcnn_counting_api/model.py:65
Methodcall
(self, inputs)
mask_rcnn_counting_api/model.py:252
Methodcall
(self, inputs)
mask_rcnn_counting_api/model.py:348
Methodcall
(self, inputs)
mask_rcnn_counting_api/model.py:625
Methodcall
(self, inputs)
mask_rcnn_counting_api/model.py:787
Methodcall
Note about training values: None: Train BN layers. This is the normal mode False: Freeze BN layers. Good when batch s
mask_rcnn_counting_api/spaghetti_counter_training/mrcnn/model.py:61
Methodcall
(self, inputs)
mask_rcnn_counting_api/spaghetti_counter_training/mrcnn/model.py:276
Methodcall
(self, inputs)
mask_rcnn_counting_api/spaghetti_counter_training/mrcnn/model.py:368
Methodcall
(self, inputs)
mask_rcnn_counting_api/spaghetti_counter_training/mrcnn/model.py:654
Methodcall
(self, inputs)
mask_rcnn_counting_api/spaghetti_counter_training/mrcnn/model.py:798
Methodcall
Note about training values: None: Train BN layers. This is the normal mode False: Freeze BN layers. Good when batch s
mask_rcnn_counting_api/spaghetti_counter_training/training/mrcnn/model.py:61
Methodcall
(self, inputs)
mask_rcnn_counting_api/spaghetti_counter_training/training/mrcnn/model.py:276
Methodcall
(self, inputs)
mask_rcnn_counting_api/spaghetti_counter_training/training/mrcnn/model.py:368
Methodcall
(self, inputs)
mask_rcnn_counting_api/spaghetti_counter_training/training/mrcnn/model.py:654
Methodcall
(self, inputs)
mask_rcnn_counting_api/spaghetti_counter_training/training/mrcnn/model.py:798
Functioncdf_plot
Numpy function to plot CDF.
utils/visualization_utils.py:1298
Methodclean_name
Returns a shorter version of object names for cleaner display.
mask_rcnn_counting_api/utils.py:293
Methodclean_name
Returns a shorter version of object names for cleaner display.
mask_rcnn_counting_api/spaghetti_counter_training/mrcnn/utils.py:299
Methodclean_name
Returns a shorter version of object names for cleaner display.
mask_rcnn_counting_api/spaghetti_counter_training/training/mrcnn/utils.py:299
Functionclip_to_window
window: (y1, x1, y2, x2). The window in the image we want to clip to. boxes: [N, (y1, x1, y2, x2)]
mask_rcnn_counting_api/model.py:658
Functioncolor_histogram_of_test_image
(test_src_image)
utils/color_recognition_module/color_histogram_feature_extraction.py:16
Functioncolor_recognition
(crop_img)
utils/color_recognition_module/color_recognition_api.py:8
Functioncompute_ap
Compute Average Precision at a set IoU threshold (default 0.5). Returns: mAP: Mean Average Precision precisions: List of precisions at di
mask_rcnn_counting_api/utils.py:587
Functioncompute_ap_range
Compute AP over a range or IoU thresholds. Default range is 0.5-0.95.
mask_rcnn_counting_api/spaghetti_counter_training/mrcnn/utils.py:763
Functioncompute_ap_range
Compute AP over a range or IoU thresholds. Default range is 0.5-0.95.
mask_rcnn_counting_api/spaghetti_counter_training/training/mrcnn/utils.py:763
Methodcompute_mask
(self, inputs, mask=None)
mask_rcnn_counting_api/model.py:650
Methodcompute_mask
(self, inputs, mask=None)
mask_rcnn_counting_api/spaghetti_counter_training/mrcnn/model.py:679
Methodcompute_mask
(self, inputs, mask=None)
mask_rcnn_counting_api/spaghetti_counter_training/training/mrcnn/model.py:679
Methodcompute_output_shape
(self, input_shape)
mask_rcnn_counting_api/model.py:310
Methodcompute_output_shape
(self, input_shape)
mask_rcnn_counting_api/model.py:423
Methodcompute_output_shape
(self, input_shape)
mask_rcnn_counting_api/model.py:641
Methodcompute_output_shape
(self, input_shape)
mask_rcnn_counting_api/model.py:806
Methodcompute_output_shape
(self, input_shape)
mask_rcnn_counting_api/spaghetti_counter_training/mrcnn/model.py:331
Methodcompute_output_shape
(self, input_shape)
mask_rcnn_counting_api/spaghetti_counter_training/mrcnn/model.py:448
Methodcompute_output_shape
(self, input_shape)
mask_rcnn_counting_api/spaghetti_counter_training/mrcnn/model.py:670
Methodcompute_output_shape
(self, input_shape)
mask_rcnn_counting_api/spaghetti_counter_training/mrcnn/model.py:825
Methodcompute_output_shape
(self, input_shape)
mask_rcnn_counting_api/spaghetti_counter_training/training/mrcnn/model.py:331
Methodcompute_output_shape
(self, input_shape)
mask_rcnn_counting_api/spaghetti_counter_training/training/mrcnn/model.py:448
Methodcompute_output_shape
(self, input_shape)
mask_rcnn_counting_api/spaghetti_counter_training/training/mrcnn/model.py:670
Methodcompute_output_shape
(self, input_shape)
mask_rcnn_counting_api/spaghetti_counter_training/training/mrcnn/model.py:825
Functioncompute_recall
Compute the recall at the given IoU threshold. It's an indication of how many GT boxes were found by the given prediction boxes. pred_boxes:
mask_rcnn_counting_api/utils.py:657
Functioncompute_recall
Compute the recall at the given IoU threshold. It's an indication of how many GT boxes were found by the given prediction boxes. pred_boxes:
mask_rcnn_counting_api/spaghetti_counter_training/mrcnn/utils.py:787
Functioncompute_recall
Compute the recall at the given IoU threshold. It's an indication of how many GT boxes were found by the given prediction boxes. pred_boxes:
mask_rcnn_counting_api/spaghetti_counter_training/training/mrcnn/utils.py:787
Functionconvert_to_cv2bbox
(bbox, img_dim = (1280, 720))
utils/object_tracking_module/tracking_utils.py:72
Functionconvert_to_pixel
(box_yolo, img, crop_range)
utils/object_tracking_module/tracking_utils.py:50
Functioncount_objects
(top, bottom, right, left, crop_img, roi_position, y_min, y_max, deviation)
utils/object_counting_module/object_counter_y_axis.py:6
Functioncount_objects_x_axis
(top, bottom, right, left, crop_img, roi_position, y_min, y_max, deviation)
utils/object_counting_module/object_counter_x_axis.py:6
Functioncreate_category_index_from_labelmap
Reads a label map and returns a category index. Args: label_map_path: Path to `StringIntLabelMap` proto text file. Returns: A category i
utils/label_map_util.py:147
Functioncreate_class_agnostic_category_index
Creates a category index with a single `object` class.
utils/label_map_util.py:164
Functioncrop_center
(img,cropx,cropy)
utils/image_utils/crop_image.py:2
Functioncumulative_object_counting_x_axis
(input_video, detection_graph, category_index, is_color_recognition_enabled, roi, deviation, custom_object_nam
api/object_counting_api.py:16
Functioncumulative_object_counting_y_axis
(input_video, detection_graph, category_index, is_color_recognition_enabled, roi, deviation, custom_object_nam
api/object_counting_api.py:121
Functiondenorm_boxes
Converts boxes from normalized coordinates to pixel coordinates. boxes: [N, (y1, x1, y2, x2)] in normalized coordinates shape: [..., (height,
mask_rcnn_counting_api/spaghetti_counter_training/mrcnn/utils.py:879
Functiondenorm_boxes
Converts boxes from normalized coordinates to pixel coordinates. boxes: [N, (y1, x1, y2, x2)] in normalized coordinates shape: [..., (height,
mask_rcnn_counting_api/spaghetti_counter_training/training/mrcnn/utils.py:879
Functiondenorm_boxes_graph
Converts boxes from normalized coordinates to pixel coordinates. boxes: [..., (y1, x1, y2, x2)] in normalized coordinates shape: [..., (height
mask_rcnn_counting_api/spaghetti_counter_training/mrcnn/model.py:2861
Functiondenorm_boxes_graph
Converts boxes from normalized coordinates to pixel coordinates. boxes: [..., (y1, x1, y2, x2)] in normalized coordinates shape: [..., (height
mask_rcnn_counting_api/spaghetti_counter_training/training/mrcnn/model.py:2861
Methoddetect_molded
Runs the detection pipeline, but expect inputs that are molded already. Used mostly for debugging and inspecting the model. m
mask_rcnn_counting_api/spaghetti_counter_training/mrcnn/model.py:2547
Methoddetect_molded
Runs the detection pipeline, but expect inputs that are molded already. Used mostly for debugging and inspecting the model. m
mask_rcnn_counting_api/spaghetti_counter_training/training/mrcnn/model.py:2547
Functiondisplay_differences
Display ground truth and prediction instances on the same image.
mask_rcnn_counting_api/spaghetti_counter_training/mrcnn/visualize.py:276
Functiondisplay_differences
Display ground truth and prediction instances on the same image.
mask_rcnn_counting_api/spaghetti_counter_training/training/mrcnn/visualize.py:255
Functiondisplay_instances
boxes: [num_instance, (y1, x1, y2, x2, class_id)] in image coordinates. masks: [height, width, num_instances] class_ids: [num_instances]
mask_rcnn_counting_api/real_time_object_counting.py:148
Functiondisplay_instances
boxes: [num_instance, (y1, x1, y2, x2, class_id)] in image coordinates. masks: [height, width, num_instances] class_ids: [num_instances]
mask_rcnn_counting_api/single_image_object_counting.py:158
Functiondisplay_top_masks
Display the given image and the top few class masks.
mask_rcnn_counting_api/real_time_object_counting.py:298
Functiondisplay_top_masks
Display the given image and the top few class masks.
mask_rcnn_counting_api/single_image_object_counting.py:314
Functiondisplay_top_masks
Display the given image and the top few class masks.
mask_rcnn_counting_api/spaghetti_counter_training/mrcnn/visualize.py:388
Functiondisplay_top_masks
Display the given image and the top few class masks.
mask_rcnn_counting_api/spaghetti_counter_training/training/mrcnn/visualize.py:367
Functiondisplay_weight_stats
Scans all the weights in the model and returns a list of tuples that contain stats about each weight.
mask_rcnn_counting_api/real_time_object_counting.py:492
Functiondisplay_weight_stats
Scans all the weights in the model and returns a list of tuples that contain stats about each weight.
mask_rcnn_counting_api/single_image_object_counting.py:508
Functiondisplay_weight_stats
Scans all the weights in the model and returns a list of tuples that contain stats about each weight.
mask_rcnn_counting_api/spaghetti_counter_training/mrcnn/visualize.py:582
Functiondisplay_weight_stats
Scans all the weights in the model and returns a list of tuples that contain stats about each weight.
mask_rcnn_counting_api/spaghetti_counter_training/training/mrcnn/visualize.py:561
Functiondownload_trained_weights
Download COCO trained weights from Releases. coco_model_path: local path of COCO trained weights
mask_rcnn_counting_api/utils.py:719
Functiondownload_trained_weights
Download COCO trained weights from Releases. coco_model_path: local path of COCO trained weights
mask_rcnn_counting_api/spaghetti_counter_training/mrcnn/utils.py:849
Functiondownload_trained_weights
Download COCO trained weights from Releases. coco_model_path: local path of COCO trained weights
mask_rcnn_counting_api/spaghetti_counter_training/training/mrcnn/utils.py:849
Functiondraw_bounding_boxes_on_image_array
Draws bounding boxes on image (numpy array). Args: image: a numpy array object. boxes: a 2 dimensional numpy array of [N, 4]: (ymin, xmin,
utils/visualization_utils.py:286
Functiondraw_bounding_boxes_on_image_tensors
Draws bounding boxes on batch of image tensors. Args: images: A 4D uint8 image tensor of shape [N, H, W, C]. boxes: [N, max_detections, 4]
utils/visualization_utils.py:348
Functiondraw_box
Draw 3-pixel width bounding boxes on the given image array. color: list of 3 int values for RGB.
mask_rcnn_counting_api/real_time_object_counting.py:286
Functiondraw_box
Draw 3-pixel width bounding boxes on the given image array. color: list of 3 int values for RGB.
mask_rcnn_counting_api/single_image_object_counting.py:302
Functiondraw_box
Draw 3-pixel width bounding boxes on the given image array. color: list of 3 int values for RGB.
mask_rcnn_counting_api/spaghetti_counter_training/mrcnn/visualize.py:376
Functiondraw_box
Draw 3-pixel width bounding boxes on the given image array. color: list of 3 int values for RGB.
mask_rcnn_counting_api/spaghetti_counter_training/training/mrcnn/visualize.py:355
Functiondraw_box_label
(id,img, bbox_cv2, box_color=(0, 255, 0), show_label=True)
utils/object_tracking_module/tracking_utils.py:80
Functiondraw_boxes
Draws boxes on image.
utils/visualization_utils.py:382
Functiondraw_boxes
Draw bounding boxes and segmentation masks with differnt customizations. boxes: [N, (y1, x1, y2, x2, class_id)] in image coordinates. ref
mask_rcnn_counting_api/real_time_object_counting.py:375
← previousnext →301–400 of 517, ranked by callers