Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | - | - | ||||
images/camera2/metadata/ | 03-May-2024 | - | ||||
.gitignore | D | 03-May-2024 | 6 | 2 | 1 | |
ACameraMetadata.mako | D | 03-May-2024 | 3.1 KiB | 81 | 76 | |
CameraCharacteristicsKeys.mako | D | 03-May-2024 | 749 | 18 | 17 | |
CameraDeviceInfo.mako | D | 03-May-2024 | 1.6 KiB | 39 | 35 | |
CameraMetadataEnums.mako | D | 03-May-2024 | 3.9 KiB | 99 | 95 | |
CameraMetadataKeys.mako | D | 03-May-2024 | 4.3 KiB | 109 | 107 | |
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 | |
HidlMetadata.mako | D | 03-May-2024 | 6.7 KiB | 162 | 144 | |
README.md | D | 03-May-2024 | 1,021 | 30 | 25 | |
__init__.py | D | 03-May-2024 | 664 | 20 | 0 | |
camera_device_info.mako | D | 03-May-2024 | 2.5 KiB | 105 | 88 | |
camera_device_info.proto | D | 03-May-2024 | 7.5 KiB | 167 | 150 | |
camera_metadata_tag_info.mako | D | 03-May-2024 | 3.5 KiB | 114 | 99 | |
camera_metadata_tags.mako | D | 03-May-2024 | 3.6 KiB | 113 | 99 | |
docs.html | D | 03-May-2024 | 1.3 MiB | 32,463 | 25,292 | |
html.mako | D | 03-May-2024 | 14.2 KiB | 420 | 360 | |
metadata-check-dependencies | D | 03-May-2024 | 2.4 KiB | 116 | 80 | |
metadata-generate | D | 03-May-2024 | 9.5 KiB | 262 | 163 | |
metadata-parser-sanity-check | D | 03-May-2024 | 1.8 KiB | 66 | 35 | |
metadata-validate | D | 03-May-2024 | 958 | 34 | 11 | |
metadata_definitions.xml | D | 03-May-2024 | 541.2 KiB | 10,856 | 9,842 | |
metadata_definitions.xsd | D | 03-May-2024 | 13 KiB | 343 | 295 | |
metadata_helpers.py | D | 03-May-2024 | 46.4 KiB | 1,535 | 1,105 | |
metadata_helpers_test.py | D | 03-May-2024 | 7.7 KiB | 218 | 173 | |
metadata_model.py | D | 03-May-2024 | 49.4 KiB | 1,645 | 1,271 | |
metadata_model_test.py | D | 03-May-2024 | 4.2 KiB | 131 | 84 | |
metadata_parser_xml.py | D | 03-May-2024 | 10.5 KiB | 377 | 244 | |
metadata_template.mako | D | 03-May-2024 | 7.4 KiB | 234 | 197 | |
metadata_validate.py | D | 03-May-2024 | 11.2 KiB | 362 | 266 | |
ndk_camera_metadata_tags.mako | D | 03-May-2024 | 5.5 KiB | 205 | 184 | |
plots.py | D | 03-May-2024 | 5.3 KiB | 212 | 140 |
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_definitions.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