Live data from Hacker News

Creating a social photo frame from scratch

insignificantdatascience.substack.com

1–10 of 29 posts

Re: Creating a social photo frame from scratch

#3
That screen needs a thick traditional ornate picture frame around it.

It will completely change the whole vibe in a positive way.

As for the cable, all it needs is a punched hole in the wall, hidden behind the screen, and another directly beneath it by the floor.

For extra bang, frame the screen with passive dielectric mirrored glass. DM 30/70 lets the screen's light through, slightly dampened, which is good for use as an art display in the background. And when the screen is off it will look (and be!) an elegant mirror.

Put a plant under it on a nice (but cheap) pedestal and upgrade the bookshelf to something more library/furniture, less utilitarian press board.

I would suggest textured paint for the wall. Pick light and dark shades of the same color. Paint the light color first. Then paint the dark over it, and lightly use a sponge or crumpled paper to pull just enough off to leave the wall richly colored and textured. It is very classy and calming.

I can go on... and on.

Re: Creating a social photo frame from scratch

#4

That screen needs a thick traditional ornate picture frame around it. It will completely change the whole vibe in a positive way. As for the cable, all it needs is a punched hole in the wall, hidden behind the screen, and another directly beneath it by the floor. For extra bang, frame the screen with passive dielectric mirrored glass. DM 30/70 lets the screen's light through, slightly dampened, which is good for use…

these are great ideas! I had thought about the picture frame one, but couldn't figure out a low cost way of adding a frame around the monitor. Best idea I had was fancy looking tape/stickers around the front of the monitor. Definitely going to do the plant + new bookshelf below, already scouring Facebook marketplace.

Re: Creating a social photo frame from scratch

#5
Nice job. I repurposed an old laptop with an RTX 2070 in it for a similar purpose. I have a Samsung Frame in my bedroom so the laptop spins up for about 15-20 minutes every day and generates new imagery using a combination of a small 7b LLM model to generate a stable diffusion prompt to generate the imagery. It's then fed through moderation filters, various upscaling, img2img and finally piped out to the Samsung Frame via a python websocket api.

Works pretty well although I've woken up to some pretty bizarre looking stuff every once in a while.

This is a mirror of what gets generated for it.

https://screensaver.specr.net

FYI, I got around the cable issue by aligning the TV directly above my piano which helps to hide it.

EDIT: Just a heads up, if the image s3 URL is identical (meaning you're upserting), you could make a HEAD request to determine if the image has changed versus the current one being shown. Alternatively, you could look into setting up an S3 trigger which triggers off new files being uploaded to it as well.

Personally, I'd recommend having two S3 folders, archived and new, then randomly assigning a GUID to the uploaded image. That way you support queueing if several people upload a few images, each one will get scheduled for display. S3 List the "new" files, display one of them, once time is up, raspberry PI moves it to the "archived" folder.

Re: Creating a social photo frame from scratch

#6
post #5

Nice job. I repurposed an old laptop with an RTX 2070 in it for a similar purpose. I have a Samsung Frame in my bedroom so the laptop spins up for about 15-20 minutes every day and generates new imagery using a combination of a small 7b LLM model to generate a stable diffusion prompt to generate the imagery. It's then fed through moderation filters, various upscaling, img2img and finally piped out to the Samsung Fram…

this is awesome, do you mind me asking what your prompt is? There is a really sweet photo on your site right now

Re: Creating a social photo frame from scratch

#7

That screen needs a thick traditional ornate picture frame around it. It will completely change the whole vibe in a positive way. As for the cable, all it needs is a punched hole in the wall, hidden behind the screen, and another directly beneath it by the floor. For extra bang, frame the screen with passive dielectric mirrored glass. DM 30/70 lets the screen's light through, slightly dampened, which is good for use…

> As for the cable, all it needs is a punched hole in the wall, hidden behind the screen, and another directly beneath it by the floor.

Likely against code to do this. Power cables are not meant to go behind the wall. There are products that exist to do this, but please don't just run the actual power cable this way.

Re: Creating a social photo frame from scratch

#8
This is cool, I have two observations:

* You say that you used a better model than Dalle 2, don't mention which, and the next line says "Dalle" again. I assume you're using Flux, though.

* Your photo display code might be wrong, your friend's selfie is squished in that photo.

Re: Creating a social photo frame from scratch

#10

That screen needs a thick traditional ornate picture frame around it. It will completely change the whole vibe in a positive way. As for the cable, all it needs is a punched hole in the wall, hidden behind the screen, and another directly beneath it by the floor. For extra bang, frame the screen with passive dielectric mirrored glass. DM 30/70 lets the screen's light through, slightly dampened, which is good for use…

Ah Americans... thinking everyone's walls are just plaster board on studs. I don't know what OP's situation is, but adding a cable to my walls would require machinery to cut a channel into the brickwork.
Post reply on HN