Comment on Not likely to be AI-generated or Deepfake
vithigar@lemmy.ca 1 month agoI’m saying it because it’s not only obvious with even a moments thought (you can literally just ask it for an entirely red image or whatever), but also because it’s easily provable.
Prompt: “Under the sea”
Image:
Average pixel colour:
Prompt: “a man with red hair wearing a red coat standing in front of a red background”
Image:
Average pixel colour:
So I ask you the same question. Did you just say that because you felt like it was true?
Krauerking@lemy.lol 1 month ago
The average brightness values of those are both middle of the road grey. Sorry I should have rephrased as I misspoke calling it beige but the point still stands that has the most average toned color.
If you look they are middling around 50-60% where as a similar red photo intake would likely have a higher contrast and an average color with a higher brightness.
vithigar@lemmy.ca 1 month ago
I’d expect that many images are going to be somewhere near 50% grey if you average their luminance out overall. That’s just the average of every colour though. The fact that averaging a range of things tends toward a standard distribution isn’t particularly surprising. Again though, it’s not hard to get a diffusion model to generate something outside of that expectation.
Prompt: “night sky”
Image:
Image
Average colour:
Image
Average brightness: 21%
Prompt: “lineless image of an old man drawn in yellow ink on white background”
Image:
Image
Average colour:
Image
Average brightness: 90%
Krauerking@lemy.lol 1 month ago
Ehhh you’d be surprised how much small highlights and true dark values will skew an average. You don’t really get blown out or completely under exposed parts of AI generated images. It keeps trying to add some saturation.
I will say I’m getting different brightness levels than you are but it’s not a big deal. Point made.
However I will say saturation is also pretty much 50% across the board for all the colors so maybe there is something there to use as an indicator. The average color always comes out grey toned somehow.
Testing it myself has been pretty spot on.
Just to point it out, here is a photo I took to mimic the red man. And the color average from it.
Image
Image
vithigar@lemmy.ca 1 month ago
Also, this is tangential to the rest of our conversation, but I appreciate the dedication to the comment chain required to actually set up something with similar composition to the red man image and take a picture of it. Even has some black in the image in roughly the same size and area as his sweater. :D
vithigar@lemmy.ca 1 month ago
I’m not sure what you mean by the saturation being around 50% across the board. If I peek the HSB of all of the averages only that first teal-ish one appears to be around the mid point for saturation.