diff options
Diffstat (limited to 'catapult/telemetry/docs/pydoc/telemetry.internal.image_processing.video_file_frame_generator.html')
-rw-r--r-- | catapult/telemetry/docs/pydoc/telemetry.internal.image_processing.video_file_frame_generator.html | 118 |
1 files changed, 118 insertions, 0 deletions
diff --git a/catapult/telemetry/docs/pydoc/telemetry.internal.image_processing.video_file_frame_generator.html b/catapult/telemetry/docs/pydoc/telemetry.internal.image_processing.video_file_frame_generator.html new file mode 100644 index 00000000..72fbbe56 --- /dev/null +++ b/catapult/telemetry/docs/pydoc/telemetry.internal.image_processing.video_file_frame_generator.html @@ -0,0 +1,118 @@ + +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> +<html><head><title>Python: module telemetry.internal.image_processing.video_file_frame_generator</title> +<meta charset="utf-8"> +</head><body bgcolor="#f0f0f8"> + +<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="heading"> +<tr bgcolor="#7799ee"> +<td valign=bottom> <br> +<font color="#ffffff" face="helvetica, arial"> <br><big><big><strong><a href="telemetry.html"><font color="#ffffff">telemetry</font></a>.<a href="telemetry.internal.html"><font color="#ffffff">internal</font></a>.<a href="telemetry.internal.image_processing.html"><font color="#ffffff">image_processing</font></a>.video_file_frame_generator</strong></big></big></font></td +><td align=right valign=bottom +><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href="../telemetry/internal/image_processing/video_file_frame_generator.py">telemetry/internal/image_processing/video_file_frame_generator.py</a></font></td></tr></table> + <p><tt># Copyright 2014 The Chromium Authors. All rights reserved.<br> +# Use of this source code is governed by a BSD-style license that can be<br> +# found in the LICENSE file.</tt></p> +<p> +<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> +<tr bgcolor="#aa55cc"> +<td colspan=3 valign=bottom> <br> +<font color="#ffffff" face="helvetica, arial"><big><strong>Modules</strong></big></font></td></tr> + +<tr><td bgcolor="#aa55cc"><tt> </tt></td><td> </td> +<td width="100%"><table width="100%" summary="list"><tr><td width="25%" valign=top><a href="cv2.html">cv2</a><br> +</td><td width="25%" valign=top><a href="telemetry.internal.util.external_modules.html">telemetry.internal.util.external_modules</a><br> +</td><td width="25%" valign=top><a href="telemetry.internal.image_processing.frame_generator.html">telemetry.internal.image_processing.frame_generator</a><br> +</td><td width="25%" valign=top></td></tr></table></td></tr></table><p> +<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> +<tr bgcolor="#ee77aa"> +<td colspan=3 valign=bottom> <br> +<font color="#ffffff" face="helvetica, arial"><big><strong>Classes</strong></big></font></td></tr> + +<tr><td bgcolor="#ee77aa"><tt> </tt></td><td> </td> +<td width="100%"><dl> +<dt><font face="helvetica, arial"><a href="telemetry.internal.image_processing.frame_generator.html#FrameGenerator">telemetry.internal.image_processing.frame_generator.FrameGenerator</a>(<a href="__builtin__.html#object">__builtin__.object</a>) +</font></dt><dd> +<dl> +<dt><font face="helvetica, arial"><a href="telemetry.internal.image_processing.video_file_frame_generator.html#VideoFileFrameGenerator">VideoFileFrameGenerator</a> +</font></dt></dl> +</dd> +</dl> + <p> +<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> +<tr bgcolor="#ffc8d8"> +<td colspan=3 valign=bottom> <br> +<font color="#000000" face="helvetica, arial"><a name="VideoFileFrameGenerator">class <strong>VideoFileFrameGenerator</strong></a>(<a href="telemetry.internal.image_processing.frame_generator.html#FrameGenerator">telemetry.internal.image_processing.frame_generator.FrameGenerator</a>)</font></td></tr> + +<tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td> +<td colspan=2><tt>Provides a Frame Generator for a video file.<br> + <br> +Sample Usage:<br> + generator = <a href="#VideoFileFrameGenerator">VideoFileFrameGenerator</a>(sys.argv[1]).GetGenerator()<br> + for frame in generator:<br> + # Do something<br> + <br> +Attributes:<br> + _capture: The openCV video capture.<br> + _frame_count: The number of frames in the video capture.<br> + _frame_index: The frame number of the current frame.<br> + _timestamp: The timestamp of the current frame.<br> + _dimensions: The dimensions of the video capture.<br> </tt></td></tr> +<tr><td> </td> +<td width="100%"><dl><dt>Method resolution order:</dt> +<dd><a href="telemetry.internal.image_processing.video_file_frame_generator.html#VideoFileFrameGenerator">VideoFileFrameGenerator</a></dd> +<dd><a href="telemetry.internal.image_processing.frame_generator.html#FrameGenerator">telemetry.internal.image_processing.frame_generator.FrameGenerator</a></dd> +<dd><a href="__builtin__.html#object">__builtin__.object</a></dd> +</dl> +<hr> +Methods defined here:<br> +<dl><dt><a name="VideoFileFrameGenerator-__init__"><strong>__init__</strong></a>(self, video_filename, start_frame_index<font color="#909090">=0</font>)</dt><dd><tt>Initializes the <a href="#VideoFileFrameGenerator">VideoFileFrameGenerator</a> object.<br> + <br> +Args:<br> + video_filename: str, The path to the video file.<br> + start_frame_index: int, The number of frames to skip at the start of the<br> + file.<br> + <br> +Raises:<br> + FrameReadError: A read error occurred during initialization.</tt></dd></dl> + +<hr> +Data descriptors defined here:<br> +<dl><dt><strong>CurrentFrameNumber</strong></dt> +</dl> +<dl><dt><strong>CurrentTimestamp</strong></dt> +</dl> +<dl><dt><strong>Dimensions</strong></dt> +</dl> +<hr> +Data and other attributes defined here:<br> +<dl><dt><strong>__abstractmethods__</strong> = frozenset([])</dl> + +<hr> +Data descriptors inherited from <a href="telemetry.internal.image_processing.frame_generator.html#FrameGenerator">telemetry.internal.image_processing.frame_generator.FrameGenerator</a>:<br> +<dl><dt><strong>Generator</strong></dt> +<dd><tt>Returns:<br> +A reference to the created generator.</tt></dd> +</dl> +<dl><dt><strong>__dict__</strong></dt> +<dd><tt>dictionary for instance variables (if defined)</tt></dd> +</dl> +<dl><dt><strong>__weakref__</strong></dt> +<dd><tt>list of weak references to the object (if defined)</tt></dd> +</dl> +<hr> +Data and other attributes inherited from <a href="telemetry.internal.image_processing.frame_generator.html#FrameGenerator">telemetry.internal.image_processing.frame_generator.FrameGenerator</a>:<br> +<dl><dt><strong>__metaclass__</strong> = <class 'abc.ABCMeta'><dd><tt>Metaclass for defining Abstract Base Classes (ABCs).<br> + <br> +Use this metaclass to create an ABC. An ABC can be subclassed<br> +directly, and then acts as a mix-in class. You can also register<br> +unrelated concrete classes (even built-in classes) and unrelated<br> +ABCs as 'virtual subclasses' -- these and their descendants will<br> +be considered subclasses of the registering ABC by the built-in<br> +issubclass() function, but the registering ABC won't show up in<br> +their MRO (Method Resolution Order) nor will method<br> +implementations defined by the registering ABC be callable (not<br> +even via super()).</tt></dl> + +</td></tr></table></td></tr></table> +</body></html>
\ No newline at end of file |