Lurker News

Comments (123) 37 threads

GradientSurfer2 replies#
Nice! I peeked at the code and thought I’d share a few tips for improving the low frame rate:

Base64 encoding the JPEG bytes will increase payload size up to ~30% and burns CPU cycles on both client and server. This is unnecessary, as Websocket protocol can send binary payloads (doesn’t need to be text).
Consider removing lossy jpg compression as well, ie just send the raw RGB bytes over the network. Then on the server side you can simply call Image.frombuffer(…).
StreamDiffusion can achieve high frame rates because of extensive batching in the pipeline. You’re not benefiting from that here as the client is only sending one frame at a time and then waiting for a response. See this example for an idea of how to queue input frames and consume them in batches https://github.com/cumulo-autumn/StreamDiffusion/blob/main/e... .
Alternatively you could take a look at the SDXL Turbo and Lightning models. They are very fast at img2img but have limited resolution of 512² or 1024² pixels respectively. Which appears a bit lower than what you’re aiming for here, but they can be run locally in real time on a high end consumer grade GPU. For reference I have some code demonstrating this here https://github.com/GradientSurfer/Draw2Img/tree/main

MrLeap1 reply#
yeah yeah yeah, do all these things, and afterwards, look at 2d interpolation methods that don't require AI for your inbetweens. There's some real fast kernel math that can lerp from one blob to another at 8 billion fps.
enjeyw2 replies#
I think you’re getting downvoted because “yeah yeah yeah” is normally a sign that someone is sarcastically dismissing an idea, but the rest of your comment suggests you’re not at all - linerp is a great idea!
cataPhil#
These are great ideas thank you!
MrLeap1 reply#
It was a sincere triple yeah, born of excitement.

Continue this thread — 1 reply

bambax1 reply#
Ok, but I wonder if it really needs to be real time like this? Wouldn't it make more sense to have some kind of button: somebody makes a pose, takes a picture, the picture is run through some kind of transformation and comes back as a painting that stays there until someone takes another picture? Wouldn't the illusion of art be better that way? (It would not be a "mirror" anymore though.)
roland351 reply#
I think it has to be either real time or a very low framerate, like once every 30 seconds. That way you have time to see each "painting"
amy-petrik-214#
IMO embrace low frame rate. Better energy use if its AI based on the first place (cheaper, environment... more cycles for fancier effecs) THEN pair that with e-ink display (also good energy use), I'd go for old school charcoal style but color e-ink is a thing. e-ink with some additional effects could resemble a physical paper moreso then a LCD/LED and so would be less obnoxious in the darkness of night... AND this also could be a low key security camera.
igornadj6 replies#
> Making art is hard. But art is mostly about surfacing the inner world, and only in part about skill. It’s unfortunate that art selects so strongly for skill.

Not to sound like a luddite, but I do question the idea that the skill gap is merely an inconvenience. I suspect learning how to paint or make music changes something in yourself which teaches you some deeper life lessons.
I've heard the phrase (paraphrased): No great work of art was made by a genius, genius comes to you unexpectedly like a gust of wind. It seems that cultivating these opportunities is the most an artist can do, and removing the skill gap seems to be removing the cultivation, the thing that changes you, the essence.
There seems to be a few of these inherent deep workings that we as a people keep coming back to, without knowing what they are or how to discuss them (personally at least!). Not to rain on your parade OP, the project looks fun and super useful to a lot people! Just something I ponder on at times.

terhechte1 reply#
This goes opposite to the saying "Experts say it cannot be done; amateurs accomplish it every day.".

Sometimes it's good to have someone with fresh eyes looking and something and not be shaped by decades of prior history.

NavinF5 replies#
> "Experts say it cannot be done; amateurs accomplish it every day."

I love this because I seem to encounter situations like that every day. Who came up with this saying?
Recent example: This guy asked a very simple question about something that's commonly done in industry (wiring two power supplies in parallel and balancing the current between them): https://www.reddit.com/r/AskElectronics/comments/1g84zd7/usi...
Literally 95% of the replies in that thread are irrelevant bullshit from "experts" that have no idea how redundant server PSUs work. I replied to some under the same username. Meanwhile another guy successfully wired two 100W USB-C ports in parallel to power an entire PC. He had no idea that the resistance of his crappy wires kept the two smps control loops stable and divided the current evenly between the two ports ensuring that neither one trips OCP: https://www.reddit.com/r/UsbCHardware/comments/1g8pser/let_m...

baq1 reply#
I guess there's the armchair expert and the actual, real expert and these two are completely different beasts.

