Nachtzuster / BirdNET-Pi

A realtime acoustic bird classification system for the Raspberry Pi 5, 4B 3B+ 0W2 and more. Built on the TFLite version of BirdNET.
https://birdnetpi.com
Other
169 stars 24 forks source link

UI : add confidence to daily plot labels #223

Open alexbelgium opened 3 weeks ago

alexbelgium commented 3 weeks ago

Hi @Nachtzuster, are you interested to have this in the fork ?

@jmtmp has made new daily and yearly graphs that could be more readable with confidence in a column (thanks!)

image

image

alexbelgium commented 3 weeks ago

In parallel I'm looking if a plotly interactive chart is feasible - although those charts are good for archiving

Nachtzuster commented 3 weeks ago

Though not as pretty, I guess the two columns are more readable, yes.

A couple of thoughts:

Maybe it would be better/easier to plonk the columns into the current implementation? (I might have a look myself)

alexbelgium commented 3 weeks ago

Thanks I see your point. I actually copy pasted @jmtmp's code but indeed code robustness could be better with continuity and only tweaking the current code!

alexbelgium commented 2 weeks ago

Here is a code proposal based on the current daily plot.

I've taken the opportunity to solve an issue with the heatmap of the Counts column : it was using the "latest" Confidence instead of the "Max" as expected in the code, which was not apparent until they appeared side-by-side with the max confidence column.

alexbelgium commented 2 weeks ago

Mmh I updated but honestly it's not super pretty...

Proposed image Proposed image

alexbelgium commented 2 weeks ago

I thought that the new column addition didn't work easily with the current theme. The initial design with column seems cleaner to me but I understand if preference is to keep code as simple as possible in this main repo for robustness.

So here is another proposal : if we don't change the main layout, we could just add the values to the current graph.

Changes to overlaid labels :

image

image