Skip to content

Instantly share code, notes, and snippets.

View Wolfman1219's full-sized avatar
💭
I may be slow to respond.

Abduraxim Jabborov Wolfman1219

💭
I may be slow to respond.
View GitHub Profile
Registered Name: https://zhile.io
License Key: 48891cf209c6d32bf4
import cv2
import time
person_cascade = cv2.CascadeClassifier(
os.path.join('/path/to/haarcascade_fullbody.xml'))
cap = cv2.VideoCapture("/path/to/test/video")
while True:
r, frame = cap.read()
if r:
start_time = time.time()