What to do with 2.000.000 Historical Press Photos? The Challenges and Opportunities of Applying a Scene Detection Algorithm to a Digitised Press Photo Collection

In 1962, Dutch celebrity Ria Kuyken was attacked by a circus bear. Cees de Boer captured this moment, for which he was awarded both a World Press Photo and the Silver Camera (Zilveren Camera). Though this photo popularised Fotopersbureau De Boer, which Cees had founded in 1945, the importance of the collection lies in its scale. Approximately 2,000,000 photos taken of about 250,000 events in sixty years, accompanied by extensive metadata. Not only major nationwide events are represented, but also subjects of small scale, human interest, such as the shopkeeper around the corner. Our aim is not only the digitisation and publication of all 2,000,000 photo negatives of Fotopersbureau De Boer but also to explore how artificial intelligence can enrich this collection, benefiting both users of the archive and cultural historians studying historical photographs. One of our efforts focuses on scene detection, a method to detect the ‘scene’ represented in an image (Zhou et al, 2018). We will rely on transfer learning to adapt existing computer vision models to our collection and the needs of our users. Existing models can generate labels with high accuracy, however, these labels are ahistorical and more often than not irrelevant to our collection. We will label subsets of the images via crowdsourcing to train and improve existing models. As such, we can add labels relevant to our collection to the model, which are absent in existing models. In this paper, we will highlight the opportunities and challenges of applying artificial intelligence to a collection of historical photographs.


Introduction
In recent decades, historians have started to emphasise the importance of photographs as historical sources of evidence. Even though historians commonly draw from textual sources or oral testimony, Peter Burke argues that we should start taking images seriously as a means to learn about the past. 1 Historical photographs and what is represented in them can be used to study specific world views, cultural-historical phenomena, or expressions of identity. 2 Edwards and Hart examined the photograph's materiality and traced the material forms in which images appeared. 3 Others took a more contextual approach and examined how institutional forces determined how images were produced, distributed, and presented. 4 A specific focus is on press photography and how this has shaped how we view images and read the news. 5 The emphasis on visual material dovetailed with the wave of digitisation that started in the late twentieth century. Many archival sources, including photographs, have been digitised and made accessible. The availability of these sources in digitised form makes it possible to apply computation to them, offering new possibilities for research. These possibilities range from searching for specific sources to large-scale analysis of cultural datasets, in what Lev Manovich dubbed cultural analytics. 6 In the case of textual sources, we have seen how users can apply full-text search to find instances of specific word use among millions of documents. 7 Moreover, through text mining techniques, scholars can now also analyse linguistic trends at scale, in what Franco Moretti's has dubbed distant reading.
Moretti explains that distance is a 'condition of knowledge … [that] allows you to focus on units that are much smaller or much larger than the text: devices, themes, tropes-or genres and systems.' 8 As such, the text disappears.
Technological innovations in computational image analysis and the available digitised visual material allow scholars to apply similar methods, in what Lauren Tilton and Taylor Arnold have aptly titled distant viewing. The goal here is to extract 'semantic metadata from images.' 9 These metadata can range from descriptions of colour use, the materiality of the image, the descriptions of camera angles, the detection of specific objects, or the labelling of images. These metadata can then guide exploratory data analysis or more quantitative approaches. The computational methods that underpin distant viewing are also known as computer vision: a subdomain of Artificial Intelligence aimed at gaining a high-level understanding of images. After making headway in its use for selfdriving cars, surveillance, and the analysis of social media posts, the technology is now gaining ground in historical research and the cultural heritage sector. 10 Computation can be used to detect duplicate or near-duplicate images, colour use through a collection, or it can classify images according to medium, for example, illustrations or photographs. 11 Computer vision can study not only form and medium but also the content of images. Algorithms can guide queries for images that share visual similarities, i.e., images that look alike or images containing visually similar objects. 12 In addition, we can use computer vision to classify an image (image classification) or to detect objects and their position in images (object detection). The former adds metadata to images that can aid search and enable scholars to select images based on their classification. The latter allows for more fine-grained analysis and can be used to examine the composition and position of certain elements in images, which can support semiotic content analysis. For example, one could measure the position of people in an image. 13 The ability to analyse visual objects at scale, allows us to make inferences about trends and compare collections. As such, we can add robustness to existing studies of visual (historical) culture that often rely on relatively small sets of images. 14 Furthermore, having knowledge on trends adds context to outliers and helps us underline the uniqueness of an image. At the same time, it can also highlight diversity or bias in the representation of certain cultural-historical phenomena. 15 However, the application of Computer Vision methods to historical photo collections is no straightforward endeavour. Although the potential might be clear, when these methods are applied to historical image collections, it becomes apparent that some constraints and challenges need to be addressed. Thus, this article describes the possibilities and challenges when applying computer vision to a specific press photo collection, namely the recently digitised Fotopersbureau De Boer (photo press agency De Boer) press photo collection. Moreover, we focus on one specific computer vision task: scene detection. This image classification task describes the scene depicted on an image. We discuss how the metadata generated through this task can benefit both users of the archive and cultural historians. We also describe possible pitfalls related to this type of metadata. While this concerns one dataset and a specific computer vision task, this case study offers clear insights into broader conceptual and practical issues related to computer vision.
Firstly, we briefly explain computer vision and argue how it can be applied to historical visual material, specifically press photography. We examine this question from the perspective of historians and heritage institutes. The goals of these two groups do not necessarily overlap. However, both parties are instrumental in adapting this technology to new domains and making it accessible to the community of scholars and the public. Secondly, we describe our dataset and explain its relevance.
Thirdly, we present a use case to show how we have annotated our material and applied the scene detection algorithm. Finally, we offer some concluding remarks and possible avenues for future work.

