TWI739548B - Method and system for identifying vehicle type - Google Patents

Method and system for identifying vehicle type Download PDF

Info

Publication number
TWI739548B
TWI739548B TW109127655A TW109127655A TWI739548B TW I739548 B TWI739548 B TW I739548B TW 109127655 A TW109127655 A TW 109127655A TW 109127655 A TW109127655 A TW 109127655A TW I739548 B TWI739548 B TW I739548B
Authority
TW
Taiwan
Prior art keywords
vehicle
images
image
spliced
stitched
Prior art date
Application number
TW109127655A
Other languages
Chinese (zh)
Other versions
TW202207083A (en
Inventor
劉治君
林多常
Original Assignee
中華電信股份有限公司
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by 中華電信股份有限公司 filed Critical 中華電信股份有限公司
Priority to TW109127655A priority Critical patent/TWI739548B/en
Application granted granted Critical
Publication of TWI739548B publication Critical patent/TWI739548B/en
Publication of TW202207083A publication Critical patent/TW202207083A/en

Links

Images

Landscapes

  • Image Analysis (AREA)
  • Image Processing (AREA)
  • Traffic Control Systems (AREA)

Abstract

The invention provides a method and a system for identifying a vehicle type. The method includes: obtaining, via a camera, a lane image of a lane; in response to determining that a vehicle appears in the lane image, continuously shooting multiple images of the lane through the camera, and converting the images into multiple to-be-stitched images based on a perspective transformation matrix; comparing the to-be-stitched images in pairs to obtain a motion vector between the to-be-stitched images; using a non-linear image fusion method to stitch the to-be-stitched images as a stitched image of the entire vehicle based on the movement vector between the to-be-stitched images; identifying a vehicle type based on the stitched image of the entire vehicle.

Description

車種辨識方法及系統Vehicle type identification method and system

本發明是有關於一種車輛辨識技術,且特別是有關於一種車種辨識方法及系統。The present invention relates to a vehicle identification technology, and particularly relates to a vehicle type identification method and system.

在貨櫃場及港口海關等場所,車輛出入管制是一非常重要的工作,過去常以設門哨由專人駐點登記出入車輛資料並管制出入,耗時費工,因此,自動化門哨成為現代貨櫃場及港口海關重要的建設需求。其中有關自動化門哨車型辨識器,目前已有西克(SICK LMS 5XX)提供雷達掃瞄車型辨識器技術,但每個門哨另需SICK雷達、鋼架及土建等硬體建置,耗費成本。In container yards, port customs and other places, vehicle access control is a very important task. In the past, gates were used to register vehicle data and control access at designated locations. This was time-consuming and labor-intensive. Therefore, automated gates became modern containers. Important construction needs of the customs of the yard and port. Among them, regarding the automatic doorpost model identifier, SICK (SICK LMS 5XX) currently provides radar scanning model identifier technology, but each doorpost requires hardware such as SICK radar, steel frame and civil construction, which is costly. .

另外,某些門哨處雖配置有用於進行車牌辨識的攝影機,但由於其取像範圍及視角有限,只能拍攝車輛局部特徵,故若直接用於進行車種辨識將導致較低的準確率。In addition, some gates are equipped with cameras for license plate recognition, but due to their limited imaging range and angle of view, they can only capture local features of the vehicle. Therefore, if they are directly used for vehicle type recognition, the accuracy will be lower.

有鑑於此,本發明提供一種車種辨識方法及系統,其可用於解決上述技術問題。In view of this, the present invention provides a vehicle type identification method and system, which can be used to solve the above technical problems.

本發明提供一種車種辨識方法,適於一車種辨識系統,所述方法包括:透過一攝影機取得一車道的一車道影像;反應於判定車道影像中出現一車輛,透過攝影機對車道連續拍攝多個影像,並基於一透視變換矩陣將前述影像轉換為多個待拼接影像,其中各影像包括對應於車輛的一部分的影像區域;將前述待拼接影像進行兩兩比對,以取得前述待拼接影像兩兩之間的一移動向量;採用一非線性影像融合方法以基於前述待拼接影像兩兩之間的移動向量將前述待拼接影像拼接為對應於車輛的一全車拼接影像;基於全車拼接影像辨識車輛的一車種。The present invention provides a vehicle type identification method suitable for a vehicle type identification system. The method includes: obtaining a lane image of a lane through a camera; responding to the presence of a vehicle in the determined lane image, continuously shooting multiple images of the lane through the camera , And convert the aforementioned image into a plurality of images to be spliced based on a perspective transformation matrix, wherein each image includes an image area corresponding to a part of the vehicle; A motion vector between the two; a non-linear image fusion method is used to splice the previously-mentioned image to be spliced into a whole-vehicle spliced image corresponding to the vehicle based on the motion vector between the two images to be spliced; the method of identifying vehicles based on the whole-vehicle image One vehicle type.

本發明提供一種車種辨識系統,包括攝影機、儲存電路及處理器。儲存電路儲存多個模組。處理器耦接攝影機、儲存電路及處理器,並存取前述模組以執行下列步驟:控制攝影機取得一車道的一車道影像;反應於判定車道影像中出現一車輛,控制攝影機對車道連續拍攝多個影像,並基於一透視變換矩陣將前述影像轉換為多個待拼接影像,其中各影像包括對應於車輛的一部分的影像區域;將前述待拼接影像進行兩兩比對,以取得前述待拼接影像兩兩之間的一移動向量;採用一非線性影像融合方法以基於前述待拼接影像兩兩之間的移動向量將前述待拼接影像拼接為對應於車輛的一全車拼接影像;基於全車拼接影像辨識車輛的一車種。The invention provides a vehicle type identification system, which includes a camera, a storage circuit and a processor. The storage circuit stores multiple modules. The processor is coupled to the camera, the storage circuit, and the processor, and accesses the aforementioned modules to perform the following steps: control the camera to obtain a lane image of a lane; in response to determining that a vehicle appears in the lane image, control the camera to continuously shoot multiple lanes The aforementioned images are converted into multiple images to be spliced based on a perspective transformation matrix, where each image includes an image area corresponding to a part of the vehicle; the aforementioned images to be spliced are compared in pairs to obtain the aforementioned images to be spliced A motion vector between two; a non-linear image fusion method is used to splice the aforementioned images to be spliced into a whole-vehicle spliced image corresponding to the vehicle based on the motion vectors of the aforementioned images to be spliced; A type of vehicle.

概略而言,考量單一影像無法取得進門哨車輛的完整影像供正確辨識,有別於既有的靜態多視角影像拼接技術,本發明以電腦視覺技術將車子進入柵門前的多張連續的動態局部影像透過動態單視角影像拼接技術生成一張車輛的全車拼接影像,供AI影像辨識模型做正確分類辨識,此方法將可大幅提升車種辨識率,並免除額外的硬體建置成本。Roughly speaking, considering that a single image cannot obtain a complete image of a vehicle entering the gate for correct identification, it is different from the existing static multi-view image splicing technology. The present invention uses computer vision technology to enter multiple continuous dynamic parts of the vehicle in front of the gate. The image uses dynamic single-view image splicing technology to generate a whole-vehicle spliced image of a vehicle for the AI image recognition model to correctly classify and recognize. This method will greatly increase the recognition rate of the vehicle type and avoid additional hardware construction costs.

請參照圖1,其是依據本發明之一實施例繪示的車種辨識系統示意圖。在圖1中,車種辨識系統100包括攝影機101、儲存電路102及處理器104。在本發明的實施例中,攝影機101例如是一車牌辨識攝影機,其可固定地設置於一車道(例如是位於門哨口的車道)附近,並可用於對進入此車道的車輛進行車牌拍攝,但可不限於此。Please refer to FIG. 1, which is a schematic diagram of a vehicle type identification system according to an embodiment of the present invention. In FIG. 1, the vehicle type identification system 100 includes a camera 101, a storage circuit 102 and a processor 104. In the embodiment of the present invention, the camera 101 is, for example, a license plate recognition camera, which can be fixedly arranged near a lane (for example, a lane located at a gate post), and can be used to capture license plates of vehicles entering this lane. But it is not limited to this.

儲存電路102例如是任意型式的固定式或可移動式隨機存取記憶體(Random Access Memory,RAM)、唯讀記憶體(Read-Only Memory,ROM)、快閃記憶體(Flash memory)、硬碟或其他類似裝置或這些裝置的組合,而可用以記錄多個程式碼或模組。The storage circuit 102 is, for example, any type of fixed or removable random access memory (Random Access Memory, RAM), read-only memory (Read-Only Memory, ROM), flash memory (Flash memory), hard disk Disk or other similar devices or a combination of these devices can be used to record multiple codes or modules.

處理器104耦接於儲存電路102,並可為一般用途處理器、特殊用途處理器、傳統的處理器、數位訊號處理器、多個微處理器(microprocessor)、一個或多個結合數位訊號處理器核心的微處理器、控制器、微控制器、特殊應用積體電路(Application Specific Integrated Circuit,ASIC)、現場可程式閘陣列電路(Field Programmable Gate Array,FPGA)、任何其他種類的積體電路、狀態機、基於進階精簡指令集機器(Advanced RISC Machine,ARM)的處理器以及類似品。The processor 104 is coupled to the storage circuit 102, and can be a general purpose processor, a special purpose processor, a traditional processor, a digital signal processor, multiple microprocessors, one or more combined digital signal processing Microprocessor, controller, microcontroller, Application Specific Integrated Circuit (ASIC), Field Programmable Gate Array (FPGA), any other type of integrated circuit , State machines, processors based on Advanced RISC Machine (ARM) and similar products.

在本發明的實施例中,處理器104可存取儲存電路102中記錄的模組、程式碼來實現本發明提出的車種辨識方法,其細節詳述如下。In the embodiment of the present invention, the processor 104 can access the modules and program codes recorded in the storage circuit 102 to implement the vehicle type identification method proposed by the present invention. The details are as follows.

請參照圖2,其是依據本發明之一實施例繪示的車種方法流程圖。本實施例的方法可由圖1的車種辨識系統100執行,以下即搭配圖1所示的元件說明圖2各步驟的細節。此外,為使本案概念更易於理解,以下將另輔以圖3作說明,其中圖3是依據本發明之一實施例繪示的對車道所拍攝的多個影像的示意圖。Please refer to FIG. 2, which is a flowchart of a vehicle type method according to an embodiment of the present invention. The method of this embodiment can be executed by the vehicle type identification system 100 of FIG. In addition, in order to make the concept of the present case easier to understand, the following description will be supplemented with FIG. 3, where FIG. 3 is a schematic diagram of multiple images taken of a lane according to an embodiment of the present invention.

首先,在步驟S210中,處理器104可控制攝影機101取得車道的車道影像。在一實施例中,處理器104可偵測所取得的車道影像中是否出現車輛。First, in step S210, the processor 104 may control the camera 101 to obtain a lane image of the lane. In one embodiment, the processor 104 can detect whether a vehicle appears in the acquired lane image.

在步驟S220中,反應於判定車道影像中出現車輛,處理器104可控制攝影機101對車道連續拍攝多個影像301~318,並基於透視變換(perspective transformation)矩陣將影像301~318轉換為多個待拼接影像。在一實施例中,在判定車道影像中出現車輛時,處理器104例如可控制攝影機101每1/4秒即拍攝一張影像,直至所拍攝影像的總數達到一預設數量(例如18張)為止,但本發明可不限於此。亦即,攝影機101將在取像範圍固定的情況下,對行進中的車輛連續拍攝多張影像。In step S220, in response to determining that a vehicle appears in the lane image, the processor 104 may control the camera 101 to continuously shoot multiple images 301 to 318 of the lane, and convert the images 301 to 318 into multiple images based on a perspective transformation matrix. Images to be stitched. In one embodiment, when determining that a vehicle appears in the lane image, the processor 104 may control the camera 101 to shoot an image every 1/4 second, until the total number of captured images reaches a preset number (for example, 18) So far, but the present invention may not be limited to this. That is, the camera 101 will continuously shoot multiple images of the moving vehicle with the image capturing range fixed.

一般而言,當攝影機101被實現為車牌辨識攝影機時,其取像範圍一般僅限於常規車輛車牌附近的區域。在此情況下,攝影機101於步驟S220中所拍攝的各影像301~318將包括對應於車輛的一部分的影像區域。換言之,當攝影機101被實現為車牌辨識攝影機時,上述各影像皆未拍攝到上述車輛的全貌。舉例而言,影像301~311個別僅拍攝到車輛399車頭的一部分,影像312、313僅部分地拍攝到車輛399的車頂及尾部,影像314~318僅拍攝到車輛399的尾部,但本發明可不限於此。Generally speaking, when the camera 101 is implemented as a license plate recognition camera, its image capturing range is generally limited to the area near the license plate of a conventional vehicle. In this case, each of the images 301 to 318 captured by the camera 101 in step S220 will include an image area corresponding to a part of the vehicle. In other words, when the camera 101 is implemented as a license plate recognition camera, none of the above-mentioned images captures the full picture of the above-mentioned vehicle. For example, images 301 to 311 only capture part of the front of vehicle 399, images 312 and 313 only partially capture the roof and rear of vehicle 399, and images 314 to 318 only capture the rear of vehicle 399. However, the present invention It is not limited to this.

在一實施例中,以透視變換矩陣將影像301~318轉換為待拼接影像的目的是為使各影像301~318中的遠近車形影像可在寬度相同的情況下以直圖的形式拼接。在一實施例中,可先以人工方式選取車道影像中遠端及近端實際同寬的四點轉變為相對應近端同寬到遠端的矩形四頂點座標(例如取其中影像有一近端車頂前沿兩端點及其中影像有一遠端車頂前沿兩端點共四點座標轉變為相對應近端同寬到遠端的矩形四頂點座標),來求解三維度的透視變換矩陣之各參數,進而得到步驟S220中所使用的透視變換矩陣,但本發明可不限於此。In one embodiment, the purpose of converting the images 301 to 318 into the images to be spliced by the perspective transformation matrix is to make the far and near car-shaped images in the images 301 to 318 can be spliced in the form of histograms with the same width. In one embodiment, the four points in the lane image that are actually the same width at the far end and the near end can be manually selected to transform into the corresponding rectangular four-vertex coordinates with the same width from the near end to the far end (for example, take one of the near end points in the image). The two ends of the front edge of the roof and its middle image have a total of four coordinates at the two ends of the front edge of the roof, which are transformed into the corresponding rectangular four-vertex coordinates of the same width from the near end to the far end) to solve the three-dimensional perspective transformation matrix. Parameters to obtain the perspective transformation matrix used in step S220, but the present invention may not be limited to this.

