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.2a1.tar.gz (2.1 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: PyVisionTools-0.0.2a1.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.2a1.tar.gz
Algorithm Hash digest
SHA256 3e75c1cbb14f3a7b307e137f5764ee6359d91e12b745e639d59924e151746fd5
MD5 5f6199b648cd4759135e40bcbcf877f2
BLAKE2b-256 4cc466012557c8b31f6a20f1284b592d59879eb3a44cc37bb619f7a9789c95af

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