English Accent Classifier!
How it works?
- Takes video URL or video file
- Converts it into audio
- Uses
Whisper-tiny
to detect which language is being spoken - If the detected language is English, it uses SpeechBrain's Accent ID classifier to show the speaker's accent along with a confidence score.
Q: What if my transformers version doesn't expose return_language
for whisper-tiny
?
A: Then it will approximate the language by counting which language's tokens it is using the most.
Output will be shown here!
Example MP4 Video URLs
Output will be shown here!
Example MP4 Videos