Skip to main content

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

License

This project is licensed under the MIT License - see the LICENSE.md file for details.


Metadata

Release files for agl-frame2vid 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for agl-frame2vid 0.1.2
File Size Uploaded Provenance
agl_frame2vid-0.1.2.tar.gz 3.3 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for agl-frame2vid 0.1.2
File Interpreter ABI Platform
agl_frame2vid-0.1.2-py3-none-any.whl Python 3 none any Details

Total release size: 7.1 kB

Release files / agl_frame2vid-0.1.2.tar.gz

Download URL agl_frame2vid-0.1.2.tar.gz
Size 3.3 kB
Tags Source
SHA-256 checksum
How to use checksums
eb8664ce4012780b4a752d9ecc7867b408dfdebce487c47736069aca31a21a58
BLAKE2b-256 checksum
How to use checksums
2063c10f7ad61eee9e2b2f7f6de43ac568d7bd3281c46884628bbd3bda02dd22
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.6.1 CPython/3.12.0 Windows/11

Release files / agl_frame2vid-0.1.2-py3-none-any.whl

Download URL agl_frame2vid-0.1.2-py3-none-any.whl
Size 3.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
aea4e39658bde753594f0d15431680561aa7dfa4beb29916693f911dd22439eb
BLAKE2b-256 checksum
How to use checksums
1a5ef5fdff92115f42a7dfcc662e10f2adac1c035226bc923a76b3def24c09e1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.6.1 CPython/3.12.0 Windows/11

Security for agl-frame2vid 0.1.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page