deepness.common.processing_parameters.detection_parameters.DetectionParameters¶
- class DetectionParameters(resolution_cm_per_px: float, processed_area_type: ProcessedAreaType, tile_size_px: int, batch_size: int, local_cache: bool, input_layer_id: str, mask_layer_id: str | None, processing_overlap: ProcessingOverlap, input_channels_mapping: ChannelsMapping, model: ModelBase, confidence: float, iou_threshold: float, detector_type: DetectorType = DetectorType.YOLO_v5_v7_DEFAULT)¶
Bases:
MapProcessingParametersParameters for Inference of detection model (including pre/post-processing) obtained from UI.
Methods
Attributes
detector_typeAlways divisible by 2, because overlap is on both sides of the tile
processing_stride_pxresolution_m_per_pxtile_size_mmodelconfidenceiou_threshold- property processing_overlap_px: int¶
Always divisible by 2, because overlap is on both sides of the tile