Computer Vision for Historical Research
While we have seen a shift towards visual material in (digital) history, the focus is still predominantly on textual sources. In the last decade, many textual sources have been digitised and processed with Optical Character Recognition, which turns the text into a machine-readable format, making it possible for scholars to apply computational methods to process historical texts. In the last few years, the analysis of visual material has been made more feasible with the increasing accuracy of computer vision models and the availability of frameworks, such as Keras and Fast.AI. 16 These frameworks make it easier to train and apply models to data.

One technological innovation increased the accuracy of computer vision, namely Convolutional
Neural Networks (CNNs). CNNs are part of what is called Deep Learning. These networks consist of multiple layers of artificial 'neurons' that can extract features from images, which the algorithm uses to classify images. The lower layers in this deep structure can identify simple features, such as edges, while higher levels can extract shapes resembling ears or wheels. The neural network relies on features extracted in the lower layers to determine features in the higher levels. For an algorithm to learn this information, labelled datasets are processed through the neural network, from which the algorithm then learns the visual features. The result is a model equipped to make specific inferences, for example, the detection of cats or dogs in an image. 17 In summary, neural networks can be trained to learn what groups of pixels (features) best describe the visual elements capturing specific content or stylistic information.
There are two critical questions related to the use of computer vision on historical material.
Firstly, can we use existing models off the shelf? Existing models can make predictions with high accuracy; however, these models were trained on contemporary data labelled with specific use cases in mind. Consequently, the objects that existing models can detect in images are limited (often around 40-50 types). More importantly, the labels are primarily ahistorical and often irrelevant to historical collections, e.g., parking metre and frisbee. In the case of similar labels, such as 'telephone', the visual representations of the objects often differ between modern and historical photographs.
Also, the medium itself has often changed, granting contemporary photographs a different materiality than historical ones. Colour was introduced, and technological innovations such as zoom lenses changed how photographs look. Models trained on millions of contemporary images are not sensitive to deal with the colour schemes and object representations in older images.
To adapt existing models to the use cases relevant to the heritage sector and historical research, we need to train models with historical material and rethink which labels to use and annotate images with such labels. Manual annotation for computer vision entails either adding a label to the entire image (image classification) or drawing boxes around specific objects and labelling them (object recognition). The algorithms can then use these annotations as training material to produce better models. Luckily, we do not have to label millions of images; we can rely on the 'knowledge' already stored in existing models. There are two main ways to build upon the existing models. One approach to adapt the models to the historical domain is fine-tuning their performance by feeding them historical images. This method builds upon the categories existing in modern data sets. For example, the model learns to recognize cars from the 1970s after processing images labelled as a car from this period. While this improves accuracy when working with historical material, we are still working with the same labels.
Another approach is transfer learning, which replaces the existing labels with an updated annotation scheme. The existing model is further optimised using the historical material annotated with these new categories. 18 Because the models have already been pre-trained on millions of images, we often only require a small number of images to learn a new category. Of course, this depends on the visual complexity of the category and the diversity of the category in the training data. In other words, an object that always looks the same is easier to learn than one that shares visual aspects but also differs considerably.
The second key question related to computer vision and historical material is methodological.
Why would one even want to apply these methods to our historical visual material? Firstly, the enrichments added to images through computer vision can aid search. Currently, it is difficult or often impossible to search for images in archives. When images have been correctly processed using OCR, we can search for text in images. Also, we can search based on metadata that the archive linked to visual material. However, the level of detail in metadata varies considerably from extensive, specific descriptions to brief descriptions of the type of images or often bearing no metadata on the content.
Computer vision can help add metadata to images at scale; these metadata could range from a description of colour use, medium type, or subject matter. Existing research that applies computer vision methods to historical photographs, investigates automatically the dating of images, the finding of matches between images taken from different viewpoints, 19 photogrammetric analysis of images, 20 and the classification of historical buildings. 21 These applications make it possible for users to browse through collections based on the metadata they generate. 22 In the case of photo agencies like Fotopersbureau De Boer, the market partly dictated the descriptions and the types of index cards in a collection. These descriptions were made to increase the findability of images for a specific purpose, namely, to sell these images. 23 These descriptions, however, are not necessarily suitable for historical research or to increase findability for users of a historical photo collection. While descriptions of images can guide users to specific images, more generic metadata can help users find sets of images on a specific topic. The latter is helpful when studying diachronic and synchronic expressions of visual culture. Also, models trained on one collection could enrich other collections of images, for which metadata is lacking. This makes it possible to search for images using a predefined list of classes.
Secondly, next to facilitating search, the added metadata can also support quantitative analysis of visual culture. One could, for example, calculate how many people are depicted on images that estimate crowd sizes for historical events. Alternatively, information on form could be of use to study stylistic trends in visual collections.
Thirdly, applying computer vision to historical photographs contributes to the development of computer vision technology that is more sensitive to the historical nature of both the content and medium. Drawing from the expertise of historians and professionals in the heritage sector, we can work towards models that capture the historical dimensions of visual culture. 24 In this vein, this article offers a case study that functions as a blueprint for further collaboration and exploration of the possibilities of computer vision of the historical study of visual culture.