在一實施例中,在取得透視變換矩陣之後,處理器104可基於此透視變換矩陣將影像301~318投影映射(projective mapping)為上述待拼接影像,但可不限於此。In one embodiment, after obtaining the perspective transformation matrix, the processor 104 may projective mapping the images 301 to 318 to the above-mentioned images to be spliced based on the perspective transformation matrix, but it is not limited to this.

之後,在步驟S230中,處理器104可將待拼接影像進行兩兩比對,以取得待拼接影像兩兩之間的移動向量。在一實施例中,處理器104例如可基於樣板匹配(template matching)的方式取得待拼接影像兩兩之間的移動向量。舉例而言,對於上述待拼接影像中的第i個待拼接影像而言,處理器104可在所述第i個待拼接影像中取出一特定區塊(例如是對應於車輛399的部分車體的某個影像區域)作為第一特徵樣板,其中

Figure 02_image001
,N為上述待拼接影像的數量(例如18)。之後,對於上述待拼接影像中的第i+1個待拼接影像而言,處理器104可在所述第i+1個待拼接影像中找出匹配於上述第一特徵樣板的第二特徵樣板,並基於此第二特徵樣板與上述第一特徵樣板之間的位移定義所述第i+1個待拼接影像與所述第i個待拼接影像之間的移動向量,但本發明可不限於此。有關於樣板匹配技術的細節可參考相關的現有技術文獻,於此不另贅述。 After that, in step S230, the processor 104 may compare the images to be spliced in pairs to obtain a motion vector between the images to be spliced. In an embodiment, the processor 104 may obtain the movement vector between the two images to be stitched based on a template matching method, for example. For example, for the i-th image to be spliced in the above-mentioned image to be spliced, the processor 104 may extract a specific block (for example, a part of the body corresponding to the vehicle 399) in the i-th image to be spliced. An image area of) as the first feature model, where
Figure 02_image001
, N is the number of images to be spliced (for example, 18). Afterwards, for the i+1th image to be spliced in the image to be spliced, the processor 104 may find a second feature template matching the first feature template in the i+1th image to be spliced , And define the movement vector between the i+1th image to be spliced and the i-th image to be spliced based on the displacement between the second feature template and the first feature template, but the present invention may not be limited to this . For details about the template matching technology, please refer to related prior art documents, which will not be repeated here.

