This is doing the viral rounds described as a Google technology, but it's actually Apple's VisionCore in action. It runs offline on the local device, requiring no number-crunching help from the cloud. Here's a breakdown of how it identifies things through code.
You will need the beta version of xCode and a device running the iOS 11 beta (make sure you only install the beta software on a test device!).
I liked watching it contemplate whether a metal ruler was a meat cleaver or a "chopper." Whispers of the ACLU lawsuits of tomorrow: I think you'd better do what he says, Mr. Kinney.