menpo/menpo — pull request #390 by jabooth (2014-07-08 12:24:31+00:00)
Title: support for importing Menpo Mesh JSON files (.mjson)

All our `TriMesh` classes already have `tojson()` methods that return a very simple dictionary format suitable for JSON serialisation. This is useful for the `landmarkerio-server`, which needs to be able to communicate meshes to landmarkerio clients.

This simply adds support for ingesting these files to `menpo.io`, so these meshes can be used. As JSON is a very popular format we tweak the file extension to `.mjson` to avoid ambiguity. In the future we should probably move landmarks from the current `.json` to `.ljson` to avoid clashes going forwards.