(self, output_path)
| 116 | |
| 117 | |
| 118 | def export_intrinsics(self, output_path): |
| 119 | if not os.path.exists(output_path): |
| 120 | os.makedirs(output_path) |
| 121 | print 'exporting camera intrinsics to', output_path |
| 122 | self.save_mat_to_file(self.intrinsic_color, os.path.join(output_path, 'intrinsic_color.txt')) |
| 123 | self.save_mat_to_file(self.extrinsic_color, os.path.join(output_path, 'extrinsic_color.txt')) |
| 124 | self.save_mat_to_file(self.intrinsic_depth, os.path.join(output_path, 'intrinsic_depth.txt')) |
| 125 | self.save_mat_to_file(self.extrinsic_depth, os.path.join(output_path, 'extrinsic_depth.txt')) |
no test coverage detected