airtest.aircv.cal_confidence module

These functions calculate the similarity of two images of the same size.

cal_ccoeff_confidence(im_source, im_search)[source]

求取两张图片的可信度,使用TM_CCOEFF_NORMED方法.

cal_rgb_confidence(img_src_rgb, img_sch_rgb)[source]

同大小彩图计算相似度.