Skip to content

eric-yim/parking-spot-monitor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Parking Spot Monitor

This is the repository for the video demonstration here:

This is a demonstration, and no support will be provided.

Pre-reqs

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.

Set up

Change the EMAIL_PARAMS in camera.py.

  • 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

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.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages