BrainAI-1 commited on
Commit
ef5ca07
·
verified ·
1 Parent(s): e93e356

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -69,6 +69,6 @@ elif source_radio == "GAME":
69
  elif source_radio == "WEBCAM":
70
  input_img = camera_input_live()
71
  if input_img:
72
- result = object_detection.process_image(input_img)
73
- st.image(img_plot, channels = "BGR")
74
 
 
69
  elif source_radio == "WEBCAM":
70
  input_img = camera_input_live()
71
  if input_img:
72
+ result_img, detected_object = object_detection.process_image(input_img)
73
+ st.image(result_img, channels = "BGR")
74