Stay organized with collectionsSave and categorize content based on your preferences.
public static final enumSession.FeatureMapQuality
Indicates the quality of the visual features seen by ARCore in the preceding few seconds from a
given cameraPose. A higher quality indicates a Cloud Anchor hosted at the current time
with the current set of recently seen feature points will generally be easier to resolve more
accurately. See theCloud
Anchors developer guidefor more information.
public
static
final
Session.FeatureMapQuality
GOOD
GOOD
publicstaticfinalSession.FeatureMapQualityGOOD
The quality of features seen from the pose in the preceding few seconds is likely sufficient
for ARCore to successfullyresolvea Cloud Anchor
with a high degree of accuracy.
public
static
final
Session.FeatureMapQuality
INSUFFICIENT
The quality of features seen from the pose in the preceding few seconds is low. This state
indicates that ARCore will likely have more difficultyresolvingthe Cloud Anchor. Encourage the user to move the device, so that the desired
position of the Cloud Anchor to be hosted is seen from different angles.
public
static
final
Session.FeatureMapQuality
SUFFICIENT
The quality of features seen from the pose in the preceding few seconds is likely sufficient
for ARCore to successfullyresolvethe Cloud Anchor,
although the accuracy of the resolved pose will likely be reduced. Encourage the user to move
the device, so that the desired position of the Cloud Anchor to be hosted is seen from
different angles.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-10-31 UTC."],[[["\u003cp\u003e\u003ccode\u003eSession.FeatureMapQuality\u003c/code\u003e indicates the quality of visual features ARCore has seen, affecting Cloud Anchor accuracy.\u003c/p\u003e\n"],["\u003cp\u003eHigher quality (\u003ccode\u003eGOOD\u003c/code\u003e) means easier and more accurate Cloud Anchor resolving.\u003c/p\u003e\n"],["\u003cp\u003eLower quality (\u003ccode\u003eINSUFFICIENT\u003c/code\u003e, \u003ccode\u003eSUFFICIENT\u003c/code\u003e) may hinder resolving, and users should move the device for better results.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers can use this enum to guide users in creating and resolving Cloud Anchors effectively.\u003c/p\u003e\n"]]],[],null,["# Session.FeatureMapQuality\n\n`\npublic static final enum\n`**Session.FeatureMapQuality**`\n` \nIndicates the quality of the visual features seen by ARCore in the preceding few seconds from a\ngiven camera [Pose](/ar/reference/java/com/google/ar/core/Pose). A higher quality indicates a Cloud Anchor hosted at the current time\nwith the current set of recently seen feature points will generally be easier to resolve more\naccurately. See the [Cloud\nAnchors developer guide](https://developers.google.com/ar/develop/java/cloud-anchors/developer-guide) for more information. \n\nInherited Methods\n-----------------\n\nFrom `class\njava.lang.Enum` \n\n|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ` final `[Object](https://developer.android.com/reference/java/lang/Object)` ` | clone`()` |\n| ` final int ` | compareTo`(`[Session.FeatureMapQuality](/ar/reference/java/com/google/ar/core/Session.FeatureMapQuality)` arg0)` |\n| ` int ` | compareTo`(`[Object](https://developer.android.com/reference/java/lang/Object)` arg0)` |\n| ` final Optional\u003cEnumDesc\u003c`[Session.FeatureMapQuality](/ar/reference/java/com/google/ar/core/Session.FeatureMapQuality)`\u003e\u003e ` | describeConstable`()` |\n| ` final boolean ` | equals`(`[Object](https://developer.android.com/reference/java/lang/Object)` arg0)` |\n| ` final void ` | finalize`()` |\n| ` final `[Class](https://developer.android.com/reference/java/lang/Class)`\u003c`[Session.FeatureMapQuality](/ar/reference/java/com/google/ar/core/Session.FeatureMapQuality)`\u003e ` | getDeclaringClass`()` |\n| ` final int ` | hashCode`()` |\n| ` final `[String](https://developer.android.com/reference/java/lang/String)` ` | name`()` |\n| ` final int ` | ordinal`()` |\n| ` `[String](https://developer.android.com/reference/java/lang/String)` ` | toString`()` |\n| ` static \u003cT extends `[Enum](https://developer.android.com/reference/java/lang/Enum)`\u003cT\u003e\u003e T ` | valueOf`(`[Class](https://developer.android.com/reference/java/lang/Class)`\u003cT\u003e arg0, `[String](https://developer.android.com/reference/java/lang/String)` arg1)` |\n\nFrom `class\njava.lang.Object` \n\n|---------------------------------------------------------------------------------|-------------------------------------------------------------------------------------|\n| ` `[Object](https://developer.android.com/reference/java/lang/Object)` ` | clone`()` |\n| ` boolean ` | equals`(`[Object](https://developer.android.com/reference/java/lang/Object)` arg0)` |\n| ` void ` | finalize`()` |\n| ` final `[Class](https://developer.android.com/reference/java/lang/Class)`\u003c?\u003e ` | getClass`()` |\n| ` int ` | hashCode`()` |\n| ` final void ` | notify`()` |\n| ` final void ` | notifyAll`()` |\n| ` `[String](https://developer.android.com/reference/java/lang/String)` ` | toString`()` |\n| ` final void ` | wait`(long arg0, int arg1)` |\n| ` final void ` | wait`(long arg0)` |\n| ` final void ` | wait`()` |\n\nFrom `interface\njava.lang.constant.Constable` \n\n|-----------------------------------------------|-----------------------|\n| ` abstract Optional\u003c? extends ConstantDesc\u003e ` | describeConstable`()` |\n\nFrom `interface\njava.lang.Comparable` \n\n|------------------|------------------------------------------------------------------------------------------------------------------|\n| ` abstract int ` | compareTo`(`[Session.FeatureMapQuality](/ar/reference/java/com/google/ar/core/Session.FeatureMapQuality)` arg0)` |\n\nEnum Values\n-----------\n\n#### public\nstatic\nfinal\nSession.FeatureMapQuality\nGOOD\n\n### GOOD\n\n```java\npublic static final Session.FeatureMapQuality GOOD\n``` \nThe quality of features seen from the pose in the preceding few seconds is likely sufficient\nfor ARCore to successfully [resolve](/ar/reference/java/com/google/ar/core/Session#resolveCloudAnchorAsync(java.lang.String,%20java.util.function.BiConsumer\u003ccom.google.ar.core.Anchor,%20com.google.ar.core.Anchor.CloudAnchorState\u003e)) a Cloud Anchor\nwith a high degree of accuracy.\n\n#### public\nstatic\nfinal\nSession.FeatureMapQuality\nINSUFFICIENT\n\n### INSUFFICIENT\n\n```java\npublic static final Session.FeatureMapQuality INSUFFICIENT\n``` \nThe quality of features seen from the pose in the preceding few seconds is low. This state\nindicates that ARCore will likely have more difficulty [resolving](/ar/reference/java/com/google/ar/core/Session#resolveCloudAnchorAsync(java.lang.String,%20java.util.function.BiConsumer\u003ccom.google.ar.core.Anchor,%20com.google.ar.core.Anchor.CloudAnchorState\u003e)) the Cloud Anchor. Encourage the user to move the device, so that the desired\nposition of the Cloud Anchor to be hosted is seen from different angles.\n\n#### public\nstatic\nfinal\nSession.FeatureMapQuality\nSUFFICIENT\n\n### SUFFICIENT\n\n```java\npublic static final Session.FeatureMapQuality SUFFICIENT\n``` \nThe quality of features seen from the pose in the preceding few seconds is likely sufficient\nfor ARCore to successfully [resolve](/ar/reference/java/com/google/ar/core/Session#resolveCloudAnchorAsync(java.lang.String,%20java.util.function.BiConsumer\u003ccom.google.ar.core.Anchor,%20com.google.ar.core.Anchor.CloudAnchorState\u003e)) the Cloud Anchor,\nalthough the accuracy of the resolved pose will likely be reduced. Encourage the user to move\nthe device, so that the desired position of the Cloud Anchor to be hosted is seen from\ndifferent angles."]]