Giter VIP home page Giter VIP logo

remoteassistantar's Introduction

RemoteAssistantAR

This application is a Proof of Concept (POC) App for how to build a remote assistant app (similar to Vuforia Chalk) using AR Foundation and Agora.io's Video SDK. A complete tutorial is available on this blog.

Dependencies:

Project Integration:

  1. Clone this project

  2. Open the project from Unity 2019.2 or Above. (2019.3 recommended)

  3. Download and import the Agora Video SDK from Asset Store. Unselect everything in "demo" folder when importing, except the README files.

  4. Use Package Manager from Unity Editor to install ARFoundation /ARKit /ARCore. You may have to try and figure out what version of ARFoundation works for your Unity Editor version. Here are some verified version combinations.

Editor ARFoundation ARKit ARCore
2019.2 to 2019.4.18 3.0.1 3.0.1 3.0.1
2020.1.6 3.1.6 3.1.7 3.1.7
2020.2.5 4.0.12 4.0.12 4.0.12
2021.1.0 4.1.17 4.1.17 4.1.17

Note: in 2020.2.5, make sure to go into project settings XR Plug-in Management and select the XR plug-in providers you need for your project,otherwise you may get a blank camera screen.

  1. Open Main scene and input your AppID to the GameController game object. Note that we don't use AppID with certificate in this demo. But it is highly recommended you use one and implement tokens in your actual application for better security measures.

  2. Following the settings in README_ARFoundation, build and run on compatible iOS and Android devices to test.

Device Requirements

This app works with any iOS device that supports ARKit

  • iPhone (6S or newer)
  • iPad (5th Generation or newer) Or Android device that supports ARCore, which is Android 7 or above.

How To Use

The AR Remote Assistant app is meant to be used by two users who are in two separate physical locations. One user will input a channel name and CREATE the channel. This will launch a back facing AR enable camera. The second user will input the same channel name as the first user and JOIN the channel. Once both users are in the channel, the user that "JOINED" the channel has the ability to draw on their screen, and the touch input is sent to the other user and displayed in Augmented Reality. RemoteAssistantAR

Update 1

  • For testing with LiveBroadcasting Mode:

Screen Shot 2020-11-04 at 6 24 44 PM

  • Tap the Logo to switch modes. The Viewer button will only appear for LIVE_BROADCASTING mode.

Disclaimer

  • This is not the only approach to do AR Screen Sharing. Please contribute your ideas and make pull request if you have a better solution.
  • Agora assumes no responsibility of this demo app, working or not.

Known Issues

  • The drawn outlines may not be on the surface of target object; this is due to hardcoded Z-Positions of the placement. Please do not ask me how to solve this problem and instead show me how you solved it if you could.
  • There may be a few seconds delay when the two clients join the channel and start streaming.
  • You may experience long delays on lower end devices (e.g. iPhone 6s) if you try to screen record the CastAR Client.
  • This project is designed for running in 1-to-1 Communication mode. Please make your own modification for more users.

License

The MIT License (MIT).

remoteassistantar's People

Contributors

icywind 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.