Skip to content

Bb-03/DefenceX

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

DefenceX

Description

DefenceX is a web application designed to analyze phone calls for potential scams. It utilizes audio transcription and advanced analysis techniques to provide users with insights into the nature of their calls.

Features

  • Upload audio files for analysis.
  • Convert audio to WAV format.
  • Transcribe audio using Google Cloud's Speech-to-Text API.
  • Analyze transcripts for suspicious content using the Gemini API.
  • Render results on a user-friendly web interface.

Installation Instructions

  1. Clone the repository:
    git clone https://github.com/Bb-03/DefenceX.git
    cd DefenceX
  2. Set up a virtual environment:
    python -m venv venv
    source venv/bin/activate  # On Windows use `venv\Scripts\activate`
  3. Install the required dependencies:
    pip install -r requirements.txt
  4. Set up Google Cloud credentials and environment variables as needed.

Usage Instructions

  1. Run the application:
    python server.py
  2. Open your web browser and navigate to http://localhost:5000.
  3. Upload audio files and select the language for transcription.
  4. Review the analysis results displayed on the web interface.

API Keys

Make sure to set up your Google Cloud and Gemini API keys. Update the relevant environment variables in your application.

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

DefenceX is an AI-powered scam call detection system that transcribes calls in 33 languages and uses NLP techniques—including regex-based keyword analysis, DistilBERT for contextual understanding, RoBERTa for sentiment analysis, and a Random Forest classifier—for accurate scam classification.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors