MCPcopy Create free account
hub / github.com/aigc3d/LHM / init_preprocessor

Function init_preprocessor

app_motion.py:352–355  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

PreprocessorClass · 0.90

Tested by

no test coverage detected