파일 기반 침입 감지

find runs -type f -name "*.mp4" | head -n 20

image.png

경로 하나 복사!

침입 감지 코드 파일인 instrusion_file.py 생성 후

VIDEO_PATH를 내 경로로 변경!

runs/detect/track/0.mp4

image.png

변경 후, 실행!

python intrusion_file.py

open intrusion_file_out.mp4

image.png

실시간(웹캠) 침입 감지

intrusion_live.py 코드 생성 후, 파일 실행!

image.png