/DCAPTCHA

Primary LanguageJupyter NotebookMIT LicenseMIT


DCAPTCHA

Team Details

Team Name: MINI-DORAS

Problem ID: 1672

Team Leader: Naman Bansal @Nb4159

Team Members:

Project Links

Table of Contents

  1. About The Project
  2. Getting Started
  3. License

About The Project

The Unique Identification Authority of India (UIDAI) manages crucial Aadhaar-related operations and uses CAPTCHA to protect its portals, but it has drawbacks. CAPTCHA can be time-consuming and frustrating for users and poses accessibility challenges for people with disabilities.

This solution must follow strict privacy policies, collecting minimal, anonymized data and ensuring compliance with legal and ethical standards.

The Solution follows a 3 Layer approach:

  • Layer 1(ML Judge): Uses a ML model to classify the user as a bot or Human. If the model has low Confidence it will move to layer 2.
  • Layer 2(Simple Task + Sus Meter): Displays 9 problems and an image of number displaying which problem to solve. This image would be generated using SOTA addversal attack methods making it very difficult for the bot to identify the image. If the bot is still able to solve the problem there will be a model known as Sus Meter that will help us identifying if the bot has solved the problem. The problems will be chosen which can be solved by majority indians deduced by a Survey.
  • Layer 3(Normal Captcha): If the model is still unsure we will just use Normal Captcha.

Built With

Getting Started

Prerequisites

This project requires the following npm packages:

Backend

  • FastApi: For creating amd using the apis.
  • dotenv: For managing environment variables.

Frontend

Installation

Clone the Repository

git clone https://github.com/RMZeroFour/DCAPTCHA/tree/main

Set up Backend

  1. Navigate to the back directory
  cd back
  1. Install requirements
 pip install -r requirements.txt 
  1. Run Backend
 python main.py 

Run Frontend

  1. Navigate to the vite-project folder in the front directory
    cd vite-project
  1. Run the website npm run dev

To run the BOT

  1. Navigate to the bot directory
 cd bot
  1. Install required dependencies
 pip install -r requirements 
  1. Run bot script
 python bot.py 

License

Distributed under the MIT License. See LICENSE.txt for more information.