Skip to main content

A computer vision pipeline for the semantic exploration of maps/images at scale

Project description

MapReader

All Contributors PyPI License Integration Tests badge DOI CodeCov JOSS Paper

Table of Contents


What is MapReader?

MapReader is a open-source python library for exploring and analyzing map images at scale.

It contains two different pipelines:

  • Classification pipeline: This pipeline enables users to fine-tune a classification model and predict the labels of patches created from a parent image.
  • Text spotting pipeline: This pipeline enables users to detect and recognize text in map images.

MapReader was developed in the Living with Machines project to analyze large collections of historical maps but is a generalizable computer vision tool which can be applied to any images in a wide variety of domains.

Overview

MapReader classification pipeline

The MapReader classification pipeline enables users to train a classification model to recognize visual features within map images and to identify patches containing these features across entire map collections:

MapReader pipeline

MapReader text spotting pipeline

The MapReader text spotting pipeline enables users to detect and recognize text in map images using a pre-trained text spotting model:

MapReader text spotting pipeline

Documentation

The MapReader documentation can be found at https://mapreader.readthedocs.io/en/latest/.

New users should refer to the Installation instructions and Input guidance for help with the initial set up of MapReader.

All users should refer to our User Guide for guidance on how to use MapReader. This contains end-to-end instructions on how to use the MapReader pipeline.

Developers and contributors may also want to refer to the API documentation and Contribution guide for guidance on how to contribute to the MapReader package.

Stay in touch

All users are encouraged to join our community! Please refer to the Community and contributions page for information on ways to get involved.

Join our Slack workspace! Please fill out this form to receive an invitation to the Slack workspace.

What is included in this repo?

This repository contains everything needed for running MapReader.

The repository is structured as follows:

  • mapreader/: Contains the source code for the MapReader library.
  • docs/: Contains the documentation for the MapReader library.
  • tests/ and test_text_spotting/: Contains the tests for the MapReader library.

What is not included in this repo?

Our worked examples can be found in the mapreader-examples repository.

We also have a number of other MapReader and map related repositories which can be found on the maps-as-data GitHub organisation page.

How to cite MapReader

If you use MapReader in your work, please cite:

  • Our JOSS paper - to acknowledge the software irrespective of the version you used.
  • Our Zenodo record - to acknowledge the specific version of the software you used (or use the "Cite all versions?" option if your specific version isn't there).
  • Optionally, our SIGSPATIAL paper to acknowledge the development of the software and the research behind it.

Acknowledgements

This work was supported by Living with Machines (AHRC grant AH/S01179X/1), Data/Culture (AHRC grant AH/Y00745X/1) and The Alan Turing Institute (EPSRC grant EP/N510129/1).

Living with Machines, funded by the UK Research and Innovation (UKRI) Strategic Priority Fund, is a multidisciplinary collaboration delivered by the Arts and Humanities Research Council (AHRC), with The Alan Turing Institute, the British Library and the Universities of Cambridge, East Anglia, Exeter, and Queen Mary University of London.

Maps above reproduced with the permission of the National Library of Scotland https://maps.nls.uk/index.html

Contributors

Katie McDonough
Katie McDonough

๐Ÿ”ฌ ๐Ÿค” ๐Ÿ“– ๐Ÿ“† ๐Ÿ‘€ ๐Ÿ“ข โœ…
Daniel C.S. Wilson
Daniel C.S. Wilson

๐Ÿ”ฌ ๐Ÿค” ๐Ÿ“ข ๐Ÿ“–
Kasra Hosseini
Kasra Hosseini

๐Ÿ’ป ๐Ÿค” ๐Ÿ”ฌ ๐Ÿ‘€ ๐Ÿ“ข
Rosie Wood
Rosie Wood

๐Ÿ’ป ๐Ÿ“– ๐Ÿค” ๐Ÿ“ข โœ… ๐Ÿ‘€ ๐Ÿšง ๐Ÿ”ฌ
Kalle Westerling
Kalle Westerling

๐Ÿ’ป ๐Ÿ“– ๐Ÿšง ๐Ÿ‘€ ๐Ÿ“ข
Chris Fleet
Chris Fleet

๐Ÿ”ฃ
Kaspar Beelen
Kaspar Beelen

๐Ÿค” ๐Ÿ‘€ ๐Ÿ”ฌ
Andy Smith
Andy Smith

๐Ÿ’ป ๐Ÿ“– ๐Ÿง‘โ€๐Ÿซ ๐Ÿ‘€
Adam Cox
Adam Cox

๐Ÿ’ป โš ๏ธ

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mapreader-1.8.2.tar.gz (125.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mapreader-1.8.2-py3-none-any.whl (114.8 kB view details)

Uploaded Python 3

File details

Details for the file mapreader-1.8.2.tar.gz.

File metadata

  • Download URL: mapreader-1.8.2.tar.gz
  • Upload date:
  • Size: 125.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for mapreader-1.8.2.tar.gz
Algorithm Hash digest
SHA256 51e0829536be8fb821d706501b1523455490e9e9a24f25812ebe8ce30ad3dcec
MD5 8f2c0aa800b863a64d4451c55c12d13f
BLAKE2b-256 95fe455af71c54e995def74a1bdcb6de4d1bb231901e3670fd63201c84fbfe0f

See more details on using hashes here.

File details

Details for the file mapreader-1.8.2-py3-none-any.whl.

File metadata

  • Download URL: mapreader-1.8.2-py3-none-any.whl
  • Upload date:
  • Size: 114.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for mapreader-1.8.2-py3-none-any.whl
Algorithm Hash digest
SHA256 a6171ec5b6706d3492efc1b43e98f4444d9a73dd434f81d6136fe1bc1d800bf6
MD5 8e42d9f02b75bad42a3c9b45853c26ff
BLAKE2b-256 6939c3e4578c0f91418432b6ba43811f7fecc760bb08992f1a59a0ed39bd09b9

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page