A sophisticated AI-powered system for detecting and analyzing potential scam content in images and text using advanced language models and computer vision techniques.
- Real-time image and text analysis for scam detection
- Integration with Gemma 3:4B language model for advanced content understanding
- OCR capabilities for text extraction from images
- Configurable evaluation pipeline with customizable prompts
- Comprehensive logging and evaluation metrics
- Support for both image and text-only content analysis
FULL REPORT AVAILABLE IN REPORT.PDF
- Clone the repository:
git clone https://github.com/yourusername/CSVA.git
cd CSVA- Create and activate a virtual environment:
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate- Install dependencies:
pip install -r requirements.txt- Install Ollama (required for Gemma model):
# Follow instructions at https://ollama.ai/download- Pull the Gemma model:
ollama pull gemma:3b- Review and modify
config.yamlto adjust:- Model parameters
- Evaluation prompts
- Logging settings
- Processing thresholds
- Run the main evaluation pipeline:
python main.py- For testing and evaluation:
python test.pycore/: Core evaluation pipeline componentsprocessors/: Image and text processing modulesllms/: Language model integrationutils/: Utility functions and helpersdata/: Data storage and processinglogs/: Evaluation and processing logscaptures/: Screenshot storagecaptions/: Image caption storage