Lines Matching refs:debug
48 def get_test_tols_and_cap_size(cam, props, chart_distance, debug): argument
80 logging.debug('cam[%s] min_fd: %.3f (diopters), fl: %.2f',
85 if debug:
86 logging.debug('cam[%s] yuv sizes: %s', i, str(yuv_sizes))
94 logging.debug('loosening RTOL for cam[%s]: '
98 if debug:
99 logging.debug('common_fmt: %s', max(common_sizes))
129 def find_center_circle(img, img_name, color, min_area, debug): argument
179 if debug:
180 logging.debug('circles [x, y, r, pi*r**2/area, area]: %s', str(circles))
222 logging.debug('testing zoomRatioRange: %s', str(z_range))
223 debug = self.debug_mode
233 cam, props, self.chart_distance, debug)
239 logging.debug('capture size: %s', str(size))
240 logging.debug('test TOLs: %s', str(test_tols))
246 logging.debug('zoom ratio: %.2f', z)
268 debug=debug)
270 logging.debug('zoom %.2f is too large! Skip further captures', z)
282 logging.debug('test zoom ratio max: %.2f', test_data_max_z)
293 logging.debug('Zoom: %.2f, fl: %.2f', data['z'], data['fl'])
296 logging.debug('Circle r: %.1f, center offset x, y: %d, %d',
302 logging.debug('r ratio req: %.3f, measured: %.3f', z_ratio, radius_ratio)
316 logging.debug('offset_rel: %.3f', offset_rel)