• Home
Name Date Size #Lines LOC

..--

README.mdD03-May-2024876 2722

__init__.pyD03-May-2024664 200

camera_metadata_tag_info.makoD03-May-20243.2 KiB10692

camera_metadata_tags.makoD03-May-20243 KiB10087

docs.htmlD03-May-2024332.3 KiB10,4017,260

html.makoD03-May-20249.5 KiB309254

metadata-check-dependenciesD03-May-20242.3 KiB11579

metadata-generateD03-May-20241.6 KiB6025

metadata-parser-sanity-checkD03-May-20241.4 KiB4818

metadata-validateD03-May-2024962 3411

metadata_helpers.pyD03-May-20246.1 KiB244161

metadata_model.pyD03-May-202433.2 KiB1,176885

metadata_parser_xml.pyD03-May-20247.3 KiB269181

metadata_properties.xmlD03-May-202493.1 KiB2,3062,277

metadata_properties.xsdD03-May-20247.5 KiB210167

metadata_template.makoD03-May-20244.5 KiB153127

metadata_validate.pyD03-May-20248.8 KiB308219

README.md

1# Camera Metadata XML
2## Introduction
3This is a set of scripts to manipulate the camera metadata in an XML form.
4
5## Generated Files
6Many files can be generated from XML, such as the documentation (html/pdf),
7C code, Java code, and even XML itself (as a sanity check).
8
9## Dependencies
10* Python 2.7.x+
11* Beautiful Soup 4+ - HTML/XML parser, used to parse `metadata_properties.xml`
12* Mako 0.7+         - Template engine, needed to do file generation
13* Tidy              - Cleans up the XML/HTML files.
14* XML Lint          - Validates XML against XSD schema
15
16## Quick Setup (Ubuntu Precise):
17sudo apt-get install python-mako
18sudo apt-get install python-bs4
19sudo apt-get install tidy
20sudo apt-get install libxml2-utils #xmllint
21
22## Quick Setup (MacPorts)
23sudo port install py27-beautifulsoup4
24sudo port install py27-mako
25sudo port install tidy
26sudo port install libxml2 #xmllint
27