feat(classify): add graphic class for logos and diagrams (MK-9) #30
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/classify-graphic-class-MK-9"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What
MK-9: add a seventh classifier class,
graphic, for logos / brand marks / simple diagrams - small saturated palette with smooth, low-edge shapes. These fit none of the existing six slots.Changes (MK-9 commit only)
ImageClass::Graphic(+as_str,from_label).score():graphic = small_palette_graphic * low_edges * (1 - bimodal) * (1 - color) * (1 - low_sat). color-photo now also gated on a LARGE palette so a saturated small-palette logo falls to graphic.classify.toml:graphic_palette_max = 64,graphic_edge_max = 0.10.recipes/graphic.toml(anti-alias) keepsmonkey image autoexhaustive over the class.classify/autodoc-comments +--classhelp updated.graphic_blocksfixture +classifies_graphictest.Acceptance status
graphicinImageClass, dispatched in classify.tests/fixtures/classify/graphic/- blocked on the user fixture set.Notes
graphic_edge_max = 0.10admits lapce (0.023) and lets-chat (0.074) but excludes the timeline diagram (0.227); acceptance only requires the two logos.1 - low_satgate already separates the synthetic cases.graphic_palette_max/graphic_edge_maxtuning awaits the real fixtures.🤖 Generated with Claude Code