the number of species a model can detect should not matter in the privacy filter
This commit is contained in:
+1
-2
@@ -260,8 +260,7 @@ def analyzeAudioData(chunks, lat, lon, week, sens, overlap,):
|
||||
def filter_humans(detections):
|
||||
conf = get_settings()
|
||||
priv_thresh = conf.getfloat('PRIVACY_THRESHOLD')
|
||||
human_cutoff = max(10, int(len(detections[0]) * priv_thresh / 100.0))
|
||||
log.debug("DATABASE SIZE: %d", len(detections[0]))
|
||||
human_cutoff = max(10, int(6000 * priv_thresh / 100.0))
|
||||
log.debug("HUMAN-CUTOFF AT: %d", human_cutoff)
|
||||
|
||||
censored_detections = []
|
||||
|
||||
Reference in New Issue
Block a user