I wouldn't feel comfortable with this guy's usb-c setup but probably not for 'it's all going to burn down' reasons, more like 'the connection will get loose somewhere and I'll lose my work'.

Continue this thread — 1 reply

vasco1 reply#
"Random person on reddit" doesn't qualify as experts.

Continue this thread — 1 reply

bambax#
> Who came up with this saying?

I was not aware of that specific formulation but there's a maxim by Mark Twain that says "They did not know it was impossible so they did it".

jijan1 reply#
Amsyar hensem

Continue this thread — 1 reply

Workaccount21 reply#
Since I actually work in this field:

Redundant switching power supplies are purpose built to be redundant. They usually have a current share circuit (to balance the load) and output diodes (to stop one supply from feeding the other one). Without that one supply will "over power" the other, fill it's output caps, and then the feedback of that supply will go "Hey the output caps are charged so why do I need to do anything!?". You end up with an erosion of power balance.
You are riding a pretty high horse, but the commenters in that thread are not wrong and if you think cheap 5V USB chargers are anything like redundant server PSU's. I don't think putting random USB chargers in parallel will cause a fire or anything, but it's just needlessly bad engineering that will be anything but robust.
A programming analogy to help people here: You can write a program that is tens of thousands of lines of if statements. It might probably work maybe for some inputs? But damn if it not bad engineering. No one would ride around on the high horse of "See the program worked! The "experts" were wrong!".

Continue this thread — 1 reply

Log_out_1 reply#
? Have you ever read musician interviews: Its like a competition on how much clichee, naivete and reality denying drivel one can compress into 5 minutes.

Idealism is not a victimless crime, millions suffer every day because some artist threw a buggy,idealized world model over the fence and the idiocy stuck hypnotizing millions into permanently damaging themselves.

d0gsg0w00f1 reply#
There something compelling inside musicians that comes out in their music. Everyone feels it but few can define it. There's a reason they did not choose conversation as their medium.
grugagag1 reply#
Are you talking about stage presence?

Continue this thread — 1 reply

Super_Jambo#
This is why the greatest art is only made by people who grow the plants to create their own paint from scratch...
flir1 reply#
I think he's on the right lines with "surfacing the inner world", but that's why I see this as more wallpaper than art. He's not doing a deep dive into his own psychology and hauling up pearls; none of these images have that property.

Does the totality of the project have that property? That would be less clear, but IMO, no. I see it as technically driven, not psychologically driven, although I can see how you could write an artist's statement that claims it was (it's about mirrors, after all, which are hugely symbolic).
To be clear I still like it, and if I'd done it I'd be proud of it. But it's more artifice than art.
(If I was him, I'd slow the frame rate down, not speed it up - work with the technical limitation, not against it. Have the system only display "good" images, and not update the display until another "good" image is generated. The code that decides if an image is "good" or not would be the most interesting part of the system, and could fairly be said to embody the artist's intent, and so cross (my own personal) threshold into capital-A Art.
I'd also experiment with buffering the image stream à la _Light of Other Days_ by Bob Shaw.
Oh, and as Halloween is nearly with us, the temptation to occasionally inpaint a figure standing behind the viewer would be massive.
Idle thought: to get some stability in the image, would it be possible to have an LLM generate random video filter code, instead of random images? "Write me a video filter that makes the input video look cubist". "...like an oil painting" "...with a Flash aesthetic". etc etc. Every time a filter gets generated that doesn't actively crash, swap to it. No idea if that's feasible or not.)

Kim_Bruning#
It's extremely sophisticated dynamic art.
sandworm101#
Talk like "surfacing the inner whatever" can impress the masses, for a very short while, but good art requires more. All art has a language, standards that are learned though an artist's development as they learn the needed skills. The mona lisa isn't just a good picture of a person. It is full of details and meaning only understandable to people who have studied paintings. AI can generate a good or interesting picture but it cannot speak the language of painting. That requires actual graft to learn and appreciate. Injecting the paintbrush skills into someone's brain, or into an AI tool, isn't going to make them an artist.
wellthisisgreat#
> I suspect learning how to paint or make music changes something in yourself which teaches you some deeper life lessons.

I enthusiastically support this notion. A simpler, than painting, example would be writing. Sure everyone has a story to tell, and everyone can write, but to make it worth other people's time would take you days if not years of perfecting the craft, as you inevitably learn things about yourself and crystallize your perspectives on this world.

bravura3 replies#
FYI, the link to the frame used to mount the display just blocks you:

