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
# jul/28/2022 00:34:21 by RouterOS 7.4rc2 | |
# incomplete config, do not use directly | |
/ip firewall address-list | |
add address=192.168.88.0/24 list=local | |
add address=192.168.88.0/24 list=preferprimary | |
add address=1.2.3.0/24 list=localnet-primary | |
add address=4.5.6.0/24 list=localnet-backup | |
add address=9.9.9.10 list=reserved-main | |
add address=9.9.9.11 list=reserved-isp1 |
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 | |
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() |