def print_camera_info(cam):
    cam_info = cam.getCameraInfo()
    print('\n*** CAMERA INFORMATION ***\n')
    print(('Serial number - %d' % cam_info.serialNumber))
    print(('Camera model - %s' % cam_info.modelName))
    print(('Camera vendor - %s' % cam_info.vendorName))
    print(('Sensor - %s' % cam_info.sensorInfo))
    print(('Resolution - %s' % cam_info.sensorResolution))
    print(('Firmware version - %s' % cam_info.firmwareVersion))
    print(('Firmware build time - %s' % cam_info.firmwareBuildTime))
    print()
def print_camera_info(cam):
    cam_info = cam.getCameraInfo()
    print('\n*** CAMERA INFORMATION ***\n')
    print(('Serial number - %d' % cam_info.serialNumber))
    print(('Camera model - %s' % cam_info.modelName))
    print(('Camera vendor - %s' % cam_info.vendorName))
    print(('Sensor - %s' % cam_info.sensorInfo))
    print(('Resolution - %s' % cam_info.sensorResolution))
    print(('Firmware version - %s' % cam_info.firmwareVersion))
    print(('Firmware build time - %s' % cam_info.firmwareBuildTime))
    print()