Skip to main content

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

version 1468246779 anki 7
Image used with permission by copyright holder
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.

Recommended Videos

“[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.

anki-2
Image used with permission by copyright holder

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.

anki-1
Image used with permission by copyright holder

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.

Kyle Wiggers
Former Digital Trends Contributor
Kyle Wiggers is a writer, Web designer, and podcaster with an acute interest in all things tech. When not reviewing gadgets…
These apps use A.I. to automate your life and save you time
best ai apps oval app lifestyle

Artificial intelligence (A.I.) can do a huge amount to help our lives, and that's especially evident in the devices we use every day. There are tons of apps that make great use of A.I. to introduce fantastic new features that save huge amounts of time, identify whatever you point your camera at, and much more.

If you are looking to get a helping hand from some ingenious algorithms, look no further. We have rounded up the best apps that can do the hard work for you on your mobile device or computer. Just download them and start reaping the benefits.
Scan Thing

Read more
Clever new A.I. system promises to train your dog while you’re away from home
finding rover facial recognition app dog face big eyes

One of the few good things about lockdown and working from home has been having more time to spend with pets. But when the world returns to normal, people are going to go back to the office, and in some cases that means leaving dogs at home for a large part of the day, hopefully with someone coming into your house to let them out at the midday point.

What if it was possible for an A.I. device, like a next-generation Amazon Echo, to give your pooch a dog-training class while you were away? That’s the basis for a project carried out by researchers at Colorado State University. Initially spotted by Chris Stokel-Walker, author of YouTubers:How YouTube Shook Up TV and Created a New Generation of Stars, and reported by New Scientist, the work involves a prototype device that’s able to give out canine commands, check to see if they’re being obeyed, and then provide a treat as a reward when they are.

Read more
MIT’s clever robotic basketball hoop will help you level up your game
MIT robot basketball hoop

Researchers from Massachusetts Institute of Technology’s Computer Science & Artificial Intelligence Laboratory might not seem like the folks most likely to help you improve your hoop-shooting basketball skills. But that’s exactly what a new MIT CSAIL project sets out to do with a quirky basketball-training machine featuring a basketball hoop that shrinks and raises when you make shots, thereby shape-shifting to help improve the various facets of your game.

For example, to begin with, the basket can be positioned at a lower height with wider hoop diameter, which gradually shrinks down and also raises to reach regulation proportions as you score more and more baskets. It’s an unusual project from a lab that’s more used to working with the latest cutting-edge artificial intelligence algorithms -- but, as it turns out, it fits perfectly with CSAIL’s areas of expertise.

Read more