Skip to main content

Build Status Python 3.6

Video Razor

1 2 3
alt text alt text alt text
4 5 6
alt text alt text alt text
7 8 9
alt text alt text alt text

A package for slicing a video into N**2 sections.

The original use-case was to process higher-definition videos, split up, through Deep Learning models. This allows for easier detection of smaller objects.


Install

pip install video-razor

Usage

The class input file name, output file name, and the cross sections you'd like to split the video in. e.g. 3 will produce an output of 9 videos - 3 horizontal, 3 vertical.

The output file name should NOT contain a suffix as this will be appended during processing.

input_file = 'data/input/sample.mp4'
output = 'data/output/out'
razor = VideoRazor(input_file, output, 3)
razor.slice()

Release files for video-razor 0.0.3

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

Source distribution (sdist)

Source distribution for video-razor 0.0.3
File Size Uploaded
video_razor-0.0.3.tar.gz 3.5 kB Details

Release files / video_razor-0.0.3.tar.gz

Download URL video_razor-0.0.3.tar.gz
Size 3.5 kB
Tags Source
SHA-256 checksum
How to use checksums
d3320cc75ce48d7b5bd774e81a852b8e9fe42c0dfc46f66bfff6ee47c106e306
BLAKE2b-256 checksum
How to use checksums
85f6fc49d79aca771881d633e3f9f0610adbc242fa52355878b2eae77ca64376
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.5

Release history Release notifications | RSS feed

This release

0.0.3 This release

1 release file

0.0.2

1 release file

0.0.1

1 release file

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