Skip to content

Instantly share code, notes, and snippets.

View dipan29's full-sized avatar
🏠
Working from home

Dipan Roy dipan29

🏠
Working from home
View GitHub Profile
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()
@dipan29
dipan29 / router.cfg
Created December 1, 2022 06:16 — forked from oakwhiz/router.cfg
[For reference only] MikroTik RouterOS v7 dual DHCP WAN recursive failover w/ PCC load-balancing; and recursive ECMP
# 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