• Home
Name Date Size #Lines LOC

..--

images/camera2/metadata/03-May-2024-

.gitignoreD03-May-20246 21

CameraCharacteristicsKeys.makoD03-May-2024749 1817

CameraMetadataEnums.makoD03-May-20243.6 KiB9389

CameraMetadataKeys.makoD03-May-20244.1 KiB107105

CaptureRequestKeys.makoD03-May-2024744 1817

CaptureResultKeys.makoD03-May-2024742 1817

CaptureResultTest.makoD03-May-20241.6 KiB3935

README.mdD03-May-20241,020 3025

__init__.pyD03-May-2024664 200

camera_metadata_tag_info.makoD03-May-20243.2 KiB10692

camera_metadata_tags.makoD03-May-20243.4 KiB11399

docs.htmlD03-May-20241.1 MiB26,64220,649

html.makoD03-May-202413.8 KiB413354

metadata-check-dependenciesD03-May-20242.3 KiB11579

metadata-generateD03-May-20247.7 KiB224141

metadata-parser-sanity-checkD03-May-20241.8 KiB6635

metadata-validateD03-May-2024957 3411

metadata_helpers.pyD03-May-202432.8 KiB1,115790

metadata_helpers_test.pyD03-May-20247.7 KiB218173

metadata_model.pyD03-May-202443.2 KiB1,4861,132

metadata_model_test.pyD03-May-20244 KiB13184

metadata_parser_xml.pyD03-May-20249 KiB337216

metadata_properties.xmlD03-May-2024418.4 KiB8,6217,813

metadata_properties.xsdD03-May-202411.6 KiB314266

metadata_template.makoD03-May-20245.8 KiB197166

metadata_validate.pyD03-May-20249.4 KiB325233

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