From 2587abf35220927040460a4e0913b39544ce067b Mon Sep 17 00:00:00 2001 From: Benjamin Cretois Date: Thu, 9 Jan 2025 13:45:10 +0100 Subject: [PATCH] [ADD] explain new workflow --- README.md | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index fe28142..861faa8 100644 --- a/README.md +++ b/README.md @@ -58,13 +58,23 @@ Analyzing the files will return `Birdnet.selection.table.txt` files in the `OUTP 1- Update the `config_connection.yaml` -2- Build a `.parquet` database using: +2- Build a `sample.parquet` database using: ```bash python3 src/parse_results.py ``` -:star: Note that the database will contain `$NUM_SEGMENT` at `$THRESHOLD`. Both parameters saved in `config_connection.yaml`. +This `parquet` database is a database containing ALL the results from BirdNET. + + +3- Build a `sampled_segments.parquet` + +```bash +python3 src/global_sampler.py +``` + + +:star: Note that this `parquet` file will contain `$NUM_SEGMENT` random segments with the `$THRESHOLD` indicated in the `config_connection.yaml`. 3- Extract the detections!