Lines Matching refs:cap
34 def check_solid_color(cap, props): argument
44 r, gr, gb, b = its.image.convert_capture_to_planes(cap, props)
59 def check_color_bars(cap, props, mirror=False): argument
75 img = its.image.convert_capture_to_rgb_image(cap, props=props)
89 def check_pattern(cap, props, pattern): argument
102 return check_solid_color(cap, props)
105 striped = check_color_bars(cap, props, mirror=False)
108 striped = check_color_bars(cap, props, mirror=True)
137 cap = cam.do_capture(req, fmt)
138 img = its.image.convert_capture_to_rgb_image(cap, props=props)
144 assert check_pattern(cap, props, pattern)