Created
June 28, 2021 14:29
-
-
Save papr/04b9e4b9c1758c3701bf260dfa67f83f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from pyglui import ui | |
from plugin import Plugin | |
class Custom_Calibration_Confidence_Threshold(Plugin): | |
def init_ui(self): | |
self.add_menu() | |
self.menu.append( | |
ui.Slider( | |
"min_calibration_confidence", | |
self.g_pool, | |
min=0.0, | |
max=1.0, | |
step=0.01, | |
label="Minimum calibration confidence threshold", | |
) | |
) | |
def deinit_ui(self): | |
self.remove_menu() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment