dwyl / image-classifier

🖼️ Classify images and extract data from or describe their contents using machine learning
GNU General Public License v2.0
18 stars 3 forks source link

resample audio to 16kHz: #80 #81

Closed ndrean closed 3 months ago

ndrean commented 3 months ago

Small JS optimisation that resamples the audio from (usually) 48kHz to 16kHz.

JS code only. You can test it.

Next (2/2 for #80) is Readme.

codecov[bot] commented 3 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 100.00%. Comparing base (d532505) to head (9a65d5d).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #81 +/- ## ========================================= Coverage 100.00% 100.00% ========================================= Files 5 5 Lines 199 199 ========================================= Hits 199 199 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

ndrean commented 3 months ago

@LuchoTurtle Check readme.

ndrean commented 3 months ago

ah, sorry, yes, how stupid, I was on main, I did not pay attention. Git is not my friend.