简体   繁体   English

哪种特征向量更好地检测停车场插槽中是否有汽车?

[英]What kind of feature vector is better to detect whether there is a car in a car park slot ?

My aim is to detect whether a car slot is empty or occupied by a car. 我的目的是检测车位是空的还是被车占用的。 Finally, the number of cars will be counted in a car park. 最后,将在一个停车场中计算汽车的数量。

The camera is monitoring the car park as it is seen in the sample pictures. 如示例图片所示,相机正在监视停车场。 Each car park slot is presented with very less pixels. 每个停车场插槽都显示很少的像素。 I select four pixel points to define ROI, and I apply the perspective transformation in the image, please see Image 1. 我选择四个像素点来定义ROI,并在图像中应用透视变换,请参见图1。

SVM would be a nice approach to classify the samples and train. SVM将是对样本进行分类和训练的好方法。 Unfortunately, I am not sure about the feature vector. 不幸的是,我不确定特征向量。

The challenges: -Shadow of the cars in the adjacent slots -A car is one slot is visible partially in another slot. 挑战:-相邻插槽中汽车的阴影-一辆汽车是一个插槽,在另一个插槽中部分可见。
-Shadow of the big buildings -Weather changes (sunny, cloudy etc. ) -After the rain, slot color is changed (dry or wet) -Different slots and perspective changes -大型建筑物的阴影-天气变化(晴天,阴天等)-雨后,插槽颜色发生变化(干或湿)-不同的插槽和视角变化

What kind of features or feature vectors would be the best for the classification? 哪种特征或特征向量最适合分类?

Thank you in advance, 先感谢您,

例1

例题

示例3

范例4

A color histogram could already be enough if you have enough training data. 如果您有足够的训练数据,则颜色直方图可能已经足够。 You can train with shadowed, partly shadowed, non-shadowed empty spots as well as with different cars. 您可以训练有阴影,部分有阴影,无阴影的空白点以及其他车辆。 It might be difficult to get enough training data, you could also use synthetic data (render cars and shadows on the images). 可能很难获得足够的训练数据,您也可以使用合成数据(渲染汽车和图像上的阴影)。

So it is not only a question about features, but also about training samples. 因此,这不仅是有关功能的问题,而且还涉及训练样本。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM