retuve.defaults.hip_configs
Default Working Configs for Retuve
Import them directly from the retuve package.
We don't store them, so that the Retuve UI does not use them.
1# Copyright 2024 Adam McArthur 2# 3# Licensed under the Apache License, Version 2.0 (the "License"); 4# you may not use this file except in compliance with the License. 5# You may obtain a copy of the License at 6# 7# http://www.apache.org/licenses/LICENSE-2.0 8# 9# Unless required by applicable law or agreed to in writing, software 10# distributed under the License is distributed on an "AS IS" BASIS, 11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12# See the License for the specific language governing permissions and 13# limitations under the License. 14 15""" 16Default Working Configs for Retuve 17 18Import them directly from the retuve package. 19 20We don't store them, so that the Retuve UI does not use them. 21""" 22 23from retuve.keyphrases.enums import MetricUS, OperationType 24 25from .config import base_config 26 27default_US = base_config.get_copy() 28default_US.visuals.default_font_size = 20 29default_US.visuals.points_radius = 10 30default_US.visuals.line_thickness = 3 31default_US.visuals.bounding_box_thickness = 8 32default_US.hip.display_side = False 33default_US.visuals.display_segs = True 34 35default_US.register(name="default_US", store=False, silent=True) 36 37default_xray = base_config.get_copy() 38default_xray.operation_type = OperationType.LANDMARK 39default_xray.visuals.points_radius = 10 40default_xray.visuals.line_thickness = 3 41default_xray.visuals.default_font_size = 20 42default_xray.visuals.bounding_box_thickness = 7 43 44default_xray.register(name="default_xray", store=False, silent=True) 45 46live = default_US.get_copy() 47 48test_default_US = default_US.get_copy() 49test_default_US.hip.measurements = [ 50 MetricUS.ALPHA, 51 MetricUS.COVERAGE, 52 MetricUS.CURVATURE, 53 MetricUS.CENTERING_RATIO, 54 MetricUS.ACA, 55]
default_US =
<retuve.keyphrases.config.Config object>
default_xray =
<retuve.keyphrases.config.Config object>
live =
<retuve.keyphrases.config.Config object>
test_default_US =
<retuve.keyphrases.config.Config object>