oliver9523 commited on
Commit
bf5b598
·
1 Parent(s): e0ebe21

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -30,6 +30,7 @@ def infer(image=None):
30
  image = resize_image(image, 1200)
31
  prediction = deployment.infer(image)
32
  output = show_image_with_annotation_scene(image, prediction, show_results=False)
 
33
  return [output, prediction.overview]
34
 
35
 
 
30
  image = resize_image(image, 1200)
31
  prediction = deployment.infer(image)
32
  output = show_image_with_annotation_scene(image, prediction, show_results=False)
33
+ output = cv2.cvtColor(output, cv2.COLOR_RGB2BGR)
34
  return [output, prediction.overview]
35
 
36