File size: 1,434 Bytes
225070f
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
---

title: Image Metadata Extractor
emoji: 📸
colorFrom: blue
colorTo: purple
sdk: docker
app_file: main.py
pinned: false
---


# Image Metadata Extractor

A simple and elegant web application for extracting metadata from images, including creation timestamps, EXIF data, and file information.

## Features

- 📸 Extract EXIF metadata from images
- ⏱️ Find creation timestamps from EXIF data or file system
- 🖼️ Display image properties (format, size, color mode)
- 🎨 Beautiful, responsive web interface
- 📱 Mobile-friendly design
- 🐳 Docker support for easy deployment

## How to Use

1. Run the application (instructions below)
2. Open your browser to the provided URL
3. Upload an image using the file selector or drag & drop
4. View the extracted metadata including creation timestamps

## Running Locally

### With Docker (Recommended)

```bash

docker build -t image-metadata-extractor .

docker run -p 8000:8000 image-metadata-extractor

```

### Without Docker

1. Install the required packages:
   ```bash

   pip install -r requirements.txt

   ```

2. Run the application:
   ```bash

   python main.py

   ```

## API Endpoints

- `GET /` - Serve the web interface
- `POST /extract-metadata` - Extract metadata from an uploaded image

## License

MIT

Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference