VisioForge.DotNet.Core.AI 2026.11.21

There is a newer version of this package available.
See the version list below for details.
dotnet add package VisioForge.DotNet.Core.AI --version 2026.11.21
                    
NuGet\Install-Package VisioForge.DotNet.Core.AI -Version 2026.11.21
                    
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="VisioForge.DotNet.Core.AI" Version="2026.11.21" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="VisioForge.DotNet.Core.AI" Version="2026.11.21" />
                    
Directory.Packages.props
<PackageReference Include="VisioForge.DotNet.Core.AI" />
                    
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 VisioForge.DotNet.Core.AI --version 2026.11.21
                    
#r "nuget: VisioForge.DotNet.Core.AI, 2026.11.21"
                    
#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 VisioForge.DotNet.Core.AI@2026.11.21
                    
#: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=VisioForge.DotNet.Core.AI&version=2026.11.21
                    
Install as a Cake Addin
#tool nuget:?package=VisioForge.DotNet.Core.AI&version=2026.11.21
                    
Install as a Cake Tool

VisioForge.DotNet.Core.AI information

The ONNX package adds ONNX Runtime based inference blocks for the MediaBlocks pipeline, including a generic ONNX inference block, a YOLO object detector block, object analytics (multi-object tracking, tripwire, polygon zones), an OCR block, and a license plate recognizer block.

Platform support

The package is referenceable from the full SDK framework matrix (.NET Framework 4.6.1+, .NET Core 3.1, and .NET 5 through .NET 10, including the Windows and mobile variants).

At runtime, inference requires an ONNX Runtime native build for the process architecture. ONNX Runtime ships native binaries for win-x64, win-arm64, linux-x64, linux-arm64, osx-arm64, android, and ios. There is no win-x86, osx-x64 (Intel Mac), or linux-musl (Alpine) native build — a 32-bit process, an Intel Mac, or a musl-based Linux container has no native runtime and will fail to load a session. The iOS/Android targets compile, but the YOLO drawing/inference path on mobile is best-effort and not fully tested.

GPU acceleration

On Windows the package uses the DirectML ONNX Runtime build, so inference runs on any DirectX 12 GPU (NVIDIA, AMD, or Intel) with no extra setup. The execution provider defaults to OnnxExecutionProvider.Auto, which selects the fastest backend present in the loaded native build and falls back to the CPU when no GPU is available.

  • Call the static OnnxInferenceEngine.GetAvailableProviders() to detect what is available (for example, it returns DmlExecutionProvider on a Windows DirectX 12 host).
  • Read YOLOObjectDetectorBlock.ActiveProvider (or OnnxInferenceBlock.ActiveProvider) after the block is built to see which provider actually engaged.
  • Set Provider explicitly (CPU, DirectML, CUDA, CoreML) to override the automatic choice. Requesting a provider that is not present logs a warning and transparently falls back to the CPU.

CUDA and CoreML acceleration require the matching ONNX Runtime native build, which is not bundled here; on non-Windows targets the package uses the base CPU build.

Samples

Sample applications are available on GitHub.

Deployment

Several SDKs are available for deployment inside this package. Please check the Help page for more information.

More information

Product Compatible and additional computed target framework versions.
.NET net5.0 is compatible.  net5.0-windows was computed.  net5.0-windows7.0 is compatible.  net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net6.0-windows7.0 is compatible.  net7.0 is compatible.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net7.0-windows7.0 is compatible.  net7.0-windows10.0.19041 is compatible.  net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net8.0-windows7.0 is compatible.  net8.0-windows10.0.19041 is compatible.  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-windows7.0 is compatible.  net9.0-windows10.0.19041 is compatible.  net10.0 is compatible.  net10.0-android was computed.  net10.0-android36.0 is compatible.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-ios26.0 is compatible.  net10.0-maccatalyst was computed.  net10.0-maccatalyst26.0 is compatible.  net10.0-macos was computed.  net10.0-macos26.0 is compatible.  net10.0-tvos was computed.  net10.0-windows was computed.  net10.0-windows7.0 is compatible.  net10.0-windows10.0.19041 is compatible.  net11.0 is compatible.  net11.0-android37.0 is compatible.  net11.0-ios27.2 is compatible.  net11.0-maccatalyst27.2 is compatible.  net11.0-macos27.2 is compatible.  net11.0-windows7.0 is compatible.  net11.0-windows10.0.19041 is compatible. 
.NET Core netcoreapp3.1 is compatible. 
.NET Framework net461 is compatible.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 is compatible.  net48 was computed.  net481 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 VisioForge.DotNet.Core.AI:

