• Otter@lemmy.ca
    link
    fedilink
    English
    arrow-up
    46
    ·
    6 days ago

    There are likely programs that organize images by the most common colors, similar to the ones that let you create a collage image with a whole bunch of tiny images

    Off the top of my head, such a program could probably achieve this by

    1. For each saved RFK image, calculate the average red green and blue values
    2. Calculate the average red green and blue values for the food image
    3. Look for the closest RFK image

    Those images don’t look like AI to me, but rather photos taken under different lighting.

    • Ephera@lemmy.ml
      link
      fedilink
      English
      arrow-up
      3
      ·
      5 days ago

      Yes, although I suspect this is one of those cases where converting from RGB to HSL (Hue, Saturation, Lightness) before doing the comparison is much better.

      You’d want the hue to match rather precisely, whereas saturation and lightness can be adjusted as needed afterwards.