接著,在步驟S240中,處理器104可採用非線性影像融合方法以基於待拼接影像兩兩之間的移動向量將待拼接影像拼接為對應於車輛的全車拼接影像。在不同的實施例中,上述非線性影像融合方法例如是指數型函數或其類似者,但可不限於此。在本發明的實施例中,連續的兩個影像可能具有不同的曝光條件,進而可能造成影像拼接疊加後出現明顯的交接邊界。為使有上述待拼接影像可經拼接為一平順的全車拼接影像,遂透過非線性影像融合方法(例如指數型函數)進行改善。Then, in step S240, the processor 104 may adopt a non-linear image fusion method to stitch the images to be stitched into a whole-vehicle stitched image corresponding to the vehicle based on the motion vector between the images to be stitched. In different embodiments, the above-mentioned nonlinear image fusion method is, for example, an exponential function or the like, but it may not be limited thereto. In the embodiment of the present invention, two consecutive images may have different exposure conditions, which may cause an obvious junction boundary to appear after the images are spliced and superimposed. In order to make the above-mentioned images to be spliced can be spliced into a smooth full-car spliced image, a non-linear image fusion method (such as an exponential function) is used for improvement.

請參照圖4,其是依據圖3繪示的全車拼接影像示意圖。在本實施例中,全車拼接影像400例如是處理器104在將圖3的影像301~318轉換為對應的待拼接影像之後,將這些待拼接影像依據上述教示拼接而成,但可不限於此。Please refer to FIG. 4, which is a schematic diagram of the entire vehicle stitched image according to FIG. 3. In this embodiment, the whole-vehicle stitched image 400 is, for example, after the processor 104 converts the images 301 to 318 in FIG. 3 into corresponding images to be stitched, and then stitches the images to be stitched according to the above teaching, but it is not limited to this.

