def test_widgets_calibration(): projector = Projector(use_panel=True) widget = projector.calibrate_projector() widget.show() projector2 = Projector(calibprojector=calib_dir + 'test_projector_calibration.json', use_panel=True) widget2 = projector2.calibrate_projector() widget2.show()
def calibrate_projector(): from sandbox.projector import Projector proj = Projector(use_panel=True) widget = proj.calibrate_projector() widget.show() return proj