+
Skip to content

inhacollab/Iot

Repository files navigation

Smart Home Assistant

An intelligent object detection system that helps locate items in your home using computer vision and Django/Flask integration.

🎥 Demo video

Video demonstration of the project 👉 video link click to see

Visualisation

Homepage

homepage

Object selection page

homepage

Result Page

homepage

Image Not Found Page

homepage

System Architecture

graph TB
    U[User Interface] --> D[Django Backend]
    D --> F[Flask Server]
    F --> Y[YOLO Processing]
    Y --> C[Camera System]
    C --> I[Image Processing]
    I --> D
    
    subgraph Hardware
    C
    end
    
    subgraph Processing
    Y
    I
    end
    
    subgraph Web
    U
    D
    end
Loading

How It Works

Object Detection Pipeline

flowchart LR
    A[Camera Feed] --> B[Frame Capture]
    B --> C[YOLO Detection]
    C --> D{Object Found?}
    D -->|Yes| E[Capture Image]
    D -->|No| B
    E --> F[Send to Django]
Loading

Django-Flask Communication

sequenceDiagram
    participant U as User
    participant D as Django
    participant F as Flask
    participant Y as YOLO
    
    U->>D: Search Request
    D->>F: Forward Request
    F->>Y: Activate Detection
    Y->>F: Object Found
    F->>D: Send Image
    D->>U: Display Result
Loading

System Implementation

graph TD
    subgraph Web Layer
        A[Django Frontend]
        B[REST API]
    end
    
    subgraph Processing Layer
        C[Flask Server]
        D[YOLO Model]
    end
    
    subgraph Hardware Layer
        E[Cameras]
        F[Raspberry Pi]
    end
    
    A --> B
    B --> C
    C --> D
    D --> E
    E --> F
    F --> C
Loading

API Documentation

Flask Endpoints

POST /search_object
{
    "item_name": "string",  // Object to search for
    "threshold": float,     // Detection confidence threshold
}

Django Endpoints

POST /receive_picture
{
    "image": file,         // Captured image
    "camera_index": int,   // Source camera ID
    "location": string     // Detection location
}

Detection Process

stateDiagram-v2
    [*] --> Idle
    Idle --> Searching: User Request
    Searching --> Processing: Frame Captured
    Processing --> ObjectFound: Detection Success
    Processing --> Searching: No Detection
    ObjectFound --> ImageCapture
    ImageCapture --> ResultDisplay
    ResultDisplay --> Idle
Loading

Project Team

graph TD
    A[Smart Home Assistant] --> B[Project Lead<br>Javokhir Yuldoshev]
    B --> C[Computer Vision<br>Akimov Sarvar]
    B --> D[Web Development<br>Azizbek Sharifov]
    B --> E[Hardware Integration<br>Abdulloh Shabonov]

    style A fill:#FFDDC1,stroke:#FF7F50,stroke-width:2px,color:#000000
    style B fill:#FFD700,stroke:#FF8C00,stroke-width:2px,color:#000000
    style C fill:#90EE90,stroke:#228B22,stroke-width:2px,color:#000000
    style D fill:#ADD8E6,stroke:#4682B4,stroke-width:2px,color:#000000
    style E fill:#FFA07A,stroke:#CD5C5C,stroke-width:2px,color:#000000

Loading

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载