GoogleVRWithOpenCVForUnityE.../README.md

2.0 KiB

GoogleVR With OpenCVForUnity Example

Screen Shot

ScreenShot.jpg

Environment

Demo

Setup

  1. Download the latest release unitypackage. GoogleVRWithOpenCVForUnityExample.unitypackage
  2. Create a new Project. (GoogleVRWithOpenCVForUnityExample)
  3. Import OpenCVForUnity.
    • Setup the OpenCVForUnity. (Tools > OpenCV for Unity > Set Plugin Import Settings)
  4. Import MarkerBasedARExample.
  5. Import GoogleVRForUnity_xxxxxxx.unitypackage
  6. Import GoogleVRWithOpenCVForUnityExample.unitypackage
  7. Add the “Assets/GoogleVRWithOpenCVForUnityExample/*.unity” files to “Scenes In Build” list in “Build Settings” window.
  8. Set In PlayerSettings, at the bottom under Settings for iOS, click Resolution and Presentation to expand that panel. Set the Default Orientation to Auto Rotation, and then uncheck all of the Allowed Orientations for Auto Rotation except for Landscape Left.
  9. Configure build settings and player settings. (See Android and iOS)
  10. Build and Deploy to Android and iOS.

ProjectWindow.jpg
PlayerSettingsWindow.jpg

marker.png