The Menpo-powered landmarker.io server
About
landmarkerio server is an implementation of the landmarker.io server API in Python. It uses Menpo to load images and meshes and serves them to landmarker.io web clients for annotation. When the annotator is done, it is landmarkerio server that will actually persist the landmarks to disk.
The Python package for landmarkerio server is unambigously landmarkerio.
Purpose
landmarker.io knowns how to talk to landmarkerio server instances over a RESTful API. The server holds all assets and landmarks, and annotators can be constrained in what they can and can't do. For instance - you can limit the choice of templates that users are able to use, or the assets that they see. Upon saving, landmarks are saved back to the server instance, so at all times you remain in control of the annotation experiement.
Serving assets locally
For an annotation job on your own machine, run the server (lmio) from the command line and open the
hosted client with the address of your server:
>> lmio image ./path_to_images
then visit https://menpo.github.io/landmarker.io/?server=http://localhost:5000. A page served over
https may only talk to an https server, or to one on your own machine, which is what localhost is;
the server answers the "private network" preflight request that Chrome sends in that case.
To use another port, give -p.
For remote serving, SSH port tunnelling is an easy and secure solution.
Installation
pip install landmarkerio-server # serving images
pip install "landmarkerio-server[mesh]" # also meshes (adds menpo3d)
It needs Python 3.10 or newer and Menpo 0.12 or newer, which is pure Python. The hosted client is landmarker.io.
Important concepts
landmarkerio server handles three different forms of data
- assets - meshes, textures and images
- landmarks - annotations on assets
- templates - specifications of landmarks
Usage
The landmarker.io server can be started in one of two modes: 'image' and 'mesh'. To begin annotating a folder of meshes, just run
>> lmio mesh ./path_to_meshes
To begin annotating a folder of images, run
>> lmio image ./path_to_images
You get help on the tool just as you would expect
>> lmio --help
Templates
Syntax
Templates restrict the set of allowed annotations and give the annotations
semantic meaning. The user of the server has full control over what
annotations the user of landmarker.io should complete by declaring templates.
A template file is simple a .yml file. The filename is the name of the template.
An example template is provided below, a more detailed specification is also available on the landmarker.io wiki.
face.yaml
# groups key marks the template itself, anything else is metadata
groups:
# The first landmark group is called 'mouth'
# it is made up of six points
- label: mouth
points: 6
- label: nose
points: 3
# Pairs of numbers immediately following a declaration
# of a group specify connectivity information. Here,
# The first entry of the nose group is joined to the second
# (0-based indexing) and the second to the third. This will
# be visualized in the landmarker.
connectivity:
- 0 1
- 1 2
- label: left_eye
points: 8
connectivity:
# Slice notation is abused to construct straight chains
# of connectivity. This is expanded out into
# 0 1
# 1 2
# ...
# 6 7
- 0:7
- 7 0
- label: right_eye
points: 8
# The cycle shortcut
connectivity: cycle
- label: chin
points: 1
Storing templates
A collection of template files can be placed in a templates folder.
A path to a folder can be provided as the -t argument to
landmarkerio. If no argument is provided, lmio looks for
the folder ~/.lmiotemplates, and failing that uses the ibug68 template that ships with the package. This provides a convenient place to
store frequently used templates.
Metadata
Release files for landmarkerio-server 0.5.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| landmarkerio_server-0.5.0.tar.gz | 29.8 kB | With provenance | Details for landmarkerio_server-0.5.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| landmarkerio_server-0.5.0-py3-none-any.whl | Python 3 | none | any | Details for landmarkerio_server-0.5.0-py3-none-any.whl |
Total release size: 62.9 kB
Release files / landmarkerio_server-0.5.0.tar.gz
| Download URL | landmarkerio_server-0.5.0.tar.gz |
|---|---|
| Size | 29.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
123572d5717b90ec58c969ccf30cbc28bae9dc9a71b975a7b805842f8f57162c
|
|
BLAKE2b-256 checksum How to use checksums |
7efc2314bffb35086d3fa5a3ab343306a151113cc176964e2e17d99d5b0d4a79
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 23, 2026.
Transparency logRelease files / landmarkerio_server-0.5.0-py3-none-any.whl
| Download URL | landmarkerio_server-0.5.0-py3-none-any.whl |
|---|---|
| Size | 33.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
391e10f21cd6c0080f82de3f238331d40e02a06a7d9f875668c6fb09c83e1c2a
|
|
BLAKE2b-256 checksum How to use checksums |
0d637711c9863793be0ee28b169a8e53219c0636eaa4e106d1b18e4fcc17df4b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 23, 2026.
Transparency logSecurity for landmarkerio-server 0.5.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for landmarkerio_server-0.5.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 23, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.