Project

General

Profile

Actions

User Story #589

open

Feature #533: Authentication Hum Rahi

EPIC #587: Epic: E2.2 AI-Powered Server Processing

User Story 2 (BE/AI): Image-Based Incident Classification

Added by Islam Mansoori about 1 month ago. Updated 18 days ago.

Status:
To Do
Priority:
low
Assignee:
-
Target version:
Start date:
Due date:
% Done:

80%

Estimated time:
(Total: 0:00 h)

Description

User Story 2 (BE/AI): Image-Based Incident Classification

Story: As a Backend System, I want to utilize Computer Vision to identify the incident type from the photo, so that the report can be categorized even if the user provides no text.

  • In-Scope:
    • Computer Vision model integration.
    • Confidence score generation for each category.
    • Fallback mechanism to "User Selected Category" if AI confidence is low (< 0.70).
  • Out-of-Scope: Video analysis; facial recognition of individuals.
  • Acceptance Criteria (AC):
    1. AI must classify photos into the predefined list (Pothole, Accident, etc.).
    2. Model must return a primary category and a confidence percentage.
    3. Processing must initiate immediately upon file storage confirmation.
  • Validation Rules:
    • Confidence Score: 0.0 to 1.0.
  • Error Messages:
    • "AI Engine: Low image quality, unable to classify."
  • DoD: Model accuracy >85% on test dataset, unit tests for AI worker.

Subtasks 5 (1 open4 closed)

Task #624: Integrate Computer Vision Model for Image ClassificationBackend completedYousuf Khan

Actions
Task #625: Implement AI Response Parsing LogicBackend completedzaid ali

Actions
Task #626: Implement Confidence Threshold Fallback LogicTo Dozaid ali

Actions
Task #627: Trigger AI Processing After Media UploadBackend completedzaid ali

Actions
Task #628: Persist AI Classification ResultsBackend completedzaid ali

Actions
Actions #1

Updated by zaid ali 18 days ago

  • Subtask #624 added
Actions #2

Updated by zaid ali 18 days ago

  • Subtask #625 added
Actions #3

Updated by zaid ali 18 days ago

  • Subtask #626 added
Actions #4

Updated by zaid ali 18 days ago

  • Subtask #627 added
Actions #5

Updated by zaid ali 18 days ago

  • Subtask #628 added
Actions

Also available in: Atom PDF