Gravicode.MediaPipeNet.Tasks.Text 1.0.0

dotnet add package Gravicode.MediaPipeNet.Tasks.Text --version 1.0.0
                    
NuGet\Install-Package Gravicode.MediaPipeNet.Tasks.Text -Version 1.0.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="Gravicode.MediaPipeNet.Tasks.Text" Version="1.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Gravicode.MediaPipeNet.Tasks.Text" Version="1.0.0" />
                    
Directory.Packages.props
<PackageReference Include="Gravicode.MediaPipeNet.Tasks.Text" />
                    
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 Gravicode.MediaPipeNet.Tasks.Text --version 1.0.0
                    
#r "nuget: Gravicode.MediaPipeNet.Tasks.Text, 1.0.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 Gravicode.MediaPipeNet.Tasks.Text@1.0.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=Gravicode.MediaPipeNet.Tasks.Text&version=1.0.0
                    
Install as a Cake Addin
#tool nuget:?package=Gravicode.MediaPipeNet.Tasks.Text&version=1.0.0
                    
Install as a Cake Tool

Gravicode.MediaPipeNet.Tasks.Text

Text tasks of MediaPipe.NET, ported from Google MediaPipe Tasks and running on ONNX Runtime:

  • TextClassifier — sentiment with MobileBERT (SST-2) or the tiny average word-embedding model.
  • TextEmbedder — 512-D MobileBERT sentence embeddings with cosine similarity.
  • LanguageDetector — 110 languages from character n-grams.

The tokenizers (BERT WordPiece, regex, n-gram hashing) reproduce MediaPipe's exactly.

using MediaPipeNet.Tasks.Text;

using var classifier = TextClassifier.Create();
Console.WriteLine(classifier.Classify("It's beautiful outside.").TopCategory); // positive

using var detector = LanguageDetector.Create();
Console.WriteLine(detector.Detect("Selamat pagi, apa kabar?").TopLanguage);   // id

Models come from Gravicode.MediaPipeNet.Models.Text (installed or downloaded on first use).


MediaPipe.NET — a native .NET 10 port of Google MediaPipe's tasks on ONNX Runtime. Created by Gravicode Studios, led by Kang Fadhil. Library: Apache-2.0. Model weights: © Google LLC, Apache-2.0. Documentation (English & Bahasa Indonesia): see the docs/ folder of the repository.

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (5)

Showing the top 5 NuGet packages that depend on Gravicode.MediaPipeNet.Tasks.Text:

Package Downloads
Gravicode.MediaPipeNet

MediaPipe.NET — native .NET port of Google MediaPipe (face detection, face mesh, hand tracking, gestures, pose, holistic, segmentation, interactive segmentation, object detection, image classification and embedding, audio classification, voice activity detection, text classification and embedding, language detection) on ONNX Runtime. This package bundles the CPU runtime (plus CoreML on macOS) and works on Windows, Linux and macOS. Created by Gravicode Studios, led by Kang Fadhil.

Gravicode.MediaPipeNet.DirectML

MediaPipe.NET with the DirectML (DirectX 12 GPU) ONNX Runtime for Windows — GPU acceleration on NVIDIA, AMD and Intel GPUs. Use instead of the MediaPipeNet package. Created by Gravicode Studios, led by Kang Fadhil.

Gravicode.MediaPipeNet.Extensions.DI

Microsoft.Extensions.DependencyInjection integration for MediaPipe.NET: services.AddMediaPipeNet(...).AddFaceDetector().AddHandLandmarker()... registers thread-safe task singletons for ASP.NET Core and Worker Services, wired to ILogger. Created by Gravicode Studios, led by Kang Fadhil.

Gravicode.MediaPipeNet.Cuda

MediaPipe.NET with the CUDA ONNX Runtime for NVIDIA GPUs on Windows and Linux (requires CUDA 12 and cuDNN 9). Use instead of the MediaPipeNet package. Created by Gravicode Studios, led by Kang Fadhil.

BigPipe.Analytics.Gravicode

Gravicode AI ecosystem for BigPipe realtime analytics: GravicodeScience (GraviNum, GraviFrame DataFrames, GraviLearn clustering and one-class SVM, GraviText sentiment), HF.Net transformers (classification, embeddings, semantic filters) and MediaPipe.NET text tasks (sentiment, language detection). Dibuat oleh Gravicode Studios dipimpin oleh Kang Fadhil.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.0 94 9/28/2026
0.3.0 84 9/27/2026