MCPcopy Create free account

hub / github.com/ahmetozlu/tensorflow_object_counting_api / functions

Functions517 in github.com/ahmetozlu/tensorflow_object_counting_api

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/single_image_object_counting.py:391
Functiondraw_boxes
Draw bounding boxes and segmentation masks with different customizations. boxes: [N, (y1, x1, y2, x2, class_id)] in image coordinates. re
mask_rcnn_counting_api/spaghetti_counter_training/mrcnn/visualize.py:465
Functiondraw_boxes
Draw bounding boxes and segmentation masks with different customizations. boxes: [N, (y1, x1, y2, x2, class_id)] in image coordinates. re
mask_rcnn_counting_api/spaghetti_counter_training/training/mrcnn/visualize.py:444
Functiondraw_rois
anchors: [n, (y1, x1, y2, x2)] list of anchors in image coordinates. proposals: [n, 4] the same anchors but refined to fit objects better.
mask_rcnn_counting_api/real_time_object_counting.py:224
Functiondraw_rois
anchors: [n, (y1, x1, y2, x2)] list of anchors in image coordinates. proposals: [n, 4] the same anchors but refined to fit objects better.
mask_rcnn_counting_api/single_image_object_counting.py:240
Functiondraw_rois
anchors: [n, (y1, x1, y2, x2)] list of anchors in image coordinates. proposals: [n, 4] the same anchors but refined to fit objects better.
mask_rcnn_counting_api/spaghetti_counter_training/mrcnn/visualize.py:314
Functiondraw_rois
anchors: [n, (y1, x1, y2, x2)] list of anchors in image coordinates. proposals: [n, 4] the same anchors but refined to fit objects better.
mask_rcnn_counting_api/spaghetti_counter_training/training/mrcnn/visualize.py:293
Functionencode_image_array_as_png_str
Encodes a numpy array into a PNG string. Args: image: a numpy array with shape [height, width, 3]. Returns: PNG encoded image string.
utils/visualization_utils.py:136
Functionevaluate
Evaluation function for detection models. Args: create_input_dict_fn: a function to create a tensor input dictionary. create_model_fn: a fu
smurf_counter_training/legacy/evaluator.py:173
Functionexpand_mask
Resizes mini masks back to image size. Reverses the change of minimize_mask(). See inspect_data.ipynb notebook for more details.
mask_rcnn_counting_api/utils.py:468
Functionexpand_mask
Resizes mini masks back to image size. Reverses the change of minimize_mask(). See inspect_data.ipynb notebook for more details.
mask_rcnn_counting_api/spaghetti_counter_training/mrcnn/utils.py:546
Functionexpand_mask
Resizes mini masks back to image size. Reverses the change of minimize_mask(). See inspect_data.ipynb notebook for more details.
mask_rcnn_counting_api/spaghetti_counter_training/training/mrcnn/utils.py:546
Functionextract_bboxes
Compute bounding boxes from masks. mask: [height, width, num_instances]. Mask pixels are either 1 or 0. Returns: bbox array [num_instances, (
mask_rcnn_counting_api/utils.py:30
Functionextract_bboxes
Compute bounding boxes from masks. mask: [height, width, num_instances]. Mask pixels are either 1 or 0. Returns: bbox array [num_instances, (
mask_rcnn_counting_api/spaghetti_counter_training/mrcnn/utils.py:32
Functionextract_bboxes
Compute bounding boxes from masks. mask: [height, width, num_instances]. Mask pixels are either 1 or 0. Returns: bbox array [num_instances, (
mask_rcnn_counting_api/spaghetti_counter_training/training/mrcnn/utils.py:32
Functionextract_images_and_targets
Extract images and targets from the input dict.
smurf_counter_training/legacy/trainer.py:126
Functionfinalize
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/spaghetti_counter_training/mrcnn/visualize.py:171
Functionfinalize
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/spaghetti_counter_training/training/mrcnn/visualize.py:171
Functiongenerate_pyramid_anchors
Generate anchors at different levels of a feature pyramid. Each scale is associated with a level of the pyramid, but each ratio is used in all
mask_rcnn_counting_api/utils.py:553
Functiongenerate_pyramid_anchors
Generate anchors at different levels of a feature pyramid. Each scale is associated with a level of the pyramid, but each ratio is used in all
mask_rcnn_counting_api/spaghetti_counter_training/mrcnn/utils.py:631
Functiongenerate_pyramid_anchors
Generate anchors at different levels of a feature pyramid. Each scale is associated with a level of the pyramid, but each ratio is used in all
mask_rcnn_counting_api/spaghetti_counter_training/training/mrcnn/utils.py:631
Functionget_input_function
A function to get test inputs. Returns an image with one box.
smurf_counter_training/legacy/trainer_test.py:32
Functionget_label_map_dict
Reads a label map and returns a dictionary of label names to id. Args: label_map_path: path to label_map. use_display_name: whether to use
utils/label_map_util.py:127
Functionget_next
(config)
smurf_counter_training/legacy/eval.py:114
Functionget_next
(config)
smurf_counter_training/legacy/train.py:119
Methodget_source_class_id
Map an internal class ID to the corresponding class ID in the source dataset.
mask_rcnn_counting_api/spaghetti_counter_training/mrcnn/utils.py:336
Methodget_source_class_id
Map an internal class ID to the corresponding class ID in the source dataset.
mask_rcnn_counting_api/spaghetti_counter_training/training/mrcnn/utils.py:336
Functionhook
Determines which augmenters to apply to masks.
mask_rcnn_counting_api/spaghetti_counter_training/mrcnn/model.py:1249
Functionhook
Determines which augmenters to apply to masks.
mask_rcnn_counting_api/spaghetti_counter_training/training/mrcnn/model.py:1249
Methodimage_ids
(self)
mask_rcnn_counting_api/utils.py:345
Methodimage_ids
(self)
mask_rcnn_counting_api/spaghetti_counter_training/mrcnn/utils.py:354
Methodimage_ids
(self)
mask_rcnn_counting_api/spaghetti_counter_training/training/mrcnn/utils.py:354
Methodimage_reference
Return a link to the image in its source Website or details about the image that help looking it up or debugging it. Override for you
mask_rcnn_counting_api/utils.py:277
Methodimage_reference
Return a link to the image in the COCO Website.
mask_rcnn_counting_api/coco.py:269
Methodimage_reference
Return the path of the image.
mask_rcnn_counting_api/spaghetti_counter_training/custom.py:149
Methodimage_reference
Return a link to the image in its source Website or details about the image that help looking it up or debugging it. Override for you
mask_rcnn_counting_api/spaghetti_counter_training/mrcnn/utils.py:283
Methodimage_reference
Return the path of the image.
mask_rcnn_counting_api/spaghetti_counter_training/training/custom.py:149
Methodimage_reference
Return a link to the image in its source Website or details about the image that help looking it up or debugging it. Override for you
mask_rcnn_counting_api/spaghetti_counter_training/training/mrcnn/utils.py:283
Functioninitializer_fn
(sess)
smurf_counter_training/legacy/trainer.py:399
Methodload_image_into_numpy_array
(self, image)
detection_layer.py:47
Methodload_mask
Load instance masks for the given image. Different datasets use different ways to store masks. This function converts the different m
mask_rcnn_counting_api/coco.py:217
Methodload_mask
Generate instance masks for an image. Returns: masks: A bool array of shape [height, width, instance count] with one mask p
mask_rcnn_counting_api/spaghetti_counter_training/custom.py:123
Methodload_mask
Generate instance masks for an image. Returns: masks: A bool array of shape [height, width, instance count] with one mask p
mask_rcnn_counting_api/spaghetti_counter_training/training/custom.py:123
Functionmain
(training_data, test_data)
utils/color_recognition_module/knn_classifier.py:64
Functionmain
(_)
smurf_counter_training/generate_tfrecord.py:91
Functionmain
(unused_argv)
smurf_counter_training/legacy/eval.py:84
Functionmain
(_)
smurf_counter_training/legacy/train.py:88
Functionmain
(_)
smurf_counter_training/images/test/generate_tfrecord.py:85
Functionmain
(_)
smurf_counter_training/images/train/generate_tfrecord.py:85
Methodmap_source_class_id
Takes a source class ID and returns the int class ID assigned to it. For example: dataset.map_source_class_id("coco.12") -> 23
mask_rcnn_counting_api/spaghetti_counter_training/mrcnn/utils.py:328
Methodmap_source_class_id
Takes a source class ID and returns the int class ID assigned to it. For example: dataset.map_source_class_id("coco.12") -> 23
mask_rcnn_counting_api/spaghetti_counter_training/training/mrcnn/utils.py:328
Functionminimize_mask
Resize masks to a smaller version to cut memory load. Mini-masks can then resized back to image scale using expand_masks() See inspect_data.i
mask_rcnn_counting_api/utils.py:450
Functionminimize_mask
Resize masks to a smaller version to reduce memory load. Mini-masks can be resized back to image scale using expand_masks() See inspect_data.
mask_rcnn_counting_api/spaghetti_counter_training/mrcnn/utils.py:526
Functionminimize_mask
Resize masks to a smaller version to reduce memory load. Mini-masks can be resized back to image scale using expand_masks() See inspect_data.
mask_rcnn_counting_api/spaghetti_counter_training/training/mrcnn/utils.py:526
Functionmold_mask
(mask, config)
mask_rcnn_counting_api/utils.py:486
Functionmold_mask
(mask, config)
mask_rcnn_counting_api/spaghetti_counter_training/mrcnn/utils.py:565
Functionmold_mask
(mask, config)
mask_rcnn_counting_api/spaghetti_counter_training/training/mrcnn/utils.py:565
Methodnms
(normalized_boxes, scores)
mask_rcnn_counting_api/model.py:297
Methodnms
(boxes, scores)
mask_rcnn_counting_api/spaghetti_counter_training/mrcnn/model.py:318
Methodnms
(boxes, scores)
mask_rcnn_counting_api/spaghetti_counter_training/training/mrcnn/model.py:318
Functionnms_keep_map
Apply Non-Maximum Suppression on ROIs of the given class.
mask_rcnn_counting_api/model.py:723
Functionnms_keep_map
Apply Non-Maximum Suppression on ROIs of the given class.
mask_rcnn_counting_api/spaghetti_counter_training/mrcnn/model.py:734
Functionnms_keep_map
Apply Non-Maximum Suppression on ROIs of the given class.
mask_rcnn_counting_api/spaghetti_counter_training/training/mrcnn/model.py:734
Functionnon_max_suppression
Performs non-maximum supression and returns indicies of kept boxes. boxes: [N, (y1, x1, y2, x2)]. Notice that (y2, x2) lays outside the box. s
mask_rcnn_counting_api/utils.py:114
Functionnon_max_suppression
Performs non-maximum suppression and returns indices of kept boxes. boxes: [N, (y1, x1, y2, x2)]. Notice that (y2, x2) lays outside the box. s
mask_rcnn_counting_api/spaghetti_counter_training/mrcnn/utils.py:120
Functionnon_max_suppression
Performs non-maximum suppression and returns indices of kept boxes. boxes: [N, (y1, x1, y2, x2)]. Notice that (y2, x2) lays outside the box. s
mask_rcnn_counting_api/spaghetti_counter_training/training/mrcnn/utils.py:120
Functionnorm_boxes
Converts boxes from pixel coordinates to normalized coordinates. boxes: [N, (y1, x1, y2, x2)] in pixel coordinates shape: [..., (height, width
mask_rcnn_counting_api/spaghetti_counter_training/mrcnn/utils.py:862
Functionnorm_boxes
Converts boxes from pixel coordinates to normalized coordinates. boxes: [N, (y1, x1, y2, x2)] in pixel coordinates shape: [..., (height, width
mask_rcnn_counting_api/spaghetti_counter_training/training/mrcnn/utils.py:862
Functionobject_counting
(input_video, detection_graph, category_index, is_color_recognition_enabled)
api/object_counting_api.py:228
Functionobject_counting_webcam
(detection_graph, category_index, is_color_recognition_enabled)
api/object_counting_api.py:304
Functionparse_image_meta
Parses an array that contains image attributes to its components. See compose_image_meta() for more details. meta: [batch, meta length] where
mask_rcnn_counting_api/spaghetti_counter_training/mrcnn/model.py:2757
Functionparse_image_meta
Parses an array that contains image attributes to its components. See compose_image_meta() for more details. meta: [batch, meta length] where
mask_rcnn_counting_api/spaghetti_counter_training/training/mrcnn/model.py:2757
Functionplot_overlaps
Draw a grid showing how ground truth objects are classified. gt_class_ids: [N] int. Ground truth class IDs pred_class_id: [N] int. Predicted c
mask_rcnn_counting_api/real_time_object_counting.py:336
Functionplot_overlaps
Draw a grid showing how ground truth objects are classified. gt_class_ids: [N] int. Ground truth class IDs pred_class_id: [N] int. Predicted c
mask_rcnn_counting_api/single_image_object_counting.py:352
Functionplot_overlaps
Draw a grid showing how ground truth objects are classified. gt_class_ids: [N] int. Ground truth class IDs pred_class_id: [N] int. Predicted c
mask_rcnn_counting_api/spaghetti_counter_training/mrcnn/visualize.py:426
Functionplot_overlaps
Draw a grid showing how ground truth objects are classified. gt_class_ids: [N] int. Ground truth class IDs pred_class_id: [N] int. Predicted c
mask_rcnn_counting_api/spaghetti_counter_training/training/mrcnn/visualize.py:405
Functionplot_precision_recall
Draw the precision-recall curve. AP: Average precision at IoU >= 0.5 precisions: list of precision values recalls: list of recall values
mask_rcnn_counting_api/real_time_object_counting.py:321
Functionplot_precision_recall
Draw the precision-recall curve. AP: Average precision at IoU >= 0.5 precisions: list of precision values recalls: list of recall values
mask_rcnn_counting_api/single_image_object_counting.py:337
Functionplot_precision_recall
Draw the precision-recall curve. AP: Average precision at IoU >= 0.5 precisions: list of precision values recalls: list of recall values
mask_rcnn_counting_api/spaghetti_counter_training/mrcnn/visualize.py:411
Functionplot_precision_recall
Draw the precision-recall curve. AP: Average precision at IoU >= 0.5 precisions: list of precision values recalls: list of recall values
mask_rcnn_counting_api/spaghetti_counter_training/training/mrcnn/visualize.py:390
Functionpredict
(src_image)
mask_rcnn_counting_api/spaghetti_counter_training/backbone.py:32
Functionprocessor
(img)
backbone.py:59
Methodregularization_losses
Returns a list of regularization losses for this model. Returns a list of regularization losses for this model that the estimator needs to us
smurf_counter_training/legacy/trainer_test.py:163
Functionresize_image
Resizes an image keeping the aspect ratio. min_dim: if provided, resizes the image such that it's smaller dimension == min_dim m
mask_rcnn_counting_api/utils.py:384
Functionresize_image
Resizes an image keeping the aspect ratio unchanged. min_dim: if provided, resizes the image such that it's smaller dimension == min_dim
mask_rcnn_counting_api/spaghetti_counter_training/mrcnn/utils.py:396
Functionresize_image
Resizes an image keeping the aspect ratio unchanged. min_dim: if provided, resizes the image such that it's smaller dimension == min_dim
mask_rcnn_counting_api/spaghetti_counter_training/training/mrcnn/utils.py:396
Functionresize_mask
Resizes a mask using the given scale and padding. Typically, you get the scale and padding from resize_image() to ensure both, the image and t
mask_rcnn_counting_api/utils.py:435
Functionresize_mask
Resizes a mask using the given scale and padding. Typically, you get the scale and padding from resize_image() to ensure both, the image and t
mask_rcnn_counting_api/spaghetti_counter_training/mrcnn/utils.py:504
Functionresize_mask
Resizes a mask using the given scale and padding. Typically, you get the scale and padding from resize_image() to ensure both, the image and t
mask_rcnn_counting_api/spaghetti_counter_training/training/mrcnn/utils.py:504
Methodrun_graph
Runs a sub-set of the computation graph that computes the given outputs. outputs: List of tuples (name, tensor) to compute. The tenso
mask_rcnn_counting_api/model.py:2432
Methodrun_graph
Runs a sub-set of the computation graph that computes the given outputs. image_metas: If provided, the images are assumed to be alrea
mask_rcnn_counting_api/spaghetti_counter_training/mrcnn/model.py:2676
Methodrun_graph
Runs a sub-set of the computation graph that computes the given outputs. image_metas: If provided, the images are assumed to be alrea
mask_rcnn_counting_api/spaghetti_counter_training/training/mrcnn/model.py:2676
Functionsave_image
(source_image)
utils/image_utils/image_saver.py:8
Functionsave_image_array_as_png
Saves an image (represented as a numpy array) to PNG. Args: image: a numpy array with shape [height, width, 3]. output_path: path to which
utils/visualization_utils.py:125
Functionset_model
(model_name, label_name)
utils/backbone.py:5
Functionsingle_image_object_counting
(input_video, detection_graph, category_index, is_color_recognition_enabled)
api/object_counting_api.py:448
Methodsource_image_link
Returns the path or URL to the image. Override this to return a URL to the image if it's availble online for easy debugging.
mask_rcnn_counting_api/utils.py:348
Methodsource_image_link
Returns the path or URL to the image. Override this to return a URL to the image if it's available online for easy debugging.
mask_rcnn_counting_api/spaghetti_counter_training/mrcnn/utils.py:357
Methodsource_image_link
Returns the path or URL to the image. Override this to return a URL to the image if it's available online for easy debugging.
mask_rcnn_counting_api/spaghetti_counter_training/training/mrcnn/utils.py:357
Functiontargeted_object_counting
(input_video, detection_graph, category_index, is_color_recognition_enabled, targeted_object)
api/object_counting_api.py:369
← previousnext →401–500 of 517, ranked by callers