Functions
tools.misc Namespace Reference

Functions

def exit_handler (camera, video_out, statistics_engine)
 
def str2bool (s, return_string=False)
 

Function Documentation

def tools.misc.exit_handler (   camera,
  video_out,
  statistics_engine 
)
Hadle when the program exits. calculate the statistics and close any open cv2 device
Inputs:
    camera (Camera) the Camera being used
    video_out (VideoSaver) the VideoSaver being used
    statistics_engine (StatisticsEngine) the StatisticsEngine being used

Definition at line 38 of file misc.py.

def tools.misc.str2bool (   s,
  return_string = False 
)
This function is not too correct if the argument is not any of True/False case

Definition at line 56 of file misc.py.



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