Skip to main content

Human Segmentation

Segment human subjects from images using U2Net.

Usage

from tryon.preprocessing import segment_human

segment_human(
image_path="data/original_human/model.jpg",
output_dir="data/human_segmented"
)

See Preprocessing Overview for details.