The Data: The Fotopersbureau De Boer collection
In 2013, the regional Dutch archive Noord-Hollands Archief acquired the De Boer press photo collection. The collections consist of approximately two million 35mm photo negatives displaying around 250,000 events between 1945 and 2005. In 2020, the archive decided to digitise all photo negatives on high resolution, using a new digitisation method. 25 During digitisation, photo negative sheets are placed on a table that can be moved along its x and y-axis. A camera above the table takes a picture each time specific coordinates are reached. This method can scan up to fifteen thousand negatives per day, digitising all 35mm negatives within six months. 26 Even though most photos produced by Fotopersbureau De Boer were sold to local newspapers in the Haarlem area, the agency was of national importance, especially in the 1950s, 1960s, and 1970s. 27 In 1962, founder Cees the Boer  had his moment of glory, both nationally and internationally, when he won De Zilveren Camera and a World Press Photo award in the category 'News' with a photo of Dutch celebrity Ria Kuyken being attacked by a bear (see Figure 1). Winning a World Press Photo award boosted the agency's commissions and economic growth. The number of photos taken by the agency more than doubled in one year. 28 At its height, in the 1970s, 1980s, and 1990s, the agency employed five to six photographers in 24/7 shifts, some of whom also won prestigious prizes. 29 Fotopersbureau De Boer increasingly became an agency of regional importance in the last decades of its existence, though national newspapers still belonged to its clientele.
The collection's importance lies in its breadth. We find images of major national events, such as Blokker-a small village just north of Amsterdam-and at the flower fair Treslong in Hillegom. 30 In addition to well-known images of major national events, numerous photographs depict regional events, including construction sites, sports events, openings of restaurants, dramatic car accidents, and parades. These images of seemingly mundane events can function as historical sources to study everyday life, fashion, or other forms of cultural expression or identity. Moreover, these images are relevant to the public. They offer a glimpse of their lived history through pictures of their street or their relatives and acquaintances throughout the years.
Next to its scope, the collection is unique, at least in the Netherlands, for its extensive metadata accompanying the press photos. The agency meticulously administered their collection in two forms: logbooks (see Figure 2) and subject index cards (see Figure 3). To find specific photos in the collection, Cees de Boer started writing daily logs of photos taken in June 1952. 31 The administration in the logbooks gives us clear insight into the agency's business and its clients. The secretariat collected the assignments, sorted them by subject and area, and assigned them to photographers working that day.
Unlike the world-renowned Magnum agency, photographers at De Boer added the information in the logs themselves. 32 After each assignment, they attached a unique number to each roll of film, which they noted in the first column of the log, followed by a description of the event or the name of a person portrayed. The other columns detail to which newspaper or magazine the photos were sent for publication. Based on these records, we know that the agency supplied photos to all major Dutch newspapers and magazines. The logs show the range of publications that featured the agency's photos and indicate how frequently photos were used. The agency captured between one and five

