litagin02 / processed-speech-detector

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Processed Speech Detector

Detect whether the speech voice is manually processed.

I'm noob in DeepLearning and this model is just a test (with ChatGPT assistant), may be overfitting.

Usage

import torch

model = torch.hub.load(
    "litagin02/processed-speech-detector",
    "processed_speech_detector",
    task="freq",  # or "reverb"
    device="cpu",  # or "cuda"
)
score = model.infer_from_file("test.wav")
print(f"Score: {score:.3f}")

Task:

  • freq: Detect whether the speech has been passed through low-pass, high-pass, or band-pass filters.
  • reverb: Detect whether the speech has reverb applied.

Score is a float number between 0 and 1. The higher the score, the more likely the speech has been processed.

About

License:MIT License


Languages

Language:Python 100.0%