Skip to main content

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

💻 ⚠️

Metadata

Release files for mapreader 1.8.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mapreader 1.8.3
File Size Uploaded
mapreader-1.8.3.tar.gz 125.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for mapreader 1.8.3
File Interpreter ABI Platform
mapreader-1.8.3-py3-none-any.whl Python 3 none any Details

Total release size: 240.9 kB

Release files / mapreader-1.8.3.tar.gz

Download URL mapreader-1.8.3.tar.gz
Size 125.8 kB
Tags Source
SHA-256 checksum
How to use checksums
95a39cc5aa0e02521f16a40df380590b33e8f9f3add66cfdbba273076a107092
BLAKE2b-256 checksum
How to use checksums
096a1378e641356732053c1e95ae7fd8320915b0aff7f4a840e387c308e027ef
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / mapreader-1.8.3-py3-none-any.whl

Download URL mapreader-1.8.3-py3-none-any.whl
Size 115.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4b969a43fcd2bf6df3fd06bb039092d2938bf965b5cb3460f87a1ebb466a375d
BLAKE2b-256 checksum
How to use checksums
177284b69c08e486fe06770fbbb429df1379004310f7f141d6ac83605adf322a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release history Release notifications | RSS feed

This release

1.8.3 This release

2 release files

1.8.2

2 release files

1.8.1

2 release files

1.8.0

2 release files

1.6.3

2 release files

1.6.2

2 release files

1.6.1

2 release files

1.5.1

2 release files

1.4.1

2 release files

1.4.0

2 release files

1.3.11

2 release files

1.3.10

2 release files

1.3.9

2 release files

1.3.8

2 release files

1.3.7

2 release files

1.3.6

2 release files

1.3.5

2 release files

1.3.4

2 release files

1.3.3

2 release files

1.3.2

2 release files

1.3.1

2 release files

1.3.0

2 release files

1.2.0

2 release files

1.1.5

2 release files

1.1.4

2 release files

1.1.3

2 release files

1.1.2

2 release files

1.1.1

2 release files

1.1.0

2 release files

1.0.7

2 release files

1.0.6

2 release files

1.0.5

2 release files

1.0.4

2 release files

1.0.3

2 release files

1.0.2

2 release files

0.3.4

2 release files

0.3.3

1 release file

0.3.2

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page