| IVALab Python Libraries
    Collection of code for computer vision and robotics with specific API. | 
| Functions | |
| def | calc_closest_factors (int c) | 
| def | decimalToBinary (n) | 
| def | depth_scaled (depth) | 
| def | depth_to_before_scale (depth, scale, dtype) | 
| def | display_option_convert (code) | 
| def | isBinary (num) | 
| def | NONROI_FUN (H, W, top_ratio=0.2, down_ratio=0.1) | 
| def | PREPROCESS_DEPTH (depth) | 
| def | PREPROCESS_RGB (rgb) | 
| def | terminate_process_and_children (p) | 
| def Surveillance.deployment.utils.calc_closest_factors | ( | int | c | ) | 
@brief Calculate the closest two factors of c.
https://gist.github.com/iansan5653/1e306da9688d85934385b266e74f153a
Args:
    c: The input integer.
Returns:
  [int, int]: The two factors of c that are closest; in other words, the
    closest two integers for which a*b=c. If c is a perfect square, the
    result will be [sqrt(c), sqrt(c)]; if c is a prime number, the result
    will be [1, c]. The first number will always be the smallest, if they
    are not equal.
 
| def Surveillance.deployment.utils.decimalToBinary | ( | n | ) | 
@brief Convert decimal to binary number.
Args:
    n: input
Returns: 
| def Surveillance.deployment.utils.depth_scaled | ( | depth | ) | 
Return True if the depth is a scaled float data, else False
| def Surveillance.deployment.utils.depth_to_before_scale | ( | depth, | |
| scale, | |||
| dtype | |||
| ) | 
| def Surveillance.deployment.utils.display_option_convert | ( | code | ) | 
@brief Convert the input code into the designed format.
Args:
    code: The input display option.
Returns:
    bool_list: a code list of True or False.
 
| def Surveillance.deployment.utils.isBinary | ( | num | ) | 
@brief  Check if the input is binary or not.
Args:
    num: The input number
Returns:
    Whether the input is binary or not.
 
| def Surveillance.deployment.utils.NONROI_FUN | ( | H, | |
| W, | |||
| top_ratio = 0.2, | |||
| down_ratio = 0.1 | |||
| ) | 
| def Surveillance.deployment.utils.PREPROCESS_DEPTH | ( | depth | ) | 
Todo: Not done yet. Still in development.
| def Surveillance.deployment.utils.PREPROCESS_RGB | ( | rgb | ) | 
| def Surveillance.deployment.utils.terminate_process_and_children | ( | p | ) |