this post was submitted on 29 Nov 2023
1 points (66.7% liked)

Self-Hosted Main

502 readers
4 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

For Example

We welcome posts that include suggestions for good self-hosted alternatives to popular online services, how they are better, or how they give back control of your data. Also include hints and tips for less technical readers.

Useful Lists

founded 1 year ago
MODERATORS
 

Hi all

TL;DR:

I'm looking for an alternative to Google photos with the ability to AI upscale photos for my specific use case. I would like to have something that I can self host on my RPi4, that syncs with my phone. Ideally, it would take photos off my phone, upscale and then send them back - ideally as a Cron job that runs every few days.

Context:

For some reason, half the photos I take with my camera are somehow blurry or high noise (a 2014 HTC one mini 2) - more likely than not because I replaced the stock rom and thus no longer have access to the proprietary software of the HTC.

(I would have thought Gcam or OpenCam would suffice but meh. The camera itself is 13MP and should be good enough for ok pics).

Anyway, I had the idea of self hosting the photos on my Pi (as am de-googling anyway and it's currently used exclusively as a Jellyfin/Radarr/Sonarr box) and thought hey, why not see if there's something that can run some kind of image upscale / cleaner and then send photos back to phone.

Saves me from having to get another new-old phone.

Nb: Yes, I'm aware this is an old phone. Yes, I'm aware if would be just easier to use a better phone. No, I don't want to use a different phone, for various reasons (mostly pocketability). And because fuck it, I'm bloody minded enough to want to want to bash a square peg through a round hole, which I think might resonate with some of you.

Anyway, any software that might fit my needs?

top 6 comments
sorted by: hot top controversial new old
[–] [email protected] 1 points 9 months ago

I didn't understand if you want a desktop GUI or a webUI, there are a lot of projects dealing with ai upscaling, I don't know which of those you can get to run on the RPI.

https://github.com/AbeerVaishnav13/super-resolution

https://github.com/Araxeus/PNG-Upscale

https://waifu2x.udp.jp/

[–] [email protected] 1 points 9 months ago

In any case, check if the camera apps can take raw images, that's the first step to better pictures on older phones. I like ProShot but I don't know if it's working on your phone.

[–] [email protected] 1 points 9 months ago (1 children)

Holy shit You're replacing ROMs on Android what year is it? Why don't you just get a modern phone what do you have against that. Are you one of those people that's afraid of 5G?

[–] [email protected] 1 points 9 months ago

Wish I could. Sadly, they don't make small, pocketable phones in 2023 (outside of some suspect Chinese brands and so-so iPhones), so am recycling older stuff I have to hand.

Older devices work just fine even now but you more or less have to degoogle them / FOSSify them.

Lol, you make it sound like installing LineageOS and removing stock bloatware is some kind of tin-foil hat lunacy....while posting on a subreddit dedicated to hosting your own server / cloud.

[–] [email protected] 1 points 9 months ago

I wrote an upscaler that runs super great on CPU. However, I have not tried ARM. Hit me up and I'll look into it.

[–] [email protected] 0 points 9 months ago

Here is a good comparison of two candidates: https://www.reddit.com/r/photoprism/s/Mw7UdIGBo4 I'm not sure this will work on a raspberry pi though