Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -65,6 +65,12 @@ if img_file_buffer is not None:
|
|
65 |
cv2.rectangle(image , (x1, y2 - 35), (x2, y2), (0, 255, 0), cv2.FILLED)
|
66 |
cv2.putText(image , name, (x1 + 6, y2 - 6), cv2.FONT_HERSHEY_COMPLEX, 1, (255, 255, 255), 2)
|
67 |
|
|
|
|
|
|
|
|
|
|
|
|
|
68 |
faceMatchedflag = 1
|
69 |
|
70 |
st.image(image , use_column_width=True, output_format="PNG")
|
|
|
65 |
cv2.rectangle(image , (x1, y2 - 35), (x2, y2), (0, 255, 0), cv2.FILLED)
|
66 |
cv2.putText(image , name, (x1 + 6, y2 - 6), cv2.FONT_HERSHEY_COMPLEX, 1, (255, 255, 255), 2)
|
67 |
|
68 |
+
########## update website
|
69 |
+
url = "https://get-method-form-display.glitch.me/[email protected]&message=faceReco&name="
|
70 |
+
url = url + name
|
71 |
+
st.write(url)
|
72 |
+
|
73 |
+
########### end update website
|
74 |
faceMatchedflag = 1
|
75 |
|
76 |
st.image(image , use_column_width=True, output_format="PNG")
|