效能注意事項
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
ARCore 的動作追蹤功能會同時參考相機的影像資訊,以及裝置母體測量單位 (IMU) 的宣告測量結果。建議您遵循下列規範,確保應用程式提供最佳條件,讓 ARCore 在環境中維持追蹤與偵測功能。
盡可能提供最佳使用者體驗
您可以使用 AR 為使用者打造獨特又愉快的體驗。但是,如果使用者不確定如何繼續操作,或除了相機傳遞的圖片以外,還不知道該看到什麼內容,可能會感到不悅。
如要盡可能提供最佳使用者體驗,請確保應用程式符合下列條件:
- 向使用者提供清楚的意見回饋
- 鼓勵使用者移動裝置
- 示範如何與裝置互動以體驗 AR
如需完整的設計建議清單,請參閱擴增實境設計指南。
這些規範是以基礎研究為基礎,並提供深入分析和構想,協助您為使用者打造更優質的 AR 體驗。
鼓勵使用者緩慢移動相機
ARCore 需要來自相機的視覺資訊,才能建構環境理解。裝置快速移動可能會導致相機影像模糊不清,進而降低 ARCore 追蹤與偵測特徵的能力。
在短暫運動期間,ARCore 會根據 IMU 資料預估裝置姿勢。活動停止時,視覺追蹤功能會繼續執行。
避免長時間進行快速運動,這可能會導致 ARCore 失去追蹤及預防功能偵測。
有效運用錨定廣告
參閱「使用錨定標記」一文,進一步瞭解錨點的運作方式、如何在應用程式中有效使用錨點,以及其他使用者體驗和設計注意事項。
避免使用觸覺回饋
由於裝置震動可能會暫時幹擾 ARCore 精確估算裝置姿勢的能力,因此請避免向使用者提供觸覺回饋,例如使用裝置的震動器。
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-07-26 (世界標準時間)。
[null,null,["上次更新時間:2025-07-26 (世界標準時間)。"],[[["\u003cp\u003eARCore utilizes visual and inertial data for motion tracking, requiring clear camera visuals and controlled device movement for optimal performance.\u003c/p\u003e\n"],["\u003cp\u003eUsers need clear instructions and feedback within AR apps to understand interactions and enhance their experience.\u003c/p\u003e\n"],["\u003cp\u003eSlow, deliberate camera movement allows ARCore to build environmental understanding and maintain accurate tracking by avoiding blurry visuals.\u003c/p\u003e\n"],["\u003cp\u003eAnchors play a crucial role in AR experiences, and developers should understand their function and best practices for implementation.\u003c/p\u003e\n"],["\u003cp\u003eHaptic feedback should be avoided in AR apps as it can disrupt ARCore's pose estimation and negatively impact tracking accuracy.\u003c/p\u003e\n"]]],[],null,["# Performance considerations\n\nARCore's [Motion tracking](/ar/discover/concepts#motion_tracking) relies on both\nvisual information from the camera and inertial measurements from the device's\ninertial measurement unit (IMU). We recommend following the following guidelines\nto help ensure that your app provides optimal conditions for ARCore to maintain\ntracking and detect features in the environment.\n\nProvide the best possible user experience\n-----------------------------------------\n\nWith AR it's possible to create unique and delightful experiences for your\nusers. However, users can become frustrated when they're either not sure\nabout how to proceed or what they should be seeing in addition to the camera\npassthrough image.\n\nYou can provide the best possible user experience by ensuring that your app:\n\n- Provides clear feedback to users\n- Encourages them to move their device\n- Shows them how to interact with their device to experience AR\n\nFor a more complete list of design recommendations, review our\n[Augmented Reality Design Guidelines](/ar/design).\n\nThese guidelines are informed by foundational research and offer insights and\nideas that can help you design better AR experiences for your users.\n\nEncourage users to move the camera slowly\n-----------------------------------------\n\nARCore requires visual information from the camera to build an\n[environmental understanding](/ar/discover/concepts#environmental_understanding).\nRapid device movement can cause the camera image to become blurry, reducing\nARCore's ability to track and detect features.\n\nDuring brief periods of movement, ARCore relies on IMU data to estimate the device\npose. When movement stops, visual tracking resumes.\n\nAvoid extended periods of rapid movement, which can cause ARCore to lose tracking\nand prevent detection of features.\n\nMake effective use of anchors\n-----------------------------\n\nReview [Working with Anchors](/ar/develop/anchors) to get a\nbetter understanding of how anchors work, how to use them effectively in your\napp, as well as other UX and design considerations.\n\nAvoid using haptic feedback\n---------------------------\n\nBecause device vibrations can temporarily interfere with ARCore's ability to\naccurately estimate the device's pose, avoid providing haptic feedback to the\nuser---for example, by using the device's vibrator."]]