Coder Social home page Coder Social logo

danhoeg / terminator-vision Goto Github PK

View Code? Open in Web Editor NEW

This project forked from gdfonda/terminator-vision

0.0 0.0 0.0 9.77 MB

Code sample for Terminator Vision article on Building Apps for Windows: https://blogs.windows.com/buildingapps

C# 46.19% ShaderLab 52.20% HLSL 1.60%

terminator-vision's Introduction

Terminator Vision

This is a hololens application that uses the Microsoft Computer Vision API and overlays the result in a style similar to the movie Terminator. It can detect objects, faces, and OCR text.

See the Windows Blog post for more information

Screenshot

Some setup instructions

  1. Sign up for a Cognitive Services account and generate a subscription key for the Computer Vision API.
    If you already have an Azure account you can skip that and setup a Computer Vision App directly in your Azure subscription. To do that go directly to the Azure portal.

  2. Clone this repository with the --recursive flag. This will also get the appropriate version of the MRTK in the root folder for this project.

  3. Open a command prompt, navigate to the root folder for this project and execute this command:

    mklink /j .\Assets\HoloToolkit .\MixedRealityToolkit-Unity\Assets\HoloToolkit

    This will create a linked folder to the HoloToolkit in the Assets folder of the project. Now the MRTK is included in the project.

  4. Open the root folder of the project in Unity

  5. Open the main scene, which you kind find in the root of the Assets folder

  6. Select the HUD game object in the hierarchy and enter these fields for the Hud script:

    • Computer Vision key
      Get a key from the Keys page under Resource Management for your Computer Vision app in the Azure portal you created in step 1.
    • Computer Vision Endpoint
      The endpoint for your Computer Vision app in the Azure portal created in step 1. This can be found on the Overview page.
  7. Set the project settings using the Mixed Reality Toolkit menu Configure - Apply Mixed Reality Project Settings. Keep the defaults selected and click Apply.

  8. Open the Build Settings dialog File | Build Settings. Click on Add Open Scenes to add the main scene to your build.

  9. Build the UWP app from the Build Settings dialog. Create a new folder called Builds and select it.

  10. Open the solution in the Builds folder with Visual Studio.

  11. Set the configuration in the top bar to Debug and x86. Select Device if your Hololens is connected with a cable, Remote Machine if it's connected over WiFi or the Hololens Emulator.

  12. Build the solution in Visual Studio and deploy to your Hololens.

terminator-vision's People

Contributors

elbruno avatar gdfonda avatar jamesashley1 avatar mtirion avatar neon-ninja 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.