Public Member Functions | Public Attributes | List of all members
tools.save_run.VideoSaver Class Reference
Inheritance diagram for tools.save_run.VideoSaver:
Inheritance graph
[legend]

Public Member Functions

def __del__ (self)
 
def __init__ (self, image, video_name="")
 
def close_video (self)
 
def open_out_video (self, count=None)
 
def print_info (self)
 

Public Attributes

 fourcc
 
 h_video_out
 
 video_base_name
 
 video_sz
 

Detailed Description

A class to save images into a video

Definition at line 39 of file save_run.py.

Constructor & Destructor Documentation

def tools.save_run.VideoSaver.__init__ (   self,
  image,
  video_name = "" 
)

Definition at line 41 of file save_run.py.

def tools.save_run.VideoSaver.__del__ (   self)

Definition at line 54 of file save_run.py.

Member Function Documentation

def tools.save_run.VideoSaver.close_video (   self)
Close video if opened
    Since, we need it also in reopen module put in in separate function
    Input:
None
    Output:
None

Definition at line 57 of file save_run.py.

def tools.save_run.VideoSaver.open_out_video (   self,
  count = None 
)
Open a video out
Input:
    count (int) The frame number
Output: None

Definition at line 70 of file save_run.py.

def tools.save_run.VideoSaver.print_info (   self)
Print info for debug 

Definition at line 91 of file save_run.py.

Member Data Documentation

tools.save_run.VideoSaver.fourcc

Definition at line 43 of file save_run.py.

tools.save_run.VideoSaver.h_video_out

Definition at line 42 of file save_run.py.

tools.save_run.VideoSaver.video_base_name

Definition at line 45 of file save_run.py.

tools.save_run.VideoSaver.video_sz

Definition at line 50 of file save_run.py.


The documentation for this class was generated from the following file:


cnn_bridge
Author(s): Noam C. Golombek , Alexander Beringolts
autogenerated on Mon Jun 10 2019 12:53:26