()
| 350 | return working_dir |
| 351 | |
| 352 | def init_preprocessor(): |
| 353 | from LHM.utils.preprocess import Preprocessor |
| 354 | global preprocessor |
| 355 | preprocessor = Preprocessor() |
| 356 | |
| 357 | def preprocess_fn(image_in: np.ndarray, remove_bg: bool, recenter: bool, working_dir): |
| 358 | image_raw = os.path.join(working_dir.name, "raw.png") |
nothing calls this directly
no test coverage detected