garmentiq.landmark.derivation

Derivation of landmarks the detection model does not predict.

Some measurement points are defined geometrically rather than learned, and are marked predefined: False in a garment class definition. They are computed by intersecting a constructed line with the segmentation mask, following the rules in a derivation dictionary.

 1# garmentiq/landmark/derivation/__init__.py
 2"""Derivation of landmarks the detection model does not predict.
 3
 4Some measurement points are defined geometrically rather than learned, and are marked
 5`predefined: False` in a garment class definition. They are computed by intersecting a
 6constructed line with the segmentation mask, following the rules in a derivation
 7dictionary.
 8"""
 9from .derive_keypoint_coord import derive_keypoint_coord
10from .prepare_args import prepare_args
11from .process import process