In this post

Suppose you’ve just finished naming thousands of faces in digiKam. You’ve gone from tidying a few photos to honorary family archivist, a role which surely deserves a little brass plaque. Then you open Nextcloud Memories, where the same photos already live, and realise you’d like all those names there too. Preferably without having to earn a second plaque.

I organise my photos in digiKam and use Nextcloud Memories to browse and share them. I should only have to organise them once, so I built DigiMem to synchronise face names and missing face boxes in both directions. The latest update sends keyword tags from digiKam to Memories too.

Let’s see how that works for Alex in 2026/Ireland/beach.jpg, a fictional photo that’s about to get more attention than the rest of the holiday combined.

Connecting the two libraries

Our beach photo already exists in both places. digiKam is our local photo catalogue, whilst Memories is where we browse the Nextcloud collection. Recognize runs the face recognition on the server, and Memories shows the results.

DigiMem runs on the computer, with a separate Nextcloud companion app called digiKam Face Sync for adding face boxes and assigning names. That’s a respectable amount of plumbing to avoid introducing Alex twice:

digiKam SQLite database DigiMem on your computer digiKam Face Sync on Nextcloud Recognize face data shown in Memories

This is how the face-sync components fit together. Keyword tags take a different route, through Nextcloud’s standard WebDAV interface.

Before we get to Alex, we need to connect the right photographs. In the desktop setup, we choose a Nextcloud photos folder and keep the paths from the digiKam collection beneath it:

Location Our photo’s path
Relative to the digiKam collection 2026/Ireland/beach.jpg
In Nextcloud, with Photos as the chosen folder Photos/2026/Ireland/beach.jpg

The important bit is that shared 2026/Ireland/beach.jpg part. Follow that folder arrangement rather than expecting DigiMem to find everything after an enthusiastic reorganisation on one side.

DigiMem doesn’t upload your photo collection. Both copies must already be there; it’s the organising work we’re carrying across.

Getting Alex across

We have Alex named in digiKam. Now we want that name against the corresponding face in Memories, without going through the whole identification exercise again.

DigiMem does three things:

  1. Reads the local SQLite database and the face information from Nextcloud.
  2. Finds the corresponding photograph.
  3. Pairs the face boxes by how much they overlap.

That last step lets the two applications draw slightly different rectangles around Alex without treating them as different faces. The coordinates needn’t be identical; the boxes need to overlap enough to match.

If Recognize already has an unnamed face box in that position, DigiMem gives it Alex’s name. We keep the existing detection and carry over the decision we’ve already made.

If the box is missing and we’ve enabled the option to add missing boxes, DigiMem sends it through the companion app. The companion uses Recognize’s model on the Nextcloud server to generate a face descriptor, i.e. the numbers Recognize uses to represent that face. Installing a second app to copy a rectangle seems like a lot, but I’ll take it over drawing the rectangle myself a second time.

It works in reverse too. If we name Alex in Memories first and the face box is missing from digiKam, DigiMem can propose adding that named box to the local copy of the photo. It works out what to add before it writes anything to digiKam’s database.

Once both sides have Alex, what happens when we correct the name?

Working out which name changed

Let’s rename Alex to Alex Taylor in Memories, leaving digiKam alone.

We now have two different names for the same face. Asking us to choose would work, but I’d rather not chair a hearing every time I remember somebody’s surname. DigiMem remembers the name the two libraries last agreed on, which makes this an ordinary edit rather than a mystery.

Starting from an agreed name of Alex:

What we do digiKam Memories DigiMem’s next step
Nothing Alex Alex Leave both alone
Rename in Memories Alex Alex Taylor Plan the digiKam update
Make different edits on both sides Alec Alex Taylor Ask which name to use

In the middle row, digiKam still has the remembered name and Memories has changed. The planned update therefore goes back to digiKam.

In the last row, both libraries have changed independently. With the default Ask me setting, DigiMem leaves that face alone until we choose a name, whilst the rest of the sync carries on. You can choose to trust digiKam or Memories instead, but DigiMem sorts out a one-sided rename without needing that setting.

Applying changes without a ceremony

