Skip to main content

Language

kadrovik

PyPI PyPI - License PyPI - Python Version

Python module for take frames from video


Installation

Package Installation from PyPi

$ pip install kadrovik-g4

Package Installation from Source Code

The source code is available on GitHub.
Download and install the package:

$ git clone https://github.com/Genzo4/kadrovik
$ cd kadrovik
$ pip install -r requirements.txt
$ pip install .

Basic usage

  • Import:

from kadrovik_g4 import Kadrovik
  • Create instance:

Create an instance of the Kadrovik. You can specify additional options:

  • video - input video. Default value: ''
  • frame_n - extract frame number. Default value: 5
  • out_path - Path to output frames. Default value: 'frame_%d.png'
kadrovik = Kadrovik(frame_n=5, out_path='frames/frame_%d.png')
  • Extract frames

kadrovik.process('input.ts')

See the example.py file for an example of usage.

Changelog


Language

kadrovik

PyPI PyPI - License PyPI - Python Version

Python модуль для извлечения кадров из видео.


Установка

Установка пакета с PyPi

$ pip install kadrovik-g4

Установка пакета из исходного кода

Исходный код размещается на GitHub.
Скачайте его и установите пакет:

$ git clone https://github.com/Genzo4/kadrovik
$ cd kadrovik
$ pip install -r requirements.txt
$ pip install .

Использование

  • Подключаем:

from kadrovik_g4 import Kadrovik
  • Создаём экземпляр

Создаём экземпляр Kadrovik. Можно указать дополнительные параметры:

  • video - входное видео. Значение по умолчанию: ''
  • frame_n - номер извлекаемых кадров. Значение по умолчанию: 5
  • out_path - имя (и путь) извлекаемых кадров. Используется подстановка %d. Значение по умолчанию: 'frame_%d.png'
kadrovik = Kadrovik(frame_n=5, out_path='frames/frame_%d.png')
  • Извлекаем кадры

kadrovik.process('input.ts')

Пример использования см. в файле example.py

Changelog

Metadata

Release files for kadrovik-g4 1.1.1

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

Source distribution (sdist)

Source distribution for kadrovik-g4 1.1.1
File Size Uploaded Provenance Actions
kadrovik_g4-1.1.1.tar.gz 5.5 kB Without provenance Details for kadrovik_g4-1.1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for kadrovik-g4 1.1.1
File Interpreter ABI Platform Actions
kadrovik_g4-1.1.1-py3-none-any.whl Python 3 none any Details for kadrovik_g4-1.1.1-py3-none-any.whl

Total release size: 10.4 kB

Release files / kadrovik_g4-1.1.1.tar.gz

Download URL kadrovik_g4-1.1.1.tar.gz
Size 5.5 kB
Tags Source
SHA-256 checksum
How to use checksums
b4485954b7f657c7f9ecd59af8c9c91278d78d4b5507c6c17ae914c047d44063
BLAKE2b-256 checksum
How to use checksums
6a12f7b9de311dcffe986eb74e4d2b279ceea081eefc51d74fa3eee56844d751
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.4

Release files / kadrovik_g4-1.1.1-py3-none-any.whl

Download URL kadrovik_g4-1.1.1-py3-none-any.whl
Size 4.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a0ed2cf545c1e87aee0d5afd78f90c9eed50e8b791a660c0cf9d5a243fcbd0af
BLAKE2b-256 checksum
How to use checksums
d11250eaf45cdd458ee8187261dd50520e248a73baec03d5fe0dbeeff6babe6c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.4

Security for kadrovik-g4 1.1.1

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