Skip to content

A repository for hosting the Fritz Vision Unity Package

License

Notifications You must be signed in to change notification settings

tungnvsandinh/fritz-unity-sdk

 
 

Repository files navigation

[DEPRECATED] Fritz Unity SDK

DEPRECATED

As of April 20th, 2020, we will no longer be supporting the Fritz Unity SDK. We are deeply grateful to those who have contributed fixes to keep the SDK working as new versions of Unity and native OSs become available. We will be leaving this repository available, but active development will stop. We hope to offer more robust support in the future.

Installation instructions

In the Unity project, click Edit -> Project Settings -> Fritz. (If you do not see Fritz, make sure the package has been added. See the documentation).

Add Fritz API Key

Create an app in Fritz that matches your bundle identifier set in Unity.

To access your Fritz API Key, make sure you've created an account and added your app in the webapp.

You can change the bundle identifier in the iOS player settings in Unity by going to Edit -> Project Settings -> Player -> Other Settings.

iOS Setup

To modify your iOS project settings in Unity, go to File > Build Settings and open the Build Settings window. Select iOS and click Switch Platform. After the process finishes, click on Player Settings.

  1. In the Project Settings window, click Player.
  2. Click on Other Settings to expand settings for the iOS player.
  3. Configure the following settings:
    • Architecture: ARM64
    • Bundle Identifier: "Your Bundle ID"
    • Camera Usage Description: For AR processing
  4. In Project Settings, click Fritz.
  5. If you have not done so, Sign up for a free account then create an app on Fritz that matches the Bundle ID defined in unity.
  6. Copy the API Key from the Fritz webapp (Project Settings > "Your App" > Show API Key) into the iOS API Key input.
  7. Click download to download the necessary Fritz Frameworks. If you are using Xcode 11.4, set version to 5.3.1.
  8. In the Unity Build Settings window, click Build and Run.
  9. Click on Window -> Package Manager. From there, add the ARFoundation and ARKit XR Plugin.

Android Setup

To modify your Android project settings in Unity, go to Edit > Project Settings, click on the Player option and under "Other Settings", click on the Android tab.

  1. In the Project Settings window, click Player.
  2. Click on Other Settings to expand settings for the Android player.
  3. Configure the following settings:
    • Graphics API: OpenGLES3 (only)
    • Multi-threaded Rendering: Unselected
    • Package Name: "Your Package Name"
    • Minimum API Level: Android 7.0 Nougat (API level 24)
    • Target Architecture: ARMv7
  4. In Project Settings, click Fritz.
  5. If you have not done so, Sign up for a free account then create an app on Fritz that matches the Bundle ID defined in unity.
  6. Copy the API Key from the Fritz webapp (Project Settings > "Your App" > Show API Key) into the iOS API Key input.
  7. In the Unity Build Settings window, click Build and Run.

Stay in touch with Fritz AI

To keep tabs on what we’re up to, and for an inside look at the opportunities, challenges, and tools for mobile machine learning, subscribe to the Fritz AI Newsletter.

Join the Community

Heartbeat is a community of developers interested in the intersection of mobile and machine learning. Chat with us in Slack, and stay up-to-date on industry news, trends, and more by subscribing to Deep Learning Weekly.

About

A repository for hosting the Fritz Vision Unity Package

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 84.0%
  • C++ 8.1%
  • Swift 3.7%
  • Objective-C++ 2.1%
  • C 1.6%
  • Objective-C 0.5%