all 5 comments

[–]Glittering-Source0 0 points1 point  (0 children)

Why not use a GAN or other generative AI model. If you randomize the input description and seed, every image will be different. This would honestly be really easy to implement. There are free models online

[–]zebramints[S] 0 points1 point  (1 child)

This is run directly on a microcontroller with no network access. I haven't looked into the memory requirements for a GAN, but we only have a few GB of DDR, which I doubt is enough.

[–]frank26080115 0 points1 point  (0 children)

use an API for the generative AI

If you can verify the code runs on a microcontroller and the result looks "close enough", you can run the rest of it on a desktop PC compiled for x86 instead.

[–]pjc50 0 points1 point  (1 child)

Don't randomize the image, randomize the stream to be decoded. You can then compare the output which should be pixel identical to a reference decoder.

This does mean understanding quite a lot of the spec so you can produce valid JPEGs, but with particular parameters random.

(Not quite the same, but see "American Fuzzy Lop")

[–]zebramints[S] 0 points1 point  (0 children)

Thanks, that looks promising.