Update im.copy() to im in examples

This commit is contained in:
felixhjh
2022-12-11 14:10:16 +00:00
parent f91a6126ee
commit 2f6f6977d7
30 changed files with 31 additions and 31 deletions

View File

@@ -43,7 +43,7 @@ model = fd.vision.facedet.SCRFD(args.model, runtime_option=runtime_option)
# 预测图片检测结果
im = cv2.imread(args.image)
result = model.predict(im.copy())
result = model.predict(im)
print(result)
# 预测结果可视化
vis_im = fd.vision.vis_face_detection(im, result)