Mori.LocateAnythingSharp.Runtime.Cpu 0.1.0

dotnet add package Mori.LocateAnythingSharp.Runtime.Cpu --version 0.1.0
                    
NuGet\Install-Package Mori.LocateAnythingSharp.Runtime.Cpu -Version 0.1.0
                    
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="Mori.LocateAnythingSharp.Runtime.Cpu" Version="0.1.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Mori.LocateAnythingSharp.Runtime.Cpu" Version="0.1.0" />
                    
Directory.Packages.props
<PackageReference Include="Mori.LocateAnythingSharp.Runtime.Cpu" />
                    
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 Mori.LocateAnythingSharp.Runtime.Cpu --version 0.1.0
                    
#r "nuget: Mori.LocateAnythingSharp.Runtime.Cpu, 0.1.0"
                    
#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.
#:package Mori.LocateAnythingSharp.Runtime.Cpu@0.1.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Mori.LocateAnythingSharp.Runtime.Cpu&version=0.1.0
                    
Install as a Cake Addin
#tool nuget:?package=Mori.LocateAnythingSharp.Runtime.Cpu&version=0.1.0
                    
Install as a Cake Tool

Mori.LocateAnythingSharp.Runtime.Cpu

CPU-only native engine for Mori.LocateAnythingSharp (Windows x64). Runs on any modern x64 CPU - no GPU, no extra dependencies.

This package contains no managed code: it ships locate_anything.dll under runtimes/win-x64/native, and the .NET SDK copies it next to your application automatically.

Usage

Install together with the bindings package:

dotnet add package Mori.LocateAnythingSharp
dotnet add package Mori.LocateAnythingSharp.Runtime.Cpu

Then use the API as usual - the engine reports cpu as its device:

using Mori.LocateAnything;

using var engine = LocateEngine.Load("locate-anything-q8_0.gguf");
Console.WriteLine(engine.DeviceName);   // "cpu"

Expect several seconds per image on CPU. If the machine has an NVIDIA RTX GPU (20 series or newer), use Mori.LocateAnythingSharp.Runtime.Cuda instead for roughly an order of magnitude faster inference with automatic CPU fallback.

You also need the GGUF model weights (~6.3 GB, downloaded separately) - see the bindings package README or https://github.com/CristianMori/LocateAnythingSharp for details.

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

  • .NETStandard 2.0

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.1.0 141 7/26/2026