import time import NumPy as np import cv2
car_classifier = cv2.CascadeClassifier(cv2.data.haarcascades + \'haarcascade_cars.xml\')
cap=cv2.VideoCapture(\'/home