So you want to build your own glasses? You are going to need a Raspberry Pi and 3D printer to get started. The PiZero SmartGlass project gives you a better idea to get started. It covers how to use a Raspberry Pi Zero and Python to build smart wearable devices. Such a device can be used to recognize people and objects and other comparable tasks. More info is available here.