Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

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.

Release History

This version
History Node


History Node


History Node


History Node


Download Files

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

Filename, Size & Hash SHA256 Hash Help File Type Python Version Upload Date
(4.4 kB) Copy SHA256 Hash SHA256
Source None Jun 12, 2015

Supported By

Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Google Google Cloud Servers