utils.Utils_label
Classes
UtilsLabel
UtilsLabel()
Attributes
occ_point_max
instance-attribute
occ_point_max = config.common_config.occ_point_max
occlusion_th
instance-attribute
occlusion_th = config.common_config.occlusion_th
Functions
get_care_labels
staticmethod
get_care_labels(bg_labels, care_key = None) -> Tuple[List[Any], List[Any]]
| Parameters: |
|
|---|
| Returns: |
|
|---|
get_image_occlusion_ratio
get_image_occlusion_ratio(box1: numpy.ndarray, boxes2: numpy.ndarray) -> float
| Parameters: |
|
|---|
| Returns: |
|
|---|
get_labels
staticmethod
get_labels(rz_degree: float, lidar_box: o3d.geometry.OrientedBoundingBox, calib_info: dict, image_box: List[float], truncation_ratio: float) -> List[str]
get_occlusion_level
get_occlusion_level(occlusion_ratio: float) -> int
| Parameters: |
|
|---|
| Returns: |
|
|---|
get_truncation_ratio
staticmethod
get_truncation_ratio(box1: List[float], box2: List[float]) -> float
sort_labels
staticmethod
sort_labels(labels_input)
update_bg_init_label
update_bg_init_label(labels, init_pc, combine_pc, corners)
update_obj_inserted_labels
update_obj_inserted_labels(labels, infos, delete_points_mask)
update_occ_only_image
update_occ_only_image(labels: numpy.ndarray) -> list
| Parameters: |
|
|---|
| Returns: |
|
|---|
update_single_init_label
update_single_init_label(label, init_pc, combine_pc, corner)
update_single_labels
update_single_labels(label, info, delete_points_mask)