Figure 2. The logs of four days in 2001. In this period, we see many photographed events per day and a strong regional focus with almost all photos sold to the local newspapers Haarlems Dagblad and IJmuider Courant. Picture taken by Paul Maessen (Noord-Hollands Archief).
A few years after its establishment, the agency started to organise its photos by subject matter, running parallel to the chronological logs. The agency indexed photos retrospectively on subject index cards and sustained the thematic structure until 1990, resulting in about 135,000 entries spread over 1,500 unique subjects. There are many subjects on these cards that take us from 'excavations' to 'soccer', and from 'nudism' to 'silly things'. The number of photographs per category varies considerably. Where, for instance, 'ghosts' has one card, with only five registrations, a subject such as 'persons' has no less than 141 cards with registrations covering it front and back (see Table 1). The availability of such an extensive collection of digitised negatives spanning sixty years, raises the question how we are to make sense of all these images. The linking of the index cards and logbooks to the digitised material is vital from an archival point of view. It also allows users to search pictures using the agency's metadata. However, the descriptions on these cards are often very particular and regularly refer to aspects that are not expressed visually. Nonetheless, we can combine the information stored in these external sources with other enrichments we make through computer vision. Requirements expressed by scholars or general users could inform these enrichments. One such enrichment is a label indicating whether a photograph was taken indoors or outdoors.
To determine what the archive users would find of interest, we conducted fourteen interviews with digital humanities experts, heritage experts and visitors online historical archives, focusing on visitors of the Noord-Holland Archief's historical image repository. 36 We discussed several computer vision tasks. The respondents showed the most interest in object and scene detection and a task known as location recognition, which uses an algorithm to infer from the visual input where an image was taken. The respondents also showed an interest in using computer vision to link press photos to their publication in newspapers. 37 Respondents found the estimation of group sizes, facial emotion detection, detection of logos, and posture estimation less relevant.

