• Otter@lemmy.ca
      link
      fedilink
      English
      arrow-up
      47
      ·
      3 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
        ·
        2 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.

      • FinjaminPoach
        link
        fedilink
        English
        arrow-up
        2
        ·
        2 days ago

        Seems like AI could do it efficiently enough for how frequently they posted these images. Dataset of RFK photos, data set of food images.