TorchImage 0.0.1

dotnet add package TorchImage --version 0.0.1
                    
NuGet\Install-Package TorchImage -Version 0.0.1
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="TorchImage" Version="0.0.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="TorchImage" Version="0.0.1" />
                    
Directory.Packages.props
<PackageReference Include="TorchImage" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add TorchImage --version 0.0.1
                    
#r "nuget: TorchImage, 0.0.1"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#addin nuget:?package=TorchImage&version=0.0.1
                    
Install TorchImage as a Cake Addin
#tool nuget:?package=TorchImage&version=0.0.1
                    
Install TorchImage as a Cake Tool

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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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