Created
July 3, 2020 14:37
-
-
Save huggre/2f4c7b181b221345fd7432edcc15056c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# import the necessary packages | |
from rvm_lib import ReverseVendingMachine | |
from imutils.video import VideoStream | |
import time | |
# Select web cam. or PiCam | |
vs = VideoStream(src=0).start() | |
# vs = VideoStream(usePiCamera=True).start() | |
print("[INFO] warming up camera...") | |
time.sleep(2.0) | |
# start the Reverse Vending Machine App. | |
rvm = ReverseVendingMachine(vs) | |
rvm.root.mainloop() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment