# DS Task Tag Scan API

Simple API for clothing tag identification and similarity search.

## Endpoints

### POST `/get_tag`
Analyze a clothing tag image.

**Request:**
```json
{
  "image_url": "https://example.com/tag.jpg"
}
```

**Response:**
```json
{
  "success": true,
  "results": [
    {
      "tag": "Nike T-Shirt Tags",
      "year_start": "1995",
      "year_end": "2006"
    }
  ],
  "metadata": {
    "identified_brand": "nike",
    "processing_time_seconds": 3.6
  }
}
```

### GET `/status`
Check if the system is running.

**Response:**
```json
{
  "status": "healthy"
}
```

## Usage

```bash
curl -X POST http://localhost:5000/get_tag \
  -H "Content-Type: application/json" \
  -d '{"image_url": "https://example.com/tag.jpg"}'
```

## Notes
- Response time: ~3-5 seconds
- Supports JPEG, PNG images
- Returns text matches and similar images