Anki's Cozmo will let you customize its code to your heart's content

version 1468246779 anki 7
Remember Cozmo, the cute little AI-powered robot that can recognize faces, become bored if you ignore it, or throw a tantrum when it loses a game? Turns out it’s capable of far more than Anki, the San Francisco-based creators of the ‘bot, let on last week. On Monday, the startup announced the launch of a software development kit that will expose Cozmo’s artificial intelligence smarts — including facial recognition, positional tracking, and text-to-speech synthesis — to any developer keen on tapping into them.

Anki’s motivations for doing so, explained Anki’s president and co-founder Hanns Tappeiner at a showcase in New York City, are twofold. First, the company wants to distill Cozmo’s deluge of mechanical parts, which include a gyroscope, accelerometer, cameras, a drop sensor, and four motorized joints, down to easy-to-understand functions that novice programmers can understand.

“[Cozmo] is very different from anything out there in terms of the number of tools at the software’s disposal,” Tappeiner said. Second, the company is angling to expose the toys’ more advanced features, like the ability to recognize and remember a familiar face, in a friendly, polished format that’s conducive to development.


The ultimate aim, said Tappeneir, is to put incredibly powerful resources — resources with up to four years of development and “thousands of lines of code” behind them — at the fingertips of both experts and dilettantes alike. He compared it to the advent of smartphone apps. “Pre-2007, if you wanted to be a mobile developer, you had to be a hardcore professional,” he said. “Only after the iPhone and Android has it become easy enough that almost anyone can make an app.”

The inherent complexity of robotics adds a wrinkle, though. While developing a moderately complex smartphone app might only require basic knowledge, programming a ‘bot is typically far more involved. As simple as a routine like obstacle avoidance might sound, said Tappeiner, the code is anything but. “You might be able to make a light blink or get the robot to drive straight, but to do anything else, you basically need a Ph.D in robotics,” he said. “There are people who literally spend their entire life figuring out that kind of stuff. The average person can’t or doesn’t have the time to worry about that [stuff].”

Anki’s solution is in the form of functions, or single-code, easy-to-use resources that encapsulate the company’s years of research. Cozmo’s software development kit, which developers access by plugging a smartphone or tablet running Anki’s companion app into their computer, includes hundreds of individual functions that let developers leverage everything from the Cozmo’s facial recognition to object avoidance.

Tappeneir showed one example, NumFaces, that “fires up nine thousand lines of code” to figure out faces are within Cozmo’s field of view. Another, LookAround, triggers the robot’s curious side — it’ll drive around and identify “things of interest,” or any objects it doesn’t recognize. And yet another, RollBlock, has Cozmo knocking over toy blocks on command. “You, as a developer, might just think, ‘I want to stack those two cubes,'” Tappeneir said. “Now, you don’t have to worry about it.


The breadth of tools at launch is extensive. In tow is facial tracking and facial recognition, the latter of which is accurate enough enough to detect a subjects’ gender and age, said Tappeiner. There’s even a function for pet tracking — Cozmo can distinguish between dogs and cats — and has options for playing back Cozmo’s various animations, sounds, and music.

And that’s just the tip of the iceberg. Intrepid programmers can supplement the list of available functions with their own code, said Tappeiner, which opens the door to integrations with “any internet-connected device” with a compatible web API. Cozmo will be able to pair with a Philips Hue bulb to dim the lights when you’re sitting in front of your living room TV, for example, or start a wireless coffee maker when you get out of bed in the morning.

The SDK will be released in stages, Tappeiner said. Phase 1 will be geared toward tinkering types who don’t mind getting their hands dirty — “hackers, students, and researchers.” A more stable release to follow will include support for visual programming languages like Scratch.

“The functions can be a high level, so it’s easy to wrap a graphical block around them,” Tappeiner said. “Kids will have access to actions like, ‘tell me whether the robot sees my mom right now.'” Already, he said, Anki’s partnering with “leading academic institutions, research labs and companies, and leaders in … education” to incorporate Cozmo into classroom curriculums.

Perhaps the most significant addition to the Cozmo platform, support for third-party app publishing, won’t land until the SDK’s final, third phase. Anki hasn’t settled on a distribution or pricing model yet, but the company eventually wants to facilitate the installation of custom apps beyond code repositories like Github. The team’s biggest hurdle, said Tappeiner, are the restrictions imposed on developers by some mobile app stores. “There are rules regarding what you’re allowed to do in an app store and what you’re not allowed to do,” he said. “But we’re working on it.”

Cozmo is available for pre-order now at the discounted price of $160. It’ll retail for $180 in October, and begin shipping with the SDK in the coming months.

Pre-Order on Amazon

Movies & TV

Is Walter White back? ‘Breaking Bad’ movie is on the way from the show’s creator

AMC is developing a Breaking Bad movie based on the award-winning television series, with show creator Vince Gilligan overseeing the project. Cameras are expected to begin rolling on the film before the end of 2018.

The best iRobot Roomba deals to make cleaning your home a breeze

Keep your home clean without lifting a finger using a robot vacuum cleaner. These nine iRobot Roomba deals not only help you keep your home tidy, but many also come with advanced features such as automatic scheduling and Wi-Fi connectivity.
Emerging Tech

The 20 best tech toys for kids will make you wish you were 10 again

Looking for the perfect toy or gadget for your child? Thankfully, we've rounded up some of our personal favorite tech toys, including microscopes, computer kits, and a spherical droid from a galaxy far, far away.
Home Theater

Want to mirror your smartphone or tablet onto your TV? Here's how

A vast arsenal of devices exists to allow sending anything on your mobile device to your TV. Our in-depth guide shows you how to mirror content from your smartphone or tablet to the big screen from virtually any device available.

Photography News: Flickr keeping Creative Commons photos, ONA gets colorful

Flickr has confirmed it's saving all Creative Commons images, ONA has released a new capsule collection in partnership with Passion Passport and 7Artisans has launched a new drone-specific 35mm f/5.6 lens.

Get your Sagan on with 60 awe-inspiring photos of the final frontier

Few things instill a sense of wonder quite like the final frontier. The best space photos show off the beauty of Earth, our solar system, and the far corners of the universe. Here are our current favorites.
Emerging Tech

Awesome Tech You Can’t Buy Yet: 1-handed drone control, a pot that stirs itself

Check out our roundup of the best new crowdfunding projects and product announcements that hit the web this week. You may not be able to buy this stuff yet, but it sure is fun to gawk!

Cyber Monday 2018: When it takes place and where to find the best deals

Cyber Monday is still a ways off, but it's never too early to start planning ahead. With so many different deals to choose from during one of the biggest shopping holidays of the year, going in with a little know-how makes all the…
Product Review

Airselfie 2 may as well be a GoPro stapled to a drunk hummingbird

On paper, the Airselfie 2 is marketed as flying photographer that fits in your pocket and snaps selfies from the sky. Unfortunately it’s more like a HandiCam controlled by a swarm of intoxicated bumblebees
Emerging Tech

‘Bionic mushroom’ can generate electricity without using fossil fuels

Researchers have come up with a way to produce electricity without fossil fuels using mushrooms covered with bacteria. The mushroom provides a safe environment for special cyanobacteria that generate electricity when light is shone on them.
Emerging Tech

Curiosity rover active and drilling again after computer issue

The Curiosity rover has succeeded in drilling a hole into the tough bedrock that previously defeated it, allowing imaging and collection of samples. The rover had been incapacitated for a few weeks due to problems with its computer.
Emerging Tech

Astronomers discover two rogue planets that do not orbit a star

Astronomers have identified two rogue planets in our galaxy which do not orbit around a star. Unlike the vast majority of discovered planets, these rogue planets drift through space alone with no sun to shine on them.
Emerging Tech

Pairs of supermassive black holes spotted in colliding galaxies

Astronomers have discovered several pairs of supermassive black holes in galaxies that are colliding with each other. These black holes will spiral closer and closer together and eventually merge into one supermassive black hole.
Emerging Tech

Quantum-based accelerometer can locate objects without GPS

Researchers have created a quantum "compass" that allows navigation without satellites. The instrument, technically called a standalone quantum accelerometer, is small enough to be transportable and has a very high level of accuracy.