Our Alex Taylor rename first shows up in a preview as a change to digiKam. To see what a run would do without applying it, choose Home > Sync now > Preview only (don't apply). When you run a sync that asks for approval, the sync details screen is where you check the proposed changes before pressing Apply.

The details of one sync while DigiMem applies its changes: how many photos it checked, the changes for Memories and for digiKam, what the sync found, and a progress bar

Now, having to conduct a synchronisation ceremony after every photo-organising session would rather defeat the point. Automatic sync is off to start with. Switch it on and DigiMem waits for a quiet spell instead of running a sync after every edit. It also does a full check once a day. Automatic sync applies changes by default, but you can turn that part off if you’d rather approve them yourself.

Writing Alex Taylor back into digiKam means changing its database. Here’s what DigiMem does before and during that write:

  • It waits until digiKam is closed, so it isn’t editing the catalogue whilst we’re still using it.
  • It makes a database backup just before writing the first local change. That’s a copy of the catalogue, not the photographs, so keep your usual photo backups too.
  • It checks the photo and face again before making the change, in case something has changed since the preview.
  • It keeps track of what it planned and what it’s already done, so an interrupted sync can pick up where it left off.

DigiMem asking which of two face boxes is wrong, on a family photo where the baby is tagged twice as Theo Mercer, with a Remove button for each box

The interface opens in a browser, but closing the tab doesn’t stop the sync. The Home screen, below, shows where to see progress. Use Pause if you want DigiMem to stop syncing.

DigiMem’s Home screen during a sync: a progress bar checking digiKam photos, a note that 9 photos have face boxes that look wrong, both libraries connected, and recent activity

Sending keyword tags too

Alex is named, but our beach photo clearly hasn’t received enough administrative attention yet. Let’s assign the digiKam keyword Places > Europe > Ireland.

Version 0.4.0, released on 2nd December 2026, can copy those keywords to Nextcloud, where you can use them to filter photos under Tags in Memories. These are separate from faces: keyword tags go from digiKam to Nextcloud only.

The switch is off by default for a reason:

DigiMem uses Nextcloud’s visible collaborative tags. A tag name isn’t private to your account, even when the photo is.

To send our beach photo’s keyword:

  1. Open Settings > What a sync does.
  2. Enable Send digiKam tags to Memories.
  3. Run Sync everything now.

Only full syncs send keyword tags, not syncs for one person. If you’ve enabled both automatic sync and tag sending, changing a keyword in digiKam starts the process for a full sync.

Here’s what happens to our hierarchy:

Assigned in digiKam Sent to Nextcloud
Places > Europe > Ireland Places/Europe/Ireland

That’s one flat tag with the full path, not three nested Nextcloud tags. Places and Places/Europe only appear as separate tags on the photo if we’ve assigned them to it in digiKam as well.

DigiMem reads those assignments from digiKam’s database. If you use XMP sidecars, there’s no separate import step: DigiMem uses the keywords already in digiKam. It sends the tags through WebDAV without changing the image file.

What if we take Places/Europe/Ireland off the photo in digiKam? DigiMem removes it from that photo in Nextcloud only if DigiMem put it there. If the photo already had the tag in Nextcloud, it stays there. The tag itself isn’t deleted from the server in either case.

Full names longer than 64 characters are skipped and listed under Needs attention rather than being cut short. You can shorten them in digiKam and send them on the next full sync.

Getting started

If you organise your photos in digiKam and browse or share them in Memories, DigiMem is worth setting up. I’d rather check one preview than sit down to label the same photographs again.

You need two parts:

  • On the computer: DigiMem and the digiKam SQLite library.
  • On Nextcloud: Memories, Recognize and the separate digiKam Face Sync companion, installed by a Nextcloud administrator.

You can download DigiMem for Linux, Windows and Apple Silicon macOS. The guides show how to install the two parts and connect the libraries:

DigiMem pairs one digiKam library with one Nextcloud account. It doesn’t copy face deletions or later tweaks to face boxes. Beyond the face and keyword changes we’ve covered, it leaves the rest of the photo metadata alone.

I’d connect the libraries and inspect a first preview before switching on automatic sync. Leave keyword tags off until you’re happy for other accounts on the server to see the names.

I want to name Alex Taylor and file Places/Europe/Ireland once, then find both in Memories. That’s what I built DigiMem for. Now I can get back to taking more photos than I have any hope of organising.

Head of Technology @ ICE Campus

I build things, break things, and teach others to do the same. Passionate about code, teaching, and open-source. Always with a laugh.