Update app.py
Browse files
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 |
+
|