修正图片可能因为某些原因获取不到而无法继续的问题
This commit is contained in:
@@ -160,6 +160,9 @@ def information_extraction(ie, phrecs, identity):
|
||||
continue
|
||||
|
||||
image = image_util.read(img_path)
|
||||
if image is None:
|
||||
# 图片可能因为某些原因获取不到
|
||||
continue
|
||||
|
||||
# 尝试从二维码中获取高清图片
|
||||
better_image, text = get_better_image_from_qrcode(image, phrec.cfjaddress)
|
||||
|
||||
Reference in New Issue
Block a user