求教各位大佬,怎么计算两张图片的相似度来达到识别图片文字
vb吧
全部回复
仅看楼主
level 1
zcldjm 楼主
两张图片,A图片,B图片,
两张图片基本上相似,都有文字存在
for width=0 to picture1.scalewidth
for height=0 to picture1.scaleheight
if picture1.point(width,height)<>picture2.point(width,height) then
s=s+1
end if
next
next
x=1-s/(width*height)
以上比较图片不同就是太慢了.有没有更有效率的比较方法,,
跪求....
2022年07月30日 18点07分 1
level 1
zcldjm 楼主
哪位大佬 指点一下,,怎么用API写代码啊
2022年08月08日 16点08分 4
1