MCPcopy Create free account

hub / github.com/ambakick/Person-Detection-and-Tracking / functions

Functions2,187 in github.com/ambakick/Person-Detection-and-Tracking

↓ 2 callersMethod_format_groundtruth_data
Helper function for preparing groundtruth data for target assignment. In order to be consistent with the model.DetectionModel interface, grou
meta_architectures/faster_rcnn_meta_arch.py:1304
↓ 2 callersMethod_get_box_classifier_features_shape
(self, image_size, batch_siz
meta_architectures/rfcn_meta_arch_test.py:54
↓ 2 callersMethod_get_box_classifier_features_shape
(self, image_size, batch_siz
meta_architectures/faster_rcnn_meta_arch_test.py:357
↓ 2 callersFunction_get_classification_loss
Returns the classification loss for a model.
utils/config_util.py:527
↓ 2 callersFunction_get_features_dict
Extracts features dict from input dict.
inputs.py:197
↓ 2 callersMethod_get_ith_class_arrays
Returns numpy arrays belonging to class with index `class_index`. Args: detected_boxes: A numpy array containing detected boxes. dete
utils/per_image_evaluation.py:506
↓ 2 callersFunction_get_labels_dict
Extracts labels dict from input dict.
inputs.py:168
↓ 2 callersMethod_get_variables_in_checkpoint
(self, checkpoint_file)
exporter_test.py:208
↓ 2 callersMethod_initialize_detections
(self)
utils/object_detection_evaluation.py:638
↓ 2 callersFunction_lin_space_weights
(num, img_size)
utils/ops.py:921
↓ 2 callersFunction_load_labelmap
Loads labelmap from the labelmap path. Args: labelmap_path: Path to the labelmap. Returns: A dictionary mapping class name to class nume
metrics/oid_vrd_challenge_evaluation.py:47
↓ 2 callersMethod_postprocess_box_classifier
Converts predictions from the second stage box classifier to detections. Args: refined_box_encodings: a 3-D float tensor with shape
meta_architectures/faster_rcnn_meta_arch.py:1442
↓ 2 callersMethod_predict
Implementations must override this method. Args: image_features: A list of float tensors of shape [batch_size, height_i, width_i, c
core/box_predictor.py:112
↓ 2 callersFunction_rgb_to_grayscale
Converts one or more images from RGB to Grayscale. Outputs a tensor of the same `DType` and rank as `images`. The size of the last dimension of
core/preprocessor.py:210
↓ 2 callersMethod_test_postprocess_first_stage_only_inference_mode
( self, pad_to_max_dimension=None)
meta_architectures/faster_rcnn_meta_arch_test_lib.py:538
↓ 2 callersMethod_test_postprocess_first_stage_only_train_mode
(self, pad_to_max_dimension=None)
meta_architectures/faster_rcnn_meta_arch_test_lib.py:600
↓ 2 callersMethod_test_postprocess_second_stage_only_inference_mode
( self, pad_to_max_dimension=None)
meta_architectures/faster_rcnn_meta_arch_test_lib.py:670
↓ 2 callersFunction_tf_resize_method
Maps image resize method from enumeration type to TensorFlow. Args: resize_method: The resize_method attribute of keep_aspect_ratio_resizer or
builders/image_resizer_builder.py:23
↓ 2 callersFunction_update_dict
Updates dictionary with update content. Args: initial_dict: initial dictionary. update: updated dictionary.
dataset_tools/oid_hierarchical_labels_expansion.py:26
↓ 2 callersFunction_update_input_path
Updates input configuration to reflect a new input path. The input_config object is updated in place, and hence not returned. Args: input_co
utils/config_util.py:593
↓ 2 callersFunction_validate_message_has_field
(message, field)
utils/config_util.py:435
↓ 2 callersMethodadd_common_detected
(self)
utils/object_detection_evaluation_test.py:473
↓ 2 callersMethodadd_single_detected_image_info
Adds detections for a single image to be used for evaluation. Args: image_id: A unique string/integer identifier for the image. detec
utils/object_detection_evaluation.py:83
↓ 2 callersFunctionbox_intersection
(a, b)
helpers.py:27
↓ 2 callersMethodcompute_detection_tp_fp
Evaluates VRD as being tp, fp from a single image. Args: detected_box_tuples: A numpy array of structures with shape [N,], repres
utils/per_image_vrd_evaluation.py:41
↓ 2 callersMethodcompute_object_detection_metrics
Evaluates detections as being tp, fp or weighted from a single image. The evaluation is done in two stages: 1. All detections are matched to
utils/per_image_evaluation.py:56
↓ 2 callersMethodcreate_and_add_common_ground_truth
(self)
utils/object_detection_evaluation_test.py:448
↓ 2 callersFunctioncreate_eval_input_fn
Creates an eval `input` function for `Estimator`. Args: eval_config: An eval_pb2.EvalConfig. eval_input_config: An input_reader_pb2.InputRe
inputs.py:309
↓ 2 callersFunctioncreate_mock_graph
()
inference/detection_inference_test.py:55
↓ 2 callersFunctioncreate_mock_tfrecord
()
inference/detection_inference_test.py:33
↓ 2 callersFunctioncreate_test_data
()
dataset_tools/oid_hierarchical_labels_expansion_test.py:26
↓ 2 callersFunctioncreate_tf_record
Creates a TFRecord file from examples. Args: output_filename: Path to where output file is saved. num_shards: Number of shards for output f
dataset_tools/create_pet_tf_record.py:214
↓ 2 callersMethodcreate_tf_record
(self)
builders/input_reader_builder_test.py:33
↓ 2 callersFunctiondraw_bounding_box_on_image
Adds a bounding box to an image. Bounding box coordinates can be specified in either absolute (pixel) or normalized coordinates by setting the us
visualization_utils.py:131
↓ 2 callersFunctiondraw_bounding_box_on_image
Adds a bounding box to an image. Bounding box coordinates can be specified in either absolute (pixel) or normalized coordinates by setting the us
utils/visualization_utils.py:131
↓ 2 callersFunctiondraw_bounding_boxes_on_image_tensors
Draws bounding boxes, masks, and keypoints on batch of image tensors. Args: images: A 4D uint8 image tensor of shape [N, H, W, C]. If C > 3, ad
visualization_utils.py:310
↓ 2 callersFunctiondraw_bounding_boxes_on_image_tensors
Draws bounding boxes, masks, and keypoints on batch of image tensors. Args: images: A 4D uint8 image tensor of shape [N, H, W, C]. If C > 3, ad
utils/visualization_utils.py:310
↓ 2 callersFunctiondraw_mask_on_image_array
Draws mask on an image. Args: image: uint8 numpy array with shape (img_height, img_height, 3) mask: a uint8 numpy array of shape (img_heigh
visualization_utils.py:508
↓ 2 callersFunctiondraw_mask_on_image_array
Draws mask on an image. Args: image: uint8 numpy array with shape (img_height, img_height, 3) mask: a uint8 numpy array of shape (img_heigh
utils/visualization_utils.py:508
↓ 2 callersMethodexpand_boxes_from_csv
Expands a row containing bounding boxes from CSV file. Args: csv_row: a single row of Open Images released groundtruth file. Returns:
dataset_tools/oid_hierarchical_labels_expansion.py:89
↓ 2 callersMethodexpand_labels_from_csv
Expands a row containing bounding boxes from CSV file. Args: csv_row: a single row of Open Images released groundtruth file. Returns:
dataset_tools/oid_hierarchical_labels_expansion.py:113
↓ 2 callersFunctionexpanded_shape
Inserts multiple ones into a shape vector. Inserts an all-1 vector of length num_dims at position start_dim into a shape. Can be combined with tf
utils/ops.py:30
↓ 2 callersMethodexpectedBoxesAfterLeftRightFlip
(self)
core/preprocessor_test.py:221
↓ 2 callersMethodexpectedBoxesAfterRot90
(self)
core/preprocessor_test.py:231
↓ 2 callersMethodexpectedBoxesAfterThresholding
(self)
core/preprocessor_test.py:269
↓ 2 callersMethodexpectedBoxesAfterUpDownFlip
(self)
core/preprocessor_test.py:226
↓ 2 callersMethodexpectedImagesAfterLeftRightFlip
(self)
core/preprocessor_test.py:173
↓ 2 callersMethodexpectedImagesAfterRot90
(self)
core/preprocessor_test.py:205
↓ 2 callersMethodexpectedImagesAfterUpDownFlip
(self)
core/preprocessor_test.py:189
↓ 2 callersMethodexpectedKeypointsAfterThresholding
(self)
core/preprocessor_test.py:285
↓ 2 callersMethodexpectedLabelScoresAfterThresholding
(self)
core/preprocessor_test.py:266
↓ 2 callersMethodexpectedLabelsAfterThresholding
(self)
core/preprocessor_test.py:272
↓ 2 callersMethodexpectedMasksAfterThresholding
(self)
core/preprocessor_test.py:278
↓ 2 callersFunctionfilter_scores_greater_than
Filter to keep only boxes and masks with score exceeding a given threshold. This op keeps the collection of boxes and masks whose corresponding sco
utils/np_box_mask_list_ops.py:369
↓ 2 callersFunctionfilter_scores_greater_than
Filter to keep only boxes with score exceeding a given threshold. This op keeps the collection of boxes whose corresponding scores are greater th
utils/np_box_list_ops.py:473
↓ 2 callersFunctionfilter_variables
Filters out the variables matching the filter_regex. Filter out the variables whose name matches the any of the regular expressions in filter_reg
utils/variables_helper.py:28
↓ 2 callersMethodget_estimator_eval_metric_ops
Returns a dictionary of eval metric ops to use with `tf.EstimatorSpec`. Note that once value_op is called, the detections and groundtruth added v
metrics/coco_evaluation.py:556
↓ 2 callersMethodget_localization
Determines the locations of the traffic light in the image Args: image: camera image Returns: list of boundi
detector.py:69
↓ 2 callersFunctionget_optimizer_type
Returns the optimizer type for training. Args: train_config: A train_pb2.TrainConfig. Returns: The type of the optimizer
utils/config_util.py:257
↓ 2 callersFunctiongraph_rewrite_fn
Function to quantize weights and activation of the default graph.
builders/graph_rewriter_builder.py:27
↓ 2 callersMethodignored_column_indicator
Returns boolean column indicator where True means the colum is ignored. Returns: column_indicator: boolean vector which is True for all ign
core/matcher.py:137
↓ 2 callersFunctionintersection
Compute pairwise intersection areas between boxes. Args: boxes1: a numpy array with shape [N, 4] holding N boxes boxes2: a numpy array with
utils/np_box_ops.py:37
↓ 2 callersFunctionintersection
Compute pairwise intersection areas between masks. Args: masks1: a numpy array with shape [N, height, width] holding N masks. Masks value
utils/np_mask_ops.py:45
↓ 2 callersFunctionintersection
Compute pairwise intersection areas between boxes. Args: boxlist1: BoxList holding N boxes boxlist2: BoxList holding M boxes scope: nam
core/box_list_ops.py:204
↓ 2 callersMethodkalman_filter
Implement the Kalman Filter, including the predict and the update stages, with the measurement z
tracker.py:67
↓ 2 callersFunctionload_labelmap
Loads label map proto. Args: path: path to StringIntLabelMap proto text file. Returns: a StringIntLabelMapProto
utils/label_map_util.py:123
↓ 2 callersFunctionmodel_fn
Constructs the object detection model. Args: features: Dictionary of feature tensors, returned from `input_fn`. labels: Dictionary of
model_lib.py:188
↓ 2 callersMethodnum_anchors_per_location
Returns the number of anchors per spatial location. Returns: a list of integers, one for each expected feature map to be passed to th
core/anchor_generator.py:68
↓ 2 callersMethodnum_anchors_per_location
(self)
meta_architectures/ssd_meta_arch_test.py:60
↓ 2 callersMethodnum_ignored_columns
Returns number (int32 scalar tensor) of matched columns.
core/matcher.py:146
↓ 2 callersMethodnum_matched_columns
Returns number (int32 scalar tensor) of matched columns.
core/matcher.py:101
↓ 2 callersMethodnum_unmatched_columns
Returns number (int32 scalar tensor) of unmatched columns.
core/matcher.py:123
↓ 2 callersFunctionoverlap
(x1,w1,x2,w2)
helpers.py:18
↓ 2 callersMethodparse
(self, tf_example)
metrics/tf_example_parser.py:33
↓ 2 callersMethodparse
(self, tf_example)
metrics/tf_example_parser.py:58
↓ 2 callersMethodparse
(self, tf_example)
metrics/tf_example_parser.py:74
↓ 2 callersFunctionpipeline
Pipeline function for detection and tracking
Person_det_track.py:82
↓ 2 callersMethodpredict_only
Implment only the predict stage. This is used for unmatched detections and unmatched tracks
tracker.py:86
↓ 2 callersFunctionrandom_adjust_brightness
Randomly adjusts brightness. Makes sure the output image is still between 0 and 255. Args: image: rank 3 float32 tensor contains 1 image ->
core/preprocessor.py:859
↓ 2 callersFunctionrandom_adjust_contrast
Randomly adjusts contrast. Makes sure the output image is still between 0 and 255. Args: image: rank 3 float32 tensor contains 1 image -> [h
core/preprocessor.py:894
↓ 2 callersFunctionrandom_adjust_hue
Randomly adjusts hue. Makes sure the output image is still between 0 and 255. Args: image: rank 3 float32 tensor contains 1 image -> [height
core/preprocessor.py:931
↓ 2 callersFunctionrandom_adjust_saturation
Randomly adjusts saturation. Makes sure the output image is still between 0 and 255. Args: image: rank 3 float32 tensor contains 1 image ->
core/preprocessor.py:963
↓ 2 callersFunctionrandom_crop_image
Randomly crops the image. Given the input image and its bounding boxes, this op randomly crops a subimage. Given a user-provided set of input co
core/preprocessor.py:1270
↓ 2 callersMethodrestore_map
(self, checkpoint_path, fine_tune_checkpoint_type)
exporter_test.py:69
↓ 2 callersMethodset
Convenience function for setting box coordinates. Args: boxes: a tensor of shape [N, 4] representing box corners Raises: ValueEr
core/box_list.py:109
↓ 2 callersFunctionsort_by_field
Sort boxes and associated fields according to a scalar field. A common use case is reordering the boxes according to descending scores. Args:
utils/np_box_list_ops.py:130
↓ 2 callersFunctionssd_random_crop
Random crop preprocessing with default parameters as in SSD paper. Liu et al., SSD: Single shot multibox detector. For further information on ran
core/preprocessor.py:2430
↓ 2 callersMethodtensors_to_item
(self, keys_to_tensors)
data_decoders/tf_example_decoder.py:67
↓ 2 callersFunctionunstack_batch
Unstacks all tensors in `tensor_dict` along 0th dimension. Unstacks tensor from the tensor dict along 0th dimension and returns a tensor_dict con
model_lib.py:98
↓ 1 callersFunctionExportSingleImageDetectionBoxesToCoco
Export detections of a single image to COCO format. This function converts detections represented as numpy arrays to dictionaries that can be ing
metrics/coco_tools.py:487
↓ 1 callersFunctionExportSingleImageDetectionMasksToCoco
Export detection masks of a single image to COCO format. This function converts detections represented as numpy arrays to dictionaries that can b
metrics/coco_tools.py:552
↓ 1 callersFunctionExportSingleImageGroundtruthToCoco
Export groundtruth of a single image to COCO format. This function converts groundtruth detection annotations represented as numpy arrays to dict
metrics/coco_tools.py:325
↓ 1 callersMethodGetAgnosticMode
Returns true if COCO Eval is configured to evaluate in agnostic mode.
metrics/coco_tools.py:184
↓ 1 callersMethodGetCategory
Fetches dictionary holding category information given category id. Args: category_id: integer id Returns: dictionary holding 'id'
metrics/coco_tools.py:174
↓ 1 callersMethodGetCategoryIdList
Returns list of valid category ids.
metrics/coco_tools.py:188
↓ 1 callersMethod__init__
Initializes the LookupTensor handler. Simply calls a vocabulary (most often, a label mapping) lookup. Args: tensor_key: the name of th
data_decoders/tf_example_decoder.py:39
↓ 1 callersMethod__init__
COCOWrapper constructor. See http://mscoco.org/dataset/#format for a description of the format. By default, the coco.COCO class constructor r
metrics/coco_tools.py:59
↓ 1 callersMethod__init__
Constructor. Args: categories: A list of dicts, each of which has the following keys - 'id': (required) an integer id uniquely iden
metrics/coco_evaluation.py:371
↓ 1 callersMethod_add_mask_to_second_stage_box_predictor_text_proto
( self, masks_are_class_agnostic=False)
meta_architectures/faster_rcnn_meta_arch_test_lib.py:94
↓ 1 callersFunction_add_output_tensor_nodes
Adds output nodes for detection boxes and scores. Adds the following nodes for output tensors - * num_detections: float32 tensor of shape [batc
exporter.py:188
← previousnext →201–300 of 2,187, ranked by callers