|
Name |
|
Date |
Size |
#Lines |
LOC |
| .. | | - | - |
| images/camera2/metadata/ | | 22-Nov-2023 | - | | |
| .gitignore | D | 22-Nov-2023 | 6 | 2 | 1 |
| ACameraMetadata.mako | D | 22-Nov-2023 | 3.1 KiB | 81 | 76 |
| CameraCharacteristicsKeys.mako | D | 22-Nov-2023 | 749 | 18 | 17 |
| CameraDeviceInfo.mako | D | 22-Nov-2023 | 1.6 KiB | 39 | 35 |
| CameraMetadataEnums.mako | D | 22-Nov-2023 | 3.7 KiB | 93 | 89 |
| CameraMetadataKeys.mako | D | 22-Nov-2023 | 4.2 KiB | 107 | 105 |
| CaptureRequestKeys.mako | D | 22-Nov-2023 | 744 | 18 | 17 |
| CaptureResultKeys.mako | D | 22-Nov-2023 | 742 | 18 | 17 |
| CaptureResultTest.mako | D | 22-Nov-2023 | 1.6 KiB | 39 | 35 |
| README.md | D | 22-Nov-2023 | 1,020 | 30 | 25 |
| __init__.py | D | 22-Nov-2023 | 664 | 20 | 0 |
| camera_device_info.mako | D | 22-Nov-2023 | 2.5 KiB | 105 | 88 |
| camera_device_info.proto | D | 22-Nov-2023 | 7.1 KiB | 161 | 144 |
| camera_metadata_tag_info.mako | D | 22-Nov-2023 | 3.2 KiB | 106 | 92 |
| camera_metadata_tags.mako | D | 22-Nov-2023 | 3.4 KiB | 113 | 99 |
| docs.html | D | 22-Nov-2023 | 1.1 MiB | 27,519 | 21,373 |
| html.mako | D | 22-Nov-2023 | 13.8 KiB | 413 | 354 |
| metadata-check-dependencies | D | 22-Nov-2023 | 2.3 KiB | 115 | 79 |
| metadata-generate | D | 22-Nov-2023 | 8.9 KiB | 252 | 156 |
| metadata-parser-sanity-check | D | 22-Nov-2023 | 1.8 KiB | 66 | 35 |
| metadata-validate | D | 22-Nov-2023 | 957 | 34 | 11 |
| metadata_helpers.py | D | 22-Nov-2023 | 38.6 KiB | 1,305 | 935 |
| metadata_helpers_test.py | D | 22-Nov-2023 | 7.7 KiB | 218 | 173 |
| metadata_model.py | D | 22-Nov-2023 | 44.4 KiB | 1,521 | 1,162 |
| metadata_model_test.py | D | 22-Nov-2023 | 4 KiB | 131 | 84 |
| metadata_parser_xml.py | D | 22-Nov-2023 | 9.2 KiB | 342 | 220 |
| metadata_properties.xml | D | 22-Nov-2023 | 441.9 KiB | 9,050 | 8,197 |
| metadata_properties.xsd | D | 22-Nov-2023 | 12.1 KiB | 324 | 276 |
| metadata_template.mako | D | 22-Nov-2023 | 5.9 KiB | 200 | 169 |
| metadata_validate.py | D | 22-Nov-2023 | 9.4 KiB | 325 | 233 |
| ndk_camera_metadata_tags.mako | D | 22-Nov-2023 | 5 KiB | 186 | 169 |
| ndk_metadata_properties.xml | D | 22-Nov-2023 | 440.9 KiB | 9,043 | 8,187 |
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