Conclusion notes about license plates

Source: Internet
Author: User
Tags informix
Step 1: convert the collected color license plate image to a grayscale or grayscale image after Gaussian smoothing, then perform direct filtering. 3. use the Sobel operator to perform Edge Detection. 4. conduct corrosion, expansion, and operation on the binarization image, closed operation morphological combination transformation 5. search for the contour of the transformed morphological image, and extract the license plate & amp; lt; based on the license plate's aspect ratio ;! -- More -- & amp; gt; implement grayscale gray & amp; nbsp; cv2.cvtColor (img, & amp; nbsp... step 1: convert the collected color license plate image to a grayscale or grayscale image after Gaussian smoothing, then perform direct filtering. 3. use the Sobel operator to perform Edge Detection. 4. conduct corrosion, expansion, and operation on the binarization image, closed operation: morphological combination transformation 5. contour search of the transformed image, and license plate width/aspect ratio extraction Code implementation: grayscale image gray = cv2.cvtColor (img, cv2.COLOR _ BGR2GRAY) gaussian smoothing, median filter processing gaussian = cv2.GaussianBlur (gray, (3, 3), 0, 0, cv2.BORDER _ DEFAULT) median = cv2.medianBlur (gaussian, 5) Sobel edge detection sobel

1. implement license plate locating and segmentation using Python

Brief introduction: Step 1: convert the collected color license plate image into a grayscale or grayscale image after Gaussian smoothing, then perform direct filtering. 3. use the Sobel operator to perform Edge Detection. 4. conduct corrosion, expansion, and operation on the binarization image, closed operation morphological combination transformation 5. search for the contour of the transformed morphological image, and extract the license plate based on the license plate's aspect ratio <! More> Implement grayscale gray = cv2.cvtColor (img, cv2.COLORBGR2GR...

2. PHP implementation to generate a unique number (36-digit non-repeated number) _ PHP Tutorial

Brief introduction: PHP generates unique numbers (36-digit numbers are not repeated ). When we want to numbers a large number of data, there is a limit on the number of digits, such as a five-digit license plate number, a ten-digit license number, order serial number, and a short URL, we can make

3. questions about another php regular expression match text into two-dimensional array scores

Introduction: Another php regular expression of the problem match text into a two-dimensional array of scores to force the query results are as follows: this traffic violation has a record! Information Source: non-site record Document No./decision Book No./Document No.: Not ruled, no license plate number: Guangdong K32889 owner name: plate type: Illegal Time &

4. PHP cannot simulate the POST aspx page. how can this problem be solved?

Introduction: PHP simulated POST aspx page is unsuccessful. the following instance returns 0 | access restriction! Please reload the page and put it back to-2 | incorrect license plate number

5. how to reverse process the verification code image?

Introduction: how to reverse process verification code images, please advise me. I want to resolve the image scanned by the app to a string. due to the size limit of the app, the backend resolution verification code is required. The image features are as follows: no canvas interference content consists of 6 uppercase letters and numbers. text composition is not skewed or other interference text size color fixed verification code Image size background fixed image point, just like the car license brother meditation for three days can not be resolved to beg you to God, thoughts

6. PHP generates a unique membership card number

Brief introduction: PHP generates a unique membership card number. when we want to numbers a large amount of data, there is a limit on the number of digits, for example, the license plate number of five digits, a certificate number of ten digits, a sequential order number, and a short website address can be calculated using a 36-digit hexadecimal notation .? View DEMO? We use 0-Z (0123456789 ABCDEFGHIJKLMNOPQRSTUVWXYZ) to represent the value 0-35, for example, the letter Z represents 35. In this case, I

7. PHP cannot simulate the POST aspx page. how can this problem be solved?

Introduction: PHP simulated POST aspx page is unsuccessful. the following instance returns 0 | access restriction! Please reload the page and put it back to-2 | incorrect license plate number

8. questions about another php regular expression match text into two-dimensional array scores

Introduction: Another php regular expression of the problem match text into a two-dimensional array of scores to force the query results are as follows: this traffic violation has a record! Information Source: non-site record Document No./decision Book No./Document No.: Not ruled, no license plate number: Guangdong K32889 owner name: plate type: Illegal Time &

9. notepad ++ batch fixed format replacement

Introduction: recently, when I was dealing with an SQL query record, I encountered some problems. after multiple queries and explorations, I summarized the following: for example, I used SQL to query a table and obtained all license plates. then, I took these license plates and converted them into license plate numbers 1, license plate numbers 2 ,..... license plate number n, and the final result is required to be written to a text file. there is no space, and before the line break, my

10. php cannot query Chinese characters using SQL statements through odbc. how should I perform transcoding?

Description: The database is informix, the code is ISO-8859-1, and the php code is gbk. I have found various conversion methods on the Internet. The code is as follows, where $ licenseno is the license plate number and the province abbreviation is Chinese characters. "$ SQL. = "and B. licenseno = "". $ licenseno. ";" will return the following error: "Warning: odbc_exec () [function. odbc-exec]: SQL error: [Informix] [In

[Related Q & A recommendations ]:

Actionscript-vehicle trajectory table design Mongodb

How can I learn license plate regular expressions?

How to set uitextfield-IOS textField to include only English letters or numbers, not Chinese characters

Javascript-why are all the license plate numbers I output at the end of this article numbers? There are many letters in the clear array!

Javascript-how to learn license plate regular expressions?

The above is a summary of the notes for license plate. For more information, see other related articles in the first PHP community!

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.