Repository navigation
Releases
Releases · Arkalogy/best-photo-picker
bppicker v0.2.5
Fixed
- Settings switches turn off. LAN sharing, the update check and
following shortcuts could be switched on but not off, and the
first-run choice of how you use the app was dropped. - Controls that did nothing now work: the editor's sliders, tag
suggestions in the photo viewer, the Timeline's months, the
pick-count box's Enter and arrow keys, and clicking outside a dialog
to close it. Right-clicking a person or pet in the sidebar opens the
menu for that one, and calendar thumbnails show. - A photo deleted for good stays deleted. Permanent delete, the
30-day purge and Clear Library also remove it from the saved
analysis and its cache and from what was unpacked from archives, so
it no longer comes back at the next start. A Live Photo's hidden
companion goes with it. - The Mac app says why a library can't be opened (a link in place
of one of its folders, another app orbpp analyzeusing it, a
damaged or unreadable database) instead of restarting its server
five times, and saves the reason in
~/Library/Logs/com.arkalogy.bpp/startup.log. Its own error screens
show their layout again. - Analysing an archive unpacks it into a folder of its own and
then moves it into place, so a refused, damaged or clashing archive
changes nothing. No room, a password or a compression the app can't
read is said plainly..tar.xzarchives are accepted. - Export no longer waits on a remembered folder that is offline, and
its report names only the photos it exported. - Renaming a pet or a group by clicking its name works; bare MPEG
video files play.
Security
- A library folder made by someone else is handled with more care.
Its own folders being links makes the app refuse it; each file the
app deletes, moves, writes or sends must be inside the open library;
sharing settings and approved devices stored in it count only if this
installation set them, its stored server settings are held to their
limits and database triggers it brings are dropped; values from its
database reach the page as text, not markup; and export reads only from the
library and the folders you analysed or named (--source-rootnames
another forbpp pick,selectandrun). - Other accounts on the same computer: the share link no longer
acts as the owner on 127.0.0.1; on macOS the app keeps 127.0.0.1 to
itself while it also listens on the network; on Linux the boot key is
refused on another account's connection. - Paired devices stay read-only: pair review and the auto-enhance
preview are owner-only, recent access is recorded under the name you
approved, and pairing requests are rate-limited. - Limits on the work one file or one connection can cause: long
request paths in the log, very thin images and narrow videos, pipes
in an import folder and silent connections.
Changed
- Docker: downloaded models, model-license acceptances and the
sharing key are kept in a/statevolume of their own, apart from
the library at/data. Mount a host folder at/state; when
upgrading, see the README's Docker section for what to move: without
it, models download again, the license questions are asked again and
sharing is turned off. - One app or
bpp analyzerun uses a library at a time:bpp analyze
won't write into a library the app has open, and the app won't open
one an analysis is writing. Each says which is using it. - Server on/off options accept only true or false.
v0.2.4
Fixed
- The Mac app starts again on Macs where its server took longer than
30 seconds ("Server failed to start"). The server used to unpack
itself, about 1 GB, into a temporary folder on every launch, and macOS
checked those new files each time. It now ships ready to run inside
the app, so a start takes about a second; the first start after an
install or update takes longer while macOS checks the new files. The
app now waits up to two minutes and says when a first start takes a
while. - The server no longer waits on a network name lookup before it opens
its port. On macOS that lookup could hold the start for about 35
seconds. - Try Again on the "failed to start" screen starts over cleanly. It
used to leave the previous server running, so the new one collided
with it. - Quitting the Mac app stops its server. Quitting with ⌘Q, the app
menu or the Dock left the server running in the background until the
next launch.
Added
bpp selfcheckloads the native libraries the desktop app bundles and
reports any that is missing or won't load. The Mac app's release check
runs it in the signed app, along with a check that the server starts
quickly.
v0.2.3
Added
- A ready-made Docker image for Linux servers,
ghcr.io/arkalogy/bppicker, for Intel and 64-bit ARM (not yet
tried on a NAS). Run it headless
(bpp runcopies the best photos of a folder into another one) or run
the full app, published to the server's loopback and opened with the
keyed link indocker logs. The README's Docker section has the
commands. The image keeps the boot key on, so other containers and
users on the server get a locked page.
Fixed
- Face grouping no longer hangs on Linux. Worker processes were
started by copying the running server, background threads and all,
and the face-extraction worker could wait forever, ending after ten
minutes with no faces. Workers now start fresh on every system, as
they already did on macOS. - Intel processors without AVX (many NAS Celerons and Atoms) no
longer crash analysis. MediaPipe's library needs AVX; the app now
checks once at start-up, skips the MediaPipe scorers (pose,
expression, hand, subject segmentation, BlazeFace short-range) with
one warning, and doesn't download their models. - No install buttons where installs can't work. When pip can't
write anywhere (the Docker image), the app no longer offers in-app
installs that would fail. - Browse buttons say when there is no folder picker. Off macOS the
button failed with an error; it now asks you to type the path. bpp model accept-attributionwithout a terminal explains how to
confirm instead of ending in a traceback.- Export and open-folder no longer trust a home folder of
/, which
a service account or a container user can have; it would have
allowed every path.
v0.2.2
Fixed
- Faces are grouped far more accurately, with each face model. All
three face models shared one grouping distance (0.80); on 365 hand-labelled
family photos (889 faces of 74 people) it put most people together with
someone else on SFace, and nearly everyone into two groups on dlib. Each
model now has its own measured default (SFace 0.70, dlib 0.40, the
optional research-only model 0.75), and a value picked in Regroup is
kept for that model only, so a
model switch never inherits a number on another model's scale. Of the
face pairs grouped together, the share that are one person went from
14% to 84% (SFace), 2% to 92% (dlib) and 77% to 94% (research-only); a
person may be split over a few groups, which Merge fixes. dlib has no
setting that is both clean and complete on family photos, so a library
grouped with dlib now shows a note in Settings suggesting SFace. - Analysis groups faces the way Regroup does. New faces joined the
group whose average face was nearest, a looser test than Regroup's
(near the group's faces on average), so analysis mixed people that
Regroup kept apart, and much more so when photos arrived in small
batches. Both now use the same rule. - Two faces of one photo grouped together are no longer deleted. After
grouping, every face of a photo that shared a group with another face of
that photo was deleted, meant for one face detected twice. When two
people were grouped by mistake, one of them lost that face for good (on
dlib, more than half of all faces). Overlapping boxes are still dropped
as a double detection; any other face now gets a group of its own. - Corrections no longer loosen grouping or outlive their groups.
Merges could raise the learned distance past the point where strangers
merge; corrections now only make grouping stricter. They are cleared
when the groups are rebuilt (Regroup, Retry, a model switch), since they
name groups by numbers that then belong to other people. - Re-cluster and switching the face model work in the Mac app. The
app's build left out the part of a scientific library that groups faces
(it is loaded indirectly, which the packager cannot see), so in the Mac
app Re-cluster failed and a face-model switch removed the faces and then
could not group the new ones. The build now includes it, refuses to build
without it, and a test keeps every indirectly loaded module in the build. - A photo where the face model finds no face is not marked unreadable.
When SFace found no face, a second try with dlib ran; where dlib is not
installed (the Mac app) or its license is not accepted, that try failed
and marked the photo unreadable, which also kept people's names from
being placed after a model switch. A photo without a face found by SFace
now simply has no face, and an SFace library no longer gets dlib's
vectors, which are on another scale. - People keep their names when clusters are renumbered. Re-clustering
(a new threshold) and switching the face model both give clusters new
numbers. The names were moved one at a time while the new numbers
reused the old ones, so two people who swapped numbers lost both
names, and a name could land on a different person. Albums now move
in one order-independent pass, and a name whose cluster has no match
is kept, with its manual tags, as a person without faces rather than
left on a stranger or deleted; the activity feed says so. Two people
with equally strong evidence are not guessed; a person kept this way
is placed later only by photos where they are the only face. A
re-clustering renumbers the faces and moves the names in one database
transaction, so one that is interrupted or cannot move a name changes
nothing. - A face-model switch keeps every name, not just the first chunk's.
The switch re-extracts faces in batches of 250 photos; only the first
batch knew which photos each named person had, so people who appeared
later lost their names. The names are now parked in the same database
transaction as the wipe and placed once, from the complete evidence,
when the last batch is done (people show as "Person N" until then), so
a group photo seen early cannot leave a name on the wrong person. While
a switch is still placing names,
every face edit (re-cluster, merge, split, dismiss, tags, face boxes)
and a person rename answer 409 (blocker: face_switch) until the
analysis has run to its last batch; a name that still matched no
cluster is kept, with its manual tags, as a person without faces (not
shown until the next refresh finds their photos), and the activity feed
says so. - People found in different batches of one face run no longer merge.
Face extraction works in batches of 250 photos; each batch numbered
its new clusters without knowing the clusters earlier batches had
made, so a person first seen in a later batch could take another
person's number. Each batch now clusters its new faces against the
whole library. - A model switched off for analysis shows as "Off" and can be turned
back on. Libraries set up on 0.1.x could carry a stored "skip pets /
content filter / CLIP" switch from the old Settings list; analysis
honoured it, the model picker showed the model as ready, and no screen
could flip it back. The picker now shows "Off — skipped in analysis"
for such a model and offers "Use in analysis" / "Skip in analysis" in
its row menu. The install confirms now name the packages they will
install, and that package list is owner-only like the rest of the
install state. - An import survives being interrupted. The database rows were
written only after the whole copy, and quitting the desktop app kills
the server after three seconds, so an import stopped late left
thousands of copied files with no record, and the next import copied
them all again under numbered names. Rows are now written as the copy
goes, a file an interrupted import had copied is recorded instead of
copied again, Cancel stops the copy between files and keeps what is
done, and half-copied.tmpfiles are cleaned up. - A camera RAW with saved edits is shown edited. The full-size view
and the thumbnail of a RAW file showed the plain conversion; the edits
step never ran for that format. Edits now apply on top of the
conversion, as for every other format (the editor still gets the
original), and saving an edit no longer throws the slow RAW conversion
away. - Import takes camera RAW photos and videos. The app's Import picked
up only JPEG, PNG and HEIC files: a folder of RAW photos or videos
imported nothing ("0 found"), with no setting to change it. Import,
scan and analysis now take every supported photo, RAW and video format
by default;scan_extensionsin the config file still narrows it,
now forbpp analyzetoo (it used to ignore the file's list). The short
motion clip an iPhone Live Photo exports next to each photo
(IMG_4214.HEIC+IMG_4214.MOV) is skipped like the other Live Photo
sidecars unless "Import Live Photo motion sidecars" is on. - A camera RAW exports as JPEG, PNG or at a smaller size. Those export
choices opened a RAW with the plain image reader, which can't decode
it, so the photo failed the export. They now use the RAW reader, as the
default export did; a RAW comes out as JPEG unless PNG is chosen. With
metadata kept, the RAW's date, camera and location go along (a maker
note too large for a JPEG is left out), and a smaller export decodes the
RAW at half size. - A resized HEIC export no longer keeps its location. Exporting a HEIC
in its original format at a smaller size kept the owner's name, GPS
location and other metadata although metadata removal was on, and the
export reported it clean. Removal now drops all of it for every format,
and a resized HEIC comes out as JPEG, as the metadata-removal copy
already made it (writing HEIC could also crash the app). - Exports keep the colour profile and, when asked, all the metadata.
Converted or resized JPEG and WebP exports lost the photo's colour
profile (wide-colour phone photos came out dull). With metadata kept,
converted photos lost their XMP (captions, credits) and resized TIFFs
lost their EXIF. With metadata removal on, the full-size copy and the
gallery thumbnails kept a photo's embedded comment, and a CMYK photo
couldn't be exported as PNG. Every exported image now keeps its colour
profile (unless its pixels change colour space), and keeps or drops the
EXIF, XMP and comment together, as chosen, PNG included. A resized
export in the original format now uses the chosen quality (it was
always 75). - RAW photos stay marked as RAW. Scoring a photo blanked the RAW mark
the import gave it, so imported RAW photos were missing from the RAW
filter, and the library statistics counted no plain photos. A photo's
RAW and video marks now always follow its file type.
v0.2.1
Fixed
- The Mac app starts. The 0.2.0 Mac build did not: macOS refused to
let its signed server load the Python runtime it unpacks (library
validation under the hardened runtime), so the app never reached its
server. The app now carries the entitlements a PyInstaller build
needs, and the release pipeline runs the signed server from the
installer before anything is uploaded. Install 0.2.1 over 0.2.0.
The Python package was not affected.
v0.2.0
The Mac installer for 0.2.0 did not start and has been removed. Install 0.2.1 instead. The Python package (
pip install bppicker) was not affected.
Licensing, accuracy and hardening release. Schema version: 44 (unchanged).
Security
- LAN sharing. The server checks the request's
Hostbefore anything
else, so a page on another site can't reach it through DNS rebinding.
Pairing a phone needs the share link's token and is rate-limited; a
paired device is recognised by its cookie. Local file paths are removed
from every API response a paired device receives, and export progress
is visible to the owner only. Progress streams re-check that the
device is still trusted while they run. - The app page is locked to the window that opened it. Any program
on the computer could read the session token off the page at
127.0.0.1:5001.bpp serve,bpp webandbpp demonow print a
link with a one-time key and open it for you; without the key the page
only says the app is open elsewhere. The Mac app handles the key
itself. For scripts, Docker and opening the page by hand, pass
--open-loopback(or setBPP_OPEN_LOOPBACK=1) to get the old open
page; the key never appears in the server log. The Mac app now loads
the page from127.0.0.1rather thanlocalhost, so its window
settings (theme, the update-check switch, filters) reset once on this
upgrade. - A paired device sees
@ext/…instead of the real folder for photos
that live outside the library, and a plain "storage unreachable"
instead of the error text that named the library path, whatever the
folder is called (a folder named like one of the app's URLs, such as
/staticor/shared, is hidden the same way). - The Mac app hands its one-time key only to a server that proves it
is the app's own, after a restart as well as at launch; a port taken
by another process while the server was down gets nothing. At launch
it reclaims the port only from a leftover server whose window is
gone, never from another running copy's. --debugonbpp serve,bpp webandbpp demoturns on verbose
logging only; it never enables the Werkzeug debugger.- Archives you analyze are unpacked with Python's
datafilter on
3.11.4 and later (it was 3.12+ only), so a crafted.tarcan't write
outside its folder. A camera RAW that declares more than 200 million
pixels is refused like an oversized JPEG instead of being decoded. - A pairing request nobody approves expires 24 hours after the phone
first asked; a model download with no pinned checksum is refused and
the reason shown. - "Open folder" refuses application bundles, even ones renamed to hide
their suffix. - Export with "remove metadata" really removes it. HEIC and camera
RAW files are converted to JPEG for the strip, files whose metadata
can't be removed are reported as failed instead of copied with it,
and the summary says how many files (videos, linked files) kept
theirs.
Added
- Plugins work like the built-ins. A plugin detector's or scorer's
on/off switch appears in Settings → ML Models and is honoured by the
run; a plugin face embedder can be picked; a plugin scorer's weight
can be adjusted per album; a smart album type can set its own icon,
tooltip and sidebar position;register_post_cluster_hookcallbacks
fire for pet, near-duplicate and manual face clustering; a plugin can
register how its model bundle downloads (register_catalog_loader).
The plugin guide (docs/plugins.md) covers each of these. - Keyboard access to People, Pets, Groups, Memories and On-this-day
cards; the model pickers announce themselves as dialogs and return
focus when closed. - Tag, calendar and duplicate-group lists accept
limit/offset. - Plugins create their smart-album rows with
bpp.db.smart_albums.ensure_smart_album, which honours a user's
dismissal.
Changed
- A minor rather than a patch bump: this release drops the
--seedflag and
locks the page behind a boot key by default, both of which change how
scripts call it. - Large libraries. Face clustering of more than 8,000 faces runs in
blocks with bounded memory; the face detector is built once per
thread; new faces are matched to known people in one pass. The People
list, Groups, the Top Rated refresh and Live Photo tagging at startup
no longer read every embedding or every photo. Cache cleanup, the hash
backfill, thumbnail generation and the duplicate pass do less work per
photo. - SCRFD face detector is now opt-in. Earlier releases downloaded it by
default and labelled it MIT. InsightFace's terms say its trained models are
for non-commercial research only, so SCRFD now follows the same path as
other restricted models: it downloads and runs only after you accept it in
Settings → Models, and with a "Commercial" use context it stays blocked
unless you state you hold separate rights. YuNet is the default face
detector. In our testing on 400 photos, faces were found in the same photos
as before; a few small or distant faces were missed. - NudeNet content filter no longer installs NudeNet's code. BPP runs the
downloaded model with its own code (identical scores in our 150-photo
comparison),
so the[nudity]extra is gone and the Mac app no longer bundles NudeNet.
The model weights still download only after you accept them, and are now
correctly labelled AGPL-3.0 (they were labelled GPL-3.0). - dlib face weights are now treated as restricted. Their landmark model was
trained on a dataset whose creators ask that it not be used commercially, so
it gets the same click-through and "Commercial" rules as other research
models, and the Mac app no longer includes dlib. - Model acceptance text updated. It now says models come from third-party
hosts rather than "directly from the upstream source". Restricted models you
accepted before show "Re-accept needed" in Settings → Models and stay off
until you accept again. - Mac app: the DMG itself is now notarized, not only the app inside it.
Each desktop release also attaches an inventory of the app's Python side
(packages, their native libraries, the Python runtime and the PyInstaller
bootloader) and the exact HEIC/RAW library sources; NOTICE.txt adds a
written offer for the source of any bundled GPL/LGPL component.
Fixed
- Every file an export writes is a new file of its own. A link
planted in the export folder at the name of a photo's temporary file,
a report, the manifest, the gallery, a thumbnail or the zip bundle no
longer redirects the write into whatever it pointed at: the file is
created exclusively and the planted entry is replaced. - Importing a folder scores the new photos with the stored model
switches and detection thresholds, as Analyze does, instead of the
scorer's defaults. The "minimum face area" setting now reaches the
scorer on both paths; it was read as its default before. - Cancelling an export stops it after the photo being written; the
photos already exported stay, the manifest, report, gallery and zip
bundle are skipped, and the progress stream ends withcancelled
rather thandone. - BPP Picks keeps the "Max photos per month" cap when it relaxes the
per-day cap to reach the requested count. - Permanent delete renames each selected file to a hidden sibling
before anything is removed and deletes only recycle-bin rows, so a
crash at any point loses nothing: a photo whose row survived
(restored in another tab, or the delete never reached the database)
gets its file back, never over another file, and a file put at the
same path later is never mistaken for the deleted one. A file the OS refuses to remove is retried at the next start (a
few times, then logged by name) and listed underfiles_failed. - BPP Picks recomputes its duplicate pass when a photo's average hash
changes, not only its perceptual hash or score. - The test suite never resolves the owner's default library folder.
- Library stays intact through storage blips and renames. A short
NAS outage no longer marks the whole library missing; renaming the
open library keeps the session on it; a failed final write at the end
of an analysis is reported instead of the run claiming success;
resuming an interrupted face extraction runs in the background
(shown in/api/v1/health) instead of blocking startup. - Re-analysing a photo keeps its checksum, import batch and original
file name; exported copies are upright (camera orientation applied)
and keep their metadata unless you chose to strip it; the automatic
purge of long-deleted photos is journaled, so a crash halfway through
finishes on the next start instead of leaving half the files. - Right-click menus built at runtime ran none of their items; they work
again and return keyboard focus. A video trim can no longer overwrite
another file, and a failed trim leaves no stray file. Exported
galleries and CSV files escape photo names. - The People list loads in pages, the duplicate review loads every
group, and the Tags and Calendar views page their lists, so large
libraries open them without a stall. - While an interrupted face extraction resumes after a restart, Analyze,
Import and face edits wait ("Face extraction is resuming after a
restart") instead of racing it; a failed resume and a refused
missing-file scan show in/api/v1/health; an analysis helper that
refuses a job shows its own reason instead of "crashed; see
server.log". - Folders named
dataorcacheinside an import source are scanned
again; only bpp's own folders at the library root are skipped. The
automatic restore after a corrupt start brings the backup's newest
rows along. - Recluster refuses past the face-embedding cap, as merge and restore
do, instead of risking an out-of-memory stop. - Mac app: the Report Issue and Get the latest version...
v0.1.2 — BPP Picks first-use fix
Patch release.
Fixed
- BPP Picks could show too few photos on first use. Right after the app opened, switching to an album or person and turning on BPP Picks could show a stale, too-small set (e.g. 1 photo instead of 13) until a refresh. Only the newest result for the view on screen is applied now.
Changed
- README: demo GIF, a clear note that the first run downloads ~650 MB of models once, plus "How it's built" and "Known limits" sections.
- The macOS app is now built on GitHub's macos-15 runner. No change to the app itself.
Upgrade: pip install --upgrade bppicker (or pipx upgrade bppicker), or download the new DMG below.
v0.1.1 — fix broken fresh installs
Patch release fixing a bug that broke fresh pip install bppicker.
Fixed
- Fresh installs pulled OpenCV 5, which removed the bundled Haar cascade data the face-detection fallback loads — so photos with no face detected by the primary detectors were silently skipped during analysis. Now pinned to
opencv-python-headless>=4.8,<5. - Duplicate "Person" smart albums could be created when two smart-album refreshes ran concurrently. Added a
UNIQUE(album_type, rule_json)guarantee (schema v44, with a self-healing migration for existing libraries).
Upgrade: pip install --upgrade bppicker
v0.1.0
Best Photo Picker v0.1.0
First public release. Local-first, face-aware photo curation — pick the best shots from large libraries without uploading a single pixel to the cloud.
Highlights
- Automated quality scoring — every photo scored on sharpness, exposure, faces, and composition. Weighted selection picks the best K photos from any album.
- Face-aware curation — name the people who matter, boost their photos in the selection. Face clustering groups shots by person automatically. Wrong box on a busy pattern? Drag it onto the real face and the embedding is re-extracted in place.
- Near-duplicate detection — burst shots and visually similar photos grouped by perceptual hash distance. Step through duplicates side-by-side and keep the winner.
- Live Photo sidecar filtering — iPhone
_Ncompanion files excluded from counts and albums automatically. - Full photo library — import, browse, tag, edit (non-destructive), export, trash, search, maps, calendar, memories, slideshow.
- Offline-first — model downloads happen once; no cloud account, no telemetry. Your photos never leave the machine for analysis.
- Optional LAN sharing — serve the UI on your network, approve devices via QR-code pairing.
- Native macOS app — Tauri v2 wrapper with native menus and auto-respawn on crash.
Install
pip install bppicker[web] # Flask UI, no ML models
pip install bppicker[web,faces,heic,raw] # recommended for macOS
bpp serve --library ~/Pictures/MyPhotosSee the README for the full install guide, optional extras, and CLI reference.
What's included
| Category | Status |
|---|---|
| Library management (import, browse, trash, RAW, HEIC, video, batch rename) | ✅ Full |
| Organization (albums, faces, pets, tags, GPS/map, hierarchy, hidden) | ✅ Full |
| Search & discovery (CLIP semantic, date, tag, map, recently added) | ✅ Full |
| Viewing (lightbox, compare, slideshow, calendar, memories) | ✅ Full |
| Non-destructive editing (crop, adjust, filters, red-eye, AI inpaint) | ✅ Full |
| Export (folder copy, symlink, resize, XMP sidecar, JSON manifest) | ✅ Full |
| Automated curation (scoring, selection, dedup, near-dupe, face boost) | ✅ Full |
| LAN sharing with device pairing | ✅ Full |
| Native macOS desktop wrapper (Tauri v2) | ✅ Full |
Platform notes (0.1.x)
- macOS-first. The Flask backend runs on Linux; the Tauri desktop wrapper builds macOS only.
- Python 3.11. Other versions are untested in this release.
Roadmap
- Official Docker image (
arkalogy/bppicker) for one-command self-hosting — the build pipeline is in place; publishing is planned for a follow-up release.
Full changelog
See CHANGELOG.md.