Define the by painting over the specific areas of the video frame you want to monitor, such as windows or doorways. Step 4: Setting Up Alerts and Notifications