The XR app is implemented on the top of webxr-polyfill framework.
Apps are hosted on https://shaon-webxr.herokuapp.com
(this repo is exported from the common repo with other experiments https://github.com/shaondebnath/Web-base-Augmented-reality-with-Object-detection.git)
The game is developed on unstable version of webxr-polyfill. for more information please go through webxr-polyfill Framework from https://github.com/mozilla/webxr-polyfill
npm install # downloads webpack and an http server
npm start # builds the polyfill in dist/webxr-polyfill.js and start the http server in the current directory
Using one of the supported browsers listed below, go to http://YOUR_HOST_NAME:8080/
Demo Videos playlist: https://www.youtube.com/watch?v=5aqUpPg2XOE&list=PLxchafb_QYe7kxxKm8bc1vkpz3yBo5i6g
Using this app you can detect the TV, on tap a virtual remote will be appeared. you can control your TV using this virtual remote.
Or if it is an computer you will be able to click on any place just by tapping on the display of the mobile.
To test this app, you also will need to run another server to control tv or computer
Go inside the folder TVServer, Edit the IP Address of the TV in config.json
"tv": "192.168.1.4"
Then,
npm install
npm start
Now in console, the ipaddress and its port will be printed after successfully run the server.
Edit the IP address on appstore\tvdetection\index.html
var remoteURLPort = 'http://192.168.1.11:3000';
Now you are ready to test the app.
Run XR viewer, browse http://YOUR_HOST_NAME:8080/
And select "Detect TV/Monitor & Control"
Demo video can be found at
https://www.youtube.com/watch?v=FD9GUE2YVmQ (Recording from different camera)
https://www.youtube.com/watch?v=U0gaCOzle7g (Mobile Screen Recording)
Go inside the Mouse-Control-Server
npm install
npm start
Now in console, the ipaddress and its port will be printed after successfully run the server.
Edit the IP address on appstore\tvdetection\index.html
var remoteURLPort = 'http://192.168.1.11:3000';
Now you are ready to test the app.
Run XR viewer and browse http://YOUR_HOST_NAME:8080/
And select "Detect TV/Monitor & Control"
Demo Video: https://www.youtube.com/watch?v=-gqAqwxphfs
Install XR Browser from Apple Store(iOS 11.0 or later) https://itunes.apple.com/us/app/webxr-viewer/id1295998056?mt=8
Step1: Install Tango Core (https://github.com/google-ar/arcore-android-sdk/releases/download/sdk-preview/arcore-preview.apk) (also can be found in google play store)
Step2: Install Browser: WebARonARCore (https://github.com/google-ar/WebARonARCore/raw/webarcore_57.0.2987.5/apk/WebARonARCore.apk)
Supported devices list can be found at https://developers.google.com/ar/discover/supported-devices