Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Verify that the build target and visage|SDK platform match. For example, running visage|SDK for Windows inside the Unity Editor and for a Standalone application will work since both are run on the same platform. Attempting to run visage|SDK for iOS inside the Unity Editor on a MacOS will output an error because iOS architecture does not match MacOS architecture.

When working with large resolution videos (>2K), video FPS significantly drops, why?

It seems that the slowdown is a result of not optimal frame mirroring (our native Windows plugin mirrors the image). Track function itself seem to be good enough. There are further optimizations that can be implemented, however for a quick fix solution try to turn off frame mirroring in Unity project by setting Mirrored property to 0 in the Unity Editor Property page for the Tracker object.

To elaborate, _grabFrame function has two working modes:

  1. The cameraOrientation and cameraMirror values are equal to 0

  2. The cameraOrientation and cameraMirror value are different from 0

First one will just copy pixels to another buffer, and the second one will go to the pixels manipulation process to prepare pixels for the _track() function.

Pixels manipulation is an expensive operation. To avoid this operation please turn off isMirrored value which is by default set to 1 and adjust the mirroring property in the setting of camera itself if needed.

This will result in significantly faster execution of the _grabframe() function.

Note

Important! This refers to visage|SDK 8.7.b1 and older versions. On newer versions, isMirrored value is turned off by default.

Note

Need to insert links to relevant API parts in text and/or as “See also” section.

Troubleshooting - Licensing Errors

...