当前位置:网站首页>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
边栏推荐
- 叮~ 你的奖学金已到账!C认证企业奖学金名单出炉
- innobackupex增量备份
- 零拷贝技术
- [point cloud series] relationship based point cloud completion
- Machine learning -- naive Bayes
- 【视频】线性回归中的贝叶斯推断与R语言预测工人工资数据|数据分享
- UEFI learning 01-arm aarch64 compilation, armplatformpripeicore (SEC)
- Machine learning -- model optimization
- [dynamic programming] 221 Largest Square
- Analysis of the latest Android high frequency interview questions in 2020 (BAT TMD JD Xiaomi)
猜你喜欢
![[point cloud series] full revolutionary geometric features](/img/00/701ba2f8130948329404dc4629ca46.png)
[point cloud series] full revolutionary geometric features

浅谈js正则之test方法bug篇
![[wechat applet] flex layout usage record](/img/ab/7b2392688d8a0130e671f179e09dce.png)
[wechat applet] flex layout usage record

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

Isparta is a tool that generates webp, GIF and apng from PNG and supports the transformation of webp, GIF and apng

十万大学生都已成为猿粉,你还在等什么?

C语言之字符串与字符数组的区别

零拷贝技术

SPI NAND flash summary
![[point cloud series] so net: self organizing network for point cloud analysis](/img/3c/6136b7aa322c42089f40ce13a2d747.png)
[point cloud series] so net: self organizing network for point cloud analysis
随机推荐
Software test system integration project management engineer full truth simulation question (including answer and analysis)
Riscv MMU overview
Imx6ull QEMU bare metal tutorial 2: usdhc SD card
Lpddr4 notes
LeetCode_DFS_中等_695.岛屿的最大面积
Servlet of three web components
2020年最新字节跳动Android开发者常见面试题及详细解析
QT调用外部程序
innobackupex增量备份
Tersus notes employee information 516 MySQL query (time period uniqueness judgment of 2 fields)
SHA512 / 384 principle and C language implementation (with source code)
Ai21 labs | standing on the shoulders of giant frozen language models
9419页最新一线互联网Android面试题解析大全
[point cloud series] unsupervised multi task feature learning on point clouds
TERSUS笔记员工信息516-Mysql查询(2个字段的时间段唯一性判断)
你和42W奖金池,就差一次“长沙银行杯”腾讯云启创新大赛!
面试官给我挖坑:单台服务器并发TCP连接数到底可以有多少 ?
"Xiangjian" Technology Salon | programmer & CSDN's advanced road
ESP32 VHCI架构传统蓝牙设置scan mode,让设备能被搜索到
Short name of common UI control