Skip to main content

Tricks for Computer Vision Developers

Project description

CV_Tricks GitHub license PyPI PyPI - Python Version

CLI commands for making videos into images and vice versa.

Images from Video

Usage:
	img_frm_vid.py [-f][--file] [-d][--dir]

Required:
	[-f][--file]	input video file

Options:
	[-d][--dir]	path to output folder. Default is "images". Directory will be created if not exist.

Examples:
	
	img_frm_vid.py -f video.py
or
	img_frm_vid.py --file video.py --dir saved_images

Images to Video

Usage:
	img_to_vid.py [-f][--file] [-n][--name] [-e][--extension] [--fps] [-s][--size]


Required:
	[-f][--file]	input image directory

Options:
	[-n][--name]	name of video created. Default is "result".
	[-e][--extension] video file saving format. Default is "avi".
	[--fps] frame per second. Default is 25.
	[-s][--size] frame size of video. Default is (640,480)
	

Examples:
	
	img_to_vid.py -f images_directory
or
	img_to_vid.py --file video.py --size 1080 720

NOTE: This repository is under active development. New features coming soon!!!

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

CV_Tricks-0.0.5.tar.gz (4.5 kB view hashes)

Uploaded Source

Built Distribution

CV_Tricks-0.0.5-py3-none-any.whl (6.4 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page