New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

framawarp

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

framawarp

Image manipulation on steroids

  • 0.1.2
  • PyPI
  • Socket score

Maintainers
1

framawarp

Description

framawarp is a Python library designed to simplify image manipulation tasks in computer vision projects. It provides a unified interface for wrapping NumPy arrays and PyTorch tensors, making it easy to work with images and perform operations such as color space conversions.

Installation

To install framawarp, run the following command:

pip install framawarp

Usage

Creating a Frame

You can create a Frame object by wrapping a NumPy array or a PyTorch tensor:

import numpy as np
from framawarp import Frame

image = np.random.rand(256, 256, 3)  # Example NumPy array
frame = Frame(image)

Manipulating Color Spaces

framawarp makes it easy to convert between different color spaces:

from framawarp import FrameColorSpace

# Convert from RGB to BGR
frame_bgr = frame.cast_color_space(FrameColorSpace.BGR)

# Convert from RGB to HSV with new frame
frame_hsv = frame.cast_color_space(FrameColorSpace.HSV, inplace=False)

Contributing

While we are not actively seeking contributions at the moment, we are always open to suggestions and improvements. Feel free to fork the repository and submit pull requests.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Contact

If you have any questions or suggestions, please feel free to reach out to the maintainer.

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc