Jon Taylor commited on
Commit
8d56dde
1 Parent(s): bfa8620

replaced image buffer

Browse files
Files changed (1) hide show
  1. app/bot.py +1 -1
app/bot.py CHANGED
@@ -125,7 +125,7 @@ class DailyVision(EventHandler):
125
  if not video_frame == None:
126
  image = Image.frombytes("RGB", (video_frame.width, video_frame.height), video_frame.buffer)
127
  result_image = self.__pipeline.predict(params, image)
128
- #self.__camera.write_frame(result_image.tobytes())
129
  except queue.Empty:
130
  pass
131
 
 
125
  if not video_frame == None:
126
  image = Image.frombytes("RGB", (video_frame.width, video_frame.height), video_frame.buffer)
127
  result_image = self.__pipeline.predict(params, image)
128
+ self.__camera.write_frame(result_image.tobytes())
129
  except queue.Empty:
130
  pass
131