Preventing poor tracking
We've mentioned several times in this book that image targets, whether they be natural feature textures or user-captured images, should meet certain criteria in order to be effective recognizable targets. Characteristics include being rich in detail, having good contrast, and including no repetitive patterns. As developers, if we provide the targets to our users, we can make sure these requirements are met. With user-defined targets captured at runtime, it could be more of a problem.
Fortunately, Vuforia provides a feature that checks the viability of the video feed as a potential target. And we can listen in on these events to provide feedback to the user.
For this project, when the app is scanning and ready for ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access