| |
- __builtin__.object
-
- Video
- exceptions.Exception(exceptions.BaseException)
-
- BoundingBoxNotFoundException
class Video(__builtin__.object) |
|
Utilities for storing and interacting with the video capture. |
|
Methods defined here:
- GetVideoFrameIter(self)
- Returns the iteration for processing the video capture.
This looks for the initial color flash in the first frame to establish the
tab content boundaries and then omits all frames displaying the flash.
Yields:
(time_ms, image) tuples representing each video keyframe. Only the first
frame is a run of sequential duplicate bitmaps is typically included.
time_ms is milliseconds since navigationStart.
image may be a telemetry.core.Bitmap, or a numpy array depending on
whether numpy is installed.
- UploadToCloudStorage(self, bucket, target_path)
- Uploads video file to cloud storage.
Args:
target_path: Path indicating where to store the file in cloud storage.
- __init__(self, video_file_obj)
Data descriptors defined here:
- __dict__
- dictionary for instance variables (if defined)
- __weakref__
- list of weak references to the object (if defined)
| |