Skip to content

sdmrf/Surveillance_Bureau

Repository files navigation

Surveillance Bureau

Welcome to the Surveillance Bureau project! In a world where criminal activities are becoming increasingly sophisticated, law enforcement agencies need cutting-edge tools to combat crime effectively. This is where the Surveillance Bureau comes in. Our innovative web application leverages AI, facial recognition, biometrics, and blockchain to identify criminals swiftly and accurately.

Table of Contents

Introduction

The Surveillance Bureau project aims to revolutionize the way law enforcement agencies identify and apprehend suspects. By combining advanced technologies such as artificial intelligence and blockchain, we're creating a robust platform that not only detects criminals but also enhances the overall security infrastructure.

Our key features include:

  • Facial Recognition: We integrate Amazon Rekognition API, a state-of-the-art technology for facial analysis. This allows us to detect and match faces with a high degree of precision, helping law enforcement quickly pinpoint suspects.

  • Biometric Data Matching: Our system goes beyond facial recognition by incorporating biometric data matching. This means that even if a criminal alters their appearance, our technology can identify them based on unique biometric characteristics.

  • Blockchain Security: Criminal records are stored on a secure blockchain using the Truffle framework. Contracts are located within the Smart_Contracts folder outside of the React project, ensuring the integrity and immutability of the data.

  • User-Friendly Interface: We prioritize ease of use, creating an intuitive interface for law enforcement personnel to access and search criminal data efficiently.

  • Vite and React.js Frontend: We've chosen Vite and React.js to build our frontend, ensuring a seamless and responsive user experience.

Our vision is to empower law enforcement agencies with the tools they need to create safer communities. Join us in this journey of innovation and security enhancement.

Project Structure

Surveillance-Bureau/ # Root directory for the entire project
├── contracts/ # Solidity smart contract source files
│ ├── criminalRecords.sol
├── public/
│ ├── assets/
│ └── models/ # ML models for face detection
├── scripts/
│ ├── deploy.js # Hardhat file
├── src/
│ ├── pages/
│ ├── ApiFeatures.js
│ ├── App.jsx
│ ├── App.scss
│ ├── main.jsx
│ ├── main.scss
├── test/
│ ├── Lock.js # Hardhat file
├── ...

Features

  • AI-powered facial recognition for identifying criminals using Amazon Rekognition.
  • Biometric data matching against a database of criminal records.
  • Integration with a secure blockchain for storing criminal records.
  • User-friendly interface for law enforcement agencies to access and search criminal data.
  • Vite and React.js frontend for a smooth and interactive user experience.

Getting Started

Follow these instructions to get the project up and running on your local machine.

Prerequisites

  • Node.js (version 14.x or higher)
  • npm (version 7.x or higher)
  • Metamask Extension for your web browser.

Installation

  1. Clone the repository: git clone https://github.com/sdmrf/Surveillance-Bureau.git
  2. Navigate to the project directory: cd Surveillance-Bureau
  3. Install dependencies: npm install

Usage

  1. Start the development server: npm run dev
  2. Access the application in your web browser at http://localhost:5173/

Blockchain Backend

The project's blockchain backend is powered by the Hardhat framework. The smart contract logic is written in Solidity and resides in the contracts directory. Hardhat's development environment streamlines the process of compiling, deploying, and interacting with smart contracts.

To enhance the blockchain functionality:

  1. Install Hardhat:

    • Make sure you have Node.js and npm installed.
    • Install Hardhat globally using npm:
      npm install -g hardhat
  2. Write Smart Contracts:

    • Create your Solidity smart contract files in the contracts directory.
    • Define your contract's functionality, state variables, and methods as needed.
  3. Configure Hardhat:

    • Hardhat does not require initialization like Truffle. Configuration is handled in the hardhat.config.js file, which is already present in the project root.
  4. Migration Scripts:

    • Add migration scripts to the scripts directory.
    • Migration scripts define the deployment sequence for your smart contracts.
  5. Compile and Deploy:

    • Compile your contracts using:
      npx hardhat compile
    • Deploy your contracts to a blockchain network using migration scripts:
      npx hardhat run scripts/deploy.js
  6. Interact with Contracts:

    • Use Hardhat's console to interact with your deployed contracts:
      npx hardhat console
    • You can call contract methods, retrieve data, and more.

Hardhat simplifies the entire lifecycle of smart contracts, from development to deployment. The combination of React.js, Vite, and Hardhat empowers the Surveillance Bureau with a robust and secure blockchain backend.

Contributors

This project is a collaborative effort of dedicated individuals:

Feel free to reach out to us for any inquiries or collaboration opportunities.

Contact

If you have any questions or need further assistance, feel free to reach out to us:

License

This project is licensed under the MIT License.


About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •