Skip to main content
Home

Distant Viewing Toolkit: A Python Package for the Analysis of Visual Culture

The Distant Viewing Toolkit is a Python package for the computational analysis of visual culture. It addresses the challenges of working with moving images through the automated extraction and visualization of metadata summarizing the content (e.g., people/actors, dialogue, scenes, objects) and style (e.g., shot angle, shot length, lighting, framing, sound) of time-based media. This toolkit is optimized for two purposes: (1) scholarly inquiry of visual culture from the humanities and social sciences, and (2) search and discovery of collections within libraries, archives, and museums.

Many open-source projects provide implementations of state-of-the-art computer vision algorithms. However, there are limited options for users looking to quickly build end-to-end pipelines that link together common visual annotations. Those tools that do exist focus on specific subtasks, such as as FaceNet’s recognition of faces (Schroff, Kalenichenko, & Philbin, 2015), visual embedding with PixPlot (Duhaime, 2019), and FilmColors’ analysis of color (Flueckiger & Halter, 2018). Different algorithms require varying dependencies, different input formats, and produce outputs using different schemas. Because of the rapid pace of scholarship across the many sub-fields of computer vision, it can be difficult to determine which algorithms to use and a significant amount of work to manually test every option. These challenges are exacerbated when working with moving images because most available computer vision libraries take still images as inputs.

The Distant Viewing Toolkit addresses these needs by (1) constructing an object-oriented framework for applying a collection of algorithms to moving images, (2) packaging together common sound and computer vision algorithms in order to provide out-of-the-box functionality for common tasks in the computational analysis of moving images, and (3) allowing video files alongside still images as an input. Currently provided algorithms include functionality for: shot detection (Pal et al., 2015), object detection (Li, Zhao, & Zhang, 2018), face detection (Jiang & Learned-Miller, 2017), face identification (Cao, Shen, Xie, Parkhi, & Zisserman, 2018), color analysis (Karasek, Burget, Uher, Masek, & Dutta, 2015), image similarity (Szegedy, Ioffe, Vanhoucke, & Alemi, 2017), optical flow (Farnebäck, 2003), and shot distance analysis (Butler, 2012).

Related items(2)

European Union flag

The SSH Open Marketplace is maintained and will be further developed by three European Research Infrastructures - DARIAH, CLARIN and CESSDA - and their national partners. It was developed as part of the "Social Sciences and Humanities Open Cloud" SSHOC project, European Union's Horizon 2020 project call H2020-INFRAEOSC-04-2018, grant agreement #823782.

CESSDACLARINDARIAH-EU