Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | - | - | ||||
images/camera2/metadata/ | 03-May-2024 | - | ||||
.gitignore | D | 03-May-2024 | 6 | 2 | 1 | |
CameraCharacteristicsKeys.mako | D | 03-May-2024 | 749 | 18 | 17 | |
CameraMetadataEnums.mako | D | 03-May-2024 | 3.6 KiB | 93 | 89 | |
CameraMetadataKeys.mako | D | 03-May-2024 | 4.1 KiB | 107 | 105 | |
CaptureRequestKeys.mako | D | 03-May-2024 | 744 | 18 | 17 | |
CaptureResultKeys.mako | D | 03-May-2024 | 742 | 18 | 17 | |
CaptureResultTest.mako | D | 03-May-2024 | 1.6 KiB | 39 | 35 | |
README.md | D | 03-May-2024 | 1,020 | 30 | 25 | |
__init__.py | D | 03-May-2024 | 664 | 20 | 0 | |
camera_metadata_tag_info.mako | D | 03-May-2024 | 3.2 KiB | 106 | 92 | |
camera_metadata_tags.mako | D | 03-May-2024 | 3.4 KiB | 113 | 99 | |
docs.html | D | 03-May-2024 | 1.1 MiB | 26,642 | 20,649 | |
html.mako | D | 03-May-2024 | 13.8 KiB | 413 | 354 | |
metadata-check-dependencies | D | 03-May-2024 | 2.3 KiB | 115 | 79 | |
metadata-generate | D | 03-May-2024 | 7.7 KiB | 224 | 141 | |
metadata-parser-sanity-check | D | 03-May-2024 | 1.8 KiB | 66 | 35 | |
metadata-validate | D | 03-May-2024 | 957 | 34 | 11 | |
metadata_helpers.py | D | 03-May-2024 | 32.8 KiB | 1,115 | 790 | |
metadata_helpers_test.py | D | 03-May-2024 | 7.7 KiB | 218 | 173 | |
metadata_model.py | D | 03-May-2024 | 43.2 KiB | 1,486 | 1,132 | |
metadata_model_test.py | D | 03-May-2024 | 4 KiB | 131 | 84 | |
metadata_parser_xml.py | D | 03-May-2024 | 9 KiB | 337 | 216 | |
metadata_properties.xml | D | 03-May-2024 | 418.4 KiB | 8,621 | 7,813 | |
metadata_properties.xsd | D | 03-May-2024 | 11.6 KiB | 314 | 266 | |
metadata_template.mako | D | 03-May-2024 | 5.8 KiB | 197 | 166 | |
metadata_validate.py | D | 03-May-2024 | 9.4 KiB | 325 | 233 |
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* Markdown 2.1+ - Plain text to HTML converter, for docs formatting. 14* Tidy - Cleans up the XML/HTML files. 15* XML Lint - Validates XML against XSD schema. 16 17## Quick Setup (Ubuntu Precise): 18sudo apt-get install python-mako 19sudo apt-get install python-bs4 20sudo apt-get install python-markdown 21sudo apt-get install tidy 22sudo apt-get install libxml2-utils #xmllint 23 24## Quick Setup (MacPorts) 25sudo port install py27-beautifulsoup4 26sudo port install py27-mako 27sudo port install py27-markdown 28sudo port install tidy 29sudo port install libxml2 #xmllint 30