Skip to content

Latest commit

 

History

History
62 lines (42 loc) · 1.99 KB

File metadata and controls

62 lines (42 loc) · 1.99 KB

Bot Prediction using Mouse Pattern

This project is designed to predict bot activity using mouse movement patterns captured in real-time. It consists of three main components: a frontend built with React and Vite, a Flask backend for data processing and machine learning model training, and a Node.js backend for real-time data collection.

Folder Structure

  • frontend: Contains the React application used for user interaction and real-time data visualization.
  • flask-backend: Includes the Flask server responsible for data processing, model training, and bot prediction.
  • nodejs-backend: Houses the Node.js server that collects real-time mouse movement data from the frontend.

Features

  • Real-time Mouse Pattern Analysis: Captures and analyzes mouse movement data to detect patterns indicative of bot behavior.
  • Machine Learning Model: Utilizes machine learning algorithms to train models based on historical mouse movement patterns and predict bot activities.
  • Interactive Visualization: Provides interactive visualizations in the frontend to display real-time and historical data insights.
  • Scalable Architecture: Uses separate backends for data processing and frontend interaction, ensuring scalability and modularity.

Workflow Of Project

Screenshot 2025-01-26 at 4 33 09 PM

Live Working of Project

Sending Coordinates and presenting the prediction on frontend:

https://youtu.be/5OmkcFTNPGw

Overview of the website

https://youtu.be/8vwy_w625WA

Installation and Setup

  1. Clone the repository:

    git clone https://github.com/ayushgit12/BotProof
    cd sih_bot
  2. Start frontend

    cd frontend2
    npm i
    npm run dev
  3. Start the backend

    cd backend
    npm i
    npm start
  4. Start the flask server

    cd flask_backend
    pip install -r req.txt
    python app.py