Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Core-ML plugin

Discussion in 'Assets and Asset Store' started by adamhegedues, Jul 27, 2018.

  1. adamhegedues

    adamhegedues

    Joined:
    Mar 22, 2018
    Posts:
    5
    Hi!

    This native plugin enables Unity projects to use specific features of Core-ML and Vision Framework on the iOS platform. This plugin is able to work together with Unity's ARKit plugin or without it.

    GitHub: https://github.com/possiblecee/UnityVision-iOS
     
    Blarp, rob_ice and kris_possible like this.
  2. rob_ice

    rob_ice

    Joined:
    Nov 11, 2016
    Posts:
    112
    Seem to be getting this error on build in Xcode, without changing anything in the project and just opening it to build with the right scenes in it!
    fatalError("[VisionNative] Unable to load CoreML model.")
     
  3. adamhegedues

    adamhegedues

    Joined:
    Mar 22, 2018
    Posts:
    5
    "For image classification, the plugin uses the InceptionV3 machine learning model. This model is provided in this repository inside the MLModel folder. Add this model to your Xcode project (generated by Unity after building), by dragging the model into the project navigator. Make sure that the model is added to the Unity-iPhone build target."
     
    Blarp and rob_ice like this.
  4. rob_ice

    rob_ice

    Joined:
    Nov 11, 2016
    Posts:
    112
    Would be super handy to have that mentioned in the readme somewhere, I just made another test project using it and although I figured out how to do hat the first time, I'd completely forgotten you need to do that the next time
     
  5. adamhegedues

    adamhegedues

    Joined:
    Mar 22, 2018
    Posts:
    5
    I copied that text from the readme of the repo.
     
    rob_ice likes this.
  6. rob_ice

    rob_ice

    Joined:
    Nov 11, 2016
    Posts:
    112
    My apologies for not reading it properly! Great work on the repo btw :)
     
  7. adamhegedues

    adamhegedues

    Joined:
    Mar 22, 2018
    Posts:
    5
    Thank you!
     
  8. mavisakal

    mavisakal

    Joined:
    Aug 26, 2017
    Posts:
    15
    Hi @adamhegedues ,
    Thanks for this great repo. I created a custom image classifier(mlmodel file) with 2 classes. When I ran the app it selects a default class even there is no object regarding that class. My question is can we use a confidence value to show the class name if it's above a threshold value(i.e %70).
     
    yosun likes this.