• Home
Name Date Size #Lines LOC

..--

.gitignoreD03-May-20246 21

CameraCaptureResultTest.makoD03-May-20241.8 KiB4338

CameraCharacteristicsKeys.makoD03-May-2024749 1817

CameraCharacteristicsTest.makoD03-May-20243.4 KiB9781

CameraMetadataEnums.makoD03-May-20243.5 KiB9086

CameraMetadataKeys.makoD03-May-20243.8 KiB9594

CaptureRequestKeys.makoD03-May-2024744 1817

CaptureResultKeys.makoD03-May-2024742 1817

README.mdD03-May-2024876 2722

__init__.pyD03-May-2024664 200

camera_metadata_tag_info.makoD03-May-20243.2 KiB10692

camera_metadata_tags.makoD03-May-20243.3 KiB11399

docs.htmlD03-May-2024385.2 KiB11,5438,383

html.makoD03-May-202410.9 KiB340286

metadata-check-dependenciesD03-May-20242.3 KiB11579

metadata-generateD03-May-20247.1 KiB198120

metadata-parser-sanity-checkD03-May-20241.4 KiB4818

metadata-validateD03-May-2024957 3411

metadata_helpers.pyD03-May-202418.2 KiB701501

metadata_helpers_test.pyD03-May-20241.8 KiB6144

metadata_model.pyD03-May-202440.5 KiB1,4251,077

metadata_model_test.pyD03-May-20244 KiB13184

metadata_parser_xml.pyD03-May-20247.8 KiB293191

metadata_properties.xmlD03-May-2024110 KiB2,6782,598

metadata_properties.xsdD03-May-20249.7 KiB270222

metadata_template.makoD03-May-20245.1 KiB173145

metadata_validate.pyD03-May-20248.8 KiB308219

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* Tidy              - Cleans up the XML/HTML files.
14* XML Lint          - Validates XML against XSD schema
15
16## Quick Setup (Ubuntu Precise):
17sudo apt-get install python-mako
18sudo apt-get install python-bs4
19sudo apt-get install tidy
20sudo apt-get install libxml2-utils #xmllint
21
22## Quick Setup (MacPorts)
23sudo port install py27-beautifulsoup4
24sudo port install py27-mako
25sudo port install tidy
26sudo port install libxml2 #xmllint
27