Most archives hold more photographs than anyone has time to describe. A box of press prints or a donor's family albums can sit for years with a single folder-level note, because writing even a short caption for each image takes minutes that small teams do not have. Image recognition promises to help: software that looks at a scan and suggests what is in it. It can help, but only with narrow, well-checked tasks.
This guide covers what the models do well on historical photographs, where they fail, and how a small team can run a pilot without polluting its catalog. Whether you test an off-the-shelf cloud API or commission a custom model from a team that offers image recognition software development services, the same rule holds: the machine suggests, and a person decides what goes into the record.
In short.
- Use image recognition for narrow, checkable tasks: sorting by type, finding duplicates, reading printed text, flagging images for review.
- Keep machine output in separate, labeled fields with the model name, date and confidence, and promote it to the record only after review.
- Pilot on a few hundred images, measure precision against a human-checked sample, and treat faces and sensitive content as a policy question first.
What can image recognition do for a photo archive?
For a photo archive, image recognition can sort images by type, locate objects, read printed text, group duplicates, match faces and draft captions. These are distinct techniques, and it helps to separate them, because they fail in different ways.
- Classification assigns a whole image to a category: portrait, street scene, interior, document, aerial view. It is the most reliable task on old material, because categories are broad.
- Object detection finds and boxes things inside the frame: people, cars, buildings, signs. It counts and locates, which is useful for search ("photographs with crowds") even when labels are vague.
- Text recognition (OCR) reads printed text that appears in the image: shop signs, banners, captions written on the mount, newspaper headlines in the background. Handwriting needs separate handwritten text recognition (HTR) models.
- Similarity search turns each image into a numeric vector so that near-duplicates, crops and reprints can be grouped. For collections built from several donors, this alone can save weeks.
- Face detection and recognition finds faces and, in the second case, matches them to known people. This is the most powerful and the most contested task, covered separately below.
- Generated captions come from multimodal models that write a sentence about the image. They read well and are the hardest output to check.
Where do the models fail on historical photographs?
Commercial models are trained mostly on recent, color, consumer photography. Historical prints break their assumptions in predictable ways. Black-and-white images lose the color cues models lean on. Old clothing, vehicles and tools get labeled as their modern equivalents. A nineteenth-century handheld object can be called a phone, and a 1950s meeting hall becomes "conference room." The Library of Congress described this kind of misreading when reporting on its machine learning experiments and concluded that current tools do not meet stewardship standards without significant human intervention; its Exploring Computational Description work recommends human-in-the-loop processes rather than fully automatic cataloging.
Three further problems matter for archives:
- Vocabulary mismatch. Model labels are generic English words, not terms from your thesaurus or authority files. "Protest" is not a Library of Congress subject heading, and "Man" is not a description.
- Confident errors. A model reports a confidence score for every label, and a high score on a wrong label looks identical to a high score on a right one. Scores need calibrating on your own material.
- Bias in who is recognized. Accuracy on faces and on descriptions of people varies with skin tone, age and dress. In civil rights or community collections, a skewed error rate is not a technical footnote but a description problem.
Which tasks are worth automating first?
Start with tasks where errors are cheap to spot and the output is not published unreviewed. The table below is a rough guide for collections of historical prints and negatives.
| Task | Typical reliability on old prints | Review effort | Good first use |
|---|---|---|---|
| Duplicate and near-duplicate grouping | High | Low: confirm groups | Merging donor batches, finding reprints |
| Broad classification | Medium to high | Low: spot checks | Sorting a backlog for processing order |
| OCR of printed text in images | Medium | Medium: verify names and dates | Signs, captions on mounts, headlines |
| Object detection | Medium | Medium | Search facets such as "vehicles" or "crowds" |
| Generated captions | Low to medium | High: every sentence | Drafts for alt text, never final description |
| Face recognition | Varies widely | High, plus policy review | Internal matching against a confirmed set |
Notice what the table leaves out: dates, places and events. A model can say a photograph shows a crowd outdoors. It can't tell you that the crowd gathered at a particular workshop in 1957. That knowledge lives in donor files, negative sleeves and the memory of people who were there.
A human-in-the-loop workflow in six steps
This sequence works for a pilot of a few hundred images and scales without changing shape.
- Choose a bounded set. Pick 200 to 500 digitized images with clear rights and some existing description, so you can compare machine output with what staff already know.
- Build a ground-truth sample. Have a cataloger describe 50 to 100 of them carefully, using your normal vocabulary. This sample is how you will measure the model.
- Run the models on access copies. Send derivatives, not masters, and keep a log of the model name, version and run date. Cloud services can update their models without notice, so the date matters.
- Map labels to your vocabulary. Build a small crosswalk from model labels to your subject terms, and drop labels that have no sensible match rather than forcing them in.
- Measure precision before recall. For each label, count how often a suggestion was right in the ground-truth sample. Set a confidence threshold per label where precision is acceptable to you, for example 90 percent or higher for anything that will reach the public.
- Review in a queue. Show staff or volunteers the image, the suggested terms and an accept or reject button. Accepted terms move into the record; rejected ones stay in the log as evidence for tuning.
The review queue is where most of the value appears. Accepting or rejecting ten suggestions takes far less typing than writing a description from nothing, and the rejected suggestions show where the model is weak on your collection.
How should machine-generated metadata be stored?
Keep machine output separate from human description until it has been reviewed, and label it permanently once it has. Users and future staff need to know which statements a person made and which a model suggested. In practice:
- Store suggestions in their own fields or tables, with model name, version, run date and confidence for each value.
- When a suggestion is accepted, record who accepted it and when, the same way you record other cataloging events.
- Write reviewed names into embedded metadata where it helps reuse. The IPTC extension field for people shown, written with a tool such as ExifTool (
exiftool -XMP-iptcExt:PersonInImage+="Doe, John" image.tif), travels with the file. The Code4Lib Journal described this batch approach for archival photographs in 2013. - Never write unreviewed labels into preservation masters. Embedded metadata is hard to retract once files have been copied and shared.
The same separation helps quality reporting. If you already track completeness and accuracy, as described in our piece on metadata quality metrics that matter, machine-suggested values can be measured as their own population. The User Quality Metrics study made a similar point about measuring description by what users can actually find.
What about faces and sensitive images?
Face recognition can turn an anonymous print into a named person, and that is exactly why it needs a decision before a pilot. Some people in archival photographs were activists who faced real danger when identified. Others never agreed to be photographed. Our essay on the ethics of digitizing civil rights collections covers the wider questions; for image recognition, a few rules keep the risk contained:
- Match faces only against a set of people already identified by staff or donors, not against the open web.
- Keep match suggestions internal until a person confirms them and the access policy allows publication.
- Check the law where you operate. Biometric privacy statutes, such as Illinois's Biometric Information Privacy Act, regulate face geometry data, and institutional counsel should review any face-matching project.
- Consider community review for collections that document a specific group, so that the people represented have a say in how they are named.
Should you use a cloud API, an open model or a custom build?
There are three practical routes, and many institutions combine them.
- Cloud vision APIs from large providers are the fastest way to test. You pay per image and need no servers, but you send images off site, models can change under you, and labels are generic.
- Open models run locally, such as open-source OCR engines and image-embedding models for similarity search, keep images in house and let you pin a version. They need someone comfortable with Python and a machine with a decent GPU for large batches.
- A custom or fine-tuned model trained on your own reviewed examples handles your vocabulary and your material best. It costs more up front and depends on a ground-truth set, which is why the review queue from the workflow above is worth keeping even after a pilot ends.
Whichever route you pick, plan for integration as much as for the model. Suggestions must reach your collection system, the review queue must write back accepted terms, and the whole chain must be documented well enough that a successor can rerun it. The Metadata Migrator project faced the same problem with records two decades ago: the tool is only useful if its output lands cleanly in the catalog.
A pilot checklist
- A bounded set of images with clear rights and some existing description.
- A human-described ground-truth sample of at least 50 images.
- A written decision on faces: allowed, internal only, or excluded.
- Separate storage for suggestions, with model, version, date and confidence.
- A crosswalk from model labels to your controlled vocabulary.
- Per-label confidence thresholds based on measured precision.
- A review queue and a record of who accepted each value.
- A short report at the end: hours saved, error types, and whether to continue.
Run the pilot, read the rejected suggestions, and decide with numbers in hand. If the model saves catalogers time on sorting and duplicates but not on description, that is still a good result. It means the people who know the collection spend their hours on the work only they can do.
For background on delivering the described images afterwards, see IIIF for small archives.
