View on GitHub

Daft Image Playground

AI image search via Daft.ai, Flask, and BLIP

Daft Image Search Tool - Product Requirements Document

Project Overview

We’re creating an intelligent image search tool using Daft.ai for efficient data processing, Flask for the backend API, and jQuery for the frontend interface.

Technical Stack

Core Features

Data Loader Page

Purpose: Process and catalog images from local folders

Features:

Technical Requirements:

Image Library Page

Purpose: Search and browse processed image collections

Features:

Technical Requirements:

Data Schema

{
  "metadata": {
    "processed_date": "ISO timestamp",
    "source_folder": "original folder path",
    "total_images": "number of processed images"
  },
  "images": [
    {
      "id": "unique identifier",
      "filename": "original filename",
      "original_path": "full path to original",
      "processed_path": "path to resized image",
      "file_size": "size in bytes",
      "created_date": "file creation date",
      "tags": ["array", "of", "extracted", "tags"],
      "caption": "AI-generated description",
      "processed_date": "processing timestamp"
    }
  ]
}

API Endpoints

User Experience Goals

Success Metrics