Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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/vec2img

convert 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