Scene Detection Use Case
In this article, we discuss the task of scene detection rather than location recognition or object detection.
Scene detection is an image classification task that predicts the scene (as a single label) represented in an image. 38 This task tries to describe 'the place in which the objects seat (sic),' rather than classifying the object depicted on an image or locating objects in a picture by drawing bounding boxes around them. A scene is described as 'environment(s) in the world, bounded by spaces where a human body would fit.' 39 While humans are adept at recognising a scene's functional and categorical properties, they find it difficult to categorise a scene unequivocally. 40 Human observers have access to contextual factors that help us describe the scene depicted in an image. Computer vision algorithms rely on a model representing visual features of a scene, but the algorithm processes the image in isolation. Figure 4 shows the top five predicted labels using our scene detection model. We see an image of a married couple at their wedding sitting at a dining table in a large space. The model labels the image of a dining room with an almost 0.9 probability. The labels 'portrait group', 'marriage', 'and ceremony' also applied, while 'fishery' is obviously wrong. This shows the model's predictive power but also makes clear that it is difficult to describe a scene using a single label. In what follows, we will discuss how we constructed this scene detection model and reflect on its uses and shortcomings.
Scene detection, which offers a description of an entire image, is especially relevant for historical photographs since users of heritage collections often search not just to discover representations of individual objects. 41 The ability to search for images based on the scene represented in them is a valuable feature for heritage institutions, especially since in many photo collections, metadata are sparse, too specific, or not necessarily a description of what is visually expressed. 42 In the case of press photography, photographs often captured a particular historical event or setting. Pictures of similar events are highly diverse and are generally connected through a series of overlapping similarities, some of which can be expressed visually. Therefore, to capture a scene a more general label is more fitting than a description of individual objects.
We relied on transfer learning to adapt existing computer vision models to the contents of our collection and the needs of our users. 43 In transfer learning, we use 'what has been learned in one setting (...) to improve generalization in another setting.' 44 Rather than training a model from scratch, we use an existing model to jumpstart detecting scenes in our data using our labels. As a starting point, we used the popular Places-365 model, which can predict 365 different scenes. 45 As the name implies, this scheme contains 365 categories of scenes, ranging from 'alcove' to 'raft'. 46 The scenes are very modern and have a clear North American bias, with categories such as rodeo or images of characteristic American kitchens. These scenes are therefore not immediately useful for our data collection. Still, the model has been trained on 1.8 million images and is therefore already sensitive to picking up visual cues that can aid in predicting scenes.
Before the actual annotation, we needed to devise an updated labelling schema. With the assistance of archivists and cultural historians, we removed categories and added additional categories to the places-365 schema. These categories were more relevant to the contents of the images taken by Fotopersbureau De Boer. The construction of a labelling scheme is always a tradeoff between specificity and generalisation. In determining the categories, we kept in mind whether there remained a historical and visual consistency in the categories and whether the category would be of use for users of the collection. Moreover, the specificity also is related to the amount of training material. If we make categories too specific, even though these categories are visually somewhat distinct, we reduce the amount of training data. We must make sure not to reduce the number of images in a category too drastically, as this will severely impact the model's ability to make accurate predictions.
In the case of press photography, we noticed that scenes were either characterised by a particular object ('sculpture'), scenes defined by the location ('park'), or the action ('cycling') performed in the image. Even though scene detection can also learn images with a central object and labelled as such, it might be more fitting to revert to object annotations in these cases. In the latter category, we also find objects, such as trees, flags, automobiles, and bicycles; however, these are not necessarily exclusive to a scene. Even though the presence of particular objects characterised these events, in many cases, they cannot be described by just that single object or person. Moreover, there are instances of sizable inter-class similarity between scenes, for instance, 'library' and 'bookstore'. At the same time, we find significant intra-class variations, in which the depicted scenes that belong to one category are quite diverse, for example, 'theatre'.
Using a subset of approximately 2.5 thousand digitised images in De Boer as our pilot dataset, we constructed 115 unique categories. 47 The distribution of the categories in our training set is heavily skewed and long-tailed (see Figure 5).  49 Training a model always involves Figure 5. The distribution of scene categories that appeared more than fifty times in the pilot training set. We used this annotated set to re-train the places-365 model.
finding a balance between underfitting and overfitting, which is dependent on the size and complexity of the training data. In the cultural heritage domain, we often work with limited sets of annotated training material, making transfer learning a fitting solution. We need to stay aware of overfitting especially when working with these limited data sets. In our use case, we also want the model to predict scenes in unseen data, which requires a model that can generalise, i.e., not only a model that works on Fotopersbureau De Boer.
We checked how well our model performs against annotated data, held out from training. The Errors most frequently occurred in visually diverse categories or images that fit multiple categories. 51 The categories that the model most often confused with each other include: 'ceremony,' 'handshake,' 'residential neighbourhood,' 'harbour,' and 'portrait group.' The model respectively predicted these categories as: 'handshake,' 'ceremony,' 'street,' 'boats,' and 'ceremony.' The predictions offered by the model are sensible since they are, for the most part, closely related to the correct labels. For example, the distinction between 'street' and 'residential neighbourhood' is complex, and it might be more appropriate to attach both labels to the image. This result leads us to conclude that it might be better to annotate images using multiple labels, creating a model that offers multi-label predictions.
The ability to search for specific scenes in a collection such as Fotopersbureau De Boer helps scholars to answer questions related to photography in general or press photography more specifically on a local, regional, and national scale. Rather than locating specific photographs, we can find diachronic and synchronic series of photographs of a particular topic. Researchers can further examine a subset using qualitative methods, but it can also serve as a more homogenous input for other types of visual analysis. Using the information on the depicted scenes, scholars could examine the representation of scenes, such as protests, at scale.

