Research software

I develop and collaborate on Python tools for working with images, video, speech, and the web. These projects turn research methods into software that others can inspect, adapt, and use.

Digital heritage

Playable Past

Explore the real places that video games rebuild. Search landmarks or games, browse historical periods, and compare photographs with in-game depictions.

The collection links 1,116 places across 76 games, with 1,452 in-game depictions and their source records.

Explore PlayablePast.com

Created with Mija Aleksandraviciute at the University of Rochester. The catalog includes automatically matched records, with sources attached for inspection.

gameheritage

Bring the collection into Python: search linked tables, display image pairs, and download images with attribution.

pip install "git+https://github.com/cantayus/gameheritage@v0.1.0"

Python tools

Python package

WhoSpoke

Identify who speaks in video by combining transcription, diarization, reference-based voice and face matching, and visual speaking cues.

  • Timestamped transcripts with evidence for speaker assignments
  • CSV and JSON exports
  • Configurable audio and visual models
pip install WhoSpoke
Python package

LUMOS

Compare how multimodal language models locate salient objects in images, refine predicted boxes into masks, and evaluate the results against reference annotations.

  • Bounding-box and segmentation-mask comparisons
  • Segment Anything mask refinement
  • Model evaluation and visual examples
pip install lumos-salience
Which part of the bird does each model select?

Four multimodal-model rows compare the original image, predicted box mask, SAM-refined mask, and overlay. These are individual examples; the paper reports aggregate performance separately.

Source paperOriginal figure from Caliskan and Chen, LUMOS.
Python package

DEVISE

Measure tree, grass, and plant coverage in street imagery using semantic segmentation, color filtering, and optional depth weighting.

  • Vegetation masks and annotated overlays
  • Depth-aware greenness measurements
  • SQLite measurement exports
pip install devise-greenness
From a street image to vegetation and depth

The repository’s example shows the original image, vegetation result, and depth map.

Repository exampleSource: DEVISE public repository.
Python package

FlagSense

Detect and classify national and territorial flags in images using all-country or continent-specific YOLO models.

  • Detection and classification models
  • Exportable YOLO and COCO annotations
  • Optional image overlays
pip install flagsense
Flag detections in an image

An example detection overlay from the FlagSense repository.

Repository exampleSource: FlagSense public repository.
Python package

WebVest

Turn websites into structured text and image datasets, then rank elements by their size, position, and importance within the site’s link graph.

  • Webpage extraction, image captioning, and translation
  • Website graphs and element-ranking measures
  • Structured CSV outputs
pip install web-vest
The WebVest processing pipeline

The repository’s pipeline diagram outlines how webpages become structured research data.

Repository exampleSource: WebVest public repository.
Python package

Legopolitics

Turn political animations into linked datasets of scenes, figures, interactions, dialogue, and narrative codes.

  • Configurable vision and audio models
  • Model-agreement checks and human validation
  • Reproducible research exports
pip install legopolitics
Selective suffering, fantasy, and circulation

Tests of the H2 hypotheses. (a) Coefficient on an Iranian perpetrator in regressions of victim suffering among violent scenes with an identified perpetrator; the top rows use the standardized suffering index, the component rows its six elements on their own scales. (b) Within-video coefficients on scene type in regressions of fantasticality with video fixed effects. (c) Coefficients on standardized humor and alternative measures in circulation models; outcomes and estimators are identified by row. All intervals are 95 percent; standard errors clustered by video for fixed-effects models and by channel otherwise.

Source paper
Research implementation

SimCityNet

Compare real and synthetic street imagery through 33 interpretable measurements of vegetation, colors, pedestrians, vehicles, and built surfaces.

  • Interpretable urban measurements
  • Real and generated image comparisons
Real streets and generated cityscapes

Comparison of (i) real Google Street View frames, (ii) SORA-generated frames, and (iii) Kling-generated frames for seven neighborhoods in Europe: (1) Christianshavn (Copenhagen, Denmark), (2) Laugardalur (Reykjavik, Iceland), (3) Temple Bar (Dublin, Ireland), (4) Ville Haute (Luxembourg City, Luxembourg), (5) De Pijp (Amsterdam, Netherlands), (6) Aker Brygge & Tjuvholmen (Oslo, Norway), and (7) Altstadt (Zurich, Switzerland).

Source paperReal imagery: Google Street View. Synthetic frames: Sora and Kling, generated for the original study.
Research implementation

ACROSS

Identify unusual country-level observations by combining complementary outlier detectors and scaling strategies.

  • Ensemble outlier detection
  • Country-level research applications
  • Python implementation included in the paper
Unusual observations as research leads

Candidate outliers identified by the top methods are projected with CBLOF and robust scaling. Examples include post-conflict GDP changes and unusual combinations of health spending and health outcomes. The flagged cases invite substantive checking.

Source paperOriginal figure from Caliskan, Lelko, Noe, and Ogawa, ACROSS.