opencv-car-detection-video

时间:2021-05-11 16:29:57
【文件属性】:
文件名称:opencv-car-detection-video
文件大小:38.45MB
文件格式:ZIP
更新时间:2021-05-11 16:29:57
Python 视频流中的OpenCV Car检测 如何运行代码 git clone git@github.com:qwertmax/opencv-car-detection-video.git cd opencv-car-detection-video python main.py 安装软件包 pip install -r requirements.txt 示例如何工作 python代码 import numpy as np import cv2 cascade_src = 'cars.xml' video = 'data/video1.avi' def detectCars ( filename ): rectangles = [] cascade = cv2 . CascadeClassifier ( cascade_src ) vc = cv2 . VideoCapture ( fi
【文件预览】:
opencv-car-detection-video-master
----.gitignore(1KB)
----requirements.txt(20B)
----data()
--------Cars_On_Highway.mp4(34.01MB)
--------video1.avi(2.41MB)
--------video2.avi(2.15MB)
----LICENSE(1KB)
----README.md(1KB)
----main.py(863B)
----cars.xml(30KB)

网友评论