Package Downloads
VisioForge.DotNet.Core.AI.Whisper

VisioForge AI Whisper — local speech-to-text (Whisper ASR + Silero VAD) for live subtitles.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
2026.11.23 106 11/23/2026
2026.11.21 119 11/22/2026
2026.11.20 121 11/20/2026
2026.11.16 200 11/16/2026
2026.11.13 155 11/13/2026
2026.11.12 169 11/12/2026
2026.11.6 226 11/6/2026
2026.10.28 376 10/29/2026
2026.10.26 150 10/26/2026
2026.10.20 170 10/20/2026
2026.10.15 173 10/15/2026
2026.10.14 138 10/14/2026
2026.10.10 131 10/10/2026
2026.10.9 143 10/9/2026
2026.10.6 145 10/6/2026
2026.10.2 142 10/2/2026
2026.10.1 143 10/1/2026
2026.9.22 169 9/22/2026
2026.9.17 183 9/17/2026
2026.9.11 162 9/11/2026
Loading failed

* [Core] Added: `ScreenSourceBlock.GetDX9MonitorIndex(Screen)` returns the Direct3D 9 adapter index of a display, the value `ScreenCaptureDX9SourceSettings.Monitor` expects (it differs from the `Screen.AllScreens` order on a machine with more than one GPU), and `ScreenSourceBlock.GetMonitorSize(Screen)` returns a monitor's size in physical pixels at any DPI awareness.
* [Core] Changed: `VideoEffects_SetBrightness`, `VideoEffects_SetContrast` and `VideoEffects_SetSaturation` (`VideoCaptureCore`, `MediaPlayerCore`) take documented ranges where 0.0 means no change: -1.0..1.0 for brightness and contrast, -1.0 (grayscale)..0.0 for saturation; a value outside the range acts as its nearest end instead of inverting or corrupting the picture. `VideoEffects_SetSaturation(0.0)` now keeps the original colors, so subtract 1 from a value written for the old 0..1 scale. The contrast slider of the WPF video effects window can now lower contrast too.
* [Core] Changed: the trial FFMPEG Source DirectShow filter no longer shows a blocking "Unregistered version" dialog when it opens a file; it draws a "VisioForge FFMPEG Source - trial" watermark in the top-left corner of the video instead, and decodes in software. The Video Edit SDK .NET now unlocks an FFMPEG Source registered in the system when the application does not deploy the FFMPEG redist, so a licensed SDK shows no trial mark.
* [Core] Fixed: the MP4, WMV and image logo settings dialogs no longer pre-fill the encryption key file, the WMV profile and the logo image with paths that exist on no customer machine. `MP4SettingsDialog` shows a loaded key file and a binary key as they are, selects AES-256 for an AES-256 output, and no longer throws `NullReferenceException` for an output with no key or `FormatException` on the "enter hex data" placeholder.
* [Core] Fixed: a display selected through `ScreenSourceDialog.DisplayIndex` before the dialog was shown was lost - the dialog opened on the primary display.
* [Core] Fixed: on Linux with software OpenGL (Mesa llvmpipe - a VM, a container, a machine without a GPU driver), resizing the window of a playing `VideoView` no longer crashes the application under a debugger.
* [Core] Fixed: on 64-bit Windows, including the Unity player, a pad probe reported the wrong id, offset and size, so removing the probe by that id did nothing.
* [Media Blocks SDK .NET] Added: `WHEPServerSinkBlock` and `WHEPSourceBlock` on macOS (with `VisioForge.CrossPlatform.Core.macOS.Adds`) and on Linux x64/arm64 (with the new `VisioForge.CrossPlatform.Core.Linux.Adds.x64` / `.arm64` packages and the distribution's `gstreamer1.0-plugins-bad` and `gstreamer1.0-nice`). On Linux, `IsAvailable()` of the WHEP, WHIP and WebRTC blocks now returns `false` when those two distribution packages are missing, instead of the pipeline failing at start.
* [Media Blocks SDK .NET] Changed: `NVMJPEGEncoderSettings.CudaDeviceId` is removed - the `nvjpegenc` element never applied it, and the encoder always runs on the CUDA device of the upstream buffer.
* [Media Blocks SDK .NET] [Video Capture SDK .NET] [Video Edit SDK .NET] Changed: the default HLS and DASH output folders - `HLSSinkSettings` (`Location`, `InitLocation`, `PlaylistLocation`), `DASHSinkSettings.MPDFilename` (also used by `HLSOutput` and `DASHOutput` of `VideoCaptureCoreX`) and `HLSSettings.OutputFolder` - are now `VisioForge\hls\` and `VisioForge\dash\` in the user's Videos folder on Windows, and in the home folder elsewhere (the app's Documents folder on iOS). They pointed at `c:\inetpub\wwwroot\`, which a standard account cannot write, so an output started with the defaults failed. `HLSSinkSettings.PlaylistRoot` now defaults to null, so the playlist lists its segments relative to itself; set it to the URL your web server serves the segments at.
* [Media Blocks SDK .NET] Fixed: `MediaBlocksPipeline.StopAsync` no longer hangs forever when a capture source (camera, screen, window, microphone) stops delivering data, when its data is stuck behind a sink waiting on the clock (window-capture WebRTC, camera NDI), or when a `UniversalSourceBlock` or `FallbackSwitchSourceBlock` playing an HTTP URL is stuck downstream. The stop returns after at most its usual 10-second End-Of-Stream wait.
* [Media Blocks SDK .NET] Fixed: a recording made from a `WHEPSourceBlock` (to MP4, for example) is now finalized by `MediaBlocksPipeline.StopAsync`; the file used to be closed without its index, leaving an MP4 that does not open.
* [Media Blocks SDK .NET] Fixed: a screen or window captured with `ScreenSourceBlock` (Direct3D 11) and connected to `WebRTCSinkBlock` never reached the browser - the viewer page kept reconnecting with no picture.
* [Media Blocks SDK .NET] Fixed: `OverlayManagerFade` and `OverlayManagerPan` no longer snap back when their animation ends: a fade-out keeps the frame covered and a pan keeps its stop rectangle until the next effect of the same kind, and before the first one starts its initial state is shown.
* [Media Blocks SDK .NET] Fixed: an MPEG-TS output that splits into segments ignored `MPEGTSSinkSettings.Metadata`; the KLV packet is now written at the start of every segment file.
* [Video Capture SDK .NET] [Video Edit SDK .NET] Fixed: `FFMPEGEXEOutput` with its default video settings, or `BasicVideoSettings` with `VideoEncoder.H264` or `VideoEncoder.HEVC`, recorded an empty file. It now encodes with the Media Foundation H.264 / HEVC encoder at the settings' bitrate into the containers that carry it; other containers keep their own default codec. `BasicVideoSettings` with any other encoder (x264, x265, OpenH264, MPEG-2, NVENC, QSV, AMF) now uses that encoder at the settings' bitrate, and the H264 QSV and HEVC QSV choices of the FFMPEG.EXE settings dialog now encode with Quick Sync.
* [Video Capture SDK .NET] [Video Edit SDK .NET] Fixed: an `FFMPEGEXEOutput` recording or FFMPEG.EXE network stream the FFmpeg executable cannot encode - an encoder it is built without (`X264Settings` with the bundled `vfffmpeg64.exe`, for example) or settings that do not match the encoder - started and recorded nothing. The start now fails and `OnError` names the encoder and the executable; an FFmpeg that exits while running (a QSV, NVENC or AMF encoder on a PC without that GPU) is reported through `OnError` with FFmpeg's last error line.
* [Video Capture SDK .NET] [Video Edit SDK .NET] Fixed: the MP4 output with the NVENC encoder ignored `MP4Output.Video_NVENC.Codec = NVENCEncoder.HEVC` and always wrote H.264; it now writes HEVC, B-frames included. The NVENC and MP4 Muxer v10 DirectShow filters, sold separately, gain HEVC as well (`INVEncConfig.SetCodec`).
* [Video Capture SDK .NET] Fixed: the NVENC DirectShow encoder set to HEVC ignored the level passed to `INVEncConfig.SetLevel`; HEVC now takes the NVENC HEVC levels from 2.1 up, and a value that is no level of the selected codec lets the encoder choose instead of failing the start.
* [Video Capture SDK .NET] Fixed: the WinForms MP4 settings dialog threw `ArgumentOutOfRangeException` when `MP4Output.Video_NVENC` held a profile or level its lists do not hold; such a value now shows as Auto, and level 5.2 is in the list.
* [Video Capture SDK .NET] [Video Edit SDK .NET] Fixed: MP4 encryption no longer applies an empty binary key, which hashed to a key anyone could derive; "Encryption key not set!" is reported instead and the recording starts without encryption.
* [Video Capture SDK .NET] [Video Edit SDK .NET] Fixed: DirectShow WMV network streaming that fails while attaching its sink now names the failing step and the Windows error code, instead of only "Unable to configure WMV network streaming".
* [Video Capture SDK .NET] [Media Blocks SDK .NET] Fixed: an application that ships a newer Virtual Camera / Virtual Audio Card redist kept running an older build registered by another application or installer. An older registration is now replaced, a newer one is never downgraded, and `VirtualCameraSinkBlock.IsCOMRegistered()` reports an older registration as not current.
* [Video Capture SDK .NET] Fixed: `VideoCaptureCore` in audio capture mode could crash with an access violation on stop when recording to MP3, OGG Vorbis or Speex together with the virtual camera output, network streaming, Decklink output or timeshift.
* [Video Edit SDK .NET] Fixed: `VideoEditCore.FastEdit_ExtractAudioStreamAsync` never raised `OnProgress`, and an extraction starting at or past the end of the input reported success with an empty file; progress now follows the extracted window and such a start fails with an error. FFmpeg-based audio extraction, join and mux operations now also report progress for inputs of 24 hours or longer.
* [Video Edit SDK .NET] Fixed: `VideoEditCoreX` ignored the sink settings of an `MPEGTSOutput`, so `M2TSMode` had no effect; it now applies. MPEG-TS and MP4/M4A split settings and `MPEGTSSinkSettings.FileOutput = false` are refused at start with an error instead of silently writing one file.
* [Windows] Added: the SDK installer installs the VisioForge project templates (`dotnet new install VisioForge.DotNet.Templates`) when you click Finish, so Visual Studio 2026 lists them under Create a new project; this needs the .NET 10 SDK and an internet connection, and `manual_install.txt` in the install folder gives the command and the Visual Studio Marketplace extension for any other case.
* [Windows] Changed: the VLC Source DirectShow filter without a license no longer shows a blocking "Unregistered version" message box; it plays and draws a "TRIAL - VisioForge VLC Source" strip across the middle of the video. The SDKs, which license the filter themselves, are not affected.
* [Windows] Fixed: the VLC Source DirectShow filter dropped frames of a file whose picture stays still on a busy machine, so the video came out shorter than the file; it could turn the picture upside down when the downstream filter changed the video format, could corrupt memory when given a video buffer smaller than the picture or a license key longer than a VisioForge key, and crashed in `IVFRegister.SetLicenseKey` on a null key, which now returns E_POINTER.
* [Windows] Fixed: a DirectShow graph from the FFMPEG Source filter into a stock File Writer (an audio file encoded with LAME, for example) failed to stop, and the application hung on close.
* [Windows] Fixed: the SDK installer left no VisioForge entry in the Start menu. It now creates a "VisioForge SDKs .Net" folder with "Demos", "Documentation" and "Getting started", the demos are installed to `C:\Users\Public\Documents\VisioForge\.Net SDKs\Demos` so the link works for every account, and the verbose install log goes to `%TEMP%` instead of the desktop.
* [Demos] Added: the RTSP WHEP Camera Grid console demo (Media Blocks SDK) - RTSP cameras on a web page over WHEP from one console app on Windows, macOS and Linux.
* [Demos] Added: `webcam-mp4-short-console` - a Video Capture SDK X console sample that records the first video capture device to `webcam.mp4` until Enter is pressed.
* [Demos] Added: the `ndi-send-receive-wpf` Media Blocks SDK sample, the code of the NDI send and receive video tutorial - a WPF app that sends a webcam and its microphone over NDI with `NDISinkBlock` and plays any NDI sender on the network with `NDISourceBlock`, its audio when Play audio is ticked.
* [Demos] Added: the `ndi-send-short-console` and `ndi-receive-short-console` Media Blocks SDK samples, the code of the NDI send and receive short video - one console app plays a video file out over NDI, the other shows an NDI source by name in a window of its own and plays its audio when the source has audio.