The document describes a vision-based security system and home automation using Internet of Things (IoT). A camera detects movement using a PIR sensor and captures images of detected persons. Computer vision techniques including Local Binary Pattern (LBP) and Haar-like features are used to detect and recognize faces in the images. If an unauthorized person is recognized, a buzzer is triggered using IoT. The system also sends a notification message along with the image to family members. The goal is to provide smart home security and automation using computer vision and IoT.