Giter Club home page Giter Club logo

hololens-webvr-holographic-object-detection's Introduction

hololens-webvr-holographic-object-detection

Detection of real-life objects and holographic labelling using Microsoft Hololens.

Authors

  • Usama Muneeb *
  • Lakshay Mutreja *
  • Manish Grover *

* University of Illinois at Chicago

Description

This is a web app using WebVR on the frontend and Python/Tensorflow at backend for processing real life objects and labeling them using an RCNN (Regions + CNN) network.

Labels are projected using holograms onto the Hololens display on top of real life objects.

Microsoft HoloLens 1

Requirements

You need:

  1. A computer capable of running Python and Tensorflow (nVidia GPU Required) *
  2. A WiFi router to connect both the computer and the HoloLens device onto the same network
  • For real-time performance, recommended minimum compute capability of GPU is 3.5

To run the server

Install Python 3.6.X and the following packages via pip:

pip install tensorflow-gpu # (tensorflow (the CPU version) may be too slow)
pip install flask flask_socketio Image

You will need to clone the tensorflow/models repository. Make sure to clone it and do not download a release version as it will not contain the research folder.

git clone https://github.com/tensorflow/models.git

You will then need to run the protoc compiler while in the /path/to/models/research/ directory:

protoc object_detection/protos/*.proto --python_out=.

Note: protoc can be downloaded for your platform here.

You need to add the following directories to your PYTHONPATH: path\to\models\research and path\to\models\research\object_detection.

To fire up the server, issue the following command while inside the root of the repository:

FLASK_APP=server.py flask run --host=0.0.0.0

To run the client

The web app can be accessed at port 5000. Check by pointing your browser to: localhost:5000.

To access it on your HoloLens or other Mixed Reality Headset that is supported by WebVR, make sure to connect both the headset and your computer running the server to the same WiFi.

Find the IP address of your machine by running ipconfig (on Windows) or ifconfig (on UNIX). Then point your browser on the headset to IP_ADDRESS:5000. You should see a rotating image that should show that your app is running successfully.

VR Mode

You may need to enable VR mode for your browser. On Microsoft Edge (default on HoloLens), you can go to about:flags and find the option to enable VR mode there.

You can then enter VR mode and enjoy realtime holographic object detection.

Tags

deeplearning objectdetection holographic headset microsoft hololens webvr python tensorflow

hololens-webvr-holographic-object-detection's People

Contributors

usamamuneeb avatar

Watchers

 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.