Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/midnightsuyama/vec2img
convert OpenCV samples file to images
https://github.com/midnightsuyama/vec2img
Last synced: about 1 month ago
JSON representation
convert OpenCV samples file to images
- Host: GitHub
- URL: https://github.com/midnightsuyama/vec2img
- Owner: midnightSuyama
- Created: 2016-08-07T15:57:24.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2016-08-07T16:30:44.000Z (over 8 years ago)
- Last Synced: 2024-11-15T01:47:06.770Z (about 1 month ago)
- Language: Python
- Size: 7.81 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
Awesome Lists containing this project
README
=======
vec2img
=======.. image:: https://travis-ci.org/midnightSuyama/vec2img.svg?branch=master
:target: https://travis-ci.org/midnightSuyama/vec2img.. image:: https://badge.fury.io/py/vec2img.svg
:target: https://badge.fury.io/py/vec2imgconvert OpenCV samples file to images
------------
Installation
------------::
$ pip install vec2img
-----
Usage
-----::
$ vec2img samples.vec -o images -w 24 -h 24 -e png
----
Help
----::
$ vec2img --help
usage: vec2img -o OUT [-w WIDTH] [-h HEIGHT] [-e EXT] [--version] [--help] vec
convert OpenCV samples file to images
positional arguments:
vec vec file
optional arguments:
-o OUT, --out OUT output path (default: None)
-w WIDTH, --width WIDTH
image width (default: 24)
-h HEIGHT, --height HEIGHT
image height (default: 24)
-e EXT, --ext EXT image extension (default: png)
--version show program's version number and exit
--help show this help message and exit