πͺ
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 cv2 | |
import time | |
hog = cv2.HOGDescriptor() | |
hog.setSVMDetector(cv2.HOGDescriptor_getDefaultPeopleDetector()) | |
cap = cv2.VideoCapture("/path/to/test/video") | |
while True: | |
r, frame = cap.read() | |
if r: | |
start_time = time.time() |
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
π Morning 247 commits βββββββββββββββββββββ 24.5% | |
π Daytime 396 commits βββββββββββββββββββββ 39.3% | |
π Evening 340 commits βββββββββββββββββββββ 33.8% | |
π Night 24 commits βββββββββββββββββββββ 2.4% |
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
Java 1 hr 36 mins βββββββββββββββββββββ 65.7% | |
Python 45 mins βββββββββββββββββββββ 30.7% | |
Other 5 mins βββββββββββββββββββββ 3.5% | |
JSON 0 secs βββββββββββββββββββββ 0.1% |