confidence 50
Browse files
app.py
CHANGED
@@ -41,7 +41,7 @@ def detect_combined(image):
|
|
41 |
|
42 |
try:
|
43 |
# ========== [1] YOLO: Deteksi Produk Nestlé (Per Class) ==========
|
44 |
-
yolo_pred = yolo_model.predict(temp_path, confidence=
|
45 |
|
46 |
# Hitung per class Nestlé
|
47 |
nestle_class_count = {}
|
|
|
41 |
|
42 |
try:
|
43 |
# ========== [1] YOLO: Deteksi Produk Nestlé (Per Class) ==========
|
44 |
+
yolo_pred = yolo_model.predict(temp_path, confidence=50, overlap=80).json()
|
45 |
|
46 |
# Hitung per class Nestlé
|
47 |
nestle_class_count = {}
|