CN105844289A - Automobile charging interface identification method - Google Patents
Automobile charging interface identification method Download PDFInfo
- Publication number
- CN105844289A CN105844289A CN201610153129.5A CN201610153129A CN105844289A CN 105844289 A CN105844289 A CN 105844289A CN 201610153129 A CN201610153129 A CN 201610153129A CN 105844289 A CN105844289 A CN 105844289A
- Authority
- CN
- China
- Prior art keywords
- image
- automobile
- car
- feature
- charging interface
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F18/00—Pattern recognition
- G06F18/20—Analysing
- G06F18/24—Classification techniques
- G06F18/241—Classification techniques relating to the classification model, e.g. parametric or non-parametric approaches
- G06F18/2413—Classification techniques relating to the classification model, e.g. parametric or non-parametric approaches based on distances to training or reference patterns
- G06F18/24147—Distances to closest patterns, e.g. nearest neighbour classification
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/02—Neural networks
- G06N3/04—Architecture, e.g. interconnection topology
- G06N3/045—Combinations of networks
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/02—Neural networks
- G06N3/08—Learning methods
- G06N3/084—Backpropagation, e.g. using gradient descent
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V2201/00—Indexing scheme relating to image or video recognition or understanding
- G06V2201/08—Detecting or categorising vehicles
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- Data Mining & Analysis (AREA)
- Life Sciences & Earth Sciences (AREA)
- Artificial Intelligence (AREA)
- General Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- Evolutionary Computation (AREA)
- Biophysics (AREA)
- Computational Linguistics (AREA)
- Software Systems (AREA)
- Mathematical Physics (AREA)
- Health & Medical Sciences (AREA)
- Biomedical Technology (AREA)
- Computing Systems (AREA)
- Molecular Biology (AREA)
- General Health & Medical Sciences (AREA)
- Evolutionary Biology (AREA)
- Bioinformatics & Cheminformatics (AREA)
- Bioinformatics & Computational Biology (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Image Processing (AREA)
Abstract
本发明公开的汽车充电接口识别方法,所述方法主要包括,获取若干汽车外形图像,分别构建所述汽车外形图像的特征向量;对所述特征向量进行回归分类,将所述汽车型号进行汇总,得到预分类模型;选取若干汽车型号以及与所述汽车型号对应的汽车外形图片,对所述预分类模型进行训练,获得分类模型;预先建立汽车型号与充电接口类型的对应关系;获取待判断车型的汽车外形图像,通过所述分类模型判断所述待判断车型的汽车外形图像对应汽车的型号;根据所述对应关系以及识别得出的汽车型号,得出所述汽车的充电接口类型。本发明提供的汽车充电接口识别方法,有助于高效且准确的判断汽车充电接口的判断,有利于选择准确的充电枪。
The vehicle charging interface identification method disclosed in the present invention mainly includes: acquiring a plurality of vehicle appearance images, respectively constructing feature vectors of the vehicle appearance images; performing regression classification on the feature vectors, summarizing the car models, Obtain a pre-classification model; select a number of car models and car appearance pictures corresponding to the car model, train the pre-classification model, and obtain a classification model; establish the corresponding relationship between the car model and the charging interface type in advance; obtain the car model to be judged According to the classification model, it is judged that the car shape image of the vehicle type to be determined corresponds to the model of the car; according to the corresponding relationship and the recognized car model, the charging interface type of the car is obtained. The automobile charging interface identification method provided by the present invention is helpful for efficiently and accurately judging the automobile charging interface, and is conducive to selecting an accurate charging gun.
Description
技术领域technical field
本发明涉及信息识别技术领域,更为具体地说,涉及一种汽车充电接口识别方法。The invention relates to the technical field of information identification, and more specifically, relates to an identification method for an automobile charging interface.
背景技术Background technique
汽车充电是根据车身的充电接口选择相配的充电枪接口,充电枪的选择错误可能会损坏汽车储电系统或充电接口,影响汽车的使用。然而目前,汽车的充电接口多种多样,在具有充电服务的停车场进行充电时候,需要人工从众多的充电接口中进行相配汽车充电接口的选择。人工的判断选择,将要耗费大量的人力,且耗时长,影响充电效率。Car charging is based on the charging interface of the car body to select the matching charging gun interface. The wrong choice of charging gun may damage the car's power storage system or charging interface, affecting the use of the car. However, at present, there are various charging interfaces for automobiles. When charging in a parking lot with charging services, it is necessary to manually select a matching vehicle charging interface from a large number of charging interfaces. Manual judgment and selection will consume a lot of manpower and take a long time, which will affect the charging efficiency.
可见,如何高效且准确的判断汽车充电接口的判断,选择准确的充电枪,是本领域技术人员亟待解决的问题。It can be seen that how to efficiently and accurately judge the judgment of the charging interface of the car and select an accurate charging gun is an urgent problem to be solved by those skilled in the art.
发明内容Contents of the invention
本发明的目的提供一种汽车充电接口识别方法,有助于高效且准确的判断汽车充电接口的判断,有利于选择准确的充电枪。The object of the present invention is to provide a method for identifying the charging port of a car, which is helpful for efficient and accurate judgment of the charging port of a car, and is conducive to the selection of an accurate charging gun.
为了解决上述技术问题,本发明提供如下技术方案:In order to solve the above technical problems, the present invention provides the following technical solutions:
本发明提供的一种汽车充电接口识别方法,所述方法包括:A method for identifying an automobile charging interface provided by the present invention, the method comprising:
获取若干汽车外形图像,分别构建所述汽车外形图像的特征向量;Obtaining several car shape images, respectively constructing feature vectors of the car shape images;
其中,所述构建特征向量主要包括,提取所述汽车外形图像,将所述汽车外形图像进行第一次卷积操作,获得第一特征图像,Wherein, the constructing the feature vector mainly includes extracting the car shape image, performing the first convolution operation on the car shape image to obtain the first feature image,
将所述第一特征图像进行第一次池化操作,获得第二特征图像,performing the first pooling operation on the first feature image to obtain a second feature image,
将所述第二特征图像进行第二次卷积操作,获得第三特征图像,performing a second convolution operation on the second feature image to obtain a third feature image,
将所述第三特征图像进行第二次池化操作,获得第四特征图像,performing a second pooling operation on the third feature image to obtain a fourth feature image,
将所述第四特征图像进行第三次卷积操作,获得第五特征图像,performing a third convolution operation on the fourth feature image to obtain a fifth feature image,
将所述第五特征图像进行第三次池化操作,获得第六特征图像,performing a third pooling operation on the fifth feature image to obtain a sixth feature image,
通过特征向量转化公式Yl(n)=∑Wl(n,m)*Yl-1(m),将所述第六特征图像转化为所述特征向量,其中,l为第l特征图像,Wl为权重,Yl(n)表示特征向量,Yl-1(m)为向量转化前的特征图像;Convert the sixth feature image into the feature vector through the feature vector conversion formula Y l (n)=∑W l (n, m)*Y l-1 (m), wherein, l is the lth feature image , W l is the weight, Y l (n) represents the feature vector, Y l-1 (m) is the feature image before vector transformation;
对所述特征向量进行回归分类,将所述汽车型号进行汇总,得到预分类模型;Carrying out regression classification on the feature vector, summarizing the car models to obtain a pre-classification model;
选取若干汽车型号以及与所述汽车型号对应的汽车外形图片,对所述预分类模型进行训练,获得分类模型;Select a number of car models and car outline pictures corresponding to the car models, and train the pre-classification model to obtain a classification model;
预先建立汽车型号与充电接口类型的对应关系;Pre-establish the corresponding relationship between the car model and the charging interface type;
获取待判断车型的汽车外形图像,通过所述分类模型判断所述待判断车型的汽车外形图像对应汽车的型号;Obtaining the car shape image of the vehicle type to be judged, and judging the model of the car corresponding to the car shape image of the car model to be judged by the classification model;
根据所述对应关系以及识别得出的汽车型号,得出所述汽车的充电接口类型。According to the corresponding relationship and the identified car model, the charging interface type of the car is obtained.
优选的,上述汽车充电接口识别方法中,所述第一次卷积操作,卷积核的大小为5*5,所述第一特征图像的数量为5个;所述第二次卷积操作,卷积核大小5*5,所述第三特征图像的数量为10个;所述第三次卷积操作,卷积核大小4*4,所述第五特征图像的数量为16个。Preferably, in the above-mentioned method for identifying an automobile charging interface, in the first convolution operation, the size of the convolution kernel is 5*5, and the number of the first feature images is 5; the second convolution operation , the size of the convolution kernel is 5*5, and the number of the third feature images is 10; in the third convolution operation, the size of the convolution kernel is 4*4, and the number of the fifth feature images is 16.
优选的,上述汽车充电接口识别方法中,所述第一次池化操作具体为,对所述第一特征图像的2*2邻域进行求和,乘以随机权重,加上偏置,然后进行神经元激活,所述神经元激活为logistic,logistic激活函数为 Preferably, in the above-mentioned method for identifying an automobile charging interface, the first pooling operation specifically includes summing the 2*2 neighborhoods of the first feature image, multiplying them by random weights, adding a bias, and then Perform neuron activation, the neuron activation is logistic, and the logistic activation function is
优选的,上述汽车充电接口识别方法中,调节各层参数,所述调节各层参数具体包括求损失函数,进行所述损失函数的反向求导,调节所述各层参数,使损失函数最小。Preferably, in the above identification method for the charging interface of a car, the parameters of each layer are adjusted, and the adjustment of the parameters of each layer specifically includes calculating a loss function, performing reverse derivation of the loss function, and adjusting the parameters of each layer to minimize the loss function .
优选的,上述汽车充电接口识别方法中,所述汽车外形图像包括含充电接口的图像和不包含充电接口的图像。Preferably, in the above-mentioned method for identifying a charging port of a car, the image of the car's appearance includes an image containing a charging port and an image not containing a charging port.
本发明提供的汽车充电接口识别方法,获取若干汽车外形图像,将汽车外形图像进行卷积、池化、全连接以及回归分析,建立汽车车型预分类模型,选取若干已知汽车型号的汽车外形图片,进行预分类模型的训练,得到精确度较高的分类模型。利用所得的分类模型,对欲判断汽车车型的汽车外形图像进行判断,得到所述汽车外形图像对应的汽车型号,通过预先建立的汽车型号与充电接口类型的对应关系的对应关系,进行充电接口类型的判断。The automobile charging interface identification method provided by the present invention obtains several automobile appearance images, performs convolution, pooling, full connection and regression analysis on the automobile appearance images, establishes a pre-classification model of automobile models, and selects several automobile appearance pictures of known automobile models , to train the pre-classification model to obtain a classification model with higher accuracy. Utilize the obtained classification model to judge the car shape image of the car model to be judged, obtain the car model corresponding to the car shape image, and determine the charging port type through the corresponding relationship between the car model and the charging port type established in advance. judgment.
附图说明Description of drawings
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,对于本领域普通技术人员而言,在不付出创造性劳动性的前提下,还可以根据这些附图获得其它的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the accompanying drawings that need to be used in the description of the embodiments will be briefly introduced below. Other drawings can also be obtained based on these drawings.
图1是本发明实施例提供的汽车充电接口识别方法的流程图;Fig. 1 is a flow chart of a method for identifying an automobile charging interface provided by an embodiment of the present invention;
图2是本发明实施例提供的特征向量转化示意图;Fig. 2 is a schematic diagram of feature vector conversion provided by an embodiment of the present invention;
图3是本发明实施例提供的汽车型号与充电接口类型的对应关系图。Fig. 3 is a diagram of the corresponding relationship between the vehicle model and the charging interface type provided by the embodiment of the present invention.
具体实施方式detailed description
本发明实施例提供的汽车充电接口识别方法,有助于高效且准确的判断汽车充电接口的判断,有利于选择准确的充电枪。The automobile charging interface identification method provided by the embodiment of the present invention is helpful for efficient and accurate judgment of the automobile charging interface, and is conducive to selecting an accurate charging gun.
为了使本技术领域的人员更好地理解本发明实施例中的技术方案,并使本发明实施例的上述目的、特征和优点能够更加明显易懂,下面结合附图对本发明实施例中的技术方案作进一步详细的说明。In order to enable those skilled in the art to better understand the technical solutions in the embodiments of the present invention, and to make the above-mentioned purposes, features and advantages of the embodiments of the present invention more obvious and understandable, the technical solutions in the embodiments of the present invention are described below in conjunction with the accompanying drawings The program is described in further detail.
结合附图1,该图示出了本发明实施例提供的汽车充电接口识别方法的基本流程,具体包括:With reference to accompanying drawing 1, this figure shows the basic flow of the method for identifying the vehicle charging interface provided by the embodiment of the present invention, specifically including:
S101:获取若干汽车外形图像,分别构建所述汽车外形图像的特征向量。S101: Acquire several car appearance images, and respectively construct feature vectors of the car appearance images.
选取若干汽车外形图片,其中所述汽车外形图像尽可能全面的包括市面上的各种型号的汽车以及充电接口。汽车外形图像的格式以及大小不一,为了保证计算和处理的方便,将获得汽车外形图像进行处理,本实施例中优选的将汽车外形图像统一为64*64的灰度图像,但不局限于此,兼顾计算以及硬件处理设备的条件,可以自行选择。本实施例中,所述汽车外形图像可以包括包含充电接口的汽车外形图像和不包含充电接口的汽车外形图像。为保证数据处理的方便,一般选用包含充电接口的汽车外形图像。A number of car appearance pictures are selected, wherein the car appearance images include various models of cars and charging ports on the market as comprehensively as possible. The format and size of the car shape image are different. In order to ensure the convenience of calculation and processing, the car shape image will be obtained for processing. In this embodiment, the car shape image is preferably unified into a 64*64 grayscale image, but it is not limited to Therefore, taking into account the conditions of computing and hardware processing equipment, you can choose by yourself. In this embodiment, the car appearance image may include a car appearance image including a charging interface and a car appearance image not including a charging interface. In order to ensure the convenience of data processing, the image of the car shape including the charging interface is generally selected.
图片的选取完成后,将图片分别进行卷积操作、池化操作、卷积操作、池化操作、卷积操作、池化操作、全连接,分别获得外形图像的特征向量。卷积操作和池化操作时一种降采样方法,为了更加方便的提取汽车外形图像的特征。具体操作:提取所述汽车外形图像,将所述汽车外形图像进行第一次卷积操作,获得第一特征图像;将所述第一特征图像进行第一次池化操作,获得第二特征图像;将所述第二特征图像进行第二次卷积操作,获得第三特征图像;将所述第三特征图像进行第二次池化操作,获得第四特征图像;将所述第四特征图像进行第三次卷积操作,获得第五特征图像;将所述第五特征图像进行第三次池化操作,获得第六特征图像;通过特征向量转化公式Yl(n)=∑Wl(n,m)*Yl-1(m)将所述第六特征图像转化为所述特征向量,其中,l为第l特征图像,Wl为权重,Yl(n)表示特征向量,Yl-1(m)为向量转化前的特征图像。在本发明中选用第六特征图像,但根据实际的需要不单单可以选择第六特征图像。卷积操作和池化操作的次数根据实际的需要也可以进行调整。After the selection of the picture is completed, the picture is subjected to convolution operation, pooling operation, convolution operation, pooling operation, convolution operation, pooling operation, and full connection to obtain the feature vector of the shape image respectively. The convolution operation and the pooling operation are a downsampling method, in order to extract the features of the car shape image more conveniently. Specific operation: extract the car shape image, perform the first convolution operation on the car shape image to obtain the first feature image; perform the first pooling operation on the first feature image to obtain the second feature image ; performing a second convolution operation on the second feature image to obtain a third feature image; performing a second pooling operation on the third feature image to obtain a fourth feature image; Perform the third convolution operation to obtain the fifth feature image; perform the third pooling operation on the fifth feature image to obtain the sixth feature image; use the feature vector conversion formula Y l (n)=∑W l ( n, m)*Y l-1 (m) converts the sixth feature image into the feature vector, wherein, l is the lth feature image, W l is a weight, Y l (n) represents a feature vector, and Y l-1 (m) is the feature image before vector transformation. In the present invention, the sixth characteristic image is selected, but not only the sixth characteristic image can be selected according to actual needs. The number of convolution operations and pooling operations can also be adjusted according to actual needs.
本申请还提供了一个具体的实施例提供,如附图2所示,具体过程如下:The application also provides a specific embodiment, as shown in Figure 2, the specific process is as follows:
以一张汽车外形图像为例,将已经转化为64*64的灰度图像的汽车外形图像,进行第一次卷积操作,卷积核大小为5*5,获得5个60*60大小的第一特征图像。Taking a car shape image as an example, the first convolution operation is performed on the car shape image that has been converted into a 64*64 grayscale image. The convolution kernel size is 5*5, and five 60*60 size images are obtained. The first feature image.
将5个60*60大小的第一特征图像进行第一次池化操作,获得5个30*30大小的第二特征图像,所述第一次池化操作滤除大多数相关信息,让图像所包含的信息独立性更好,减少图像信息量,大大降低了计算量。本发明实施例中优选的第一池化操作为,分别对第一特征图像的2*2邻域进行求和,然后乘以随机权重并加上偏重,如g(x,y)l=wf(x,y)+b,其中,g(x,y)l为总计,w为权重,b为上偏置,f(x,y)为邻域进行求和,最后进行神经元激活操作,常用的激活函数有logistic激活,tanh激活和ReLu激活。本发明实施例中优采用logistic激活函数进行激活,logistic激活函数为: Perform the first pooling operation on five first feature images of 60*60 size to obtain five second feature images of 30*30 size. The first pooling operation filters out most of the relevant information, so that the image The contained information is more independent, reduces the amount of image information, and greatly reduces the amount of calculation. The preferred first pooling operation in the embodiment of the present invention is to sum the 2*2 neighborhoods of the first feature image respectively, then multiply by random weights and add bias, such as g(x,y) l =wf (x, y) + b, where g(x, y) l is the total, w is the weight, b is the upper bias, f(x, y) is the sum of the neighborhood, and finally the neuron activation operation is commonly used The activation functions include logistic activation, tanh activation and ReLu activation. In the embodiment of the present invention, the logistic activation function is preferably used for activation, and the logistic activation function is:
池化和卷积操作,往往是多个特征图像映射多个特征图像,为了避免后一层特征图像由前一层所有的池化特征图像卷积得到,导致计算量极大的提高。本发明按照一定的编码方式,后一卷积层的特征图像由前一池化层若干图像共同卷积得到,而并非全部,这样既兼顾了保留原始图像所含信息,又降低了计算量。Pooling and convolution operations often map multiple feature images to multiple feature images. In order to avoid the feature images of the latter layer being convolved by all the pooled feature images of the previous layer, the amount of calculation is greatly increased. According to a certain encoding method in the present invention, the feature image of the latter convolutional layer is convoluted by several images of the previous pooling layer, but not all of them, which not only preserves the information contained in the original image, but also reduces the amount of calculation.
将5个30*30大小的第二特征图像进行第二次卷积操作,卷积核大小为5*5,获得10个26*26大小的第三特征图像,第三特征图像是由第二特征图像的若干特征图共同卷积得到,如下表所示,二表示第二特征图像,三表示第三特征图像,X表示卷积操作用到的图像。Perform the second convolution operation on 5 second feature images of 30*30 size, the convolution kernel size is 5*5, and obtain 10 third feature images of 26*26 size, the third feature image is obtained by the second Several feature maps of the feature image are jointly convolved, as shown in the following table, two indicates the second feature image, three indicates the third feature image, and X indicates the image used for the convolution operation.
将10个26*26大小的第三特征图像进行第二次池化操作,得到10个13*13大小的第四特征图像,第二次池化操作与第一次池化操作类似。Perform the second pooling operation on ten third feature images of size 26*26 to obtain ten fourth feature images of size 13*13. The second pooling operation is similar to the first pooling operation.
将10个13*13大小的第四特征图像进行第三次卷积操作,卷积核大小为4*4,获得16个10*10大小的第五特征图像,第三次卷积操作与第二次卷积操作类似。Perform the third convolution operation on ten fourth feature images of size 13*13, the size of the convolution kernel is 4*4, and obtain 16 fifth feature images of size 10*10, the third convolution operation and the first The second convolution operation is similar.
将16个10*10大小的第五特征图像进行第三次池化操作,获得16个5*5的第六特征图像,第三次池化操作与第一次池化操作类似。Perform the third pooling operation on the 16 fifth feature images with a size of 10*10 to obtain 16 sixth feature images of 5*5. The third pooling operation is similar to the first pooling operation.
经过上述卷积、池化操作,能够更加鲜明的提取各汽车外形图像图片的明显特征。便于向量的转化,同时不会丢失图像信息。再进行全连接操作,将上述操作的16个5*5的第六特征图像,转变为1个向量,在转化的过程中往往伴有将采用的操作。本实施例中,先得到一个120维向量,然后再将一个120维的特征向量转化为一个60维特征向量。After the above convolution and pooling operations, the obvious features of each car shape image can be extracted more clearly. It is convenient for vector conversion without losing image information. Then perform a full connection operation to convert the 16 5*5 sixth feature images of the above operation into a vector, and the conversion process is often accompanied by the operation to be used. In this embodiment, a 120-dimensional vector is obtained first, and then a 120-dimensional feature vector is converted into a 60-dimensional feature vector.
S102:对所述特征向量进行回归分类,将所述汽车型号进行汇总,得到预分类模型。S102: Perform regression classification on the feature vectors, collect the car models, and obtain a pre-classification model.
在进行特征向量的转化后进行回归分类,利用softmax回归函数进行计算,得到预分类模型,其中,hθ(x(i))为回归函数,x(i)为图像特征,k为类别数,θ为权重参数,为第k个特征的权重参数的转置。After the conversion of the feature vector, the regression classification is performed, and the softmax regression function is used for calculation to obtain the pre-classification model. Among them, h θ (x (i) ) is the regression function, x (i) is the image feature, k is the number of categories, θ is the weight parameter, is the transpose of the weight parameter for the kth feature.
S103:选取若干汽车型号以及与所述汽车型号对应的汽车外形图片,对所述预分类模型进行训练,获得分类模型。S103: Select several car models and car appearance pictures corresponding to the car models, train the pre-classification model, and obtain a classification model.
选取一定量的汽车型号以及所述汽车型号对应的汽车外形图片,进行预分类模型的训练,获得参数以及权重最优,得到优良的分类模型。Select a certain amount of car models and car appearance pictures corresponding to the car models, and perform pre-classification model training to obtain optimal parameters and weights, and obtain an excellent classification model.
训练为一种带有标签的学习,在训练的过程中,要进行各层参数的调整,体包括求损失函数,进行所述损失函数的反向求导,调节所述各层参数,使损失函数最小。其中,损失函数为其中,m为训练的样本数目,k为类别个数,λ为常量,一般为0.01-0.02。Training is a kind of learning with labels. In the process of training, it is necessary to adjust the parameters of each layer, including calculating the loss function, performing the reverse derivation of the loss function, adjusting the parameters of each layer, and making the loss The function is minimal. Among them, the loss function is in, m is the number of training samples, k is the number of categories, and λ is a constant, generally 0.01-0.02.
将所述损失函数根据随机梯度下降原则和链式求导法则,由后向前逐层求导,然后更新权重。The loss function is derived layer by layer from back to front according to the stochastic gradient descent principle and the chain derivation rule, and then the weights are updated.
如, Such as,
其中,yl为第l层的输出,w为权重。 Among them, y l is the output of layer l, and w is the weight.
根据求导结果,应用平均梯度法来计算权重更新,其中,W(t+1)为更新后的权重,W(t)为更新前的权重,λ为常量,一般为0.01-0.02。According to the result of the derivation, the average gradient method is applied to calculate the weight update, Among them, W(t+1) is the weight after update, W(t) is the weight before update, and λ is a constant, generally 0.01-0.02.
S104:预先建立汽车型号与充电接口类型的对应关系。S104: Pre-establish a corresponding relationship between the vehicle model and the charging interface type.
建立汽车型号与充电接口类型的对应关系,本发明实施中建设汽车型号与充电接口类型的映射关系,如图3所示。Establish the corresponding relationship between the vehicle model and the charging interface type. In the implementation of the present invention, the mapping relationship between the vehicle model and the charging interface type is established, as shown in FIG. 3 .
S105:获取待判断车型的汽车外形图像,通过所述分类模型判断所述待判断车型的汽车外形图像对应汽车的型号。S105: Obtain the car shape image of the vehicle type to be judged, and determine the model of the car corresponding to the car shape image of the car model to be judged by the classification model.
当需要进行汽车的型号判断时候,获得待判断车型的汽车外形图像,进行图像的卷积、池化操作,通过分类模型判断进行待判断车型的汽车外形图像对应汽车的型号的判断,得到其相对应的汽车的型号。When it is necessary to judge the model of the car, obtain the car shape image of the car model to be judged, perform convolution and pooling operations on the image, judge the car model corresponding to the car shape image of the car model to be judged by the classification model, and obtain its corresponding The corresponding car model.
S106:根据所述对应关系以及识别得出的汽车型号,得出所述汽车的充电接口类型。S106: Obtain the charging interface type of the car according to the corresponding relationship and the identified car model.
在得到汽车的型号后,根据其数据库内汽车类型与充电接口类型映射关系就可以得出该车辆的充电接口类型。After obtaining the model of the vehicle, the charging interface type of the vehicle can be obtained according to the mapping relationship between the vehicle type and the charging interface type in the database.
本发明提供的汽车充电接口识别方法,获取若干汽车外形图像,将汽车外形图像进行卷积、池化、全连接以及回归分析,建立汽车车型预分类模型,选取若干已知汽车型号的汽车外形图片,进行预分类模型的训练,得到精确度较高的分类模型。利用所得的分类模型,对欲判断汽车车型的汽车外形图像进行判断,得到所述汽车外形图像对应的汽车型号,通过预先建立的汽车型号与充电接口类型的对应关系的对应关系,进行充电接口类型的判断。The automobile charging interface identification method provided by the present invention obtains several automobile appearance images, performs convolution, pooling, full connection and regression analysis on the automobile appearance images, establishes a pre-classification model of automobile models, and selects several automobile appearance pictures of known automobile models , to train the pre-classification model to obtain a classification model with higher accuracy. Utilize the obtained classification model to judge the car shape image of the car model to be judged, obtain the car model corresponding to the car shape image, and determine the charging port type through the corresponding relationship between the car model and the charging port type established in advance. judgment.
本说明书中的各个实施例均采用递进的方式描述,各个实施例之间相同相似的部分互相参见即可,每个实施例重点说明的都是与其它实施例的不同之处。Each embodiment in this specification is described in a progressive manner, the same and similar parts of each embodiment can be referred to each other, and each embodiment focuses on the differences from other embodiments.
以上所述的本发明实施方式,并不构成对本发明保护范围的限定。任何在本发明的精神和原则之内所作的修改、等同替换和改进等,均应包含在本发明的保护范围之内。The embodiments of the present invention described above are not intended to limit the protection scope of the present invention. Any modifications, equivalent replacements and improvements made within the spirit and principles of the present invention shall be included within the protection scope of the present invention.
Claims (5)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201610153129.5A CN105844289A (en) | 2016-03-17 | 2016-03-17 | Automobile charging interface identification method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201610153129.5A CN105844289A (en) | 2016-03-17 | 2016-03-17 | Automobile charging interface identification method |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN105844289A true CN105844289A (en) | 2016-08-10 |
Family
ID=56588027
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201610153129.5A Pending CN105844289A (en) | 2016-03-17 | 2016-03-17 | Automobile charging interface identification method |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN105844289A (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN110334903A (en) * | 2019-05-29 | 2019-10-15 | 河北科技大学 | Electric Vehicle Charging Scheduling Method Based on Knapsack Algorithm |
| CN111027499A (en) * | 2019-12-17 | 2020-04-17 | 北京慧智数据科技有限公司 | A convolutional neural network-based identification method for low-emission traffic restriction of trucks |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20130222394A1 (en) * | 2012-02-28 | 2013-08-29 | Research In Motion Limited | Methods and devices for selecting objects in images |
| CN104463241A (en) * | 2014-10-31 | 2015-03-25 | 北京理工大学 | Vehicle type recognition method in intelligent transportation monitoring system |
| CN104600787A (en) * | 2014-12-30 | 2015-05-06 | 深圳市科陆电子科技股份有限公司 | Smart charging system |
| CN104778464A (en) * | 2015-05-04 | 2015-07-15 | 中国科学院重庆绿色智能技术研究院 | Garment positioning and detecting method based on depth convolution nerve network |
-
2016
- 2016-03-17 CN CN201610153129.5A patent/CN105844289A/en active Pending
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20130222394A1 (en) * | 2012-02-28 | 2013-08-29 | Research In Motion Limited | Methods and devices for selecting objects in images |
| CN104463241A (en) * | 2014-10-31 | 2015-03-25 | 北京理工大学 | Vehicle type recognition method in intelligent transportation monitoring system |
| CN104600787A (en) * | 2014-12-30 | 2015-05-06 | 深圳市科陆电子科技股份有限公司 | Smart charging system |
| CN104778464A (en) * | 2015-05-04 | 2015-07-15 | 中国科学院重庆绿色智能技术研究院 | Garment positioning and detecting method based on depth convolution nerve network |
Non-Patent Citations (1)
| Title |
|---|
| 池燕玲: ""基于深度学习的人脸识别方法的研究"", 《中国优秀硕士学位论文全文数据库 信息科技辑》 * |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN110334903A (en) * | 2019-05-29 | 2019-10-15 | 河北科技大学 | Electric Vehicle Charging Scheduling Method Based on Knapsack Algorithm |
| CN111027499A (en) * | 2019-12-17 | 2020-04-17 | 北京慧智数据科技有限公司 | A convolutional neural network-based identification method for low-emission traffic restriction of trucks |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN106504248B (en) | Vehicle damage judging method based on computer vision | |
| CN107784654B (en) | Image segmentation method and device and full convolution network system | |
| CN117173096B (en) | Car door surface defect detection method based on improved YOLOv8 network | |
| CN110298843B (en) | Two-dimensional image component segmentation method based on improved deep Lab and application thereof | |
| CN111028238B (en) | A 3D segmentation method and system for complex special-shaped curved surfaces based on robot vision | |
| CN110490262B (en) | Image processing model generation method, image processing method, device and electronic device | |
| CN114240891A (en) | Welding spot quality identification method fusing knowledge graph and graph convolution neural network | |
| CN112819748B (en) | Training method and device for strip steel surface defect recognition model | |
| CN103914820B (en) | Image haze removal method and system based on image layer enhancement | |
| CN102567716B (en) | A human face synthesis system and implementation method | |
| CN113449691A (en) | Human shape recognition system and method based on non-local attention mechanism | |
| CN114463492A (en) | A deep learning-based adaptive channel attention 3D reconstruction method | |
| CN109872305A (en) | A reference-free stereo image quality assessment method based on quality map generation network | |
| CN110909615B (en) | Target detection method based on multi-scale input mixed perception neural network | |
| CN113191243A (en) | Human hand three-dimensional attitude estimation model establishment method based on camera distance and application thereof | |
| CN117935066B (en) | Sea surface temperature completion method and system based on parallel multi-scale constraints | |
| CN112509106A (en) | Document picture flattening method, device and equipment | |
| CN117636057B (en) | Train bearing damage classification and recognition method based on multi-branch cross-space attention model | |
| CN112149662A (en) | A Multimodal Fusion Saliency Detection Method Based on Dilated Convolution Blocks | |
| CN118196107B (en) | Panoramic image blind quality assessment method and system based on multi-cooperative network assistance | |
| CN114120359A (en) | Method for measuring body size of group-fed pigs based on stacked hourglass network | |
| CN114998375A (en) | Live fish weight estimation method and system based on example segmentation | |
| CN111242183A (en) | Image recognition and classification method and device based on attention mechanism | |
| CN111047569B (en) | Image processing method and device | |
| CN112669452A (en) | Object positioning method based on convolutional neural network multi-branch structure |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| RJ01 | Rejection of invention patent application after publication |
Application publication date: 20160810 |
|
| RJ01 | Rejection of invention patent application after publication |