Observed since 21 Oct, 09:14 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
Extracts frames from .mov files
agl_frame_extractor is a Python package designed to extract individual frames and metadata from .MOV video files. This package is highly useful for researchers and clinicians who require frame-by-frame analysis of video data. With applications ranging from medical research to training simulations, the package aims to improve standards and classifications in gastrointestinal endoscopy by enhancing objectivity and reproducibility.
To install this package, clone the repository and run the following command in the repository root:
pip install -e .
from video_frame_extractor.extractor import VideoFrameExtractor
input_folder = "input_videos"
output_folder = "output_frames_metadata"
extractor = VideoFrameExtractor(input_folder, output_folder)
extractor.extract_frames_and_metadata()
# If you want to extract png files instead of jpgs:
input_folder = "input_videos"
output_folder = "output_frames_metadata"
extractor = VideoFrameExtractor(input_folder, output_folder, image_format='png')
extractor.extract_frames_and_metadata()
To enable multithreading for faster frame extraction:
from video_frame_extractor.extractor import VideoFrameExtractor
input_folder = "input_videos"
output_folder = "output_frames_metadata"
extractor = VideoFrameExtractor(input_folder, output_folder, use_multithreading=True)
extractor.extract_frames_and_metadata()
The package generates a log file video_frame_extraction.log in the directory where it is executed. This log file contains detailed information about the extraction process.
We welcome contributions to improve this package. Please follow the standard GitHub pull request process. Make sure to document your code thoroughly, keeping in mind that the package targets an academic audience focused on research.
Download counts and popularity will appear here as the collector receives them.
| Version | Published | Direct dependencies | Open version |
|---|---|---|---|
| 0.2.1 | 14 Oct 2024 | 2 |
This describes our collected data; it is not a security assessment.
Observed since 21 Oct, 09:14 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package:0509793081157ce375c98a4657aea123185f2c86c097f8dc3e99970528ef9731