Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -38,7 +38,7 @@ def detect_faces(img):
|
|
| 38 |
#1=> Font boyutunu belirtir.
|
| 39 |
#(255, 0, 0)=> Metnin rengi kırmızı renk belirtilmiştir.
|
| 40 |
#2=> Metnin kalınlığı.
|
| 41 |
-
cv2.putText(img, f"** {count} people were detect in the photo.", (100, 700), cv2.FONT_HERSHEY_SIMPLEX, 1, (255, 0, 0)
|
| 42 |
return img
|
| 43 |
|
| 44 |
# Gradio arayüzünü oluştur
|
|
|
|
| 38 |
#1=> Font boyutunu belirtir.
|
| 39 |
#(255, 0, 0)=> Metnin rengi kırmızı renk belirtilmiştir.
|
| 40 |
#2=> Metnin kalınlığı.
|
| 41 |
+
cv2.putText(img, f"** {count} people were detect in the photo.", (100, 700), cv2.FONT_HERSHEY_SIMPLEX, 1, (255, 0, 0) , 2)
|
| 42 |
return img
|
| 43 |
|
| 44 |
# Gradio arayüzünü oluştur
|