Frame Extraction
Project description
AGL-Frame2Vid: Convert Extracted Frames to Video
Description
AGL-Frame2Vid is a Python package that enables users to create videos from a sequence of extracted frames. This tool is especially designed to work in tandem with the agl-frame-extractor
package, utilizing its metadata to determine video attributes like framerate.
The package aims to facilitate research in the field of gastrointestinal endoscopy by providing an easy and standardized way to create videos for both training and clinical practice.
Installation
Requirements
- Python 3.11 or higher
- OpenCV-Python 4.5 or higher
- FFmpeg-Python 0.2.0 or higher
Using Poetry
To install the package, navigate to the package directory and run:
poetry install
Usage
Basic Example
Here's a basic example that shows how to use Frame2Vid
:
from agl_frame2vid import Frame2Vid
# Initialize the converter
converter = Frame2Vid("input_frames", "output.mp4")
# Generate the video
converter.generate_video()
Documentation
For complete documentation, refer to the official documentation.
Testing
Tests can be run using pytest
:
pytest
Contributing
Contributions are welcomed to improve the package. Please read the contribution guidelines for more information.
Authors
- Thomas J. Lux lux_t1@ukw.de
License
This project is licensed under the MIT License - see the LICENSE.md file for details.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file agl_frame2vid-0.1.2.tar.gz
.
File metadata
- Download URL: agl_frame2vid-0.1.2.tar.gz
- Upload date:
- Size: 3.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.6.1 CPython/3.12.0 Windows/11
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | eb8664ce4012780b4a752d9ecc7867b408dfdebce487c47736069aca31a21a58 |
|
MD5 | f93e23a8a9721620a1270198f5ca570a |
|
BLAKE2b-256 | 2063c10f7ad61eee9e2b2f7f6de43ac568d7bd3281c46884628bbd3bda02dd22 |
File details
Details for the file agl_frame2vid-0.1.2-py3-none-any.whl
.
File metadata
- Download URL: agl_frame2vid-0.1.2-py3-none-any.whl
- Upload date:
- Size: 3.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.6.1 CPython/3.12.0 Windows/11
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | aea4e39658bde753594f0d15431680561aa7dfa4beb29916693f911dd22439eb |
|
MD5 | 015df610d6b3d38f72e0209a46c50c6e |
|
BLAKE2b-256 | 1a5ef5fdff92115f42a7dfcc662e10f2adac1c035226bc923a76b3def24c09e1 |