当前位置:网站首页>Double pointer instrument panel reading (I)
Double pointer instrument panel reading (I)
2022-04-23 13:40:00 【Jia Lanxiang】
The contents of this chapter : Think about the project and identify the dial
I basically put CSDN I've read all the articles and downloads about pointer reading on , Students with needs or questions can come to communicate , Resources can also be given free , The final recognition effect is shown in the picture in the previous article , After optimization, the resources occupied by running the program are particularly small ,GPU not essential . It should be easy to write a paper and get a patent later .
development language :python3.0+
Call package :
1.sys Used to exit the program :sys.exit()
2.time Used to calculate time , Also used matplotlib Timing of drawing
3. win32api Used to monitor the button win32api.GetKeyState(27)
4. cv2 Main call , Most processes require opencv, Version is 3.4
5. imutils It is mainly used to calculate the coordinates of the center point
6. matplotlib drawing
7. numpy mathematics
8. PIL Mainly used to transform arry Array as image
See the following table for the specific version , Too lazy to match one by one , Find it yourself


Talk about the idea of just getting the demand and the process of negation later :
Get the demand : A dial , Identify speed and signal , The dial is round

idea :hog+svm Training models , Real time tracking of dial position , Hough line recognition , Identify with the corresponding angle
practice :hog+svm The speed can , But the effect of Hough line detection is particularly poor
reason : Because the dial uses an oval pointer , The front end has a small pointer , The recognition effect is not ideal ,
How to deal with it : Use opencv After binarization of the dial by image processing , Use thinning algorithm (Image Thinning), Similar to the corrosion expansion seen before , After reading it, you can quickly understand , But with the thinning algorithm, the recognition effect is still very poor , That the road is blocked , Change the plan .

Because the intermediate manufacturer changed a dial , The use of hog+svm Look for the dial and it won't work , Change to Hough circle detection (hough cirlce Transform), Transfer is a college question , You can adjust parameters according to your own needs .
circles = cv2.HoughCircles(
binary, cv2.HOUGH_GRADIENT, 2, 1000, param1=100, param2=100, minRadius=10, maxRadius=5000)
But there's a problem , The Hough detection circle has always been carried out, and the performance requirements of the computer are particularly high , Time complexity and space complexity , For processing video, the efficiency is less than , Here I came up with a solution , The first recognized circle is used to cut the image , All circles in subsequent videos are identified according to this cutting area , Greatly reduce the performance loss of the equipment . The camera position is fixed later , This scheme is the best scheme compared with many schemes .
Comparison scheme :1.CSDN A blog program : Template matching
2. My previous plan :hog+svm
3. Hough circle detection scheme is applied to each frame of video
4.CSDN A download scheme : Forget what plan. Anyway, the effect of my side is not as good as the above comparison effect .
Write this chapter here , Work reason , Continue another day
版权声明
本文为[Jia Lanxiang]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204230604509243.html
边栏推荐
- [multi screen interaction] realize dual multi screen display II: startactivity mode
- 普通大学生如何拿到大厂offer?敖丙教你一招致胜!
- 缘结西安 | CSDN与西安思源学院签约,全面开启IT人才培养新篇章
- 100000 college students have become ape powder. What are you waiting for?
- Lpddr4 notes
- 【官宣】长沙软件人才实训基地成立!
- Ding ~ your scholarship has arrived! C certified enterprise scholarship list released
- Imx6ull QEMU bare metal tutorial 1: GPIO, iomux, I2C
- SPI NAND flash summary
- Migrating your native/mobile application to Unified Plan/WebRTC 1.0 API
猜你喜欢

SHA512 / 384 principle and C language implementation (with source code)

The interviewer dug a hole for me: what's the use of "/ /" in URI?

Plato farm, a top-level metauniverse game, has made frequent positive moves recently

Analysis of the latest Android high frequency interview questions in 2020 (BAT TMD JD Xiaomi)

集简云 x 飞书深诺,助力企业运营部实现自动化办公

你和42W奖金池,就差一次“长沙银行杯”腾讯云启创新大赛!

On the bug of JS regular test method

普通大学生如何拿到大厂offer?敖丙教你一招致胜!
![[dynamic programming] 221 Largest Square](/img/31/3af4ba05764a683220b5292d3b8780.png)
[dynamic programming] 221 Largest Square

QT调用外部程序
随机推荐
Comparison and summary of applicable scenarios of Clickhouse and MySQL database
TIA博途中基於高速計數器觸發中斷OB40實現定點加工動作的具體方法示例
Launcher hides app icons that do not need to be displayed
Common types and basic usage of input plug-in of logstash data processing service
Common commands of ADB shell
TCP 复位gongji原理和实战复现
Ding ~ your scholarship has arrived! C certified enterprise scholarship list released
According to the salary statistics of programmers in June 2021, the average salary is 15052 yuan. Are you holding back?
Tangent space
@Excellent you! CSDN College Club President Recruitment!
Analysis of the latest Android high frequency interview questions in 2020 (BAT TMD JD Xiaomi)
软考系统集成项目管理工程师全真模拟题(含答案、解析)
[point cloud series] multi view neural human rendering (NHR)
9419页最新一线互联网Android面试题解析大全
爱可可AI前沿推介 (4.23)
集简云 x 飞书深诺,助力企业运营部实现自动化办公
MySQL 8.0.11 download, install and connect tutorials using visualization tools
SAP ui5 application development tutorial 72 - animation effect setting of SAP ui5 page routing
【视频】线性回归中的贝叶斯推断与R语言预测工人工资数据|数据分享
kettle庖丁解牛第16篇之输入组件周边讲解