BaseerAI commited on
Commit
a5a230f
·
verified ·
1 Parent(s): e42aa92

Update simulation_modules.py

Browse files
Files changed (1) hide show
  1. simulation_modules.py +1 -1
simulation_modules.py CHANGED
@@ -39,7 +39,7 @@ def find_peak_box_and_classify(data):
39
  for j in range(1, W + 1):
40
  confidence = det_data[i, j, 0]
41
  # تم رفع حد الثقة قليلاً لتقليل الاكتشافات الخاطئة
42
- if confidence > 0.15:
43
  # البحث عن القمة المحلية
44
  if (confidence >= det_data[i,j-1,0] and confidence >= det_data[i,j+1,0] and
45
  confidence >= det_data[i-1,j,0] and confidence >= det_data[i+1,j,0]):
 
39
  for j in range(1, W + 1):
40
  confidence = det_data[i, j, 0]
41
  # تم رفع حد الثقة قليلاً لتقليل الاكتشافات الخاطئة
42
+ if confidence > 0.12:
43
  # البحث عن القمة المحلية
44
  if (confidence >= det_data[i,j-1,0] and confidence >= det_data[i,j+1,0] and
45
  confidence >= det_data[i-1,j,0] and confidence >= det_data[i+1,j,0]):