OPCFoundation.NetStandard.Opc.Ua.Vision.Server 2.0.2

Prefix Reserved
dotnet add package OPCFoundation.NetStandard.Opc.Ua.Vision.Server --version 2.0.2
                    
NuGet\Install-Package OPCFoundation.NetStandard.Opc.Ua.Vision.Server -Version 2.0.2
                    
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="OPCFoundation.NetStandard.Opc.Ua.Vision.Server" Version="2.0.2" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="OPCFoundation.NetStandard.Opc.Ua.Vision.Server" Version="2.0.2" />
                    
Directory.Packages.props
<PackageReference Include="OPCFoundation.NetStandard.Opc.Ua.Vision.Server" />
                    
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 OPCFoundation.NetStandard.Opc.Ua.Vision.Server --version 2.0.2
                    
#r "nuget: OPCFoundation.NetStandard.Opc.Ua.Vision.Server, 2.0.2"
                    
#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 OPCFoundation.NetStandard.Opc.Ua.Vision.Server@2.0.2
                    
#: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=OPCFoundation.NetStandard.Opc.Ua.Vision.Server&version=2.0.2
                    
Install as a Cake Addin
#tool nuget:?package=OPCFoundation.NetStandard.Opc.Ua.Vision.Server&version=2.0.2
                    
Install as a Cake Tool

Opc.Ua.Vision.Server

Server hosting for OPC 40100-1 and the Perception model.

Released support is opt-in through VisionServerOptions.MachineVisionParts. MachineVisionSystemHandle binds control, steps, conditions, recipes/configurations, results, and file transfer to an injectable IMachineVisionOperationsProvider and bounded or persistent IMachineVisionStore. Opc.Ua.MachineVision.Server supplies MachineVisionAssetBuilder for Part 2 inventory/health and AddVisionToMachinery for single-owner composition. See the Machine Vision guide.

The package materialises the well-known Vision object under the Server object (i=2253), exposes fluent APIs to describe sensors, coordinate frames, calibrations, media endpoints and inference pipelines, and wires host-supplied providers behind the model's methods so a Server never hard-codes a particular camera, scene or model.

What it gives you

  • AddVision() — registers the stock VisionNodeManager and factory in the Generic Host pipeline. Its default wire model requires only UA core; Part 2 hosts additionally call AddMachineVision() from Opc.Ua.MachineVision.Server.
  • ConfigureVision(...) / ConfigureVisionFor<TNodeManager>(...) — fluent configurator that runs on server start.
  • VisionNodeManager / VisionNodeManagerFactory — standalone node manager for direct construction and for hosting extensions.
  • IVisionModelProvider — deterministic composition of additional compiled Vision-namespace providers.
  • IVisionMediaProvider, IVisionInferenceProvider, IVisionFeedbackSink — the provider abstractions a host implements to supply media (streams, clips), run inference, and receive off-server feedback.
  • IVisionBuildContext and its IVisionNodeBuilder — the fluent surface for adding coordinate frames, calibrations, sensors, media endpoints, inference pipelines and feedback objects to the address space.
  • Facet derivation from the materialised address space, published in Server.ServerCapabilities.ServerProfileArray (VIS-Base, VIS-Media-, VIS-Calibration, VIS-Result-, VIS-Feedback, VIS-Inference-OnServer / VIS-Inference-OffServer, VIS-Simulation, VIS-Learning).

Example

using Microsoft.Extensions.Hosting;
using Opc.Ua;
using Opc.Ua.Server;
using Opc.Ua.Vision;
using Opc.Ua.Vision.Server;
using Opc.Ua.Vision.Server.Builders;

