DroneSurveillanceJava

Drone Surveillance Simulation

Project Overview

This is a Java-based drone surveillance simulation project built using JavaFX. The project demonstrates a visual simulation where a drone moves within a city map, detects objects (humans and vehicles), and provides real-time updates on the drone’s position and detected objects. The application also features a background map for a realistic view and simulates objects moving randomly within the grid.

Features

Technologies Used

Setup Instructions

Prerequisites

Steps to Run

  1. Clone the repository:

    git clone https://github.com/yourusername/DroneSurveillanceJava.git
    
    • Download the JavaFX SDK :
  1. Compile the app

    javac --module-path "/path/to/javafx-sdk-21.0.4/lib" --add-modules javafx.controls src/drone/*.java
    
  2. Run the application:

    After compiling, run the DroneVisualizer class:

     java --module-path "/path/to/javafx-sdk-21.0.4/lib" --add-modules javafx.controls -cp src drone.DroneVisualizer
    

Project Structure

```bash
DroneSurveillanceJava/ ├── assets/ │   └── map.jpg               # Map background image ├── src/ │   └── drone/ │       ├── Drone.java        # Main drone logic │       ├── DroneVisualizer.java # Visualization and simulation logic │       ├── ObjectDetection.java  # Logic for detecting and handling objects (humans, vehicles) │       ├── MapVisualization.java # (Optional) Utility for displaying map ├── README.md                 # This file
```

Simulation Details

The drone starts at a random position on the map. It moves at a constant speed, and its movement is constrained within the grid. Objects (humans, vehicles) are detected within the drone’s range and displayed visually on the map. Detected Objects: Humans: Categorized as Male Adult and Female Adult. Vehicles: Categorized as SUV and Truck. Potential Improvements Constrained Movement: Objects can be made to move along predefined street paths. Drone Speed: Introduce variable speed for the drone. Multiple Drones: Add support for multiple drones navigating the map. Historical Tracking: Track the drone’s previous path or detected objects over time.

Contributing

Contributions are welcome! Please open an issue or submit a pull request for any improvements or bug fixes.

License

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

Contact

For any questions or issues, feel free to reach out at .