Vision Tachometer
If you have any questions, please submit issues or email me: [email]enpeicv@outlook.com[/email], have fun with it!
代码:链接: https://pan.baidu.com/s/1oeqUQ29KEnvKbsIwbuaxNA?pwd=1d69 提取码: 1d69
1.Demo
https://www.bilibili.com/video/BV1xa4y117PR/?vd_source=39b1662212679b11469d17d3bee8df4e
2.Usage
Python
-
Create a python=3.8 environment with conda or venv .
-
Install packages like opencv and numpy .
-
Download 1.video_tachometer_demo.mp4 from media files.
-
Move 1.video_tachometer_demo.mp4 to the media directory of the project.
-
# video_path: filename for input video | camera index for stream
# snap_path: reference snapshot
# output_path: recorded video path
# example
python demo.py --video_path media/1.video_tachometer_demo.mp4 --snap_path media/snap.png --output_path result.mp4
-
It will open three windows (raw video, matched, graph).
![](https://enpei-md.oss-cn-hangzhou.aliyuncs.com/202401131140446.png?x-oss-process=style/wp)
C++
The overall process is identical to Python's.
3.References
|