Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice
  4. Dismiss Notice

Cloud reco in Unity 2017v3

Discussion in 'Vuforia' started by Jim_in_dorris, Jan 23, 2018.

  1. Jim_in_dorris

    Jim_in_dorris

    Joined:
    Aug 12, 2015
    Posts:
    25
    I previously had a cloud recognition project that worked in Unity V5.6 with Vuforia 6.x When I migrated to Unity 2017v3, the project broke big time. The scripts have lots of errors now. I tried building a simple cloud reco test using the tutorial, but I don't get target recognition. I used the SimpleCloudReco.cs script from the demo page, It doesn't work, I know the images work, because I reused the targets from the earlier project.
     
  2. Vuforia-Strasza

    Vuforia-Strasza

    Official Vuforia Employee Vuforia

    Joined:
    Jun 13, 2017
    Posts:
    548
  3. Jim_in_dorris

    Jim_in_dorris

    Joined:
    Aug 12, 2015
    Posts:
    25
    Thanks, That answers that question, however I still can't build a new cloud reco project. What do I need to do for that.
     
  4. Vuforia-Strasza

    Vuforia-Strasza

    Official Vuforia Employee Vuforia

    Joined:
    Jun 13, 2017
    Posts:
    548
    I need more information on what isn't working to provide help here. What is the issues? Is there an error? Which devices are you running it on?

    There is a known issue with Cloud Reco in playmode at the current time that is being addressed.
     
  5. Jim_in_dorris

    Jim_in_dorris

    Joined:
    Aug 12, 2015
    Posts:
    25
     
  6. Vuforia-Strasza

    Vuforia-Strasza

    Official Vuforia Employee Vuforia

    Joined:
    Jun 13, 2017
    Posts:
    548
    Do you see any errors or log messaging for detecting targets? Which devices are you testing this on?
     
  7. Jim_in_dorris

    Jim_in_dorris

    Joined:
    Aug 12, 2015
    Posts:
    25
    No errors whatsoever. I put debug.log messages into SimpleCloudReco.cs, I am running it on my Windows 10 Dell Lattitude i7 with 16 gig of ram.

    upload_2018-1-23_21-20-45.png
     
  8. boang3000

    boang3000

    Joined:
    Jan 8, 2018
    Posts:
    9
    @Jim_in_dorris do you have a solution for this? I also did this but when I try to scan it from my device I couldn't get any recognition. I already added license and database keys.
     
  9. Vuforia-Strasza

    Vuforia-Strasza

    Official Vuforia Employee Vuforia

    Joined:
    Jun 13, 2017
    Posts:
    548
    As I've mentioned before, there is a known issue with playmode and cloud reco that is being addressed. It is recommended to test cloud reco on a mobile device in the mean time.
     
  10. Jim_in_dorris

    Jim_in_dorris

    Joined:
    Aug 12, 2015
    Posts:
    25
    I will give that a try thanks. I will respond with the results
     
  11. Jim_in_dorris

    Jim_in_dorris

    Joined:
    Aug 12, 2015
    Posts:
    25
    Ok, I can't build for Android. I get an error on all the
    scripts that declare "using Vuforia;"

    type or namespace Vuforia could not be found, Are you missing an assembly reference.

    When I build the scripts in the Mono Develop I don't get this error. Vuforia is enabled in player settings.
     
    Last edited: Jan 25, 2018
  12. Vuforia-Strasza

    Vuforia-Strasza

    Official Vuforia Employee Vuforia

    Joined:
    Jun 13, 2017
    Posts:
    548
    Is it enabled for Android as well?
     
    Jim_in_dorris likes this.
  13. Jim_in_dorris

    Jim_in_dorris

    Joined:
    Aug 12, 2015
    Posts:
    25
    Got it, thanks. I now can complete the lesson. Hopefully my IOS students will as well
     
    Vuforia-Strasza likes this.
  14. Jim_in_dorris

    Jim_in_dorris

    Joined:
    Aug 12, 2015
    Posts:
    25
    I can't thank you enough. I was really stuck, now I am moving forward again with the lesson plan
     
    Vuforia-Strasza likes this.
  15. Vuforia-Strasza

    Vuforia-Strasza

    Official Vuforia Employee Vuforia

    Joined:
    Jun 13, 2017
    Posts:
    548
    Glad you were able to resolve the issue =)
     
    Jim_in_dorris likes this.
  16. Jim_in_dorris

    Jim_in_dorris

    Joined:
    Aug 12, 2015
    Posts:
    25
    Ok, I have the cloud reco app working fairly well, however I have a question about cloud image tracking. Is it possible to implement something like "onTrackingFound" and "onTrackingLost" similar to how it works on devices with DefaultTrackableEventHandler. I want to turn audio and off based upon not just recognized, but also if it currently tracked or not. What Class should I look at in documentation?