OpenVision.Web.Template 1.0.0.11-alpha

This is a prerelease version of OpenVision.Web.Template.
dotnet new install OpenVision.Web.Template::1.0.0.11-alpha
                    
This package contains a .NET Template Package you can call from the shell/command line.

OpenVision

Build Status
License

OpenVision is a powerful and modular Computer Vision SDK and full-stack web platform. It enables developers to build scalable, real-time, vision-powered applications for both desktop and web environments. With integrated support for authentication, containerization, and deployment, OpenVision accelerates your journey from prototype to production.


๐Ÿ“š Table of Contents


๐Ÿงฌ Overview

OpenVision offers both a versatile Computer Vision SDK and a production-ready web template (OpenVision.Web.Template) to streamline development of computer vision solutions.

๐Ÿ”ง Web Template Components

  • OpenVision.Server โ€“ Backend APIs and core logic
  • OpenVision.Client โ€“ ASP.NET Core frontend
  • OpenVision.IdentityServer โ€“ Authentication and authorization using Skoruba Duende IdentityServer
  • Docker & Aspire Integration โ€“ For containerized and cloud-native workflows

๐Ÿ”ฌ SDK Capabilities

  • Feature detection: AKAZE, ORB, SIFT, BRISK
  • Feature matching & homography estimation
  • Augmented Reality (AR) overlays
  • WebSocket support for real-time interactions
  • Cross-platform support (MAUI, WPF, WinUI)

๐Ÿš€ Features

Web Template

  • โœ… Modular, scalable architecture
  • ๐Ÿ” Integrated identity management (SSO, OAuth2, OIDC)
  • ๐Ÿณ Docker-ready for cloud and on-prem deployments
  • ๐Ÿงน Extensible for enterprise or startup use cases

SDK

  • ๐ŸŽฏ Feature Detection: AKAZE, ORB, BRISK, SIFT
  • ๐Ÿ”— Feature Matching: Brute Force, FLANN, etc.
  • ๐Ÿง  Homography & AR: Planar object detection, marker-based tracking
  • ๐Ÿ” Image Recognition: On-device or cloud-integrated
  • ๐Ÿ–ฅ๏ธ UI Frameworks: MAUI, WPF, WinUI
  • ๐Ÿ”„ Real-Time: Bi-directional vision task updates via WebSocket

๐Ÿงฐ Prerequisites

Ensure the following tools are installed:

  • .NET SDK 8.0+
  • Visual Studio 2022+ (with ASP.NET + Docker workloads)
  • Docker Desktop
  • Node.js (for frontend builds)
  • Git
  • mkcert (for local HTTPS)

๐Ÿ Getting Started

1. Install the Web Template

dotnet new install OpenVision.Web.Template

2. Create a New Project

dotnet new OpenVision.Web.Template -n MyOpenVisionApp

โ–ถ๏ธ Running the Project

Update Hosts File

Add these entries to your system's hosts file:

127.0.0.1 openvision.com www.openvision.com api.openvision.com auth.openvision.com account.openvision.com account-api.openvision.com
  • Linux: /etc/hosts
  • Windows: C:\Windows\System32\drivers\etc\hosts
Certificate Setup
Create the Root Certificate

Use mkcert to generate local self-signed certificates.

Note: On Windows, mkcert --install must be executed under elevated Administrator privileges.

cd shared/nginx/certs
mkcert --install
copy $env:LOCALAPPDATA\mkcert\rootCA-key.pem ./cacerts.pem
copy $env:LOCALAPPDATA\mkcert\rootCA.pem ./cacerts.crt
Create Certificates for openvision.com

Generate certificates for openvision.com including wildcards for subdomains. This ensures compatibility with the nginx proxy setup.

cd shared/nginx/certs
mkcert -cert-file openvision.com.crt -key-file openvision.com.key openvision.com *.openvision.com
mkcert -pkcs12 openvision.com.pfx openvision.com *.openvision.com
Start Services
docker-compose build
docker-compose up -d

๐Ÿ”น Option 2: Aspire AppHost (Cloud-native Dev)

cd src/OpenVision.Aspire.AppHost
dotnet run

๐Ÿ”น Option 3: Manual Startup (Debug/Dev Mode)

Start these projects individually:

  • OpenVision.Server
  • OpenVision.Client
  • OpenVision.IdentityServer.Admin
  • OpenVision.IdentityServer.STS.Identity
  • OpenVision.IdentityServer.Admin.Api

Use Visual Studio or dotnet run CLI.


๐Ÿ“ฆ Client Library Installation

Install JavaScript dependencies for IdentityServer UIs:

cd src/OpenVision.IdentityServer.Admin
npm install

cd src/OpenVision.IdentityServer.STS.Identity
npm install

For advanced identity customization, see the Skoruba IdentityServer Admin Guide.


๐Ÿค Contributing

We love contributions! To get started:

# Clone your fork
git clone https://github.com/YOUR_USERNAME/OpenVision.git
cd OpenVision

# Create a feature branch
git checkout -b feature/my-feature

# Push changes
git push origin feature/my-feature

Then open a pull request ๐Ÿš€


๐Ÿ“„ License

OpenVision is licensed under the MIT License โ€“ see the LICENSE file for details.


๐Ÿ™Œ Acknowledgments

  • OpenVision Community & Contributors
  • Inspired by modern .NET, DevOps, and Computer Vision engineering best practices
  • net8.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
1.0.0.11-alpha 324 4/13/2025
1.0.0.8-alpha 323 4/8/2025
1.0.0.7-alpha 315 4/1/2025
1.0.0.6-alpha 300 3/26/2025
1.0.0.5-alpha 623 3/25/2025
1.0.0.4-alpha 639 3/25/2025
1.0.0.3-alpha 258 3/21/2025