builder.Services
    .AddOpcUa()
    .AddServer(options => options.EndpointUrls.Add("opc.tcp://localhost:62855/VisionServer"))
    .AddVision(options => options.InstanceNamespaceUri = "urn:example:vision:instances")
    .AddVisionMediaProvider<MyMediaProvider>(sensorBrowseName: "Camera01")
    .AddVisionInferenceProvider<MyGroundTruthProvider>(
        pipelineBrowseName: "Detector",
        onServer: true)
    .ConfigureVision((context, ct) =>
    {
        IVisionNodeBuilder nodes = context.Nodes;

        nodes.AddFrame("World", f => f
            .WithFrameId("world")
            .WithRole(VisionFrameRoleEnum.World));

        nodes.AddFrame("Flange", f => f
            .WithFrameId("flange")
            .WithRole(VisionFrameRoleEnum.MechanicalInterface)
            .WithParent("world"));

        nodes.AddImageSensor("Camera01", s => s
            .WithSensorId("cam-01")
            .WithModality(VisionSensorModalityEnum.Area2D)
            .WithFrameId("flange")
            .WithResolution(1920u, 1080u)
            .WithPixelFormat("Mono8")
            .AddClipEndpoint("Clips", ep => ep
                .WithEndpointId("clip-01")
                .WithClipFormat(VisionClipFormatEnum.Png)
                .WithResolution(1920u, 1080u)
                .WithInlineDelivery(enabled: true, maxInlineClipSize: 8_388_608u)));

        nodes.AddPipeline("Detector", pipe => pipe
            .WithPipelineId("pipe-01")
            .WithSensor(NodeId.Null));

        return ValueTask.CompletedTask;
    });

Provider abstractions

  • Implement IVisionMediaProvider on the host to serve media without putting pixels on OPC UA. GetStreamAsync returns a leased URI; GetClipAsync returns a VisionImageReferenceDataType and, when the caller asks for inline delivery and the encoded bytes fit the effective limit, an inline ByteString. The §6.4 Bad_NotSupported / Bad_NoDataAvailable / Bad_EncodingLimitsExceeded states are all observable by a client through LatestClip while LatestClipMetadata keeps returning the URI.
  • Implement IVisionInferenceProvider to bind a pipeline to whatever actually computes results — on the Server, on an edge GPU, in the cloud, or in a simulator. The Server publishes the result nodes and applies the spec's method conventions regardless of where inference runs.
  • Implement IVisionFeedbackSink to receive SubmitDetections, SubmitInspectionResult, SubmitCorrection and SubmitImageReference. Off-server VLM agents publish through this path, and the Server records what it did not compute.
Package Adds
OPCFoundation.NetStandard.Opc.Ua.Vision Source-generated Vision model (required)
OPCFoundation.NetStandard.Opc.Ua.Vision.Client High-level client for the same model
OPCFoundation.NetStandard.Opc.Ua.Vision.OpenUsd A reference ISceneCameraCaptureProvider that renders a UsdGeomCamera offscreen and reports NoRenderingBackend on CI
OPCFoundation.NetStandard.Opc.Ua.Mcp.Vision MCP tools that let a language-model agent drive a Vision server

See the Vision developer guide for the hosting-API table, the full topology-builder surface, the two perception paths (OnServer vs EdgeOffServer), facet derivation and the bin-picking sample.

The namespace http://opcfoundation.org/UA/Vision/ and every NodeId in it are provisional. The model is a working-group draft.

Versioning

This package follows the repository root version without a forced-preview override. Development builds still use the root prerelease version. The optional Opc.Ua.Vision.OpenUsd renderer remains preview-only. Released-model hosting is opt-in. The Perception specification is a draft.

License

OPC Foundation MIT License 1.00 — http://opcfoundation.org/License/MIT/1.00/

Product Compatible and additional computed target framework versions.
.NET 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.  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.  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. 
.NET Framework net48 is compatible.  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 OPCFoundation.NetStandard.Opc.Ua.Vision.Server:

Package Downloads
OPCFoundation.NetStandard.Opc.Ua.MachineVision.Server

OPC 40100-2 Machine Vision asset management and condition monitoring, with generated fluent accessors, transactional telemetry updates and shared DI/Machinery hosting.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
2.0.2 129 11/11/2026
2.0.1-preview.200 73 10/12/2026
2.0.0-preview.200 69 10/7/2026
2.0.0-preview.6 61 9/30/2026
2.0.0-preview.5 78 9/17/2026
2.0.0-preview.4 77 9/2/2026