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.

REQUIREMENTS

  1. cv2

  2. os

  3. matplotlib

  4. argparse

INSTALLATION

  1. From source

    git clone https://github.com/bikz05/cvutils.git
    cd cvutils
    python install setup.py
  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.

COMMAND LINE TOOLS

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 details)

Uploaded Source

File details

Details for the file cvutils-0.2.4.tar.gz.

File metadata

  • Download URL: cvutils-0.2.4.tar.gz
  • Upload date:
  • Size: 4.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for cvutils-0.2.4.tar.gz
Algorithm Hash digest
SHA256 45fd15a0eeb24546425df6cf7ee772ab9903cc6b3447c00fbbd6aee9f94464a7
MD5 662ebbf10af9f19209e60b4940a9503d
BLAKE2b-256 860d9300e304b7dafdd945fdf226e18c2a6f9bfe27745c7158d8fc8a61203574

See more details on using hashes here.

Supported by

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