Repository navigation
Clayform 0.4.0
Match a reference.
Give the agent a sketch or photo and it can move a model toward it with a score that goes up.
compare_reference { image, view }fits the model's silhouette to a reference PNG. It returns an IoU score, an overlay (orange = only in the reference, blue = only in the model) and sentences that name the parts that are too wide or too narrow, biggest difference first. (#25, #26)- The reference is aligned to the model by the scale and shift that overlap them best, so making one part bigger is reported at that part instead of shifting every other comparison.
- Works with transparent PNGs, and with plain backgrounds that differ from the object.
- CLI:
clayform compare <scene> <reference.png> --view front.