請再次參照圖2,在步驟S250中,處理器104可基於全車拼接影像400辨識車輛399的車種。在一實施例中,處理器104可將全車拼接影像400輸入經預訓練的一車種辨識模型,其中此車種辨識模型可反應於全車拼接影像400而輸出車輛399的車種。Please refer to FIG. 2 again. In step S250, the processor 104 may identify the vehicle type of the vehicle 399 based on the entire vehicle stitched image 400. In one embodiment, the processor 104 may input the whole-vehicle mosaic image 400 into a pre-trained vehicle type recognition model, where the vehicle type recognition model may reflect the whole-vehicle mosaic image 400 and output the vehicle type of the vehicle 399.

在一實施例中,上述車種辨識模型例如是一卷積神經網路(convolutional neural network,CNN),其可經一定的訓練過程而具備基於全車拼接影像400而辨識車輛399的車種的能力。In one embodiment, the above-mentioned vehicle type identification model is, for example, a convolutional neural network (CNN), which may be capable of identifying the type of vehicle 399 based on the entire vehicle mosaic image 400 through a certain training process.

舉例而言,在訓練此車種辨識模型時,可先收集對應於各種車輛類型之車輛的全車拼接影像作為訓練資料,藉以讓此車種辨識模型學習對應於各式車種之車輛的特徵。藉此,在完成車種辨識模型的訓練之後,此車種辨識模型即可在接收到對應於某未知車輛的全車拼接影像時,相應地辨識此未知車輛的車種,但本發明可不限於此。For example, when training the vehicle type recognition model, the entire vehicle mosaic images corresponding to various vehicle types can be collected as training data, so that the vehicle type recognition model can learn the characteristics of vehicles corresponding to various vehicle types. In this way, after completing the training of the vehicle type identification model, the vehicle type identification model can identify the vehicle type of the unknown vehicle when it receives the entire vehicle mosaic image corresponding to an unknown vehicle, but the invention is not limited to this.

