My programs ·
Photo Organizer: why a model alone cannot tell a picture from a photo
Sorting photos by capture date without uploading anything. How a tattoo made a family photo look like artwork, and how version 1.1.2 checks videos before they replace the original.

- Photo Organizer
- Objective-C
- C#
- Core ML
Why this program exists
Everyone has that folder: a phone backup, a Google Takeout export, years of Camera Uploads. Photo Organizer finds out when each photo and video was really taken and, when you ask, sorts them into folders such as 2016/07 July/. There is a Mac version (Objective-C, AppKit) and a Windows version (C#, WPF) with the same window. Files are never renamed or re-encoded unless you ask for Compress, nothing is overwritten, and every move or copy can be undone. Everything runs locally.
What was hard
Telling pictures, meaning artwork and memes, from photos. In commit 2a60a75 from 15 October, a messenger photo of a family by the sea was taken for a picture, because the model saw "art" in a tattoo. Now the model's word only counts when something drawn, printed or written is seen in the file too: graphic labels of at least 0.3, or 25 letters of text read in it. On the test library that left 225 pictures instead of 412, and postcards were still found.
A second threshold followed (commit 7df793a): a photo of a party decorated with hearts scored 0.58. Of the 16 pictures that came in this way, it was the only photo, so "likely a picture" now starts at 0.6.
What version 1.1.2 changes
Version 1.1.2 from 17 November (commit 1c4ac8a) compresses videos at a constant quality in five levels, with "no visible loss" as the default.
- On Windows, every compressed video is checked before it replaces the original: VMAF on four pieces of 2 seconds. A piece under 91, or all under 94, and it is made again three steps higher. If that still falls short, the original stays. Without look-ahead every video began smeared, at VMAF 66 rising to 89 over the first second.
- Sound and Apple's metadata tracks are kept byte for byte.
- The file
recognition.binis read in pieces of 256 MB. At 2.16 GB it no longer fitted in one array, and the app crashed on closing with an overflow.
On 40 random originals from the library, quality came to VMAF 94.8 up to 100 from the first frame.