()
| 341 | return working_dir |
| 342 | |
| 343 | def init_preprocessor(): |
| 344 | from LHM.utils.preprocess import Preprocessor |
| 345 | global preprocessor |
| 346 | preprocessor = Preprocessor() |
| 347 | |
| 348 | def preprocess_fn(image_in: np.ndarray, remove_bg: bool, recenter: bool, working_dir): |
| 349 | image_raw = os.path.join(working_dir.name, "raw.png") |
nothing calls this directly
no test coverage detected