在不同的實施例中,上述車種辨識模型可實現為有LeNet、AlexNet、VGGNet、GoogLeNet、ResNet及DenseNet等,但本發明可不限於此。In different embodiments, the aforementioned vehicle type identification model may be implemented as LeNet, AlexNet, VGGNet, GoogLeNet, ResNet, DenseNet, etc., but the present invention may not be limited thereto.

綜上所述,本發明至少具備以下特點:(1)可與車牌辨識系統共用一攝影機,免除需另外架設額外相關設備及硬體之成本;(2)由於可取得完整的全車拼接影像且攝影機的取像範圍固定,可令所產生的全車拼接影像具有單純且相似的視野,因而可大幅提高車種辨識模型學習的準確度與辨識率;(3)若與車牌辨識系統共用攝影機,則由於此類攝影機的架設高度及角度有一統一標準,故日後可由各處架設之車牌辨識攝影機取得大量視野類同的全車拼接影像以供車種辨識模型做訓練,在日後可更加提升車種辨識率。In summary, the present invention has at least the following features: (1) It can share a camera with the license plate recognition system, eliminating the need for additional related equipment and hardware costs; (2) Because it can obtain a complete mosaic image of the whole vehicle and the camera The acquisition range of the vehicle is fixed, which can make the generated mosaic images of the whole vehicle have a simple and similar field of view, which can greatly improve the accuracy and recognition rate of the vehicle type recognition model learning; (3) If the camera is shared with the license plate recognition system, this There is a unified standard for the erection height and angle of similar cameras. Therefore, in the future, license plate recognition cameras installed everywhere can obtain a large number of mosaic images of the whole vehicle with the same field of view for training of the vehicle type recognition model, which can further improve the vehicle type recognition rate in the future.

