Skip to main content

Utilites for Computer Vision and Image Processing

Project description

This repository contains useful utilities to ease the task of creating computer vision and image processing projects. A number of command line tool have also been added to make the project useful for general use.


  1. cv2

  2. os

  3. matplotlib

  4. argparse


  1. From source

    git clone
    cd cvutils
    python install
  2. From PyPI

    pip install cvutils

    NOTE – You might need root access to install the package globally on Linux. Use the sudo prefix to solve this problem.


Resizing an image

To resize an image use the command-line tool cvutils-resize.

cvutils -i <path to image> -w <required width> -ht <required height>
  • The resuting image is saved in the same directory as the input image with the suffix -resized added before the extension.

  • Height (-ht) is optional and is automatically calculated if width is set to zero.

Interactive Crop

To crop an image use the command-line tool cvutils-crop.

cvutils-crop -i <path to image>
  • Multiple regions can also be cropped from the image using the script.

  • Selected regions can also be undone by pressing the d key.

  • To save the selects, press s key and to discard the selections press the q key.

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

cvutils-0.2.4.tar.gz (4.4 kB view hashes)

Uploaded source

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