Concluding Remarks
This article demonstrated how computer vision can be applied to historical photo collections, such as the 2,000,000 digitised press photos of Fotopersbureau De Boer (1945-2005) using transfer learning. We used the specific example of scene detection to show how we already reached high accuracy with a limited amount of training data. The development of the annotation schema proved to be one of the more difficult steps in the process. For future work, we recommend a concerted effort by heritage institutes in developing an annotation framework for historical images, like ICONCLASS for art historical material. 52 Using computer vision, we can add metadata to visual collections, which serve three concrete purposes.
Firstly, these metadata enable search that can benefit multiple types of archive users. Secondly, scholars can use enriched collections to study large-scale trends in visual collections. Questions could include, how fashion trends changed over time, when certain brands, such as Coca-Cola, appeared in Dutch streets, or how funeral practices have changed over the years. Thirdly, the development of annotated datasets could benefit the computer vision community. Researchers in this field can develop models using these datasets, which are better attuned to the visual representation in the past.
Currently, we are improving our scene detection model using a combination of computer vision predictions and crowdsourcing. Using the model presented in this article, we make predictions, which are checked through crowdsourcing. 53 When annotators indicate that labels are missing, we add those labels to our training data. Moreover, checked predictions will be added to the training data, increasing the amount of training data, and consequently, the model's accuracy. We have made the code, training data, and resulting model publicly available. After completing our crowdsourcing project, we will also make this training data and model available. 54 Other institutes could then apply this model to their collection or adjust it using transfer learning to their labelling schema.
One final insight this project has offered is that while computer vision models have improved enormously over the last years, the major bottleneck that remains is the lack of annotated historical visual material. Even though applying transfer learning to off-the-shelf models requires relatively small amounts of training data, we still need to manually annotate additional training data using updated labelling schema that require input from domain experts. We hope to offer a blueprint for other heritage institutes and, more specifically, other historical photo collections with this project.
This project has been supported by external funding and uses the crowdsourcing platform VeleHanden. 55 Since these resources might be out of reach for many groups and institutions, we hope