雖然本發明已以實施例揭露如上,然其並非用以限定本發明,任何所屬技術領域中具有通常知識者,在不脫離本發明的精神和範圍內,當可作些許的更動與潤飾,故本發明的保護範圍當視後附的申請專利範圍所界定者為準。Although the present invention has been disclosed in the above embodiments, it is not intended to limit the present invention. Anyone with ordinary knowledge in the relevant technical field can make some changes and modifications without departing from the spirit and scope of the present invention. The protection scope of the present invention shall be subject to those defined by the attached patent application scope.

100:車種辨識系統 101:攝影機 102:儲存電路 104:處理器 301~318:影像 399:車輛 400:全車拼接影像 S210~S250:步驟100: Vehicle Type Identification System 101: Camera 102: storage circuit 104: processor 301~318: Video 399: Vehicle 400: Stitching images of the whole car S210~S250: steps

圖1是依據本發明之一實施例繪示的車種辨識系統示意圖。 圖2是依據本發明之一實施例繪示的車種方法流程圖。 圖3是依據本發明之一實施例繪示的對車道所拍攝的多個影像的示意圖。 圖4是依據圖3繪示的全車拼接影像示意圖。 FIG. 1 is a schematic diagram of a vehicle type identification system according to an embodiment of the present invention. Fig. 2 is a flowchart of a vehicle type method according to an embodiment of the present invention. FIG. 3 is a schematic diagram of multiple images taken of a lane according to an embodiment of the present invention. FIG. 4 is a schematic diagram of the stitched image of the whole car according to FIG. 3.

S210~S250:步驟 S210~S250: steps

Claims (10)

