格式化

This commit is contained in:
myh 2025-04-19 20:31:12 +08:00
parent 5095dbe6c0
commit 1930e1b96b

View File

@ -150,7 +150,7 @@ def main(matchimg_vi, matchimg_in):
return 0, None, 0
else:
matched_ni = cv2.warpPerspective(orimg_in, H, (w, h))
matched_ni,left,right,top,bottom=removeBlackBorder(matched_ni)
matched_ni, left, right, top, bottom = removeBlackBorder(matched_ni)
# fusion = fusions(orimg_vi[left:right, top:bottom], matched_ni)
fusion = fusions(orimg_vi, matched_ni)