def load_cams(conf_file):
with open(conf_file, "<STR_LIT:r>") as c_file:<EOL><INDENT>lines = c_file.readlines()<EOL><DEDENT>cams_conf = [json.loads(j) for j in lines]<EOL>cams = []<EOL>for cam_c in cams_conf:<EOL><INDENT>init_params = __parse_args(cam_c)<EOL>cams.append(cam_types[cam_c["<STR_LIT:type>"]](**init_params))<EOL><DEDENT>return cams<EOL>
Reads cams conf from file and intantiate appropiate classes.
    Returns: an array of IpCam classes.