5 ms·
I just finished my latest project, building an AI art installation at home, generating 100 % unique artworks on the fly. Just push the button below the screen a
by mfi 5y ago
I just finished my latest project, building an AI art installation at home, generating 100 % unique artworks on the fly. Just push the button below the screen and another one will be displayed. When the button has been pushed, the old artwork is deleted and can't be retrieved again.
Setup:
* An Nvidia Jetson Xavier NX was used for all logic, machine learning inference, art kiosk GUI etc.
* A StyleGAN was used to generate the artworks, trained on ~5k images of abstract art.
* A passive infrared sensor (SR602) was integrated with the Jetson to reduce screen burn-in. When no movement has been detected around the installation within a pre-defined threshold, the screen shuts off until movement is detected.
* A custom control box was built, encapsulating most of the electronics.
- spoonjim 5y agoWhat country uses those round black outlets?
- mfi 5y agoI'm from Sweden :)
- Guillaume86 5y agoRed countries on this map: https://world-power-plugs.com/plugs-outlets-types https://world-power-plugs.com/plugs-outlets-types
- prions 5y agoThis is really cool! I'd love to seed the GAN with my own artwork and generate new pieces in my style
- mfi 5y agoThanks! Depending on how many artworks you've created, it might be difficult to train a GAN network on them (due to overfitting). What you might try is to train one network with a lot of random artworks, then use a Style-transfer network to convert the generated pieces into your style.
- sandGorgon 5y agodo you have the code for training ? i wasnt able to find it in your repo. That would be so cool!
- mfi 5y agoI left it out as I wanted people to use their own generative art. Here's the implementation I used: https://github.com/taki0112/StyleGAN-Tensorflow https://github.com/taki0112/StyleGAN-Tensorflow
- bravura 5y agoDo you actually want to disseminate your work and have many other people try it? Or is that not actually a goal. Right now it really feels like this isn't a priority. Which is fine. But if it is a priority that other people replicate your work, I'm not sure you're making this as easy for people as possible.
- mfi 5y agoMy intension is not for people to replicate my work (the trained GAN-network), but rather supply a tutorial over how to build the installation. Then people can add their own generative art/code. It could be ML-generated, or traditional "code-art".
- sandGorgon 5y agoHey thanks! so just put your pictures and run the python script ? and we can take the model and drop-in replace in yoru code ?
- mfi 5y agoSorry for the late reply. Yeah, I used that repo to train the NN. Then I modified and reduced the code to only include the generative part, and that is what I added to the Kiosk-code.
- 5y ago
- phkahler 5y agoOr seed it with XKCD.
- kamilszybalski 5y agothis comment seeded an interesting idea! Many artists and photographers want to get into the NFT space but they don't necessarily have experience in digital art creation. If you could leverage AI to generate digital art based on real artist/photographer inputs, perhaps you could create a nice little marketplace business.. or maybe just a simple AI generator plugin for an existing marketplace..
- tartoran 5y agoMost artists (with some exceptions) want to have nothing to do with AI generative art. They will simply continue to produce art the way they do with older technologies such as paints and brushes, musical instruments, film equipment, writing tools, and so on. Art making involves a process, a state of mind and there's always a human behind it who digests everything around them and spit something out. All these imitative AI art are beautiful in their own way but really have no substance; once the wow factor weans out they won't have much of a leg to stand on in my opinion. Art making is a self discovering journey at the same time. Having said that, I'm curious and somewhat excited to see how these will evolve. As I said, I find them beautiful. As a painter myself there is nothing out there that will make me not paint. Sure, I sometimes use tools but there's always the me in there who is in control or driven by my human instinct.
- kamilszybalski 5y agoThat's good insight. I am not an artist but I've also run this idea by a friend who is. He loves the idea and is curious what a technological interpretation of his work might look like. He's also interested in how we might use those interpretations to create a new segment of collections for this brand.
- artur_makly 5y agoEverything is a remix. https://www.youtube.com/watch?v=zd-dqUuvLk4 https://www.youtube.com/watch?v=zd-dqUuvLk4
- tartoran 5y ago
- KingFelix 5y agoThats what I am thinking about, what kind of images to train on
- TuringNYC 5y ago>> Nvidia Jetson Xavier NX Curious -- since you're only doing the inference/generation on the frame, and since you're not doing it all the time, did you need a Jetson or would an RPI have sufficed? Did you test inference speeds across different edge compute options?
- dheera 5y agoYeah I think the way I'd do it (personally) is have an RPi constantly generate new images in the background and cache them until storage is maxed out, then when you hit the button it just fetches the next image from cache. That would allow the frame to be somewhat lower power and also decrease ventilation requirements -- no fan needed.
- raisedbyninjas 5y agoIs it me or is this more of a woodworking guide than an AI art guide? I only see a small blurb to put AI art code here. Presumably the button/replenish image dir. is a seed component to the AI. I suppose that further removing the art generation from the installation diminishes the magic of art. The engineer in me would further trim this down by pre-generating art on a PC and slap it on an SD card plugged into basic picture digital frame. Or dispense with storage and connect it to Wifi to poll AIArtAsAService.com.
- bluerival 5y agoThe difference between this project and a digital photo frame is as you’ve described - The AI generation. I think the destruction makes it special too, if every unique image disappears forever at the click of a button.
- dheera 5y agoInteresting! I built a generative art frame based on "{Shan, Shui}" by Lingdong Huang https://dheera.net/projects/einkframe/ https://dheera.net/projects/einkframe/ but also planning to use it for neural-net based generative art. I wasn't planning on putting a NX in it though, I was thinking of just keeping the Pi Zero in there and have it do all computations in "the cloud" or on a Nano/Xavier box sitting elsewhere on the same network. I'm currently working on a 3-panel version of the above: https://imgur.com/a/3IfKpb3 https://imgur.com/a/3IfKpb3 I didn't make my own frame though, I designed the dimensions and had it custom-built by a frame company, which was surprisingly affordable.
- tyingq 5y agoThis is more interesting to me as I'd never suspect it was generated art.
- dheera 5y agoYeah that was what I was going for, guests who come would not even know that there are electronics in the frame, and suddenly the art would change every now and then. Requires drilling a fat hole in the wall to send the USB cable down behind the drywall but meh, needing to patch drywall when moving out isn't the end of the world, usually if you chat up the maintainence folk you can get some extra paint of exactly the right color and spackle/paint it yourself.
- at_a_remove 5y agoWhat would be amusing is gaze detection such that the art would change only when someone wasn't looking for a while, and then maybe only "advance the scroll" an inch or two.
- mfi 5y agoThat is amazing!! I actually looked into buying an E-ink screen for this project, but decided not to due to the cost and the lack of compatibility. Was the E-ink screen simple to work with?
- Quarrel 5y agoOk, so this is cool as fuck. I don't think much of the actually produced art, but the fact that you laid out your whole process makes this drool-worthy. Now it is just a challenge as to- can I do better? Great job.
- wombatmobile 5y agoNobody could include more individual photos in the how to. This one has how many gazillion photos?
- PebblesRox 5y agoOooh, next step is to create an AI picture frame that generates images based on the photo documentation of its own creation.
- mfi 5y agoGlad you like it! Of course you can! Give it a try and share it afterwards ;)
- Justin_K 5y agoAwesome! I'd recommend running your cables behind the drywall, the look is very clean!
- mfi 5y agoYeah, that would've been optimal, but it's also a lot more work, so I decided to use cable channels in the end.
- jonbraun 5y agoCool installation! What was the process of obtaining the 5k abstract art images?
- mfi 5y agoI scraped them from various art websites.
- throwaway158497 5y agoCool project. How much does this setup cost you?
- mfi 5y agoHmm, I think The Frame 32" was about $500 and the Nvidia Xavier NX costed as much (including import taxes etc). The other stuff (cable channels, screws, MDF etc) was probably around $50. So a total of around ~$1050.
- binarymax 5y agoReally beautifully done. Thank you for sharing it with us! Quick question: can you use the Nvidia Jetson Xavier NX to train a model? Or can it only be used for inference?
- pfundstein 5y agoWhy not use the artworks themselves as a screensaver?