On Photoprism Claude, and HEIC Files on a Pi

Reading Time: 2 minutes

When I migrated my Photoprism library from an HP Laptop to a Pi5 I found that there was a nine thousand photo hole in the total photo count. It's when I looked closer that I found that the gap between expected photos and actual photos is down to Photoprism and the Pi5 not playing nicely when it comes to HEIC files.

I decided to experiment with Claude AI as it is flavour of the month and the first advice it gave was "force reindex the entire library". Anyone who has played with raspberry Pi will know why that was an absurd proposition. I played along anyway and within minutes my Pi was sulking so I went for a walk, on the off chance that it would be ready when I got home. It was still sulking, and worse than that, pings took up to 30 milliseconds or more.

I tried sudo reboot, and I tried a soft reset via the button. I waited a while and when neither worked I went for a hard reboot. That's when the photo drive failed to mount properly so I rebooted the Pi properly and the drive mounted so I could continue.

The Photosync JPEG experiment

Now that we see that blind trust in Claude is misplaced we can use the human rational mind. As I saw that the photos that were missing appeared to be iphone photos I decided to change the photosync presets for uploading to the Pi5 Photoprism instance. I told it only to upload JPEGs. I refreshed the index via the web UI.

The Shell Script

Now that we determined that the HEIC files were missing and that refreshing the index was not working we went ahead with creating a shell script that would convert HEIC files to jpeg files using heif-convert.

The shell script found the HEIC files, in situ, converted them to jpeg and then deleted the HEIC files. The result is a HEIC free library.

The Result

After re-indexing the library with the jpegs we had 115,000 files, rather than 110,000 so we recovered 5000 files, out of 9000. When I explored the library this morning I saw that the iphone photos seem to be there, and that the library, especially for recent photos, is healthier.

Tensorflow Disable: True

In this situation it was necessary to disable tensorflow because it led to the Pi crashing twice, where I had to hard reset. With Immich you have granular control on what it is doing so with a Pi you can be as gentle, or as demanding as you want. If you're gentle it runs for hours, without crashing. If you're not it crashes.

Disabling tensorflow allowed me to try a final index within minutes rather than hours, or days.

And Finally

The calamity of having 9000 images, seemingly all camera phone photos missing can be quite distressing, until you realise that the missing images appear to be HEIC files. I know that I prefer to keep HEIC files, rather than converted files, when possible. With Photoprism, and a Pi5 it makes sense to keep things simple, and upload JPEGs.

Due to these circumstances I see Photoprism on the Pi as a backup solution.

#converting #heic #jpeg #pi #script #shell

"You’ve probably heard of #ThomasAquinas, a prominent #medieval #scholar who combined #Christian #theology and #Greek #philosophy.

However, you may not be familiar with the renowned #Jewish scholar #MosesMaimonides, whose ideas significantly influenced Aquinas’s thought.

In the new #book, “Moses #Maimonides: A Very Short Introduction,” #RossBrann, a #professor of Jewish Studies at #Cornell #University, introduces Maimonides to a new generation.

Maimonides, also known as #Rambam, was a Jewish philosopher, #rabbinic scholar and renowned physician in the medieval #Islamic kingdoms, which are now part of modern-day #Spain. His life was marked by rigorous education, #persecution, #exile, and a commitment to serving both kings and the people.

Maimonides played a crucial role in helping his Jewish #diasporic community survive the hardships of the #Almohad #Caliphate, which forced Jews to choose between #converting to #Islam, relocating, or death."

https://religionunplugged.com/news/rediscovering-maimonides-the-scholar-who-bridged-faith-reason-and-community

Aquinas Borrowed This Jewish Scholar’s Ideas: Who Is He?

(ANALYSIS) You’ve probably heard of Thomas Aquinas, a prominent medieval scholar who combined Christian theology and Greek philosophy. However, you may not be familiar with the renowned Jewish scholar Moses Maimonides, whose ideas significantly influenced Aquinas’s thought.

Religion Unplugged
My dino mercenary is getting some strong arms and suspenders. I have to do the feet next wich I am kinda dodging if you cannot tell by now 😅.
#converting #sculpting #dinosaurtoy
How to Build a High-Converting LinkedIn Funnel Using Automation

In this comprehensive guide, you'll learn top strategies on how to build a high-converting LinkedIn funnel using automation

Visualmodo
What Sports Betting Platforms Can Teach Us About High-Converting Website Design https://visualmodo.com/what-sports-betting-platforms-can-teach-us-about-high-converting-website-design/ 🌐📣🎰 #Sports #Betting #Platforms #Converting #Design
What Sports Betting Platforms Can Teach Us About High-Converting Website Design

In this article, you'll learn what sports betting platforms can teach us about high-converting website design and attracts customers

Visualmodo
Keeping Windows 10 Alive for 6 More Years by Converting it to LTSC

YouTube
Blaiz Tools v1.00.2680 - UPDATED - Tools for #packing #files, #converting #images, making #Chocolatey #packages, manipulating text, checking code and working with the #Gossamer #codebase and app source code. https://blaizenterprises.com/blaiztools.html #blaiztools
Blaiz Tools

Tools for packing files, converting images, manipulating text, checking code and working with the Gossamer codebase and app source code

What should I do to turn this figure into a Heretic Priest for Trench Crusade? #miniaturepainting #miniatures #trenchcrusade #converting #modeling
"You're #typing? Use a CDU, gramps." Bo coded 'til Jake reached for the cord. "I'll activate her now and she'll kill you." Bo giggled, "And probably me." On the other end of the cord was a limp, motley android, "This is Kiki."
Jake stared.
Bo sighed and rolled his eyes, "Austin Kiki."
"Oh shit. Stop!" Jake clenched so he didn't wet himself.
"No, it's ok! I'm #converting her to be good!" then hit ENTER a bit too hard.
Eyes flashed violet and a chorus of voices intoned, "Happy Birthday."
#wss366

I guess none of the #Christians whose mission statement includes #converting nonbelievers are on Mastodon.

Come on, Christians. Are you brave enough to try to convince an #atheist?

1Peter3:15

𝗪𝗲'𝗿𝗲 𝘄𝗮𝗶𝘁𝗶𝗻𝗴.

___________________
#atheism #faith #god