https://www.leroymerlin.fr/produits/decoration-eclairage/dec...
For those curious, it's a MILO 21 x 29.7 cm black frame. These links work for me:
https://www.leroymerlin.pt/produtos/decoracao-e-tapetes/mold...
Also, the screen he uses (HMTECH Raspberry Pi Screen 10.1) is pretty hard to find. Do people have other good recommendations for screens with similar quality and specs?
Any idea why this uses infrared light and an infrared camera?

piva001 reply#
> Any idea why this uses infrared light and an infrared camera?

I'd guess it's to make it work in the dark as well.

cataPhil#
That's correct. Plus it also adds a layer of interaction that's pretty fun, kind of like a wand.
esperent#
Every time I've looked into building something like this, when I price it out, just using an old Android tablet in kiosk mode and making it a web app ends up being much cheaper.
bambax1 reply#
The screen is available on Amazon? But it's a touch screen, which seems overkill; any screen would probably work? One can always build a custom frame around it.
bravura#
Touch screen I think is cool because then you could interact with the art.

I did a little research and these Waveshare displays look really beautiful. For a particular size display, they have models in different resolutions (from lower to higher res). But they're only for rpis and windows, not like mac or ipad. The QLED ones are the best.
https://www.waveshare.com/product/ai/displays/10.1hp-capqled...

xlii3 replies#
> But art is mostly about surfacing the inner world, and only in part about skill.

I always thought that art is all about emotions, both preserving and creating them. That’s why I find a banana on the wall art, popular music is still art.
(Might be school influence but I also tend to ask myself „why”)
This invention is definitely work of art, but its output - in my eyes - not. It’s like a cloud. It can make different shapes, and some are funny, some might remind me of my close ones, but it’s still averaged randomness.
However the idea to reflect reality to this digital randomness I find without doubt - art. And, well: while not visual or audible, there is software, hardware, code and design which are also art (and difficult to make so counterpoint to thesis in first paragraph ;)).

khafra2 replies#
> I always thought that art is all about emotions, both preserving and creating them.

But this leaves the role of intention ambiguous. If I double-park a BMW across two handicap spaces because I'm angry and entitled, is that art? It certainly evokes emotion, and it's also produced by emotion.

happymellon1 reply#
If you present it as art, sure.

But the best part about art is that other people don't have to consider what you do as art.
I would find it hard to believe you are presenting it as art though, as you'll want your BMW back after you've bought whatever crap at the store.
I don't have to believe your AI generated slop is art because it doesn't actually convey any emotion.
This generation of the picture itself is art, similar to other "experience" art pieces. Its referred to as immersive art.

Lerc6 replies#
>If you present it as art, sure.

>But the best part about art is that other people don't have to consider what you do as art.
I often think of art in a way that is remarkably consistent with these statements.
My view was "Art is an invitation to consider" Sticking a banana to a wall becomes art when you do it to make people to engage or think about it.
Engagement is not compulsory, but I think the invitation might be. Sticking a banana to a wall to keep it away from ants is simple utility, not intended to be artistic expression.
>I don't have to believe your AI generated slop is art because it doesn't actually convey any emotion.
You don't have to engage, but choosing to denigrate is actively hostile engagement. There are plenty of people using AI for expression of ideas. There are also people doing a bunch of dumb things. Lowbrow art is still art in it's own way. Much of it may have very little to say, but I don't think there are very many people who have pretensions that low effort images are much more than a kind of doodling.

Continue this thread — 6 replies

xlii#
An interesting viewpoint for sure.

I would dissect it though since it’s not pure anger - frustration maybe, a complex one and caused by additional input. E.g. anxiety (you took what could be mine) or internal discord (after observing act of injustice).
I’d argue that it’s an act of random (again, like a cloud) and wouldn’t treat it as art.
But, if you’d park it sideways in front of the mall entrance, blocking it considerably, I’d consider it art (in my imagination I can see the headlines about artist making a statement against the overconsumption).
Yet art is art, so everyone has their own definition. I’d prefer “positive” emotions, so awe, nostalgia, etc., but I don’t see reason why anger should be excluded.
<>

lofaszvanitt#
Art is something that grabs you and is also unique in the way it presents the subject. Also, there has to be skill involved, otherwise the whole thing goes up in smoke if it feels cheap or superficial.

A banana on the wall is not art, because it involves an everyday object in an everyday setting.
You might feel it's art, but if that's the case, then you haven't exposed yourself to true art enough to have a pool of experience or only seen so far superficial examples.

skeaker#
> I always thought that art is all about emotions, both preserving and creating them.

Is that not what was meant by "surfacing the inner world?"

Load more comments