Closed ceinem closed 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 :
Yes, sure. LuminOS version: 0.98.01 OpenCV for Unity: 2.3.8 Unity: 2019.2.20f1
Are you using MLSDK 0.23.0?
yes
Could you try the steps below?
Setup New Unity Project . https://developer.magicleap.com/learn/guides/unity-setup ( Import the Magic Leap Unity Package 0.23.0 )
Import the OpenCVForUnity2.3.8.
Import the MagicLeapWithOpenCVForUnityExample.unitypackage 1.0.5.
Check CameraCapture and ComputerVision checkbox in Publishing Settings. ( Minimum API Level 7 )
Check CameraCapture and ComputerVision checkbox in Privilege Requester.
If you get an error with Canvas, try disabling Canvas.
@ceinem were you able to find a solution for this blank screen issue?
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.
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.
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