一種車種辨識方法,適於一車種辨識系統,所述方法包括: 透過一攝影機取得一車道的一車道影像; 反應於判定該車道影像中出現一車輛,透過該攝影機對該車道連續拍攝多個影像,並基於一透視變換矩陣將該些影像轉換為多個待拼接影像,其中各該影像包括對應於該車輛的一部分的影像區域; 將該些待拼接影像進行兩兩比對,以取得該些待拼接影像兩兩之間的一移動向量; 採用一非線性影像融合方法以基於該些待拼接影像兩兩之間的該移動向量將該些待拼接影像拼接為對應於該車輛的一全車拼接影像; 基於該全車拼接影像辨識該車輛的一車種。 A vehicle type identification method is suitable for a vehicle type identification system, and the method includes: Obtain a lane image of a lane through a camera; In response to determining that a vehicle appears in the lane image, multiple images of the lane are continuously captured by the camera, and the images are converted into multiple images to be spliced based on a perspective transformation matrix, wherein each of the images includes corresponding to the vehicle Part of the image area; Perform a pairwise comparison of the images to be spliced to obtain a movement vector between the images to be spliced; Adopting a non-linear image fusion method to stitch the images to be stitched into a whole-vehicle stitched image corresponding to the vehicle based on the motion vector between the images to be stitched; Identify a vehicle type of the vehicle based on the stitched image of the entire vehicle. 如請求項1所述的方法,其中該攝影機為一車牌辨識攝影機。The method according to claim 1, wherein the camera is a license plate recognition camera. 如請求項1所述的方法,其中該些待拼接影像的至少其中之一包括對應於該車輛的尾部的一影像區域。The method according to claim 1, wherein at least one of the images to be stitched includes an image area corresponding to the rear of the vehicle. 如請求項1所述的方法,其中將該些待拼接影像進行兩兩比對,以取得該些待拼接影像兩兩之間的該移動向量的步驟包括: 對於該些待拼接影像中的第i個待拼接影像而言,在所述第i個待拼接影像中取出一特定區塊作為一第一特徵樣板,其中
Figure 03_image003
,N為該些待拼接影像的數量; 對於該些待拼接影像中的第i+1個待拼接影像而言,在所述第i+1個待拼接影像中找出匹配於該第一特徵樣板的一第二特徵樣板; 基於該第二特徵樣板與該第一特徵樣板之間的一位移定義所述第i+1個待拼接影像與所述第i個待拼接影像之間的該移動向量。
The method according to claim 1, wherein the step of comparing the images to be spliced in pairs to obtain the movement vector between the images to be spliced includes: For i images to be spliced, a specific block is taken from the i-th image to be spliced as a first feature template, where
Figure 03_image003
, N is the number of the images to be spliced; for the i+1th image to be spliced in the images to be spliced, find the i+1th image to be spliced that matches the first feature A second feature template of the template; based on a displacement between the second feature template and the first feature template, the movement between the i+1th image to be spliced and the i-th image to be spliced is defined vector.
如請求項1所述的方法,其中基於該全車拼接影像辨識該車輛的該車種的步驟包括: 將該全車拼接影像輸入經預訓練的一車種辨識模型,其中該車種辨識模型反應於該全車拼接影像而輸出該車輛的該車種。 The method according to claim 1, wherein the step of identifying the vehicle type of the vehicle based on the stitched image of the entire vehicle includes: The whole-vehicle stitched image is input into a pre-trained vehicle type identification model, wherein the vehicle type identification model reacts to the whole-vehicle stitched image and outputs the vehicle type of the vehicle. 一種車種辨識系統,包括: 一攝影機; 一儲存電路,儲存多個模組;以及 一處理器,其耦接該攝影機、該儲存電路及該處理器,並存取該些模組以執行下列步驟: 控制該攝影機取得一車道的一車道影像; 反應於判定該車道影像中出現一車輛,控制該攝影機對該車道連續拍攝多個影像,並基於一透視變換矩陣將該些影像轉換為多個待拼接影像,其中各該影像包括對應於該車輛的一部分的影像區域; 將該些待拼接影像進行兩兩比對,以取得該些待拼接影像兩兩之間的一移動向量; 採用一非線性影像融合方法以基於該些待拼接影像兩兩之間的該移動向量將該些待拼接影像拼接為對應於該車輛的一全車拼接影像; 基於該全車拼接影像辨識該車輛的一車種。 A vehicle type identification system, including: A camera A storage circuit for storing multiple modules; and A processor, which is coupled to the camera, the storage circuit and the processor, and accesses the modules to perform the following steps: Control the camera to obtain a lane image of a lane; In response to determining that a vehicle appears in the lane image, the camera is controlled to continuously shoot multiple images of the lane, and the images are converted into multiple images to be spliced based on a perspective transformation matrix, wherein each of the images includes corresponding to the vehicle Part of the image area; Comparing the images to be spliced in pairs to obtain a motion vector between the images to be spliced; Adopting a nonlinear image fusion method to stitch the images to be stitched into a whole-vehicle stitched image corresponding to the vehicle based on the motion vector between the images to be stitched; Identify a vehicle type of the vehicle based on the stitched image of the entire vehicle. 如請求項6所述的系統,其中該攝影機為一車牌辨識攝影機。The system according to claim 6, wherein the camera is a license plate recognition camera. 如請求項6所述的系統,其中該些待拼接影像的至少其中之一包括對應於該車輛的尾部的一影像區域。The system according to claim 6, wherein at least one of the images to be stitched includes an image area corresponding to the rear of the vehicle. 如請求項6所述的系統,其中將該些待拼接影像進行兩兩比對,以取得該些待拼接影像兩兩之間的該移動向量的步驟包括: 對於該些待拼接影像中的第i個待拼接影像而言,在所述第i個待拼接影像中取出一特定區塊作為一第一特徵樣板,其中
Figure 03_image003
,N為該些待拼接影像的數量; 對於該些待拼接影像中的第i+1個待拼接影像而言,在所述第i+1個待拼接影像中找出匹配於該第一特徵樣板的一第二特徵樣板; 基於該第二特徵樣板與該第一特徵樣板之間的一位移定義所述第i+1個待拼接影像與所述第i個待拼接影像之間的該移動向量。
The system according to claim 6, wherein the step of comparing the images to be spliced in pairs to obtain the movement vector between the images to be spliced includes: For i images to be spliced, a specific block is taken from the i-th image to be spliced as a first feature template, where
Figure 03_image003
, N is the number of the images to be spliced; for the i+1th image to be spliced in the images to be spliced, find the i+1th image to be spliced that matches the first feature A second feature template of the template; based on a displacement between the second feature template and the first feature template, the movement between the i+1th image to be spliced and the i-th image to be spliced is defined vector.
如請求項6所述的系統,其中基於該全車拼接影像辨識該車輛的該車種的步驟包括: 將該全車拼接影像輸入經預訓練的一車種辨識模型,其中該車種辨識模型反應於該全車拼接影像而輸出該車輛的該車種。 The system according to claim 6, wherein the step of identifying the vehicle type of the vehicle based on the stitched image of the entire vehicle includes: The whole-vehicle stitched image is input into a pre-trained vehicle type identification model, wherein the vehicle type identification model reacts to the whole-vehicle stitched image and outputs the vehicle type of the vehicle.
TW109127655A 2020-08-14 2020-08-14 Method and system for identifying vehicle type TWI739548B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW109127655A TWI739548B (en) 2020-08-14 2020-08-14 Method and system for identifying vehicle type

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW109127655A TWI739548B (en) 2020-08-14 2020-08-14 Method and system for identifying vehicle type

