microsoft/Cognitive-Samples-VideoFrameAnalysis

A library with sample apps for continuous analysis of live video, using the Microsoft Cognitive Services Vision APIs.

What it solves

This project provides a way to analyze video frames from a webcam in near-real-time. It simplifies the process of integrating Microsoft Cognitive Services Vision APIs (specifically the Computer Vision and Face APIs) to perform automated image analysis on a live video stream.

How it works

The project consists of a C# library called VideoFrameAnalyzer and two sample applications. It uses the OpenCvSharp package to capture frames from a webcam. The library allows developers to set a specific analysis function (such as calling the Face API) and a trigger interval (e.g., every 3 seconds) to automatically process frames and return analysis results.

Who it’s for

Developers using C# and Visual Studio who want to implement real-time video analysis using Microsoft's cloud-based vision services.

Highlights

  • Integrated support for Microsoft Computer Vision and Face APIs.
  • Near-real-time processing of webcam feeds.
  • Flexible analysis triggers based on time intervals.
  • Includes both a console application and a live camera application for demonstration.

Related

  • Project
  • Project
  • Project
  • Project