TorchImage 0.0.1
dotnet add package TorchImage --version 0.0.1
NuGet\Install-Package TorchImage -Version 0.0.1
<PackageReference Include="TorchImage" Version="0.0.1" />
<PackageVersion Include="TorchImage" Version="0.0.1" />
<PackageReference Include="TorchImage" />
paket add TorchImage --version 0.0.1
#r "nuget: TorchImage, 0.0.1"
#addin nuget:?package=TorchImage&version=0.0.1
#tool nuget:?package=TorchImage&version=0.0.1
TorchImage
TorchImage is a .NET library that seamlessly integrates powerful image processing capabilities into TorchSharp using SixLabors.ImageSharp. It provides datasets and utilities for loading and transforming images, making it easier to work with image data in machine learning and computer vision projects.
Features
- Load images from folders and apply transformations.
- Support for various image formats including PNG, JPG, JPEG, BMP, GIF, TIFF, and WEBP.
- Integration with TorchSharp for tensor operations.
- Easy-to-use dataset classes for image loading and processing.
Installation
To install TorchImage, add the following package references to your .NET project:
<PackageReference Include="TorchImage" Version="0.0.1" />
Usage
ImageFolderDataset
The
ImageFolderDataset
class allows you to load images from a folder and apply transformations.SimpleImageDataset
The
SimpleImageDataset
class allows you to load images from a specified root path and apply transformations.
License
This project is licensed under the MIT License. See the LICENSE file for details.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. |
-
net9.0
- SixLabors.ImageSharp (>= 3.1.6)
- TorchSharp (>= 0.105.0)
- TorchVision (>= 0.105.0)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on TorchImage:
Package | Downloads |
---|---|
TorchImage.WinForms
TorchImage.WinForms provides a default WinForms ImageViewer for TorchSharp with TorchImage |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
0.0.1 | 151 | 2/24/2025 |