{"id":792,"date":"2019-12-10T05:58:12","date_gmt":"2019-12-10T05:58:12","guid":{"rendered":"https:\/\/www.danielparente.net\/en\/2019\/12\/10\/why-the-arcore-depth-api-is-a-big-deal-for-ar\/"},"modified":"2019-12-10T05:58:12","modified_gmt":"2019-12-10T05:58:12","slug":"why-the-arcore-depth-api-is-a-big-deal-for-ar","status":"publish","type":"post","link":"https:\/\/www.danielparente.net\/en\/2019\/12\/10\/why-the-arcore-depth-api-is-a-big-deal-for-ar\/","title":{"rendered":"Why the ARCore Depth API is a big deal for AR"},"content":{"rendered":"<p> [ad_1]<br \/>\n<\/p>\n<div id=\"content-anchor-inner\"><noscript><img fetchpriority=\"high\" decoding=\"async\" class=\"aligncenter wp-image-1064325\" title=\"ARCore Depth API\" src=\"https:\/\/cdn57.androidauthority.net\/wp-content\/uploads\/2019\/12\/Robochef_01.gif\" alt=\"ARCore Depth API\" width=\"1200\" height=\"675\"\/><\/noscript><img decoding=\"async\" class=\"lazyload aligncenter wp-image-1064325\" title=\"ARCore Depth API\" src=\"data:image\/svg+xml,%3Csvg%20xmlns=%22http:\/\/www.w3.org\/2000\/svg%22%20viewBox=%220%200%201200%20675%22%3E%3C\/svg%3E\" alt=\"ARCore Depth API\" width=\"1200\" height=\"675\"\/><\/p>\n<p>Today, Google is taking the wraps off its new ARCore Depth API. At first glance, this sounds highly technical and uninteresting. However, when you understand what it does, you\u2019ll see how this will fundamentally change your <a href=\"https:\/\/www.androidauthority.com\/best-augmented-reality-apps-and-ar-apps-for-android-584616\/\" target=\"_blank\" rel=\"noopener\">augmented reality<\/a> experiences.<\/p>\n<p>You\u2019ll also see how it will open up tons of new possibilities for AR in the worlds of productivity, shopping, and even <a href=\"https:\/\/www.androidauthority.com\/best-augmented-reality-games-ar-games-android-755298\/\" target=\"_blank\" rel=\"noopener\">gaming<\/a>.<\/p>\n<p>So what is the ARCore Depth API? Here\u2019s Google\u2019s official explanation:<\/p>\n<blockquote>\n<p>Depth API allows developers to use our depth-from-motion algorithms to create a depth map using a single RGB camera. The depth map is created by taking multiple images from different angles and comparing them as you move your phone to estimate the distance to every pixel.<\/p>\n<\/blockquote>\n<p>Confused? It\u2019s way easier to explain what it is by showing you what it does. Check out the GIFs below: on the left, you have an AR experience without the Depth API and, on the right, that same experience with it.<\/p>\n<style type=\"text\/css\"><![CDATA[#gallery-2 {\n\t\t\t\tmargin: auto;\n\t\t\t}\n\t\t\t#gallery-2 .gallery-item {\n\t\t\t\tfloat: left;\n\t\t\t\tmargin-top: 10px;\n\t\t\t\ttext-align: center;\n\t\t\t\twidth: 50%;\n\t\t\t}\n\t\t\t#gallery-2 img {\n\t\t\t\tborder: 2px solid #cfcfcf;\n\t\t\t}\n\t\t\t#gallery-2 .gallery-caption {\n\t\t\t\tmargin-left: 0;\n\t\t\t}\n\t\t\t\/* see gallery_shortcode() in wp-includes\/media.php *\/]]><\/style>\n<div id=\"gallery-2\" class=\"gallery galleryid-1064324 gallery-columns-2 gallery-size-full\">\n<dl class=\"gallery-item\">\n<dt class=\"gallery-icon portrait\"> <a title=\"ARCore Depth API Off\" href=\"https:\/\/cdn57.androidauthority.net\/wp-content\/uploads\/2019\/12\/ARCore-Depth-API-Off.gif\" rel=\"lightbox[1064324] noopener\" target=\"_blank\"><noscript><img decoding=\"async\" width=\"540\" height=\"1000\" src=\"https:\/\/cdn57.androidauthority.net\/wp-content\/uploads\/2019\/12\/ARCore-Depth-API-Off.gif\" class=\"attachment-full size-full\" alt=\"ARCore Depth API Off\" aria-describedby=\"gallery-2-1064328\"\/><\/noscript><img loading=\"lazy\" decoding=\"async\" width=\"540\" height=\"1000\" src=\"data:image\/svg+xml,%3Csvg%20xmlns=%22http:\/\/www.w3.org\/2000\/svg%22%20viewBox=%220%200%20540%201000%22%3E%3C\/svg%3E\" class=\"lazyload attachment-full size-full\" alt=\"ARCore Depth API Off\" aria-describedby=\"gallery-2-1064328\"\/><\/a><\/dt>\n<dd class=\"wp-caption-text gallery-caption\" id=\"gallery-2-1064328\"> ARCore without Depth API.<\/dd>\n<\/dl>\n<dl class=\"gallery-item\">\n<dt class=\"gallery-icon portrait\"> <a title=\"ARCore Depth API On\" href=\"https:\/\/cdn57.androidauthority.net\/wp-content\/uploads\/2019\/12\/ARCore-Depth-API-On.gif\" rel=\"lightbox[1064324] noopener\" target=\"_blank\"><noscript><img loading=\"lazy\" decoding=\"async\" width=\"540\" height=\"1000\" src=\"https:\/\/cdn57.androidauthority.net\/wp-content\/uploads\/2019\/12\/ARCore-Depth-API-On.gif\" class=\"attachment-full size-full\" alt=\"ARCore Depth API On\" aria-describedby=\"gallery-2-1064329\"\/><\/noscript><img loading=\"lazy\" decoding=\"async\" width=\"540\" height=\"1000\" src=\"data:image\/svg+xml,%3Csvg%20xmlns=%22http:\/\/www.w3.org\/2000\/svg%22%20viewBox=%220%200%20540%201000%22%3E%3C\/svg%3E\" class=\"lazyload attachment-full size-full\" alt=\"ARCore Depth API On\" aria-describedby=\"gallery-2-1064329\"\/><\/a><\/dt>\n<dd class=\"wp-caption-text gallery-caption\" id=\"gallery-2-1064329\"> ARCore with Depth API.<\/dd>\n<\/dl>\n<p><br style=\"clear: both\"\/><\/div>\n<p>The ARCore Depth API allows the AR program to understand that the fluffy pillows in the room above are closer to you than the placement of the AR cat. Previously, ARCore wasn\u2019t very good at determining this and would place the cat right on top of the pillows, creating a wholly unrealistic scene. With Depth API active, though, the cat\u2019s body is\u00a0<strong>behind<\/strong> the pillows and only the parts you would see in a real-world situation are visible.<\/p>\n<p>Google explains in its blog post announcing Depth API how this works. It\u2019s pretty technical, and you can feel free to learn all about it by reading the post, but the image below gives you a solid idea. The Depth API uses your camera movements to determine which objects in your view are closer or further away, and then creates a depth map:<\/p>\n<p><noscript><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-1064336\" title=\"ARCore Depth API Depth Map\" src=\"https:\/\/cdn57.androidauthority.net\/wp-content\/uploads\/2019\/12\/ARCore-Depth-API-Depth-Map.gif\" alt=\"ARCore Depth API Depth Map\" width=\"1200\" height=\"675\"\/><\/noscript><img loading=\"lazy\" decoding=\"async\" class=\"lazyload aligncenter wp-image-1064336\" title=\"ARCore Depth API Depth Map\" src=\"data:image\/svg+xml,%3Csvg%20xmlns=%22http:\/\/www.w3.org\/2000\/svg%22%20viewBox=%220%200%201200%20675%22%3E%3C\/svg%3E\" alt=\"ARCore Depth API Depth Map\" width=\"1200\" height=\"675\"\/><\/p>\n<p>In the GIF, once the depth map is created, objects that are closer to you appear in red while objects that are far away appear in blue.<\/p>\n<p>With the ARCore Depth API, AR apps will be much more realistic. When you use AR-powered shopping apps, for example, you can place household items in your home to get a sense of what they\u2019d look like in your living room or on your counter. This new feature will make those experiences even more realistic, giving you more confidence about your purchase.<\/p>\n<p>For gaming, a better sense of depth will allow you to do things such as hiding behind obstacles, accurately aiming projectiles, and getting a surprise when characters come out from behind structures. In the GIF at the top of this article, you can see an example of how this could work.<\/p>\n<p style=\"text-align: center;\"><strong>Related:\u00a0<\/strong><a href=\"https:\/\/www.androidauthority.com\/best-augmented-reality-apps-and-ar-apps-for-android-584616\/\" target=\"_blank\" rel=\"noopener\">Ten best augmented reality apps and AR apps for Android<\/a><\/p>\n<p>The Depth API is not dependent on special cameras and sensors, so it should work on pretty much <a href=\"https:\/\/www.androidauthority.com\/compatible-arcore-phones-932844\/\" target=\"_blank\" rel=\"noopener\">any device that supports ARCore<\/a>. However, devices with specialized cameras and time-of-flight (ToF) sensors will likely get a better and more accurate experience.<\/p>\n<p>Google is hoping that developers will be excited to try out this new feature and integrate it into their AR-powered applications. It shouldn\u2019t be too long before you start seeing better depth experiences in your current AR apps.<\/p>\n<\/p><\/div>\n<p>[ad_2]<br \/>\n<br \/><a href=\"https:\/\/www.androidauthority.com\/arcore-depth-api-1064324\/\" target=\"_blank\" rel=\"noopener\">Source link <\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>[ad_1] Today, Google is taking the wraps off its new ARCore Depth API. At first glance, this sounds highly technical and uninteresting. However, when you understand what it does, you\u2019ll see how this will fundamentally change your augmented reality experiences. You\u2019ll also see how it will open up tons of new possibilities for AR in [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":793,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":"","jetpack_post_was_ever_published":false},"categories":[1],"tags":[],"class_list":["post-792","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized"],"blocksy_meta":[],"jetpack_featured_media_url":"https:\/\/e928cfdc7rs.exactdn.com\/info\/uploads\/sites\/3\/2019\/12\/Why-the-ARCore-Depth-API-is-a-big-deal-for.gif?strip=all","jetpack_shortlink":"https:\/\/wp.me\/p2TFCd-cM","jetpack_sharing_enabled":true,"jetpack-related-posts":[],"_links":{"self":[{"href":"https:\/\/www.danielparente.net\/en\/wp-json\/wp\/v2\/posts\/792","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.danielparente.net\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.danielparente.net\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.danielparente.net\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.danielparente.net\/en\/wp-json\/wp\/v2\/comments?post=792"}],"version-history":[{"count":0,"href":"https:\/\/www.danielparente.net\/en\/wp-json\/wp\/v2\/posts\/792\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.danielparente.net\/en\/wp-json\/wp\/v2\/media\/793"}],"wp:attachment":[{"href":"https:\/\/www.danielparente.net\/en\/wp-json\/wp\/v2\/media?parent=792"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.danielparente.net\/en\/wp-json\/wp\/v2\/categories?post=792"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.danielparente.net\/en\/wp-json\/wp\/v2\/tags?post=792"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}