
Security News
Crates.io Implements Trusted Publishing Support
Crates.io adds Trusted Publishing support, enabling secure GitHub Actions-based crate releases without long-lived API tokens.
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.
To install framawarp, run the following command:
pip install framawarp
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)
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)
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.
This project is licensed under the MIT License - see the LICENSE file for details.
If you have any questions or suggestions, please feel free to reach out to the maintainer.
FAQs
Image manipulation on steroids
We found that framawarp demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Security News
Crates.io adds Trusted Publishing support, enabling secure GitHub Actions-based crate releases without long-lived API tokens.
Research
/Security News
Undocumented protestware found in 28 npm packages disrupts UI for Russian-language users visiting Russian and Belarusian domains.
Research
/Security News
North Korean threat actors deploy 67 malicious npm packages using the newly discovered XORIndex malware loader.