facebook360_dep
Facebook360 Depth Estimation Pipeline
|
Public Member Functions | |
def | __init__ (self) |
def | unpickle_project (self) |
def | setup_clock (self) |
def | update_clock (self, start=None) |
def | configure_farm (self) |
def | closeEvent (self, event) |
def | keyPressEvent (self, event) |
def | auto_terminate_cluster (self) |
def | get_current_section (self) |
def | setup_section (self, section, mkdirs=True) |
def | on_changed_section (self) |
def | setup_sections_signals (self) |
def | setup_sections_layout (self) |
def | setup_project (self) |
Main dialog box for the app initialized by QT. Attributes: aws_util (AWSUtil): Util instance for ease of interacting with AWS. background (Background): Instance of the background tab UI element. calibrate (Calibration): Instance of the calibration tab UI element. depth (DepthEstimation): Instance of the depth estimation tab UI element. dlg (App(QDialog)): Main dialog box for the app initialized by QT. export (Export): Instance of the export tab UI element. full_size (QSize): Size of the full-sized UI (i.e. size on spawn). is_aws (bool): Whether or not this is an AWS render. is_lan (bool): Whether or not this is a LAN render. path_project (str): Path to the project root. sections (list[_]): List of class instances corresponding to the tabs. ui_flags (absl.flags._flagvalues.FlagValues): Copy of globally defined flags for dep.py.
def dep.App.__init__ | ( | self | ) |
Creates the main UI dialog box and sets up the sections in the desired layout.
def dep.App.auto_terminate_cluster | ( | self | ) |
Sets up a repeated background event to terminate AWS clusters.
def dep.App.closeEvent | ( | self, | |
event | |||
) |
Callback event handler for the UI being closed. Args: event (QEvent): Caught instance of the closing event.
def dep.App.configure_farm | ( | self | ) |
Sets up credentials in the terminal for an AWS render.
def dep.App.get_current_section | ( | self | ) |
Returns the active section. Returns: Union[Background, Calibration, DepthEstimation, Export]: Whichever instance is active on screen.
def dep.App.keyPressEvent | ( | self, | |
event | |||
) |
def dep.App.on_changed_section | ( | self | ) |
Callback event handler for changing tabs.
def dep.App.setup_clock | ( | self | ) |
def dep.App.setup_project | ( | self | ) |
Initializes the file explorer and sets up the tabs.
def dep.App.setup_section | ( | self, | |
section, | |||
mkdirs = True |
|||
) |
Sets up the layout and populates fields in a section. Args: section (Union[Background, Calibration, DepthEstimation, Export]): UI section. mkdirs (bool, optional): Whether or not to make the directories desired.
def dep.App.setup_sections_layout | ( | self | ) |
Force margins to 10 pixels on sides and bottom to not waste too much space
def dep.App.setup_sections_signals | ( | self | ) |
Sets up signal for changing tabs and initializes the start tab.
def dep.App.unpickle_project | ( | self | ) |
def dep.App.update_clock | ( | self, | |
start = None |
|||
) |
dep.App.aws_util |
dep.App.background |
dep.App.calibrate |
dep.App.depth |
dep.App.dlg |
dep.App.export |
dep.App.font_size |
dep.App.font_type |
dep.App.full_size |
dep.App.is_aws |
dep.App.is_lan |
dep.App.path_project |
dep.App.project_root |
dep.App.s3_ignore_fullsize_color |
dep.App.s3_sample_frame |
dep.App.sections |
dep.App.timer |
dep.App.ts_start |
dep.App.ts_start_clock |
dep.App.ui_flags |
dep.App.verbose |