Skip to main content

A collection of tools for image processing

Project description

PyVisionTools

PyVisionTools is a Python library for image processing, offering convenient tools to enhance your vision-related projects.

Installation

You can install PyVisionTools using pip:

pip install PyVisionTools

Features

ImageProcessor

  • Resize Images: Easily resize images with the resize_image method.
from PyVisionTools.src import tools

loader = tools.image_processor.ImageLoader()
processor = tools.image_processor.ImageProcessor()
saver = tools.image_processor.ImageSaver()

image_url = "https://example.com/your_image.jpg"
img = loader.open_image_from_url(image_url)

if img:
  new_width, new_height = 500, 300
  resized_img = processor.resize_image(img, new_width, new_height)

  print(f"New Width: {new_width}, New Height: {new_height}")

saver.save_image(resized_img, "resized_image.jpg")

License

This project is licensed under the MIT Lic

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

PyVisionTools-0.0.2.tar.gz (2.1 kB view details)

Uploaded Source

File details

Details for the file PyVisionTools-0.0.2.tar.gz.

File metadata

  • Download URL: PyVisionTools-0.0.2.tar.gz
  • Upload date:
  • Size: 2.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.12.0

File hashes

Hashes for PyVisionTools-0.0.2.tar.gz
Algorithm Hash digest
SHA256 02c4c9f624e907ce0eb9c95e1bb7d41dc372eee190cb98321827d6fd0b255edb
MD5 8ca939184019558254965f2a9982b1b4
BLAKE2b-256 3bf72b0208f672da4713505524d5b6822901d407dda932119ef7c5641517050f

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