This project aims to set up a simple CCTV camera system using a Windows 10 machine equipped with a camera. The system captures images at regular intervals, transfers them to a remote Linux server, and sends email notifications with the captured images attached.
This project was created by Emmanuel Odenyire Anyira, a student at ALX Software Engineering Program.
- Install and configure camera software to capture images and save them to
C:\Users\Emmanuel Odenyire\OneDrive\Pictures\Camera Roll
. - Install WinSCP for secure file transfer.
Ensure that the remote Linux server is accessible and configured to receive files via SCP.
- Script Name:
capture_images.ps1
- Description: PowerShell script to capture images from the camera at regular intervals.
- Interval: Captures an image every 5 minutes.
- Storage: Saves captured images to
C:\Users\Emmanuel Odenyire\OneDrive\Pictures\Camera Roll
.
- Script Name:
transfer_images.ps1
- Description: PowerShell script to transfer captured images to a remote Linux server using SCP.
- Interval: Transfers images to the remote server every 1 minute after capture.
- Destination: Images are stored in
/eodenyire/home/webcam
directory on the remote server.
- Script Name:
send_email.ps1
- Description: PowerShell script to send email notifications with captured images attached.
- Recipient: Sends notifications to
eodenyire@gmail.com
. - Content: Notifies about the captured images and their successful transfer to the remote server.
- Run the
capture_images.ps1
script on the Windows machine to start capturing images. - Run the
transfer_images.ps1
script to transfer captured images to the remote server. - Run the
send_email.ps1
script to send email notifications with captured images attached.
- PowerShell
- WinSCP
For any inquiries or issues, please contact Emmanuel Odenyire Anyira via email at eodenyire@gmail.com.