Skip to content

Commit

Permalink
Update VehPlateRecogAtGate.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Amit-Chowdhury21 committed May 26, 2023
1 parent 9c874f6 commit b2c9358
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions VehPlateRecogAtGate.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,7 @@
from PIL import Image
from picamera.array import PiRGBArray
from picamera import PiCamera
#import smtplib
#server=smtplib.SMTP('smtp.gmail.com',587)
#server.starttls()
#server.login("Your Email ID", "Email ID Password")

camera = PiCamera()
camera.resolution = (640, 480)
camera.framerate = 30
Expand Down Expand Up @@ -66,7 +63,7 @@
print("Data posted successfully to ThingSpeak!")
else:
print("Failed to post data to ThingSpeak. Status code:", response.status_code)
#server.sendmail("Sender's Email [email protected]","Sender's Email [email protected]",text)

cv2.imshow("Frame", image)
cv2.imshow('Cropped',Cropped)
cv2.waitKey(0)
Expand Down

0 comments on commit b2c9358

Please sign in to comment.