cannot import name 'compare_ssim' from 'skimage.measure' 已解决

#from skimage.measure import structural_similarity as ssim
from skimage import measure
.
.
.
#s = ssim(imageA, imageB)
s = measure.compare_ssim(imageA, imageB)

 将注释内容替换

posted @ 2020-12-21 10:22  牛郎  阅读(10776)  评论(0编辑  收藏  举报