EnoxSoftware / MagicLeapWithOpenCVForUnityExample

MagicLeap with OpenCVforUnity Example
20 stars 8 forks source link

MagicLeapArUcoExample is just a blank screen #8

Closed ceinem closed 4 years ago

ceinem commented 4 years ago

The Image Capture examples works find, but in the Aruco Tracker Example I just get a blank screen. This might be a similar issue as #6

Looking at the Debug Console is raises issues with the Canvas. That in VR mode the Canvas might not be visible. My attempts at changing the Canvas settings to fix it failed so far though

EnoxSoftware commented 4 years ago

Thank you very much for reporting.

Could you tell me the environment you tried? LuminOS version : OpenCV for Unity version : Unity version :

ceinem commented 4 years ago

Yes, sure. LuminOS version: 0.98.01 OpenCV for Unity: 2.3.8 Unity: 2019.2.20f1

EnoxSoftware commented 4 years ago

Are you using MLSDK 0.23.0?

ceinem commented 4 years ago

yes

EnoxSoftware commented 4 years ago

Could you try the steps below?

  1. Setup New Unity Project . https://developer.magicleap.com/learn/guides/unity-setup ( Import the Magic Leap Unity Package 0.23.0 )magicleap_xr_management

  2. Import the OpenCVForUnity2.3.8.

  3. Import the MagicLeapWithOpenCVForUnityExample.unitypackage 1.0.5.

  4. Check CameraCapture and ComputerVision checkbox in Publishing Settings. ( Minimum API Level 7 )magicleap_manifest

  5. Check CameraCapture and ComputerVision checkbox in Privilege Requester.magicleap_privilege

If you get an error with Canvas, try disabling Canvas.

magicleap_canvas
artiransaygin commented 4 years ago

@ceinem were you able to find a solution for this blank screen issue?

EnoxSoftware commented 4 years ago

It seems that the API has changed significantly in Lumin SDK 0.24. I'm in the process of fixing MagicLeapWithOpenCVForUnityExample. I am terribly sorry, but please wait for a while.

ceinem commented 4 years ago

Sorry, I never got it running, but I took the code apart and repurposed what I needed for my project. So I don't need the example anymore.

Also I've been told, that there is now a native Aruco tracker in the Lumin SDK. MLArucoTrackerCreate() or something like that is the API apparently. But I haven't tested it yet.