This is the repository for the video demonstration here:
This is a demonstration, and no support will be provided.
It's strongly encouraged that you install with a virtual environment, such as venv.
- Boto, OpenCV
pip install boto3
pip install opencv-python
Download YOLO cfg and weights from opencv.
sender_email
is the "FROM" address. The sender can be any email account, but you have to connect it through AWS SES.receiver_email
is the "TO" address.region
should match what you set up in AWS.
EMAIL_PARAMS = {
'sender_email': "[email protected]",
'receiver_email': "[email protected]",
'subject': "Hello from Python!",
'message': "This is a test email sent from a Python script.",
'image': 'parking.jpg',
'region': 'us-east-1'
}
Run python open_camera.py
.
To draw bounding box using left click. Your box should align with where you expect a car to appear on screen.