Posted by Billy Rutledge, Director Google Research, Coral Team
More and more industries are beginning to recognize the value of local AI, where the speed of local inference allows considerable savings on bandwidth and cloud compute costs, and keeping data local preserves user privacy.
Last year, we launched Coral, our platform of hardware components and software tools that make it easy to prototype and scale local AI products. Our product portfolio includes the Coral Dev Board, USB Accelerator, and PCIe Accelerators, all now available in 36 countries.
Since our release, we’ve been excited by the diverse range of applications already built on Coral across a broad set of industries that range from healthcare to agriculture to smart cities. And for 2020, we’re excited to announce new additions to the Coral platform that will expand the possibilities even further.
First up is the Coral Accelerator Module, an easy to integrate multi-chip package that encapsulates the Edge TPU ASIC. The module exposes both PCIe and USB interfaces and can easily integrate into custom PCB designs. We’ve been working closely with Murata to produce the module and you can see a demo at CES 2020 by visiting their booth at the Las Vegas Convention Center, Tech East, Central Plaza, CP-18. The Coral Accelerator Module will be available in the first half of 2020.
Coral Accelerator Module, a new multi-chip module with Google Edge TPU
Next, we’re announcing the Coral Dev Board Mini, which provides a smaller form-factor, lower-power, and lower-cost alternative to the Coral Dev Board. The Mini combines the new Coral Accelerator Module with the MediaTek 8167s SoC to create a board that excels at 720P video encoding/decoding and computer vision use cases. The board will be on display during CES 2020 at the MediaTek showcase located in the Venetian, Tech West, Level 3. The Coral Dev Board Mini will be available in the first half of 2020.
We're also offering new variations to the Coral System-on-Module, now available with 2GB and 4GB LPDDR4 RAM in addition to the original 1GB LPDDR4 configuration. We’ll be showcasing how the SoM can be used in smart city, manufacturing, and healthcare applications, as well as a few new SoC and MCU explorations we’ve been working on with the NXP team at CES 2020 in their pavilion located at the Las Vegas Convention Center, Tech East, Central Plaza, CP-18.
Finally, Asus has chosen the Coral SOM as the base to their Tinker Edge T product, a maker friendly single-board computer that features a rich set of I/O interfaces, multiple camera connectors, programmable LEDs, and color-coded GPIO header. The Tinker Edge T board will be available soon -- more details can be found here from Asus.
Come visit Coral at CES Jan 7-10 in Las Vegas:
NXP exhibit (LVCC, Tech East, Central Plaza, CP-18)
Mediatek exhibit (Venetian, Tech West, Level 3)
Murata exhibit (LVCC, South Hall 2, MP26061)
And, as always, we are always looking for ways to improve the platform, so keep reaching out to us at [email protected]
Posted by Vint Cerf, Vice President and Chief Internet Evangelist; Grant Erickson, Principal Engineer; Kevin Po, Product Manager
Google is announcing Project Connected Home over IP, a new Working Group alongside industry partners such as Amazon, Apple and the Zigbee Alliance (separate from the existing Zigbee 3.0/PRO protocol). The project aims to build a new standard that enables IP-based communication across smart home devices, mobile apps, and cloud services. Device manufacturers, silicon providers, and other developers are invited to join the working group and contribute existing open-source technologies into the initiative to accelerate its development so customers and device makers can benefit sooner.
We have a Keyword post that describes the project and its potential to create a USB-like “plug-and-play” protocol for the home. We are hopeful this new standard will make it easier for developers to create reliable, safe, secure, private, interoperable, and Internet-enhanced but Internet-optional devices.
To accelerate this initiative, Google will be contributing core technologies from our OpenWeave project, and also providing our expertise in IP-carrying low-powered mesh networking protocols like Thread. In this post, we will deep dive further into Google’s thinking for smart home connectivity protocols, and how we see the potential convergence of these technologies in the industry.
Putting the Internet in Internet of Things
IP plus UDP and TCP, have brought us the richness of the Internet, web, and mobile revolutions and is equally as applicable to the things that make up the smart home and put the “Internet” in Internet of Things.
Because of the unique ability for IP to bring together disparate network technologies, it provides an ideal platform for convergence in the helpful home. Further, rather than requiring product and application-specific infrastructure, IP-based solutions can leverage off-the-shelf network infrastructure than can be shared across many applications and products. This helps reduce the mess of wires and pucksspawned by gateways and hubs common in many smart home solutions today.
An IP-based solution such as Project Connected Home over IP supports direct, private and secure end-to-end communications among devices, mobiles, and cloud services with a familiar and consistent development and programming model making it easier for developers to leverage their experience and solutions across those domains. This approach reduces points of attack and weakness where security would otherwise be terminated and reinitiated.
When we began our own helpful home journey over eight years ago, we looked at the existing technology options, noted many vertically integrated stacks, and considered their costs to users and partners. Consequently, we invested in complementary IP-based and IP-carrying technologies, Weave and Thread respectively, to bring the benefits of IP to two layers of the network stack—the application layer and the low-power wireless network layer.
The growth of the smart home industry has added new technologies and learnings, such as data models and service discovery design. The industry now has a strong desire to converge these learnings into a single protocol that can be widely adopted, and ultimately provide the user the choice to setup and control their smart home device in their preferred ecosystem. We hope the Project will bring this vision to life.
Project Connected Home over IP
The Project, illustrated below, will bring together the best of market and product-proven technologies to build a solution that provides benefits like:
An easily adoptable application standard for a set of network technologies, including Wi-Fi, Thread, and Bluetooth Low Energy (BLE).
End-to-end data security and privacy among in-home and mobile devices, and cloud services.
A unified and standardized baseline set of out-of-box setup components.
Platform and ecosystem-agnostic technology—any device, any ecosystem.
Reducing one-off gateways and translators by building upon IP
A consistent programming model for devices, mobile, and cloud.
Here is how we see these network layer technologies addressing current smart home needs with the Project’s proposed application protocol running over them.
Network Layer Support: Efficient, Fast, and Convenient
At Google, we find that Thread, Wi-Fi, and Bluetooth Low Energy are three complementary wireless connectivity technologies that unlock key use cases in the home:
Thread is an IP-carrying low-powered mesh networking protocol, it’s specifically designed for low bandwidth network applications and network infrastructure. It also complements Cellular, Ethernet, or Wi-Fi for cloud and mobile interactions. Thread is well-suited for high reliability applications where outages might be unacceptable as it features a self-healing mesh.
We use Thread today in our products like Nest Detect and the Nest x Yale Lock.
Wi-Fi is the popular high-bandwidth, low-latency wireless network designed for mains- or rechargeable battery-powered network applications and network infrastructure. Wi-Fi is typically used to stream the latest content from the Google Play Store to your mobile or living room devices such as Pixel or Nest Hub Max; it can also be a great solution for products like Nest Camera or Nest Learning Thermostat. Finally, when paired with IP-carrying technologies like Thread, Wi-Fi is a path to mobiles, the Internet, and cloud services for low-powered connected devices.
Convenient: Bluetooth Low Energy
Mobile phones today provide an easy way to check your smart home devices from anywhere. Phones nearly universally support Bluetooth Low Energy (BLE), providing an easy way to connect and set devices up. In addition to its valuable role in out-of-box setup, BLE can also serve as a direct-to-mobile proximity link, which is not only convenient but can also help meet regulatory “nearby” requirements for safety and security applications. For example, we use BLE as the communication method for App Silence, the mobile alarm hush functionality in Nest Protect.
Acceleration through Proven Technologies and Open Source
Developing any new standard is an intensive and challenging process, which directly impacts its time-to-market to the community.
The Project intends on addressing the time-to-market challenge by bringing together and building upon the best aspects of market-proven technologies such as Google’s OpenWeave as well as other protocols and data models from partner organizations. The intent is to use a system integration effort to combine these technologies into a cohesive, open-source protocol that can be rapidly iterated and tested since most of the code already exists. We hope this approach will bring new benefits to users and device makers faster.
Come Join the Effort!
We are excited to be working with Amazon, Apple, the Zigbee Alliance, the open source community and you towards this goal. We believe the Project will make things easier for customers and developers—providing the ability to choose from a broader and wider array of helpful smart home products, provide assurance products will work together, and deliver on security and privacy, regardless of the ecosystem. It’s much like the ability to use a USB printer, without having to worry about if it works with a Chromebook, Mac, or Windows computer.
Come join us in the Connected Home over IP Working Group today and bring the vision of the Project to life! You can also learn more about our current smart home technologies here and how they enable easy integration with the Assistant.
Jen Harvey, Head of Marketing, Google Developers Launchpad
Google Developers Launchpad is an accelerator program that excels in helping startups solve the world’s biggest problems through the best of Google, with a focus on advanced technology. However our impact doesn’t stop there. A distinguishing aspect of our program is the network that we build with, and for, our founders. Over the past five years, Launchpad has created a global community of founders based on deep, genuine connections that we foster during the program, and that community supports one another in remarkable ways.
When Akanksha Hazari Ericson, Launchpad alumna and founder of m.Paani, took the stage at Google Developers Launchpad Future of Finance Summit in March, she didn’t know what would come of it. Fast forward, she just announced a Series A financing round, led by an institutional venture investor who was in the audience and two of her fellow founders in the Launchpad Accelerator program.
“We weren't even raising at the time,” said Akanksha. “They saw our Future of Finance presentation and engaged with me right after my talk. Soon after, they were on a flight to Mumbai to meet our team and customers. Their investment initiated this round.”
The peer investment came from Launchpad alumni, and angel investors, Kevin Aluwi, CEO and Co-Founder, and Ryu Suliawan, Head of Merchants at GO-JEK, a Southeast Asian on-demand, multi-service platform and digital payment technology group. Both Kevin and Ryu saw direct value in what m.Paani and have stated their excitement to be part of m.Paani’s journey. They also saw huge strategic potential for the company to empower local retailers beyond India.
“It is because of the strong community of founders that Launchpad creates that I was able to make these amazing friends and mentors. Those connections led to this investment,” Akanksha said. “These investors have strategic relevance and add immense value to our business.”
m.Paani’s product uses machine learning technology, powered by Google Cloud, to empower more than 60 million family-owned local businesses in India by providing them with an online store front. The vast majority of local retailers are not digitized in any way; m.Paani’s solution allows them to compete with an app & web store, ability to accept digital payments, create loyalty programs, and much more.
m.Paani, who attended the Launchpad Accelerator in 2019, is now part of a wider community of Launchpad founders and companies that spans almost 400 startups across the world.
"It's exciting to watch startups grow, but it's even more exciting when investment comes through the resources and connections we helped foster as part of the program,” said David McLaughlin, Director of Google Developers Ecosystem team. “We put on strong focus on founder-to-founder interaction in our curriculum, mostly via our Leaders Lab and Growth Lab. We really want to create a wider community of founders who are willing to support each other. To see m.Paani take the next step on the funding ladder through that community showcases one of the many benefits for founders who join us for this accelerator".
Akanksha, and her team, are excited about how the funds will help scale the offering for local retailers. “The funding will allow us to grow quickly, invest in product and technology, and better serve our retailers. Our retail partners are the backbone of our local economy and culture, and deserve the ability to compete in the digital age. This, more than anything else, is what gets me and our whole team up and excited every morning.”
Want to learn more about Akanksha’s founder journey with m.Paani? Check out her story here.
Google Developers Launchpad Accelerator executes its graduation week for the startups in the second class of the program for Latin America
19 startups from 10 countries will enjoy access to the best that Miami and TheVentureCity have to offer
Miami, December 9, 2019. Once again, the status of Miami as an international tech hub is elevated with TheVentureCity playing host to the final week of Google’s startup acceleration program, Launchpad. The event marks the end of a 10-week immersion that began in Mexico, continued in Argentina, and concludes in South Florida; connecting startups with dedicated support to take their businesses to the next level.
This week, the 9 startups in the Launchpad program will meet with startups in TheVentureCity’s own Growth program. This is an opportunity for them to share experiences, engage with each other and grow. TheVentureCity has invited top venture capitalists (VCs) from around the U.S., Europe, and Latin America as an added benefit for startups on both programs.
“Being able to host this program for startups from across Latin America in Miami feels to me like a dream come true. It is an unparalleled occasion to showcase the amazing work that developers and entrepreneurs are leading in the region", said Paco Solsona, manager of Google Developers.
For Laura González-Estéfani, CEO and founder of TheVentureCity: “This initiative consolidates Miami as an epicenter of innovation and entrepreneurship by bringing together companies that think beyond borders. We believe that talent is evenly distributed around the world, but opportunities are unequal.”
Startups on the Launchpad Accelerator come from a wide span of Latin American countries, including Argentina, México, Colombia, Chile, and El Salvador. The companies graduating this week are: 123Seguro, Al Turing, Apli, DevF, Hugo, Jetty, Jüsto, Odd Industries, and TransparentBusiness. The participating companies from TheVentureCity are: Qempo, Cajero, ComigoSaude, Digital Innovation One, TheFastMind, eMasters, Alba, 1Doc3, Stayfilm and Erudit. While being an international group, these startups represent the talent, diversity, and richness of the continent.
The main benefit of hosting this program in Miami is to diversify thinking in the American tech ecosystem and to keep relevant stakeholders informed about the challenges being faced by startups across the region. This is the second time that Google and TheVentureCity partner up to support startups; last March, we successfully hosted the first-ever Google Developers Launchpad Start, a one-week version of the accelerator program, in Miami.
TheVentureCity is a new growth and accelerator model that helps diverse founders achieve global impact. Our mission is to make the global entrepreneurial ecosystem more diverse, international and accessible to fair capital. TheVentureCity supports founders with a global mindset to achieve their next big success.
About Google Developers Launchpad
Google Developers Launchpad is a startup accelerator program that empowers the global startup ecosystems to solve the world’s biggest challenges with the best of Google - its people, research, and advanced technologies. Started by you. Accelerated with Google.
We’re writing to you from Flutter Interact, our biggest Flutter event to date, where we’re making a number of announcements about Flutter, including a new updated release and a series of partnerships that demonstrate our commitment to supporting the ever-growing ecosystem around Flutter.
From Device-centric to App-centric development
Our original release for Flutter was focused on helping you build apps that run on iOS and Android from a single codebase. But we want to go further.
We live in a world where internet-connected devices are pervading every area of our lives. Many of us transition throughout the day between multiple devices: phones, watches and other wearable devices, tablets, desktop or laptop computers, televisions and increasingly, smart displays such as the Google Nest Hub.
In this emerging world, the focus starts to move away from any individual device towards an environment where your services and software are available wherever you need them. We call this ambient computing, and it’s core to our vision for Flutter: a portable toolkit for building beautiful experiences wherever you might want to paint pixels on the screen.
With Flutter, instead of being forced to start your app development by asking “which device am I targeting?”, we want you to be able to begin by focusing on what you want to build. In this multi-device, multi-platform world, Flutter aims to provide a framework and tooling for creating user experiences without compromise on any device or form factor. The Dart-powered Flutter engine supports fast development with stateful hot reload, and fast performance in production with native compilation, whether it is running on mobile, desktop, web, or embedded devices.
If you’re a startup, Flutter lets you test your idea on your total addressable market, rather than being forced to target just one user base due to a lack of resources. If you’re a larger company, Flutter lets you consolidate your team’s resources onto shipping a single experience, reusing code across mobile, web and desktop as you see fit. Flutter is unique in supporting such a diversity of natively-compiled experiences from a single codebase.
It’s been great to see how Flutter has flourished in the short time since its initial release. Well over a million developers are already using Flutter for apps both large and small. In GitHub’s 2019 State of the Octoverse report, Dart and Flutter ranked #1 and #2 for fastest-growing language and open source project respectively over the last twelve months, and Flutter is now one of the ten most starred software repos on their site. And in a recent analysis by LinkedIn, Flutter is described as “the fastest-growing skill among software engineers”.
The rest of this article talks about our progress towards this ambient computing vision, and specifically focuses on the announcements we made today to help designers and developers collaborate together on stunning visual experiences built with Flutter.
Flutter on mobile, desktop, and web
Today at Flutter Interact, we are announcing Flutter 1.12, our latest stable release of the Flutter framework. This latest quarterly release represents the work of hundreds of contributors from inside and outside Google, and brings new performance improvements, more control over adding Flutter content to existing apps, and updates to the Material and Cupertino libraries. We also have a new Google Fonts package that provides direct access to almost 1,000 open sourced font families, putting beautiful typography within reach in just a line of code. More information about what’s new in Flutter 1.12 can be found in our dedicated blog post on the Flutter Medium channel.
Google is increasingly using Flutter for mobile app development, thanks to the productivity benefits it offers for multiplatform development. At Interact, the Stadia team showcased their app, running on both iOS and Android from the same codebase and built with Flutter. Talking about their experiences, the team had this to say:
“As Stadia was initially investigating mobile, Flutter enabled us to prototype quickly, demonstrate gameplay on Android, and then staff one team to build our cross-platform experience without compromise. We’re delighted with the results and are continuing to build new features in Flutter.”
Of course, many companies outside Google are also using Flutter for their app development. Splice provides a library of millions of sounds, loops, and presets that help musicians bring their ideas to life. When they decided to add a mobile app to supplement their existing desktop experience, they chose Flutter because, as they put it: “Speed to validate our product hypothesis was critical. We are a small team, so we needed a single solution that could deliver an equally great experience to all our users on iOS and Android.”
Within six weeks, they had built a prototype that validated their choice, and their new mobile experience is live in both the Apple Store and the Google Play Store:
Adding a mobile experience is already showing results, with a significant percentage of purchases now coming through their mobile app. And with Flutter providing consistency across multiple platforms, they’re now experimenting with bringing some of the same experiences into their desktop app.
On the subject of desktop, we’ve made much progress with macOS support. For the first time, you can use the release mode to build a fully-optimized macOS application using Flutter, and we’ve been working to expand the Material design system in Flutter to support apps that are designed for desktop-class form factors. More information on building for desktop can be found at flutter.dev/desktop.
Lastly, we’re delighted to announce the beta release of Flutter’s web support, adding stability and maturity over the previews that we shipped earlier this year. It’s now possible to build and consume web plug-ins, enabling Flutter apps to take advantage of a growing ecosystem of Dart components for everything from Firebase to the latest web APIs. Since we announced our early adopter program a couple of months ago, we’ve been working with customers like Journey to test web-based experiences with Flutter, and now we’re ready for a broader set of developers to start building web content with Flutter. More information on Flutter’s web support can be found at flutter.dev/web and at the companion blog article that was published today.
Flutter as a canvas for creative exploration
We focused our event this year primarily on the creative technologists, prototypers, interactive designers, and visual coders. A core motivation for building Flutter was that we don’t think multi-platform development should require compromise on visual quality. We see Flutter as a canvas for creative expression and exploration, since it removes many of the restrictions that visually-oriented developers have often faced. Flutter’s stateful hot reload feature makes it easy to make changes and see the results in real-time; and with every pixel drawn by Flutter, you can blend UI, graphical content, text and video with custom animations and transformations.
In preparing for this event, we’ve been particularly inspired by the work of Robert Felker, a digital artist who has created a series of generative art explorations with Flutter that combine geometry, texture and light in stunning ways. We never envisioned Flutter being used to create images like this, but it speaks to the expressive power of Flutter, combined with artistic creativity, that the image on the right below is generated with less than 60 lines of Dart code:
Today we’re honored to be joined by several partners who are launching tools for designers to more fully participate in the creative process of building Flutter applications.
Supernova has integrated Flutter into their design and prototyping tool, with animation support, Material Design integration, and an updated interface designed for Flutter. They also announced a new browser-based tool, Supernova Cloud, which is built entirely with Flutter’s web support.
Rive (previously 2Dimensions, who published the Flare graphics tool) announced that they’re consolidating their company name and product into one brand. They unveiled their new company and product name, Rive, as well as a number of new product features. Perhaps the most notable feature in Rive is support for importing Lottie files created with Adobe After Effects, enabling deeper integration of Flutter into existing workflows for animated content. Rive now supports real-time dynamic layering effects like drop shadows, inner shadows, glows, blurs, and masking.
Rive eliminates the need to recreate designs and animations in code, greatly simplifying the designer-to-developer handoff. This means that designers are free to iterate and make changes at any time. And because it outputs real assets that integrate directly with Flutter, not just MP4 videos or GIF images, Rive allows you to create sophisticated and dynamic interactions, game characters, animated icons, and onboarding screens.
Lastly, another big endorsement of Flutter as a canvas for creatives comes from Adobe, who are announcing Flutter support in Creative Cloud with a plugin that exports designs from Adobe XD into Flutter. Adobe XD, Adobe’s user experience design platform, allows product design teams to design and prototype user experiences for mobile, web, desktop, and beyond. Instead of simply handing off design specs and leaving development teams to understand and interpret a designer’s vision, the new XD-to-Flutter plugin automatically converts XD designs into code that is immediately usable as part of your Flutter application development.
The XD to Flutter plugin will be available as open source early next year. You can find out more about XD to Flutter and sign up for early access on Adobe’s website. We’re thrilled to partner with Adobe; their pedigree in extensible design tooling will give product designers a huge head start in creating amazing Flutter experiences.
Flutter is at its heart an open source project. The value we derive for Google comes in part from the productivity gains realized by other product teams inside the company who use Flutter, but we build Flutter with you and for you, knowing that a larger ecosystem and community benefits us all. Our journey thus far has broadened from our original mobile-centric release to incorporate a wider range of form factors, and we continue to invest in designer and developer tools that increase both the productivity and the beauty of your finished application.
But what perhaps brings us the greatest satisfaction is when Flutter helps an individual turn their idea into a completed work that they can share with the world. The story in the below video of one family is a touching tribute to all those who have made Flutter possible, whether by contributing code, bug reports or fixes, or sharing knowledge with others in the community. We’re so grateful to be on this journey with you!
MediaPipe is a framework for building cross platform multimodal applied ML pipelines that consist of fast ML inference, classic computer vision, and media processing (e.g. video decoding). MediaPipe was open sourced at CVPR in June 2019 as v0.5.0. Since our first open source version, we have released various ML pipeline examples like
In MediaPipe v0.6.7.1, we are excited to release a box tracking solution, that has been powering real-time tracking in Motion Stills, YouTube’s privacy blur, and Google Lens for several years and that is leveraging classic computer vision approaches. Pairing tracking with ML inference results in valuable and efficient pipelines. In this blog, we pair box tracking with object detection to create an object detection and tracking pipeline. With tracking, this pipeline offers several advantages over running detection per frame:
It provides instance based tracking, i.e. the object ID is maintained across frames.
Detection does not have to run every frame. This enables running heavier detection models that are more accurate while keeping the pipeline lightweight and real-time on mobile devices.
Object localization is temporally consistent with the help of tracking, meaning less jitter is observable across frames.
Our general box tracking solution consumes image frames from a video or camera stream, and starting box positions with timestamps, indicating 2D regions of interest to track, and computes the tracked box positions for each frame. In this specific use case, the starting box positions come from object detection, but the starting position can also be provided manually by the user or another system. Our solution consists of three main components: a motion analysis component, a flow packager component, and a box tracking component. Each component is encapsulated as a MediaPipe calculator, and the box tracking solution as a whole is represented as a MediaPipe subgraph shown below.
MediaPipe Box Tracking Subgraph
The MotionAnalysis calculator extracts features (e.g. high-gradient corners) across the image, tracks those features over time, classifies them into foreground and background features, and estimates both local motion vectors and the global motion model. The FlowPackager calculator packs the estimated motion metadata into an efficient format. The BoxTracker calculator takes this motion metadata from the FlowPackager calculator and the position of starting boxes, and tracks the boxes over time. Using solely the motion data (without the need for the RGB frames) produced by the MotionAnalysis calculator, the BoxTracker calculator tracks individual objects or regions while discriminating from others. To track an input region, we first use the motion data corresponding to this region and employ iteratively reweighted least squares (IRLS) fitting a parametric model to the region’s weighted motion vectors. Each region has a tracking state including its prior, mean velocity, set of inlier and outlier feature IDs, and the region centroid. See the figure below for a visualization of the tracking state, with green arrows indicating motion vectors of inliers, and red arrows indicating motion vectors of outliers. Note that by only relying on feature IDs we implicitly capture the region’s appearance, since each feature’s patch intensity stays roughly constant over time. Additionally, by decomposing a region’s motion into that of the camera motion and the individual object motion, we can even track featureless regions.
Visualization of Tracking State for Each Box
An advantage of our architecture is that by separating motion analysis into a dedicated MediaPipe calculator and tracking features over the whole image, we enable great flexibility and constant computation independent of the number of regions tracked! By not having to rely on the RGB frames during tracking, our tracking solution provides the flexibility to cache the metadata across a batch of frame. Caching enables tracking of regions both backwards and forwards in time; or even sync directly to a specified timestamp for tracking with random access.
Object Detection and Tracking
A MediaPipe example graph for object detection and tracking is shown below. It consists of 4 compute nodes: a PacketResampler calculator, an ObjectDetection subgraph released previously in the MediaPipe object detection example, an ObjectTracking subgraph that wraps around the BoxTracking subgraph discussed above, and a Renderer subgraph that draws the visualization.
MediaPipe Example Graph for Object Detection and Tracking. Boxes in purple are subgraphs.
In general, the ObjectDetection subgraph (which performs ML model inference internally) runs only upon request, e.g. at an arbitrary frame rate or triggered by specific signals. More specifically, in this example PacketResampler temporally subsamples the incoming video frames to 0.5 fps before they are passed into ObjectDetection. This frame rate can be configured differently as an option in PacketResampler.
The ObjectTracking subgraph runs in real-time on every incoming frame to track the detected objects. It expands the BoxTracking subgraph described above with additional functionality: when new detections arrive it uses IoU (Intersection over Union) to associate the current tracked objects/boxes with new detections to remove obsolete or duplicated boxes.
A sample result of this object detection and tracking example can be found below. The left image is the result of running object detection per frame. The right image is the result of running object detection and tracking. Note that the result with tracking is much more stable with less temporal jitter. It also maintains object IDs across frames.
Comparison Between Object Detection Per Frame and Object Detection and Tracking
This is our first Google Developer blog post for MediaPipe. We look forward to publishing new blog posts related to new MediaPipe ML pipeline examples and features. Please follow the MediaPipe tag on the Google Developer blog and Google Developer twitter account (@googledevs)
We would like to thank Fan Zhang, Genzhi Ye, Jiuqiang Tang, Jianing Wei, Chuo-Ling Chang, Ming Guang Yong, and Matthias Grundman for building the object detection and tracking solution in MediaPipe and contributing to this blog post.
Posted by Shahram Izadi, Director of Research and Engineering
ARCore, our developer platform for building augmented reality (AR) experiences, allows your devices to display content immersively in the context of the world around us-- making them instantly accessible and useful. Earlier this year, we introduced Environmental HDR, which brings real world lighting to AR objects and scenes, enhancing immersion with more realistic reflections, shadows, and lighting. Today, we're opening a call for collaborators to try another tool that helps improve immersion with the new Depth API in ARCore, enabling experiences that are vastly more natural, interactive, and helpful. The ARCore 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.
Example depth map, with red indicating areas that are close by, and blue representing areas that are farther away.
One important application for depth is occlusion: the ability for digital objects to accurately appear in front of or behind real world objects. Occlusion helps digital objects feel as if they are actually in your space by blending them with the scene. We will begin making occlusion available in Scene Viewer, the developer tool that powers AR in Search, to an initial set of over 200 million ARCore-enabled Android devices today.
A virtual cat with occlusion off and with occlusion on.
We’ve also been working with Houzz, a company that focuses on home renovation and design, to bring the Depth API to the “View in My Room” experience in their app. “Using the ARCore Depth API, people can see a more realistic preview of the products they’re about to buy, visualizing our 3D models right next to the existing furniture in a room,” says Sally Huang, Visual Technologies Lead at Houzz. “Doing this gives our users much more confidence in their purchasing decisions.”
The Houzz app with occlusion is available today.
In addition to enabling occlusion, having a 3D understanding of the world on your device unlocks a myriad of other possibilities. Our team has been exploring some of these, playing with realistic physics, path planning, surface interaction, and more.
Physics, path planning, and surface interaction examples.
When applications of the Depth API are combined together, you can also create experiences in which objects accurately bounce and splash across surfaces and textures, as well as new interactive game mechanics that enable players to duck and hide behind real-world objects.
A demo experience we created where you have to dodge and throw food at a robot chef.
The Depth API is not dependent on specialized cameras and sensors, and it will only get better as hardware improves. For example, the addition of depth sensors, like time-of-flight (ToF) sensors, to new devices will help create more detailed depth maps to improve existing capabilities like occlusion, and unlock new capabilities such as dynamic occlusion—the ability to occlude behind moving objects. We’ve only begun to scratch the surface of what’s possible with the Depth API and we want to see how you will innovate with this feature. If you are interested in trying the new Depth API, please fill out our call for collaborators form.
Summary: Flutter Interact is happening on December 11th. Sign up here for our global livestream and watch it atg.co/FlutterInteract. Google’s conference focusing on beautiful designs and apps, Flutter Interact, is streaming worldwide on December 11. Flutter Interact is a day dedicated to creation and collaboration. Whether you are a web developer, mobile developer, front-end engineer, UX designer, or designer, this is a good opportunity to hear the latest from Google. This one-day event has several talks focused on different topics regarding development and design. Speakers include Matias Duarte, VP of Google Design; Tim Sneath, Group PM for Flutter and Dart; and Grant Skinner, CEO, GSkinner, Inc.
What to expect at Flutter Interact
Flutter Interact will focus on creating eye-catching experiences across devices. We’ll showcase the latest from Google Design and from Flutter, Google’s free and open source UI toolkit to build beautiful, natively compiled applications for mobile, web, and desktop from a single codebase. This event is tailored to a global audience, with a worldwide livestream, hundreds of viewing parties, and the opportunity to ask questions that are answered at the event.
It will include content and announcements from the Material Design and Flutter teams, partners, and other companies.
Tune in to the livestream
Go to g.co/FlutterInteract and sign up for livestream updates. The event will be broadcasted on the website on Dec 11, with a keynote starting at 10:00 a.m. EST (GMT-5). You can also add this event directly to your Google Calendar.
Get Involved with #AskFlutter and #FlutterInteract
Flutter Interact is geared toward our online audience. There are two main ways to get involved.
The official event hashtag. We will have a social wall that is constantly showing tweets coming in with #FlutterInteract, both on site and on our livestream. Make sure to tweet your pictures, comments, videos, and thoughts while you experience Flutter Interact.
Our team will be on site, live, answering questions in real time. Tweet your questions and comments with the #AskFlutter hashtag to connect with the Flutter team (and the open source community), and get your questions answered. Your tweet may also appear on the global livestream during the event.
We are grateful to experience Flutter Interact with you on December 11th. In the meantime, follow us on twitter at @FlutterDev and get started with Flutter at flutter.dev.
After Aaron Ma, an 11-year-old DevFest speaker, recently gave his tips on coding, people kept asking us, “so what are the other kids of DevFest working on?” In response, we want to show you how these incredible kids, or DevKids as we call them, are spreading their ideas at DevFest events around the world.
Below you will find the stories of DevKids from Morocco to Toronto, who have spoken on topics ranging from robotics to augmented reality. We hope you enjoy!
Ider, an 11-year-old developer from Morocco, has a passion for Python and is not afraid to use it. With an incredibly advanced understanding of machine learning and augmented reality, he was asked to speak at DevFest Agadir on what the future holds for kids interested in programming.
Ider’s presentation was titled, The Talk of The Next Generation and focused on how kids can find their passion for computer science and start building the future they one day hope to call reality.
Selin, a 13-year-old developer from Istanbul who was named the European Digital Girl of the Year by AdaAwards, joined the DevFest family last season. Recently, at a DevFest event in Istanbul, she told the story of how she became fascinated with robotics through a presentation titled, My Journey of Building Robots. With a passion for Python, Java, and Ruby, she explained how she is using her skills to build a robotic guide dog for the blind. She hopes that with the help of technology, she can open up a new, more accessible world for those with disabilities.
Radostin, a 13-year-old programmer from Bulgaria, joined the DevFest family last season as a speaker and is now a core member of the DevFest Organizing Team. Recently, he created an app for the team that gathers feedback on different DevFest events.
Previously, he gave a talk at DevFest Sofia on how he built an app that teaches people to play chess on Google Assistant. The young developer also spoke of how his aunt introduced him to coding and how watching her program inspired him to learn Java, Kotlin, C #, Python, Dart, and C ++. He ended his presentation recounting long nights, spent watching YouTube videos, in search of anything he could get his hands on to learn. Radostin has inspired his DevFest family to believe they can learn anything, anywhere, at anytime.
Artash (12-years-old) and Arushi (9-years-old), are a brother-sister programing team from Canada. At DevFest Toronto, they showcased their very-own facial recognition robot that uses Machine Learning to Detect Facial Emotions. Their presentation was complete with live demonstrations where their robot analyzed fellow DevFest speakers and gave physical responses to their emotions. The two up-and-coming programmers also described how they went about creating their own ML algorithm to build the robot.
What inspired them to start such a project? Space travel. Artash and Arushi believe that as astronauts embark on longer space missions, it’s important to build tools that can monitor their mental health. One day, they hope their robot will accompany astronauts on the first trip to Mars.
Inspired by these awesome kids? Want to share your own ideas with a welcoming community? Then find a DevFest near you, at devfest.withgoogle.com.
Last month, we announced that Coral graduated out of beta, into a wider, global release. Today, we're announcing the next version of Mendel Linux (4.0 release Day) for the Coral Dev Board and SoM, as well as a number of other exciting updates.
We have made significant updates to improve performance and stability. Mendel Linux 4.0 release Day is based on Debian 10 Buster and includes upgraded GStreamer pipelines and support for Python 3.7, OpenCV, and OpenCL. The Linux kernel has also been updated to version 4.14 and U-Boot to version 2017.03.3.
We’ve also made it possible to use the Dev Board's GPU to convert YUV to RGB pixel data at up to 130 frames per second on 1080p resolution, which is one to two orders of magnitude faster than on Mendel Linux 3.0 release Chef. These changes make it possible to run inferences with YUV-producing sources such as cameras and hardware video decoders.
MediaPipe is an open-source, cross-platform framework for building multi-modal machine learning perception pipelines that can process streaming data like video and audio. For example, you can use MediaPipe to run on-device machine learning models and process video from a camera to detect, track and visualize hand landmarks in real-time.
Developers and researchers can prototype their real-time perception use cases starting with the creation of the MediaPipe graph on desktop. Then they can quickly convert and deploy that same graph to the Coral Dev Board, where the quantized TensorFlow Lite model will be accelerated by the Edge TPU.
As part of this first release, MediaPipe is making available new experimental samples for both object and face detection, with support for the Coral Dev Board and SoM. The source code and instructions for compiling and running each sample are available on GitHub and on the MediaPipe documentation site.
New Teachable Sorter project tutorial
A new Teachable Sorter tutorial is now available. The Teachable Sorter is a physical sorting machine that combines the Coral USB Accelerator's ability to perform very low latency inference with an ML model that can be trained to rapidly recognize and sort different objects as they fall through the air. It leverages Google’s new Teachable Machine 2.0, a web application that makes it easy for anyone to quickly train a model in a fun, hands-on way.
The tutorial walks through how to build the free-fall sorter, which separates marshmallows from cereal and can be trained using Teachable Machine.
Coral is now on TensorFlow Hub
Earlier this month, the TensorFlow team announced a new version of TensorFlow Hub, a central repository of pre-trained models. With this update, the interface has been improved with a fresh landing page and search experience. Pre-trained Coral models compiled for the Edge TPU continue to be available on our Coral site, but a select few are also now available from the TensorFlow Hub. On the site, you can find models featuring an Overlay interface, allowing you to test the model's performance against a custom set of images right from the browser. Check out the experience for MobileNet v1 and MobileNet v2.
We are excited to share all that Coral has to offer as we continue to evolve our platform. For a list of worldwide distributors, system integrators and partners, visit the new Coral partnerships page. We hope you’ll use the new features offered on Coral.ai as a resource and encourage you to keep sending us feedback at [email protected].