()
| 369 | return working_dir |
| 370 | |
| 371 | def init_preprocessor(): |
| 372 | from LHM.utils.preprocess import Preprocessor |
| 373 | global preprocessor |
| 374 | preprocessor = Preprocessor() |
| 375 | |
| 376 | def preprocess_fn(image_in: np.ndarray, remove_bg: bool, recenter: bool, working_dir): |
| 377 | image_raw = os.path.join(working_dir.name, "raw.png") |
nothing calls this directly
no test coverage detected