video699.screen.semantic_segmentation.common¶
This module serves as common utility function storage for postprocessing and fastai_detector.
Module Contents¶
-
video699.screen.semantic_segmentation.common.LOGGER¶
-
video699.screen.semantic_segmentation.common.CONFIGURATION¶
-
video699.screen.semantic_segmentation.common.image_area¶
-
video699.screen.semantic_segmentation.common.cv_image_to_tensor(image)¶
-
video699.screen.semantic_segmentation.common.tensor_to_cv_binary_image(tensor)¶
-
video699.screen.semantic_segmentation.common.resize_pred(pred, width, height)¶
-
video699.screen.semantic_segmentation.common.create_labels(videos, labels_path)¶
-
video699.screen.semantic_segmentation.common.create_images(videos, images_path)¶
-
video699.screen.semantic_segmentation.common.parse_factors(factors_string: str) → List[float]¶
-
video699.screen.semantic_segmentation.common.parse_lr(lr_string)¶
-
video699.screen.semantic_segmentation.common.parse_train_params(config)¶
-
video699.screen.semantic_segmentation.common.parse_post_processing_params(config)¶
-
exception
video699.screen.semantic_segmentation.common.NotFittedException¶ Bases:
Exception
-
video699.screen.semantic_segmentation.common.acc(pred, actual)¶ FastAI semantic segmentation binary accuracy
-
video699.screen.semantic_segmentation.common.iou_sem_seg(pred, actual)¶
-
video699.screen.semantic_segmentation.common.get_label_from_image_name(labels_output_path, fname)¶
-
video699.screen.semantic_segmentation.common.midpoint(pointA, pointB)¶
-
video699.screen.semantic_segmentation.common.get_coordinates(quadrangle)¶
-
video699.screen.semantic_segmentation.common.draw_polygon(polygon, image)¶
-
video699.screen.semantic_segmentation.common.iou(screenA, screenB)¶
-
video699.screen.semantic_segmentation.common.is_bigger_than_boundary(contour_area, lower_area_percentage)¶