SS8297 commited on
Commit
b43ba1f
·
1 Parent(s): cae7247

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -147,7 +147,7 @@ st.markdown("""
147
  </style>
148
  """, unsafe_allow_html=True)
149
 
150
- detector = Detector(face_model="retinaface", landmark_model= "pfld")
151
  source = "Webcam"
152
  recog = True
153
 
@@ -186,4 +186,5 @@ with stream:
186
  use_container_width= False
187
  )
188
  img = np.array(Image.open(frame))
189
- pic.image(image_processing(img), use_column_width = "always")
 
 
147
  </style>
148
  """, unsafe_allow_html=True)
149
 
150
+ detector = Detector(face_model="retinaface", landmark_model= "pfld", au_model="xgb", facepose_model="img2pose", emotion_model="resmasknet")
151
  source = "Webcam"
152
  recog = True
153
 
 
186
  use_container_width= False
187
  )
188
  img = np.array(Image.open(frame))
189
+ pic.image(image_processing(img), use_column_width = "always")
190
+