FAQ

Frequently asked questions and troubleshooting for Fritz AI. If you don’t find what you’re looking for, get in touch through our Help Center.

General

My app won’t build because bundle identifier / application ID does not match API Key.

When setting up the Fritz SDK, you should have created a new iOS or Android application with the webapp and specified a package identifer. This identifier must match the bundle id (on iOS) and applicationID (on Android) that you build your project with.

If you’re unsure which package id you entered into Fritz, you can find it by logging into the webapp, selecting Project Settings from the left navigation menu, and inspecting the Package Name column. If there is an error in your package name, you can delete your app with the drop down menu on the right and create a new one.

Does Fritz Vision work with images from my camera roll, an SD card, or a live camera preview?

Yes. Fritz Vision for iOS and Android is designed to work with any image whether it comes from a saved photo in a user’s camera roll, a storage device like an SD card, or a live preview from a built-in camera.

Even if you don’t see a tutorial or example project using the exact image type you had in mind, chances are Fritz Vision will stil work for your use case.

Can I use pose estimation to track people in 3D space?

At this time, Human Pose Estimation only tracks the movements and position of people in two dimensions. The location of keypoints are returned as (X, Y) coordinates relative to image boundaries.

If your application requires 3D motion tracking, get in touch via our Help Center.

iOS

Accessing cgImage on a mask is nil

All UIImage s are backed by a ciImage. This helps you decide when and how to render results from the FritzVision APIs.

Swift version compiler errors.

If you’re trying to build your Xcode project and are getting an error like:

Module compiled with Swift 5.0.1 cannot be imported by the Swift 5.1 compile

This error means that you’re currently trying to build your app using a different version of Swift than the Fritz SDK was compiled with. This frequently happens when new versions of iOS and Xcode are released. Make sure you’re using the latest version of Xcode and targeting the proper Swift compiler version.

Starting with version 4.1.0, the Fritz SDK for iOS is fully compatible with Xcode 11, iOS 13, and should target version 5.1 of Swift.

Android

How do I update a segmentation mask manually to fix errors or mask additional content?

Occasionally the segmentation result may not provide a completely accurate mask or you may want to allow a user to update the mask manually. You can achieve this by modifying the alpha mask directly.

  1. From the SegmentationResult, export the alpha mask to a bitmap: segmentResult.buildSingleClassMask
  2. Add or erase the desired pixels to the alpha mask by set the alpha to 0 if you want to remove it, 1 if you want to add the pixel. You’ll have to implement this yourself.
  3. Use the alpha mask to cut out from the original image: Bitmap finalResult = visionImage.mask(yourModifiedBitmap);

Still have a question? Get in touch through our Help Center.