https://github.com/255doesnotexist/blackedgeid
Detects black edges in videos to identify improper aspect ratios.
https://github.com/255doesnotexist/blackedgeid
Last synced: 3 months ago
JSON representation
Detects black edges in videos to identify improper aspect ratios.
- Host: GitHub
- URL: https://github.com/255doesnotexist/blackedgeid
- Owner: 255doesnotexist
- License: gpl-2.0
- Created: 2024-03-16T17:40:36.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-03-18T13:51:48.000Z (about 1 year ago)
- Last Synced: 2025-01-11T19:50:51.743Z (5 months ago)
- Language: Python
- Size: 15.6 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# BlackEdgeID 🎥🔍
## Introduction
**BlackEdgeID** is an advanced video processing tool designed to detect black edges in videos, thereby identifying improper aspect ratios. Utilizing cutting-edge image processing technology, this project offers a swift and reliable solution for content creators and media professionals.## Features ❤️
- **Fast Uploads**: Built with FastAPI, the server-side can quickly receive uploaded video files.
- **Intelligent Detection**: Smartly identifies unsightly black edges by analyzing pixel changes over time in video frames.
- **Real-Time Queries**: Provides a real-time query interface, allowing users to check the video processing status and black edge detection results at any time.
- **Efficient Storage**: Employs Redis for efficient management of video files and processing results.## Technology Stack 📝
- **FastAPI**: A modern, fast (high-performance) web framework for building APIs.
- **ffmpeg**: A powerful multimedia framework for processing video and audio files.
- **OpenCV**: An open-source computer vision library for image processing and video analysis.
- **Redis**: An in-memory data structure store, used as a database, cache, and message broker.## Usage Examples 🪜
1. Upload a video:
```bash
curl -X 'POST' \
'http://127.0.0.1:8000/upload-video' \
-H 'accept: application/json' \
-H 'Content-Type: multipart/form-data' \
-F 'file=@path_to_video.mp4;type=video/mp4'
```2. Query a video:
```bash
curl -X 'GET' \
'http://127.0.0.1:8000/query-video/{video_hash}' \
-H 'accept: application/json'
```