Publications (2)

Publication Number Publication Date
TWI739548B true TWI739548B (en) 2021-09-11
TW202207083A TW202207083A (en) 2022-02-16

Family

ID=78778122

Family Applications (1)

Application Number Title Priority Date Filing Date
TW109127655A TWI739548B (en) 2020-08-14 2020-08-14 Method and system for identifying vehicle type

Country Status (1)

Country Link
TW (1) TWI739548B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10304260B2 (en) * 2015-10-26 2019-05-28 Verizon Patent And Licensing, Inc. Automated vehicle identification and inspection data processing system
TWI663578B (en) * 2018-01-05 2019-06-21 宏頂科技股份有限公司 Management system of parking site and access control method for vehicles
TWM591940U (en) * 2019-08-12 2020-03-11 曾威順 Panoramic parking-assistance system and device using the same
TW202016880A (en) * 2018-10-24 2020-05-01 緯創資通股份有限公司 Image stitching processing method and system thereof

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10304260B2 (en) * 2015-10-26 2019-05-28 Verizon Patent And Licensing, Inc. Automated vehicle identification and inspection data processing system
TWI663578B (en) * 2018-01-05 2019-06-21 宏頂科技股份有限公司 Management system of parking site and access control method for vehicles
TW202016880A (en) * 2018-10-24 2020-05-01 緯創資通股份有限公司 Image stitching processing method and system thereof
TWM591940U (en) * 2019-08-12 2020-03-11 曾威順 Panoramic parking-assistance system and device using the same

Also Published As

Publication number Publication date
TW202207083A (en) 2022-02-16

Similar Documents

Publication Publication Date Title
WO2016119532A1 (en) Method for collecting evidence of vehicle parking violation, and apparatus therefor
TW202013252A (en) License plate recognition system and license plate recognition method
CN105608671A (en) Image connection method based on SURF algorithm
US11699290B1 (en) Pedestrian re-identification method and apparatus based on local feature attention
TW201619910A (en) Surveillance systems and image processing methods thereof
CN105930822A (en) Human face snapshot method and system
US11810366B1 (en) Joint modeling method and apparatus for enhancing local features of pedestrians
CN110008806A (en) Storage medium, learning processing method, learning device and object identification device
KR102052833B1 (en) Apparatus and method for vehicle speed detection using image tracking
CN112287867B (en) Multi-camera human body action recognition method and device
CN111507327A (en) Target detection method and device
CN103824303A (en) Image perspective distortion adjusting method and device based on position and direction of photographed object
CN111967396A (en) Processing method, device and equipment for obstacle detection and storage medium
CN110490196A (en) Subject detection method and apparatus, electronic equipment, computer readable storage medium
CN115063447A (en) Target animal motion tracking method based on video sequence and related equipment
WO2020199057A1 (en) Self-piloting simulation system, method and device, and storage medium
CN110766077A (en) Method, device and equipment for screening sketch in evidence chain image
TWI739548B (en) Method and system for identifying vehicle type
CN111932590B (en) Object tracking method and device, electronic equipment and readable storage medium
JP7363504B2 (en) Object detection method, detection device and electronic equipment
Moseva et al. Development of a System for Fixing Road Markings in Real Time
CN116128919A (en) Multi-temporal image abnormal target detection method and system based on polar constraint
CN115880220A (en) Multi-view-angle apple maturity detection method
JP7040627B2 (en) Calculator, information processing method and program
JPH06274788A (en) Number plate reading device