Metasurface smart glass for fast and secure object recognition