jianglin 1c85872cc8 create repository 4 anos atrás
..
images 1c85872cc8 create repository 4 anos atrás
.gitignore 1c85872cc8 create repository 4 anos atrás
ACameraMetadata.mako 1c85872cc8 create repository 4 anos atrás
CameraCharacteristicsKeys.mako 1c85872cc8 create repository 4 anos atrás
CameraDeviceInfo.mako 1c85872cc8 create repository 4 anos atrás
CameraMetadataEnums.mako 1c85872cc8 create repository 4 anos atrás
CameraMetadataKeys.mako 1c85872cc8 create repository 4 anos atrás
CaptureRequestKeys.mako 1c85872cc8 create repository 4 anos atrás
CaptureResultKeys.mako 1c85872cc8 create repository 4 anos atrás
CaptureResultTest.mako 1c85872cc8 create repository 4 anos atrás
HidlMetadata.mako 1c85872cc8 create repository 4 anos atrás
README.md 1c85872cc8 create repository 4 anos atrás
__init__.py 1c85872cc8 create repository 4 anos atrás
camera_device_info.mako 1c85872cc8 create repository 4 anos atrás
camera_device_info.proto 1c85872cc8 create repository 4 anos atrás
camera_metadata_tag_info.mako 1c85872cc8 create repository 4 anos atrás
camera_metadata_tags.mako 1c85872cc8 create repository 4 anos atrás
docs.html 1c85872cc8 create repository 4 anos atrás
html.mako 1c85872cc8 create repository 4 anos atrás
metadata-check-dependencies 1c85872cc8 create repository 4 anos atrás
metadata-generate 1c85872cc8 create repository 4 anos atrás
metadata-parser-sanity-check 1c85872cc8 create repository 4 anos atrás
metadata-validate 1c85872cc8 create repository 4 anos atrás
metadata_definitions.xml 1c85872cc8 create repository 4 anos atrás
metadata_definitions.xsd 1c85872cc8 create repository 4 anos atrás
metadata_helpers.py 1c85872cc8 create repository 4 anos atrás
metadata_helpers_test.py 1c85872cc8 create repository 4 anos atrás
metadata_model.py 1c85872cc8 create repository 4 anos atrás
metadata_model_test.py 1c85872cc8 create repository 4 anos atrás
metadata_parser_xml.py 1c85872cc8 create repository 4 anos atrás
metadata_template.mako 1c85872cc8 create repository 4 anos atrás
metadata_validate.py 1c85872cc8 create repository 4 anos atrás
ndk_camera_metadata_tags.mako 1c85872cc8 create repository 4 anos atrás
plots.py 1c85872cc8 create repository 4 anos atrás

README.md

Camera Metadata XML

Introduction

This is a set of scripts to manipulate the camera metadata in an XML form.

Generated Files

Many files can be generated from XML, such as the documentation (html/pdf), C code, Java code, and even XML itself (as a sanity check).

Dependencies

  • Python 2.7.x+
  • Beautiful Soup 4+ - HTML/XML parser, used to parse metadata_definitions.xml
  • Mako 0.7+ - Template engine, needed to do file generation.
  • Markdown 2.1+ - Plain text to HTML converter, for docs formatting.
  • Tidy - Cleans up the XML/HTML files.
  • XML Lint - Validates XML against XSD schema.

Quick Setup (Ubuntu Precise):

sudo apt-get install python-mako sudo apt-get install python-bs4 sudo apt-get install python-markdown sudo apt-get install tidy sudo apt-get install libxml2-utils #xmllint

Quick Setup (MacPorts)

sudo port install py27-beautifulsoup4 sudo port install py27-mako sudo port install py27-markdown sudo port install tidy sudo port install libxml2 #xmllint