Git Product home page Git Product logo

cognitive-services-spatial-analysis's Introduction

Project Name

Computer Vision for Spatial Analysis

Features

This project framework provides the following features:

  • Sample web application for People Counting Accelerator with spatial analysis

Getting Started

Prerequisites

  • Create an Azure subscription.
  • Create a Computer Vision resource in the Azure portal.
  • Deploy an Azure IoT Hub resource in the Azure portal.
  • Install the spatial analysis container on Azure IoT Hub and Azure IoT Edge.
  • Configure the spatialanalysis operations as documented in this article.
  • Get familiar with the JSON output schema for the spatial analysis events at this article.

For a tutorial on how to use this application see this article.

Installation

Demo

Person Count Accelerator App

Use the web application in this project to integrate the output of the spatial analysis container and understand the count of people occupying a physical space. The application parses the AI Insight JSON output by the spatial analysis container and determine the “person count” and “latency”, then it updates a chart UI. To determine the latency, the app inspects the AI Insight timestamp which indicates when the AI Insight event has been generated on the edge device and calculates the latency.

To run the demo, follow these steps:

  1. Clone the repository
  2. Open the Person Count AcceleratorApp forlder from the cloned repository folder in VScode
  3. Press ctrl+shift+b and select the "npm install" task to install dependencies
  4. Retrieve the EventHubConsumerGroup and IotHubConnectionString from your Azure IoT Hub resource on Azure portal.
  5. Enter the values in the "EventHubConsumerGroup" and "IotHubConnectionString" fields at .vscode/launch.json
  6. Press [F5] to launch the app
  7. Navigate to localhost:3000 in your browser to see the app in action

Resources

cognitive-services-spatial-analysis's People

Contributors

libwander avatar microsoft-github-operations[bot] avatar microsoftopensource avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.