项目
在 GitHub 查看
datitran/object_detector_app
datitran/object_detector_app has 1,305 GitHub stars and 727 forks. GitHot measured 0 stars in 24 hours, 0 in 7 days, and -1 in 15 days. Last checked 2026-11-25 05:58 UTC. Last push 2019-03-05.
实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- -1
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
关于
使用 TensorFlow 和 OpenCV 实时识别物体的应用。
机器学习README.md
原文Object-Detector-App
A real-time object recognition application using Google's TensorFlow Object Detection API and OpenCV.
Getting Started
conda env create -f environment.ymlpython object_detection_app.py/python object_detection_multithreading.pyOptional arguments (default value):- Device index of the camera
--source=0 - Width of the frames in the video stream
--width=480 - Height of the frames in the video stream
--height=360 - Number of workers
--num-workers=2 - Size of the queue
--queue-size=5 - Get video from HLS stream rather than webcam '--stream-input=http://somertmpserver.com/hls/live.m3u8'
- Send stream to livestreaming server '--stream-output=--stream=http://somertmpserver.com/hls/live.m3u8'
- Device index of the camera
Tests
pytest -vs utils/
Requirements
Notes
- OpenCV 3.1 might crash on OSX after a while, so that's why I had to switch to version 3.0. See open issue and solution here.
- Moving the
.read()part of the video stream in a multiple child processes did not work. However, it was possible to move it to a separate thread.
Copyright
探索相关项目
加载中…