garnet-image

byJaseem Ali

i will attach a image file which i need to make the diagonal lines to proper measurents and convert in to autocad

LandingSignupLoginUsersDemoWorkspaceDashboardSettings
Landing

Comments (0)

No comments yet. Be the first!

System Requirements

System Requirement Document
Page 1 of 4

System Requirements Document (SRD)

Project Name: Garnet-Image

1. Introduction

The Garnet-Image project aims to process and refine plot diagrams by correcting diagonal measurements and converting them into precise AutoCAD files. This ensures accurate representation of plot boundaries and dimensions for architectural and engineering purposes.

This document outlines the system requirements for achieving the objectives of the Garnet-Image project, including functional and non-functional requirements, user personas, and design concepts.

2. System Overview

The Garnet-Image system will:

  • Process input images of plot diagrams.
  • Correct diagonal measurements to ensure accuracy.
  • Convert the corrected diagrams into AutoCAD files.
  • Provide a user-friendly interface for uploading images and downloading AutoCAD files.

The system will cater to users such as architects, engineers, and surveyors who require precise plot diagrams for planning and development purposes.

3. Functional Requirements

  • As a User, I should be able to upload an image of a plot diagram.
  • As a User, I should be able to view the corrected diagonal measurements on the plot diagram.
  • As a User, I should be able to download the corrected plot diagram in AutoCAD format.
  • As a User, I should be able to specify export preferences for the AutoCAD file (e.g., version, layers).
Page 2 of 4

4. User Personas

  1. Admin

    • Manages user access and system configurations.
    • Oversees the processing pipeline for image corrections and AutoCAD conversions.
  2. User

    • Uploads plot diagrams for processing.
    • Downloads corrected diagrams in AutoCAD format.
  3. Guest

    • Views system capabilities but cannot upload or download files.

5. Visuals Colors and Theme

The Garnet-Image project will use a professional and precise theme to reflect its technical nature.

Color Palette:

  • Background: #F5F5F5 (light gray)
  • Surface: #FFFFFF (white)
  • Text: #333333 (dark gray)
  • Accent: #007BFF (blue)
  • Muted: #CCCCCC (light gray)

This palette ensures clarity and focus on the technical content.

Page 3 of 4

6. Signature Design Concept

Interactive Plot Correction Interface
The homepage will feature an interactive plot correction tool. Users will see a digital workspace resembling a drafting table.

  • Key Features:

    • The uploaded plot diagram will appear in the center of the workspace.
    • Users can hover over diagonal lines to view their current and corrected measurements.
    • A slider tool will allow users to adjust measurements manually if needed.
    • Real-time updates will display the corrected diagram dynamically.
  • Animations and Transitions:

    • Smooth zoom-in and zoom-out transitions for detailed inspection.
    • Subtle highlights on selected lines or points.
    • A glowing effect on the "Download AutoCAD File" button when the corrections are complete.

This design ensures an engaging and intuitive user experience.

7. Non-Functional Requirements

  • The system must process images and generate AutoCAD files within 10 seconds.
  • The system must support image uploads up to 50 MB.
  • The system must ensure 99.9% uptime for uninterrupted access.
  • The AutoCAD files must comply with industry standards for compatibility.

8. Tech Stack

  • Frontend: React for Web
  • Backend: Python with FastAPI
  • Database: MySQL (with Alembic for migrations)
  • AI Tools: Google Nano Banana for image processing
  • Local Orchestration: Docker, docker-compose
  • Server-Side Orchestration: Kubernetes

9. Assumptions and Constraints

  • The input images will be in standard formats (e.g., JPEG, PNG).
  • The system will not handle highly distorted or low-resolution images.
  • Users must have AutoCAD software to open the downloaded files.
  • The system will operate in the Qatar timezone (AST).
Page 4 of 4

10. Glossary

  • AutoCAD: A software application for computer-aided design (CAD) and drafting.
  • Diagonal Measurements: The lengths of diagonal lines within a plot diagram.
  • Plot Diagram: A graphical representation of land divisions.
  • Alembic: A database migration tool for Python.

This document serves as the foundation for the development and implementation of the Garnet-Image project.

Landing design preview
Landing: View Info
Login: Sign In
Dashboard: View Stats
Dashboard: Manage Users
Users: Edit Access
Settings: Configure Pipeline
Settings: Set Export Defaults