• Home
  • History
  • Annotate
  • only in /system/media/camera/docs/
NameDateSize

..24-Jul-20134 KiB

__init__.py24-Jul-2013664

camera_metadata_tag_info.mako24-Jul-20133.2 KiB

camera_metadata_tags.mako24-Jul-20133 KiB

docs.html24-Jul-2013332.3 KiB

html.mako24-Jul-20139.5 KiB

metadata-check-dependencies24-Jul-20132.3 KiB

metadata-generate24-Jul-20131.6 KiB

metadata-parser-sanity-check24-Jul-20131.4 KiB

metadata-validate24-Jul-2013962

metadata_helpers.py24-Jul-20136.1 KiB

metadata_model.py24-Jul-201333.2 KiB

metadata_parser_xml.py24-Jul-20137.3 KiB

metadata_properties.xml24-Jul-201393.1 KiB

metadata_properties.xsd24-Jul-20137.5 KiB

metadata_template.mako24-Jul-20134.5 KiB

metadata_validate.py24-Jul-20138.8 KiB

README.md24-Jul-2013876

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