Security is one of the biggest issues in today's world. There is surely a need for a system which can act as surveillance for our offices and home and which is easy to use. The surveillance system is assuming a critical part in the field of security. Moving item discovery has been broadly utilized as a part of video observation framework. And also movement estimation is an imperative piece of observation video preparing, for example, video separating and pressure from video outlines. This paper proposes a basic and proficient observation framework in light of movement discovery with movement vector estimation from reconnaissance video outlines. Movement is recognized with another approach-edge district assurance which makes identification quicker. The reconnaissance video is then handled for movement estimation utilizing optical stream with Horn-Schunck calculation for evaluating movement vector for its sensible execution and effortlessness. This technique is computationally speedier without requiring any unique equipment for picture preparing. So it can be more material to installed frameworks. In this project, we used a motion detector which detects the motions of humans and informs us their activity. This camera comes with a wealth of features that enhance its surveillance capabilities, making it ideal for any situation. A passive infrared (PIR) sensor detects motion near the camera, allowing it to automatically record video and send you a notification when motion is detected. This is a self-sufficient surveillance solution, capable of recording snapshots and video to a MicroSD card without requiring a PC or network storage device.