| ---
|
| 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 |