Garment Extraction
Extract and preprocess garments from images.
Usage
from tryon.preprocessing import extract_garment
extract_garment(
inputs_dir="data/original_cloth",
outputs_dir="data/cloth",
cls="upper",
resize_to_width=400
)
See Preprocessing Overview for details.