问题描述
我正在从事停车场系统项目。
I am working on car parking system project. For that, I would like to detect the presence of a car.
任何人都可以告诉我如何使用MATLAB来完成这项工作。
Can anybody tell me how I can accomplish this using MATLAB?
此外,检测汽车的算法是什么?
Also, what is the algorithm for detecting a car?
推荐答案
检测图像。你需要学习一点关于图像处理来解决这个问题。建议您阅读或更多关于。特别是对于汽车检测,如果你知道他们将被看到在某一角度(例如头),我会尝试,其在中实现为 。虽然OpenCV不是一个matlab库,你可以找到一些在matlab的图像处理工具箱,做一个类似的工作(或接口到OpenCV)
There's a whole world of methods for object detection in images. You need to learn a little bit about image processing to solve this problem. I suggest you read about template matching or more generally about Object recognition. Specifically for car detection, if you know they will be seen at a certain angle (head on, for example) i'd try Viola-Jones detection which is implemented in OpenCV as haar-based feature cascade detection. Although OpenCV is not a matlab library, you can probably find something in matlab's image processing toolboxes that does a similar job (or interface into OpenCV)
这篇关于使用MATLAB进行形状检测的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!