mirror of
https://github.com/PaddlePaddle/FastDeploy.git
synced 2026-04-23 08:21:53 +08:00
[fix][examples] fixed ppdet python examples visualize (#105)
This commit is contained in:
@@ -52,7 +52,7 @@ model = fd.vision.detection.FasterRCNN(
|
||||
|
||||
# 预测图片检测结果
|
||||
im = cv2.imread(args.image)
|
||||
result = model.predict(im)
|
||||
result = model.predict(im.copy())
|
||||
print(result)
|
||||
|
||||
# 预测结果可视化
|
||||
|
||||
Reference in New Issue
Block a user