EngAbod commited on
Commit
3a9e760
·
1 Parent(s): d90b81c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -136,6 +136,7 @@ class VideoProcessor:
136
 
137
  def recv(self, frame):
138
  frm = frame.to_ndarray(format="bgr24")
 
139
  rgb_frame = cv2.cvtColor(frm, cv2.COLOR_BGR2RGB)
140
  results = face_mesh.process(rgb_frame)
141
  img_h, img_w, img_c = frm.shape
 
136
 
137
  def recv(self, frame):
138
  frm = frame.to_ndarray(format="bgr24")
139
+ frm = cv2.flip(frm,1)
140
  rgb_frame = cv2.cvtColor(frm, cv2.COLOR_BGR2RGB)
141
  results = face_mesh.process(rgb_frame)
142
  img_h, img_w, img_c = frm.shape