TWI494866B - License plate identification method and its hand - held electronic device - Google Patents

License plate identification method and its hand - held electronic device Download PDF

Info

Publication number
TWI494866B
TWI494866B TW102120919A TW102120919A TWI494866B TW I494866 B TWI494866 B TW I494866B TW 102120919 A TW102120919 A TW 102120919A TW 102120919 A TW102120919 A TW 102120919A TW I494866 B TWI494866 B TW I494866B
Authority
TW
Taiwan
Prior art keywords
image
shadow
license plate
recognition
area
Prior art date
Application number
TW102120919A
Other languages
Chinese (zh)
Other versions
TW201447773A (en
Original Assignee
Univ Nat Yunlin Sci & Tech
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 Univ Nat Yunlin Sci & Tech filed Critical Univ Nat Yunlin Sci & Tech
Priority to TW102120919A priority Critical patent/TWI494866B/en
Publication of TW201447773A publication Critical patent/TW201447773A/en
Application granted granted Critical
Publication of TWI494866B publication Critical patent/TWI494866B/en

Links

Landscapes

  • Character Discrimination (AREA)
  • Character Input (AREA)
  • Image Analysis (AREA)

Description

車牌辨識方法及其手持式電子裝置License plate identification method and handheld electronic device thereof

本發明是有關於一種車牌辨識方法及其手持式電子裝置,特別是指一種在一車牌影像具有陰影時亦可準確地辨識出該車牌影像的車牌辨識方法及其手持式電子裝置。The invention relates to a license plate identification method and a handheld electronic device thereof, in particular to a license plate recognition method capable of accurately recognizing the license plate image when a license plate image has a shadow, and a handheld electronic device thereof.

車牌辨識已廣泛地應用於如道路及停車場等設施的收費機制和道路交通監控取締等領域。而一般車牌辨識方法主要有以下步驟。首先,對一影像進行車牌影像的擷取,接著將車牌上的字元逐一送入事先取像訓練完成的分類器(如類神經網路等)進行辨識以輸出車牌字元辨識結果。License plate recognition has been widely used in areas such as toll collection mechanisms for roads and parking lots, and road traffic monitoring and bans. The general license plate identification method mainly has the following steps. First, the image of the license plate is captured for an image, and then the characters on the license plate are sent one by one to a classifier (such as a neural network) for performing pre-image training to identify the license plate character recognition result.

於光源充足的環境下,一般車牌辨識方法的正確率可達一定標準,但在光線照射不均勻的環境中如黃昏日落時分的樹蔭下,或是任何受到前方物體遮蔽的環境下,車牌上就會產生陰影。受到陰影影響的車牌影像在二值化的步驟中,深色陰影區域往往無法得到理想的二值化結果,另一方面,在無陰影區域的車牌字元相較於深陰影區域的車牌底色,深陰影區域的像素值會比沒有陰影區域的車牌字元還要低,因此會導致二值化的結果不正確,而大 幅降低車牌辨識的正確率。In a sufficient light source environment, the correct rate of the license plate recognition method can reach a certain standard, but in an environment where the light is not uniformly illuminated, such as under the shade of the sunset at sunset, or in any environment obscured by the object in front, the license plate There will be shadows on it. In the binarization step of the license plate image affected by the shadow, the dark shadow area often fails to obtain the ideal binarization result. On the other hand, the license plate character in the unshaded area is compared with the license plate background color in the deep shadow area. The pixel value of the deep shadow area will be lower than the license plate character without the shadow area, so the result of the binarization is incorrect, and the result is large. The frame reduces the correct rate of license plate recognition.

因此,如何克服上述問題使車牌辨識方法在實際應用上可以擁有良好的正確率,將是現今車牌辨識方法所須要面臨的一大挑戰。Therefore, how to overcome the above problems makes the license plate identification method have a good accuracy rate in practical applications, which will be a major challenge for the current license plate identification method.

因此,本發明之一目的,即在提供一種可對一具有陰影的車牌影像提供準確辨識的車牌辨識方法。Accordingly, it is an object of the present invention to provide a license plate recognition method that provides accurate identification of a shaded license plate image.

於是本發明車牌辨識方法,適用於對一包含一車牌影像的影像進行辨識,並以一車牌辨識系統來實現,該車牌辨識系統包括一車牌影像擷取單元、一陰影識別單元、一陰影濾除單元、一車牌影像處理單元、一字元比對單元及一字元資料庫,該方法包含以下步驟:(A)該車牌影像擷取單元擷取出該影像中的該車牌影像;(B)該陰影識別單元從該車牌影像中識別出一包括一陰影區域及一非陰影區域之陰影識別影像、一非陰影區域影像及一陰影區域影像,其中該非陰影區域影像包括一對應於該非陰影區域之車牌影像非陰影部分,且該陰影區域影像包括一對應於該陰影區域之車牌影像陰影部分;(C)該陰影濾除單元濾除該陰影區域影像之車牌影像陰影部分的陰影雜訊並輸出一陰影濾除影像;(D)該車牌影像處理單元依據該非陰影區域影像與該陰影濾除影像產生一待比對車牌影像,其中該待比對車牌影像具有多個字元影像;及(E)該字元比對單元依據該字元資料庫中的多張字元比對影像,比對出該待比對車牌影像中的每一字元影像所代表的字元。Therefore, the license plate recognition method of the present invention is suitable for recognizing an image including a license plate image, and is implemented by a license plate recognition system, which includes a license plate image capturing unit, a shadow recognition unit, and a shadow filter. a unit, a license plate image processing unit, a character matching unit and a character database, the method comprising the following steps: (A) the license plate image capturing unit extracts the license plate image in the image; (B) The shadow recognition unit identifies, from the license plate image, a shadow recognition image including a shadow area and a non-shadow area, a non-shadow area image, and a shadow area image, wherein the non-shadow area image includes a license plate corresponding to the non-shadow area a non-shaded portion of the image, and the shadow region image includes a shadow portion of the license plate image corresponding to the shadow region; (C) the shadow filtering unit filters out shadow noise of the shadow portion of the license plate image of the shadow region image and outputs a shadow Filtering the image; (D) the license plate image processing unit generates a waiting image according to the unshaded area image and the shadow filtering image For the license plate image, wherein the to-be-matched license plate image has a plurality of character images; and (E) the character matching unit compares the images according to the plurality of characters in the character database, and compares the waiting ratios The character represented by each character image in the license plate image.

本發明之另一目的,即在提供一種可對一具有陰影的車牌影像提供準確辨識的車牌辨識手持式電子裝置。Another object of the present invention is to provide a license plate recognition handheld electronic device that provides accurate identification of a shaded license plate image.

於是本發明車牌辨識手持式電子裝置,適用於對一包含一車牌影像的影像進行辨識,該車牌辨識手持式電子裝置包含一字元資料庫、一車牌影像擷取單元、一陰影識別單元、一陰影濾除單元、一車牌影像處理單元及一字元比對單元。該字元資料庫用以儲存多張字元比對影像。該車牌影像擷取單元用以擷取出該影像中的該車牌影像。該陰影識別單元用以從該車牌影像中識別出一包括一陰影區域及一非陰影區域之陰影識別影像、一非陰影區域影像及一陰影區域影像,其中該非陰影區域影像包括一對應於該非陰影區域之車牌影像非陰影部分,且該陰影區域影像包括一對應於該陰影區域之車牌影像陰影部分。該陰影濾除單元用以濾除該陰影區域影像之車牌影像陰影部分的陰影雜訊並輸出一陰影濾除影像。該車牌影像處理單元用以依據該非陰影區域影像與該陰影濾除影像產生一待比對車牌影像,其中該待比對車牌影像具有多個字元影像。該字元比對單元用以依據該字元資料庫中的該等字元比對影像,比對出該待比對車牌影像中的每一字元影像所代表的字元。Therefore, the license plate recognition handheld electronic device of the present invention is suitable for recognizing an image including a license plate image, wherein the license plate recognition handheld electronic device comprises a character database, a license plate image capturing unit, a shadow recognition unit, and a A shadow filtering unit, a license plate image processing unit, and a character matching unit. The character database is used to store multiple characters to compare images. The license plate image capturing unit is configured to extract the license plate image in the image. The shadow recognition unit is configured to identify, from the license plate image, a shadow recognition image including a shadow area and a non-shadow area, a non-shadow area image, and a shadow area image, wherein the non-shadow area image includes a corresponding one of the non-shadow areas The license plate image of the area is non-shaded, and the shadow area image includes a shaded portion of the license plate image corresponding to the shaded area. The shadow filtering unit is configured to filter out the shadow noise of the shadow portion of the license plate image of the shadow area image and output a shadow filtering image. The license plate image processing unit is configured to generate a to-be-matched license plate image according to the unshaded area image and the shadow filtered image, wherein the to-be-matched license plate image has a plurality of character images. The character matching unit is configured to compare the characters represented by each character image in the to-be-matched license plate image according to the characters in the character database.

本發明之功效在於,該陰影識別單元可識別出該非陰影區域影像及陰影區域影像,並藉由該陰影濾除單元濾除該陰影區域影像之車牌影像陰影部分的陰影雜訊, 使得該待比對車牌影像不具陰影雜訊進而提升辨識率。The effect of the present invention is that the shadow recognition unit can recognize the non-shadow area image and the shadow area image, and filter the shadow noise of the shadow part of the license plate image of the shadow area image by the shadow filtering unit. The image of the to-be-matched license plate image has no shadow noise and thus improves the recognition rate.

1‧‧‧車牌辨識手持式電子裝置1‧‧‧ License plate identification handheld electronic device

10‧‧‧車牌辨識系統10‧‧‧ License Plate Identification System

11‧‧‧車牌影像擷取單元11‧‧‧ License Plate Image Capture Unit

12‧‧‧陰影識別單元12‧‧‧Shadow recognition unit

13‧‧‧陰影濾除單元13‧‧‧Shadow filter unit

14‧‧‧車牌影像處理單元14‧‧‧ License Plate Image Processing Unit

15‧‧‧字元比對單元15‧‧‧ character matching unit

16‧‧‧字元資料庫16‧‧‧ character database

21~27‧‧‧步驟21~27‧‧‧Steps

71~75‧‧‧步驟71~75‧‧‧Steps

800‧‧‧車牌影像800‧‧‧ License Plate Image

801‧‧‧邊緣偵測影像801‧‧‧Edge detection image

802‧‧‧陰影識別影像802‧‧‧ Shadow Recognition Image

803‧‧‧非陰影區域影像803‧‧‧Unshaded area image

804‧‧‧陰影區域影像804‧‧‧ Shadow area image

805‧‧‧陰影濾除影像805‧‧‧ Shadow filtering image

806‧‧‧待比對車牌影像806‧‧‧Compare the license plate image

807‧‧‧陰影區域807‧‧‧Shaded area

808‧‧‧非陰影區域808‧‧‧Unshaded area

809‧‧‧車牌影像非陰影部分809‧‧‧ Licensed image non-shaded

810‧‧‧車牌影像陰影部分810‧‧‧ Shadow image of the license plate image

本發明之其他的特徵及功效,將於參照圖式的實施方式中清楚地呈現,其中:圖1是一系統架構圖,說明本發明車牌辨識手持式電子裝置的一較佳實施例適用於對一包含一車牌影像的影像進行辨識;圖2是一流程圖,說明本發明車牌辨識方法的一較佳實施例適用於對該包含該車牌影像的影像進行辨識;圖3是一示意圖,說明執行本發明車牌辨識方法所產生的主要影像;及圖4是一流程圖,說明本發明車牌辨識方法應用於得來速服務。Other features and effects of the present invention will be apparent from the following description of the drawings. FIG. 1 is a system architecture diagram illustrating a preferred embodiment of the license plate recognition handheld electronic device of the present invention. An image containing a license plate image is identified; FIG. 2 is a flow chart illustrating a preferred embodiment of the license plate recognition method of the present invention for identifying an image containing the license plate image; FIG. 3 is a schematic diagram illustrating execution The main image generated by the license plate recognition method of the present invention; and FIG. 4 is a flowchart illustrating the application of the license plate recognition method of the present invention to the drive-through service.

參閱圖1,本發明車牌辨識手持式電子裝置1的一較佳實施例適用於對一包含一車牌影像的影像進行辨識,該車牌辨識手持式電子裝置1(如智慧型手機、PDA、平板電腦等)係以載置於其內的軟體形式之車牌辨識系統10來實施。該車牌辨識系統10包含一車牌影像擷取單元11、一陰影識別單元12、一陰影濾除單元13、一車牌影像處理單元14、一字元比對單元15及一字元資料庫16。Referring to FIG. 1 , a preferred embodiment of the license plate recognition handheld electronic device 1 of the present invention is suitable for identifying an image including a license plate image, such as a smart phone, a PDA, a tablet computer. The system is implemented by a license plate recognition system 10 in the form of a software placed therein. The license plate recognition system 10 includes a license plate image capturing unit 11, a shadow recognition unit 12, a shadow filtering unit 13, a license plate image processing unit 14, a character matching unit 15, and a character database 16.

該字元資料庫16儲存多張字元比對影像。The character database 16 stores a plurality of character alignment images.

該車牌影像擷取單元11擷取出該影像中的該車 牌影像。在本較佳實施例中,該車牌影像擷取單元11主要係以基於車牌與字元訓練樣本的自適應提升演算法(AdaBoost algorithm)來實施,但該車牌影像擷取單元11亦可以現有的車牌定位演算法來實現,並不限於本較佳實施例所揭露。由於該車牌影像擷取單元11之詳細實作方式並非本專利所請求之重點,故不在此贅述,若欲了解該車牌影像擷取單元11之詳細實作方式可參考「基於車牌與字元訓練樣本的AdaBoost車牌偵測技術及其Android車牌辨識行車記錄器實作」此篇論文。The license plate image capturing unit 11 picks up the car in the image Card image. In the preferred embodiment, the license plate image capturing unit 11 is mainly implemented by an AdaBoost algorithm based on a license plate and a character training sample, but the license plate image capturing unit 11 can also be used. The implementation of the license plate location algorithm is not limited to the preferred embodiment. Since the detailed implementation of the license plate image capturing unit 11 is not the focus of the patent application, it will not be described here. For a detailed implementation of the license plate image capturing unit 11, reference may be made to "based on license plate and character training. Sample AdaBoost license plate detection technology and its Android license plate recognition driving recorder implementation" this paper.

該陰影識別單元12對該車牌影像進行二值化處理,並進行邊緣偵測,以產生一具有多個邊緣像素的邊緣偵測影像,且將該邊緣偵測影像進行型態學膨脹、填充運算及型態學侵蝕以產生識別出該陰影區域及該非陰影區域的該陰影識別影像,並根據該陰影識別影像、一車牌影像非陰影部分及一車牌影像陰影部分,識別出一非陰影區域影像及一陰影區域影像,其中該非陰影區域影像包括對應於該非陰影區域之車牌影像非陰影部分,且該陰影區域影像包括對應於該陰影區域之車牌影像陰影部分。The shadow recognition unit 12 performs binarization processing on the license plate image and performs edge detection to generate an edge detection image having a plurality of edge pixels, and performs shape expansion and filling operation on the edge detection image. And morphologically eroding to generate the shadow recognition image identifying the shadow area and the non-shadow area, and identifying a non-shadow area image according to the shadow recognition image, a non-shaded portion of a license plate image, and a shadow portion of a license plate image a shaded area image, wherein the unshaded area image includes a non-shaded portion of the license plate image corresponding to the unshaded area, and the shadow area image includes a shaded portion of the license plate image corresponding to the shaded area.

該陰影濾除單元13利用快速同態濾波器和對比強化處理來濾除該陰影區域影像之車牌影像陰影部分的陰影雜訊並輸出一陰影濾除影像。The shadow filtering unit 13 uses the fast homomorphic filter and the contrast enhancement processing to filter the shadow noise of the shadow portion of the license plate image of the shadow region image and output a shadow filtering image.

該車牌影像處理單元14將該非陰影區域影像與該陰影濾除影像做聯集運算以產生一待比對車牌影像,其中該待比對車牌影像具有多個字元影像。The license plate image processing unit 14 performs a joint operation on the unshaded area image and the shadow filtered image to generate a to-be-matched license plate image, wherein the to-be-matched license plate image has a plurality of character images.

該字元比對單元15依據該字元資料庫16中的該等字元比對影像,比對出該待比對車牌影像中的每一字元影像所代表的字元。在本較佳實施例中,係利用Tesseract OCR字元辨識軟體來比對車牌字元,Tesseract OCR字元辨識軟體為一套開放原始碼的軟體,由於其之組成元件、辨識原理,及其詳細實作方式係為熟習此項技術者所熟知,故不在此贅述。The character matching unit 15 compares the images according to the characters in the character database 16 and compares the characters represented by each character image in the to-be-matched license plate image. In the preferred embodiment, the Tesseract OCR character recognition software is used to compare the license plate characters. The Tesseract OCR character recognition software is a set of open source software, due to its components, identification principles, and details thereof. The manner of implementation is well known to those skilled in the art and will not be described here.

參閱圖1、圖2與圖3,本發明車牌辨識方法之一較佳實施例適用於對該包含該車牌影像800的影像(圖未示)進行辨識,並包含以下步驟。Referring to FIG. 1, FIG. 2 and FIG. 3, a preferred embodiment of the license plate recognition method of the present invention is suitable for identifying an image (not shown) including the license plate image 800, and includes the following steps.

如步驟21所示,該車牌影像擷取單元11擷取出該影像中的該車牌影像800。As shown in step 21, the license plate image capturing unit 11 extracts the license plate image 800 in the image.

如步驟22所示,該陰影識別單元12對該車牌影像800進行二值化處理,並進行邊緣偵測,以產生該具該等邊緣像素的邊緣偵測影像801。As shown in step 22, the shadow recognition unit 12 binarizes the license plate image 800 and performs edge detection to generate the edge detection image 801 having the edge pixels.

如步驟23所示,該陰影識別單元12將該邊緣偵測影像801進行型態學膨脹、填充運算及型態學侵蝕以產生識別出該陰影區域807及該非陰影區域808的該陰影識別影像802。As shown in step 23, the shadow recognition unit 12 performs a shape expansion, a filling operation, and a morphological erosion on the edge detection image 801 to generate the shadow recognition image 802 that identifies the shadow region 807 and the non-shadow region 808. .

如步驟24所示,該陰影識別單元12根據該陰影識別影像802、車牌影像非陰影部分809及車牌影像陰影部分810,識別出該非陰影區域影像803及該陰影區域影像804,其中該非陰影區域影像803包括對應於該非陰影區域808之車牌影像非陰影部分809,且該陰影區域影像804包 括對應於該陰影區域807之車牌影像陰影部分810。As shown in step 24, the shadow recognition unit 12 identifies the non-shadow area image 803 and the shadow area image 804 according to the shadow recognition image 802, the license plate image non-shadow portion 809, and the license plate image shadow portion 810, wherein the non-shadow area image 803 includes a license plate image non-shaded portion 809 corresponding to the non-shaded area 808, and the shadow area image 804 package A license plate image shaded portion 810 corresponding to the shaded area 807 is included.

如步驟25所示,該陰影濾除單元13利用快速同態濾波器和對比強化處理來濾除該陰影區域影像804之車牌影像陰影部分810的陰影雜訊並輸出該陰影濾除影像805。As shown in step 25, the shadow filtering unit 13 filters the shadow noise of the shaded image portion 810 of the shaded image 804 by the fast homomorphic filter and the contrast enhancement processing and outputs the shadow filtered image 805.

如步驟26所示,該車牌影像處理單元14將該非陰影區域影像803與該陰影濾除影像805做聯集運算以產生該待比對車牌影像806,其中該待比對車牌影像806具有該等字元影像。As shown in step 26, the license plate image processing unit 14 performs a union operation on the unshaded area image 803 and the shadow filtered image 805 to generate the to-be-matched license plate image 806, wherein the to-be-matched license plate image 806 has such Character image.

如步驟27所示,該字元比對單元15依據該字元資料庫16中的該等字元比對影像,比對出該待比對車牌影像806中的每一字元影像所代表的字元。As shown in step 27, the character matching unit 15 compares the images according to the characters in the character database 16 and compares the image represented by each character image in the to-be-matched license plate image 806. Character.

參閱圖1與圖4,可將本發明車牌辨識方法應用於各種得來速的服務(例如:速食店、咖啡店、藥房、電信公司服務窗口等服務業中)和贓車查緝等各類車牌辨識的應用中。以應用於速食店的得來速服務為例,免下車的得來速服務主要是提供專用車道給開車的消費者,以使得消費者不須尋找停車位且不須下車。為了便於了解,以下係將消費者的訂購步驟、得來速訂購系統的處理步驟及車牌辨識步驟一併敘述,但僅車牌辨識步驟屬於本發明方法所包含的步驟。Referring to FIG. 1 and FIG. 4, the license plate identification method of the present invention can be applied to various types of speed-of-service services (for example, in fast food restaurants, coffee shops, pharmacies, telecommunications company service windows, etc.) and various types of vehicles. In the application of license plate recognition. For example, the drive-through service used in fast food restaurants, the drive-free service is mainly to provide a dedicated lane to the consumers who drive, so that consumers do not need to find a parking space and do not have to get off. For ease of understanding, the following describes the ordering process of the consumer, the processing steps of the drive-through ordering system, and the license plate recognition step, but only the license plate recognition step belongs to the steps included in the method of the present invention.

首先,如步驟71所示,消費者利用其消費者電子裝置(圖1未示)及車牌號碼在該得來速訂購系統(圖1未示)中預先訂購商品,以觸發該得來速訂購系統儲存一筆訂 單記錄於該得來速訂購系統中,其中該筆訂單記錄包括該車牌號碼及消費者所訂購的該商品。First, as shown in step 71, the consumer pre-orders the merchandise in the pick-and-roll ordering system (not shown in FIG. 1) using its consumer electronic device (not shown in FIG. 1) and the license plate number to trigger the deferred order. System saves a subscription Recorded separately in the drive-through ordering system, wherein the order record includes the license plate number and the item ordered by the consumer.

接著,如步驟72所示,當消費者將其車輛開入該專用車道時,該車牌辨識系統10取得該包含該車牌影像的影像。其中,該影像可藉由一攝影裝置拍攝含有該車輛之一車牌的該影像並即時傳送至該車牌辨識系統10而取得,或由載置該車牌辨識系統10的該車牌辨識手持式電子裝置1利用其攝影功能拍攝含有該車輛之該車牌的該影像而取得。Next, as shown in step 72, when the consumer drives his vehicle into the dedicated lane, the license plate recognition system 10 obtains the image containing the license plate image. The image may be obtained by capturing a image of a license plate of the vehicle by a photographing device and transmitting it to the license plate recognition system 10, or by identifying the handheld electronic device 1 by the license plate recognition system 10. The image is captured by the photographing function of the license plate of the vehicle.

接著,如步驟73所示,該車牌辨識系統10進行本發明車牌辨識方法所包含的步驟以比對出該車牌影像中的每一字元影像所代表的字元。Next, as shown in step 73, the license plate recognition system 10 performs the steps included in the license plate recognition method of the present invention to compare the characters represented by each character image in the license plate image.

接著,如步驟74所示,利用載置該車牌辨識系統10的該車牌辨識手持式電子裝置1所具有的通訊功能將該車牌影像的比對結果傳送至該得來速訂購系統。Next, as shown in step 74, the license plate recognition function of the handheld electronic device 1 is carried out by the license plate on which the license plate recognition system 10 is placed, and the comparison result of the license plate image is transmitted to the drive-through ordering system.

最後,如步驟75所示,該得來速訂購系統根據該車牌影像的比對結果及儲存於該得來速訂購系統中的訂單記錄比對出與該車牌號碼相關的該筆訂單記錄,並將該筆訂單記錄顯示於位於得來速服務提供場所(例如,速食店的廚房)的螢幕上。Finally, as shown in step 75, the drive-through ordering system compares the order record of the license plate image with the order record stored in the drive-through ordering system, and compares the order record associated with the license plate number, and The order record is displayed on a screen located at a drive-through service provider (for example, a kitchen in a fast food restaurant).

得來速服務通常分為三個階段:(1)下單;(2)付費;(3)取貨。然而,花費最多時間且導致開車的消費者大排長龍的瓶頸關卡都是發生在「下單」階段。這是因為在「下單」階段中,消費者與服務提供者經常需要花許多 時間去溝通並確認訂購的需求內容。藉由將本發明車牌辨識方法應用於速食店的得來速服務中,以便讓消費者利用其車牌號碼於該得來速訂購系統中預先訂購商品,因而省略在得來速服務中的下單階段所需花費的溝通時間。Drive-through services are usually divided into three phases: (1) placing orders; (2) paying; and (3) picking up goods. However, the bottlenecks that cost the most time and lead to long-running consumers are all in the "order" stage. This is because consumers and service providers often need to spend a lot during the "order" stage. Time to communicate and confirm the content of the order. By applying the license plate recognition method of the present invention to the drive-through service of the fast food restaurant, so that the consumer can use the license plate number to pre-order the goods in the drive-through ordering system, thereby omitting the service in the drive-through service. The communication time required for a single phase.

此外,還可結合車牌電子錢包,使得在完成訂購商品後,即可對車牌電子錢包中的儲值金額進行扣款結帳,以便讓消費者進一步省略得來速服務中的付費階段所需花費的找錢時間。In addition, the license plate electronic wallet can be combined, so that after the ordering of the goods is completed, the stored value in the license plate electronic wallet can be debited and settled, so that the consumer can further omit the cost of the paying phase in the driving service. Time to find money.

綜上所述,本發明車牌辨識方法藉由該陰影識別單元12以識別出該非陰影區域影像803及陰影區域影像804,並藉由該陰影濾除單元13濾除該陰影區域影像804之車牌影像陰影部分810的陰影雜訊使得該待比對車牌影像806不具陰影雜訊進而提升車牌辨識的正確率,故確實能達成本發明之目的。In summary, the license plate recognition method of the present invention recognizes the unshaded area image 803 and the shadow area image 804 by the shadow recognition unit 12, and filters the license plate image of the shadow area image 804 by the shadow filtering unit 13. The shadow noise of the shaded portion 810 makes the to-be-matched license plate image 806 have no shadow noise and thus improves the correct rate of license plate recognition, so the object of the present invention can be achieved.

惟以上所述者,僅為本發明之較佳實施例而已,當不能以此限定本發明實施之範圍,即大凡依本發明申請專利範圍及專利說明書內容所作之簡單的等效變化與修飾,皆仍屬本發明專利涵蓋之範圍內。The above is only the preferred embodiment of the present invention, and the scope of the present invention is not limited thereto, that is, the simple equivalent changes and modifications made by the patent application scope and patent specification content of the present invention, All remain within the scope of the invention patent.

21~27‧‧‧步驟21~27‧‧‧Steps

Claims (8)

一種車牌辨識方法,適用於對一包含一車牌影像的影像進行辨識,並以一車牌辨識系統來實現,該車牌辨識系統包括一車牌影像擷取單元、一陰影識別單元、一陰影濾除單元、一車牌影像處理單元、一字元比對單元及一字元資料庫,該方法包含以下步驟:(A)該車牌影像擷取單元擷取出該影像中的該車牌影像;(B)該陰影識別單元從該車牌影像中識別出一包括一陰影區域及一非陰影區域之陰影識別影像、一非陰影區域影像及一陰影區域影像,其中該非陰影區域影像包括一對應於該非陰影區域之車牌影像非陰影部分,且該陰影區域影像包括一對應於該陰影區域之車牌影像陰影部分;(C)該陰影濾除單元濾除該陰影區域影像之車牌影像陰影部分的陰影雜訊並輸出一陰影濾除影像;(D)該車牌影像處理單元依據該非陰影區域影像與該陰影濾除影像產生一待比對車牌影像,其中該待比對車牌影像具有多個字元影像;及(E)該字元比對單元依據該字元資料庫中的多張字元比對影像,比對出該待比對車牌影像中的每一字元影像所代表的字元。A license plate recognition method is suitable for identifying an image including a license plate image, and is implemented by a license plate recognition system, which includes a license plate image capturing unit, a shadow recognition unit, and a shadow filtering unit. a license plate image processing unit, a character matching unit and a character database, the method comprising the following steps: (A) the license plate image capturing unit extracts the license plate image in the image; (B) the shadow recognition The unit identifies, from the license plate image, a shadow recognition image including a shadow area and a non-shadow area, a non-shadow area image, and a shadow area image, wherein the non-shadow area image includes a license plate image corresponding to the non-shadow area. a shaded portion, and the shadow region image includes a shadow portion of the license plate image corresponding to the shadow region; (C) the shadow filtering unit filters out shadow noise of the shadow portion of the license plate image of the shadow region image and outputs a shadow filter (D) the license plate image processing unit generates a waiting vehicle according to the unshaded area image and the shadow filtered image An image, wherein the to-be-matched license plate image has a plurality of character images; and (E) the character matching unit compares the plurality of characters in the character database to compare the images with the pair of license plates The character represented by each character image in the image. 如請求項1所述的車牌辨識方法,其中該步驟(B)包括下列子步驟: (B-1)該陰影識別單元對該車牌影像進行二值化處理,並進行邊緣偵測,以產生一具有多個邊緣像素的邊緣偵測影像;(B-2)該陰影識別單元將該邊緣偵測影像進行型態學膨脹、填充運算及型態學侵蝕以產生識別出該陰影區域及該非陰影區域的該陰影識別影像;及(B-3)該陰影識別單元根據該陰影識別影像、車牌影像非陰影部分及車牌影像陰影部分,識別出該非陰影區域影像及該陰影區域影像。The license plate recognition method according to claim 1, wherein the step (B) comprises the following sub-steps: (B-1) the shadow recognition unit binarizes the license plate image and performs edge detection to generate an edge detection image having a plurality of edge pixels; (B-2) the shadow recognition unit The edge detection image performs a shape expansion, a filling operation, and a shape erosion to generate the shadow recognition image that identifies the shadow area and the non-shadow area; and (B-3) the shadow recognition unit identifies the image according to the shadow, The non-shaded portion of the license plate image and the shaded portion of the license plate image identify the unshaded area image and the shadow area image. 如請求項1所述的車牌辨識方法,其中該步驟(C)中,該陰影濾除單元是利用快速同態濾波器和對比強化處理來濾除該陰影區域影像的陰影雜訊。The license plate recognition method according to claim 1, wherein in the step (C), the shadow filtering unit filters the shadow noise of the shadow region image by using a fast homomorphic filter and a contrast enhancement processing. 如請求項1所述的車牌辨識方法,其中該步驟(D)中,該車牌影像處理單元將該非陰影區域影像與該陰影濾除影像做聯集運算以產生該待比對車牌影像。The license plate recognition method according to claim 1, wherein in the step (D), the license plate image processing unit performs a joint operation on the unshaded area image and the shadow filtered image to generate the to-be-matched license plate image. 一種車牌辨識手持式電子裝置,適用於對一包含一車牌影像的影像進行辨識,該車牌辨識手持式電子裝置包含:一字元資料庫,用以儲存多張字元比對影像;一車牌影像擷取單元,用以擷取出該影像中的該車牌影像;一陰影識別單元,用以從該車牌影像中識別出一包括一陰影區域及一非陰影區域之陰影識別影像、一非陰影區域影像及一陰影區域影像,其中該非陰影區域影像 包括一對應於該非陰影區域之車牌影像非陰影部分,且該陰影區域影像包括一對應於該陰影區域之車牌影像陰影部分;一陰影濾除單元,用以濾除該陰影區域影像之車牌影像陰影部分的陰影雜訊並輸出一陰影濾除影像;一車牌影像處理單元,用以依據該非陰影區域影像與該陰影濾除影像產生一待比對車牌影像,其中該待比對車牌影像具有多個字元影像;及一字元比對單元,用以依據該字元資料庫中的該等字元比對影像,比對出該待比對車牌影像中的每一字元影像所代表的字元。A license plate recognition handheld electronic device is adapted to identify an image including a license plate image. The license plate recognition handheld electronic device comprises: a character database for storing a plurality of character comparison images; a license plate image a capture unit for extracting the license plate image in the image; a shadow recognition unit for recognizing a shadow recognition image including a shadow region and a non-shadow region, and a non-shadow region image from the license plate image And a shadow area image, wherein the non-shadow area image Included is a non-shaded portion of the license plate image corresponding to the unshaded area, and the shadow area image includes a shadow portion of the license plate image corresponding to the shadow area; and a shadow filtering unit for filtering the image of the license plate image of the shadow area image Part of the shadow noise and outputting a shadow filtering image; a license plate image processing unit for generating a to-be-matched license plate image according to the non-shadow area image and the shadow filtering image, wherein the to-be-matched license plate image has multiple a character image; and a character matching unit for comparing the words represented by each character image in the to-be-matched license plate image according to the characters in the character database yuan. 如請求項5所述的車牌辨識手持式電子裝置,其中該陰影識別單元用以對該車牌影像進行二值化處理,並進行邊緣偵測,以產生一具有多個邊緣像素的邊緣偵測影像,且將該邊緣偵測影像進行型態學膨脹、填充運算及型態學侵蝕以產生識別出該陰影區域及該非陰影區域的該陰影識別影像,並根據該陰影識別影像、車牌影像非陰影部分及車牌影像陰影部分,識別出該非陰影區域影像及該陰影區域影像。The license plate recognition handheld electronic device of claim 5, wherein the shadow recognition unit is configured to perform binarization processing on the license plate image and perform edge detection to generate an edge detection image having a plurality of edge pixels. And performing the pattern expansion, filling operation, and shape erosion on the edge detection image to generate the shadow recognition image that identifies the shadow area and the non-shadow area, and identifying the image and the non-shaded part of the license plate image according to the shadow And the shaded portion of the license plate image identifies the unshaded area image and the shadow area image. 如請求項5所述的車牌辨識手持式電子裝置,其中該陰影濾除單元是利用快速同態濾波器和對比強化處理來濾除該陰影區域影像的陰影雜訊。The license plate recognition handheld electronic device according to claim 5, wherein the shadow filtering unit is configured to filter the shadow noise of the shadow region image by using a fast homomorphic filter and a contrast enhancement process. 如請求項5所述的車牌辨識手持式電子裝置,其中該車牌影像處理單元用以將該非陰影區域影像與該陰影濾 除影像做聯集運算以產生該待比對車牌影像。The license plate recognition handheld electronic device according to claim 5, wherein the license plate image processing unit is configured to use the shadow image and the shadow filter The image is subjected to a union operation to generate the to-be-matched license plate image.
TW102120919A 2013-06-13 2013-06-13 License plate identification method and its hand - held electronic device TWI494866B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW102120919A TWI494866B (en) 2013-06-13 2013-06-13 License plate identification method and its hand - held electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW102120919A TWI494866B (en) 2013-06-13 2013-06-13 License plate identification method and its hand - held electronic device

Publications (2)

Publication Number Publication Date
TW201447773A TW201447773A (en) 2014-12-16
TWI494866B true TWI494866B (en) 2015-08-01

Family

ID=52707538

Family Applications (1)

Application Number Title Priority Date Filing Date
TW102120919A TWI494866B (en) 2013-06-13 2013-06-13 License plate identification method and its hand - held electronic device

Country Status (1)

Country Link
TW (1) TWI494866B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106971185B (en) * 2017-03-27 2020-03-13 张东森 License plate positioning method and device based on full convolution network
TWI697844B (en) * 2019-08-29 2020-07-01 黎明智慧科技股份有限公司 Visual artificial intelligence identification method and visual artificial intelligence identification system
CN113222826A (en) 2020-01-21 2021-08-06 深圳富泰宏精密工业有限公司 Document shadow removing method and device
TWI775039B (en) * 2020-01-21 2022-08-21 群邁通訊股份有限公司 Method and device for removing document shadow
CN113221601A (en) 2020-01-21 2021-08-06 深圳富泰宏精密工业有限公司 Character recognition method, device and computer readable storage medium
TWI775038B (en) * 2020-01-21 2022-08-21 群邁通訊股份有限公司 Method and device for recognizing character and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW376492B (en) * 1997-08-06 1999-12-11 Nippon Telegraph & Telephone Methods for extraction and recognition of pattern in an image, method for image abnormality judging, and memory medium with image processing programs
TW569152B (en) * 2002-09-16 2004-01-01 Chunghwa Telecom Co Ltd Cutting method of string/character in image
US6754369B1 (en) * 2000-03-24 2004-06-22 Fujitsu Limited License plate reading apparatus and method
CN102509077A (en) * 2011-10-28 2012-06-20 江苏物联网研究发展中心 Target identification method based on automatic illumination evaluation

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW376492B (en) * 1997-08-06 1999-12-11 Nippon Telegraph & Telephone Methods for extraction and recognition of pattern in an image, method for image abnormality judging, and memory medium with image processing programs
US6754369B1 (en) * 2000-03-24 2004-06-22 Fujitsu Limited License plate reading apparatus and method
TW569152B (en) * 2002-09-16 2004-01-01 Chunghwa Telecom Co Ltd Cutting method of string/character in image
CN102509077A (en) * 2011-10-28 2012-06-20 江苏物联网研究发展中心 Target identification method based on automatic illumination evaluation

Also Published As

Publication number Publication date
TW201447773A (en) 2014-12-16

Similar Documents

Publication Publication Date Title
TWI494866B (en) License plate identification method and its hand - held electronic device
US10789501B2 (en) Methods for mobile image capture of vehicle identification numbers in a non-document
US9754164B2 (en) Systems and methods for classifying objects in digital images captured using mobile devices
Kasaei et al. New morphology-based method for robustiranian car plate detection and recognition
US8823798B2 (en) Obscuring identification information in an image of a vehicle
CN110348439B (en) Method, computer readable medium and system for automatically identifying price tags
WO2019095884A1 (en) Image recognition technology-based self-service vending method, apparatus, electronic device and computer storage medium
CN103617420A (en) Commodity fast recognition method and system based on image feature matching
CN109635705B (en) Commodity identification method and device based on two-dimensional code and deep learning
US10943226B2 (en) Method and system of capturing an image of a card
CN108256442A (en) Financial account information is extracted in the improved digital picture from card
CN105320952A (en) OCR based identification method for driving license information
CN111160395A (en) Image recognition method and device, electronic equipment and storage medium
WO2020083283A1 (en) Payment method capable of automatically recognizing payment amount
CN110598704B (en) License plate recognition non-inductive payment system based on deep learning
CN112700312A (en) Method, server, client and system for settling account of object
SP et al. Automatic Number Plate Recognition System for Entry and Exit Management
US20230132261A1 (en) Unified framework for analysis and recognition of identity documents
Prajapati et al. A Review Paper on Automatic Number Plate Recognition using Machine Learning: An In-Depth Analysis of Machine Learning Techniques in Automatic Number Plate Recognition: Opportunities and Limitations
CN104102997A (en) Credit card streaming media identification technology and online payment realization method
Jadhav et al. Open road tolling in India by pattern recognition
CN110414424A (en) Data processing system, method, platform, machine readable media and equipment
Tan et al. Dashboard Camera View Vehicle License Plate Compliance Verification
WO2014138769A1 (en) Method and apparatus for masking an identification document
Yuliawati et al. Internet of things for monitoring parking system using optical character recognition