Up to higher level directory | |||
Name | Date | Size | |
---|---|---|---|
__init__.py | 06-Dec-2013 | 664 | |
camera_metadata_tag_info.mako | 06-Dec-2013 | 3.2K | |
camera_metadata_tags.mako | 06-Dec-2013 | 3.3K | |
CameraCaptureResultTest.mako | 06-Dec-2013 | 1.8K | |
CameraCharacteristicsKeys.mako | 06-Dec-2013 | 749 | |
CameraCharacteristicsTest.mako | 06-Dec-2013 | 3.4K | |
CameraMetadataEnums.mako | 06-Dec-2013 | 3.5K | |
CameraMetadataKeys.mako | 06-Dec-2013 | 3.8K | |
CaptureRequestKeys.mako | 06-Dec-2013 | 744 | |
CaptureResultKeys.mako | 06-Dec-2013 | 742 | |
docs.html | 06-Dec-2013 | 385.2K | |
html.mako | 06-Dec-2013 | 10.9K | |
metadata-check-dependencies | 06-Dec-2013 | 2.3K | |
metadata-generate | 06-Dec-2013 | 7.1K | |
metadata-parser-sanity-check | 06-Dec-2013 | 1.4K | |
metadata-validate | 06-Dec-2013 | 957 | |
metadata_helpers.py | 06-Dec-2013 | 18.2K | |
metadata_helpers_test.py | 06-Dec-2013 | 1.8K | |
metadata_model.py | 06-Dec-2013 | 40.5K | |
metadata_model_test.py | 06-Dec-2013 | 4K | |
metadata_parser_xml.py | 06-Dec-2013 | 7.8K | |
metadata_properties.xml | 06-Dec-2013 | 110K | |
metadata_properties.xsd | 06-Dec-2013 | 9.7K | |
metadata_template.mako | 06-Dec-2013 | 5.1K | |
metadata_validate.py | 06-Dec-2013 | 8.8K | |
README.md | 06-Dec-2013 | 876 |
1 # Camera Metadata XML 2 ## Introduction 3 This is a set of scripts to manipulate the camera metadata in an XML form. 4 5 ## Generated Files 6 Many files can be generated from XML, such as the documentation (html/pdf), 7 C 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): 17 sudo apt-get install python-mako 18 sudo apt-get install python-bs4 19 sudo apt-get install tidy 20 sudo apt-get install libxml2-utils #xmllint 21 22 ## Quick Setup (MacPorts) 23 sudo port install py27-beautifulsoup4 24 sudo port install py27-mako 25 sudo port install tidy 26 sudo port install libxml2 #xmllint 27