از دوربین دستگاه برای ثبت واقعیت استفاده کنید
راهنماهای مخصوص پلتفرم
دستگاه کاربر دارای دوربین (معمولاً هم در جلو و هم پشت) و سنسورهای مختلف مانند شتاب سنج است که داده ها را برای تفسیر دنیای واقعی در اختیار برنامه AR شما قرار می دهد. خود دوربین ممکن است یک سنسور عمق داشته باشد و بتواند محدوده، ابعاد و سایر داده های مفید در مورد اهدافی که شناسایی می کند را تعیین کند.
برای برنامه AR خود، دوربین را برای عملکرد بهینه پیکربندی می کنید. همچنین میتوانید از فراداده تصویر دوربین، بافر فریم و دسترسی به دوربین مشترک برای تنظیم عملکرد استفاده کنید. راهنماهای بالا برخی از قابلیتهای دوربین AR را برای هر پلتفرم توضیح میدهند.
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2025-02-28 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2025-02-28 بهوقت ساعت هماهنگ جهانی."],[[["Access comprehensive guides for configuring and optimizing camera usage in your AR applications across Android, Android NDK, Unity, and Unreal Engine platforms."],["Leverage device cameras and sensors, including depth sensors, to capture real-world data for enhanced AR experiences."],["Fine-tune camera performance by adjusting configurations, utilizing image metadata, implementing frame buffering, and managing shared camera access."],["Explore platform-specific documentation and resources to effectively integrate AR camera capabilities into your app development workflow."],["Utilize the provided links to access detailed guides on specific camera features and functionalities for each supported platform."]]],["AR applications can utilize device camera data and sensors. Key actions include configuring camera settings for optimal AR performance, accessing camera image metadata, buffering camera frames, and sharing camera access. These functionalities are detailed in platform-specific guides for Android (Kotlin/Java), Android NDK (C), Unity (AR Foundation), and Unreal Engine. Camera capabilities include detecting range, dimensions, and other data about real-world targets, which helps to interpret the real world.\n"]]