If you want to build your own smart home devices with more-advanced features like facial recognition and motion sensing, Ayla Networks is a good option. It's an end-to-end IoT foundation that can handle a variety of devices, including smart cameras and sensors, with features like live video streaming, cloud storage, motion detection and facial recognition. It's also flexible, with an architecture that lets you keep control over your device and customer data but that's also modular for easy expansion.
Another contender is Tuya, a global cloud platform service company that lets you build smart products in many markets. Its distributed and platform-agnostic IoT operating system, TuyaOS, is designed to work with cloud development tools like IoT Core and device logs. Tuya also offers a range of app development tools and growth tools for a complete solution to build and customize smart home products with advanced features.
If you want to add facial recognition specifically, Luxand offers SDKs and APIs for face detection and recognition on multiple platforms. With features like live video recognition, mask-on face detection and thermal face detection, Luxand can be used to improve everything from smart home devices to security systems.