CN103886549A - Method and apparatus for automatic mosaic processing of license plate in picture - Google Patents
Method and apparatus for automatic mosaic processing of license plate in picture Download PDFInfo
- Publication number
- CN103886549A CN103886549A CN201210562625.8A CN201210562625A CN103886549A CN 103886549 A CN103886549 A CN 103886549A CN 201210562625 A CN201210562625 A CN 201210562625A CN 103886549 A CN103886549 A CN 103886549A
- Authority
- CN
- China
- Prior art keywords
- picture
- processing
- car plate
- carried out
- analyzing
- 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
- 238000000034 method Methods 0.000 title claims abstract description 40
- 230000008569 process Effects 0.000 claims description 11
- 238000001914 filtration Methods 0.000 claims description 8
- 239000011159 matrix material Substances 0.000 claims description 7
- 230000000694 effects Effects 0.000 description 3
- 230000008901 benefit Effects 0.000 description 2
- 230000008859 change Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000004040 coloring Methods 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 238000009499 grossing Methods 0.000 description 1
- 238000003672 processing method Methods 0.000 description 1
Images
Landscapes
- Image Processing (AREA)
Abstract
The invention provides a method and apparatus for automatic mosaic processing of a license plate in a picture. The method comprises: S1, receiving a picture to be processed which comprises a license plate image; S2, analyzing and processing the received picture, and analyzing and positioning the specific position of the license plate image in the picture; S3, performing mosaic processing on the position of the license plate image and storing it as a new picture; and S4, issuing the stored new picture on a webpage. By using the method and apparatus provided by the invention, the mosaic processing can be automatically performed on the license plate in the picture when a user issues the picture, the convenience and rapidness are higher, the efficiency is enhanced, and the user experience is improved at the same time.
Description
Technical field
The present invention relates to Information Technology Agreement field, relate in particular to a kind of method and device that can automatically carry out mosaic processing to the car plate in picture.
Background technology
As the characteristic of automobile industry, user often can issue the picture with car plate while posting in automobile Zhi Jia forum, but for secret protection, needs user manually these pictures to be handled it, and hides car plate.Can not process picture or forget processing picture but have many consumers, also have some users deliberately not remove to hide car plate for other objects, thereby car owner's privacy is produced and threatened.Even if some users can own manual handle picture in addition, but because processing mode cannot be unified, what have is direct with the erasing rubber in photo-editing software, some users hide by the mode that directly a black rectangle is drawn in car plate position in picture, cause amended picture aesthetic property extreme difference, affect the effect that it shows in webpage, experience thereby affect user.
Summary of the invention
The object of the present invention is to provide a kind of method and device that can automatically carry out mosaic processing to the car plate in picture, in the time of user Fa Tu, automatically the car plate in picture is carried out to mosaic processing, more quick, convenient, improve efficiency, promote user's experience simultaneously, thereby solved the foregoing problems existing in prior art.To achieve these goals, the technical solution used in the present invention is as follows:
A method of automatically car plate in picture being carried out mosaic processing, comprises the following steps:
S1, receives the pending picture that includes license plate image;
S2, carries out analyzing and processing to the described picture receiving, the particular location of license plate image in described picture described in analyzing and positioning;
S3, carries out mosaic processing by the position of described license plate image, and saves as new picture.
Preferably, after S3, also have the following steps:
S4, is published to the described new picture of preserving in webpage.
Preferably, S2 is specially:
S21, adopts successively when the described picture receiving is carried out to analyzing and processing with the following method and processes:
Picture inverse;
Picture gray processing;
Picture highlights;
Gaussian filtering;
Obtain the picture after rough handling;
S22, processes the picture after described rough handling successively by the following method:
Binaryzation;
Remove noise;
Use 2 × 6 matrix coarse positionings;
Obtain four limits of car plate, thereby determine the particular location of car plate.
Preferably, repeating step S1-S3, to plurality of pictures batch processing.
Automatically a device that the car plate in picture is carried out mosaic processing, comprising:
Picture receiver module, for receiving the pending picture that includes license plate image;
Picture analyzing module, for the described picture receiving is carried out to analyzing and processing, the particular location of license plate image in described picture described in analyzing and positioning;
Picture stamp module, for mosaic processing is carried out in the position of described license plate image, and saves as new picture.
Preferably, the described device that automatically car plate in picture is carried out mosaic processing, also comprises:
Picture release module, for being published to webpage by the described new picture of preserving.
Preferably, described picture analyzing module, comprising:
Just processing module of picture, adopt successively with the following method when the described picture receiving is carried out to analyzing and processing and process:
Picture inverse;
Picture gray processing;
Picture highlights;
Gaussian filtering;
Obtain the picture after rough handling;
Car plate locating module, for processing by the following method successively the picture after described rough handling:
Binaryzation;
Remove noise;
Use 2 × 6 matrix coarse positionings;
Obtain four limits of car plate, thereby determine the particular location of car plate.
The invention has the beneficial effects as follows:
Technical scheme of the present invention has realized, in the time of user Fa Tu automatically to the car plate in picture carry out mosaic processing more fast, function easily, save user issuing before picture the trouble of picture by oneself, in addition owing to being use Same Way processing picture, also make picture after treatment and original image difference change less, after issue, can not affect the aesthetics of whole webpage, improved efficiency, promoted user's experience simultaneously, simultaneously can also batch processing picture.
Brief description of the drawings
Fig. 1 is the steps flow chart schematic diagram that automatically car plate in picture is carried out mosaic processing method of the present invention;
Fig. 2 is the structural representation that automatically car plate in picture is carried out mosaic processing device of the present invention.
Embodiment
In order to make object of the present invention, technical scheme and advantage clearer, below in conjunction with accompanying drawing, the present invention is further elaborated.Should be appreciated that embodiment described herein, only in order to explain the present invention, is not intended to limit the present invention.
As shown in Figure 1, the invention discloses a kind of method of automatically car plate in picture being carried out mosaic processing, comprise the following steps:
S1, receives the pending picture that includes license plate image;
S2, carries out analyzing and processing to the described picture receiving, the particular location of license plate image in described picture described in analyzing and positioning; S2 is specially:
S21, adopts successively when the described picture receiving is carried out to analyzing and processing with the following method and processes:
Picture inverse; Picture gray processing; Picture highlights; Gaussian filtering; Obtain the picture after rough handling;
S22, processes the picture after described rough handling successively by the following method:
Binaryzation; Remove noise; Use 2 × 6 matrix coarse positionings; Obtain four limits of car plate, thereby determine the particular location of car plate.
S3, carries out mosaic processing by the position of described license plate image, and saves as new picture.
After S3, can also have the following steps:
S4, is published to the described new picture of preserving in webpage.
In the time having plurality of pictures to process, repeating step S1-S3, can be to plurality of pictures batch processing.
As shown in Figure 2, the invention discloses a kind of device that automatically car plate in picture is carried out mosaic processing, comprising: picture receiver module, for receiving the pending picture that includes license plate image; Picture analyzing module, for the described picture receiving is carried out to analyzing and processing, the particular location of license plate image in described picture described in analyzing and positioning; Picture stamp module, for mosaic processing is carried out in the position of described license plate image, and saves as new picture.
The described device that automatically car plate in picture is carried out mosaic processing, also comprises: picture release module, and for the described new picture of preserving is published to webpage.
Described picture analyzing module, comprising:
Just processing module of picture, adopts successively with the following method when the described picture receiving is carried out to analyzing and processing and processes: picture inverse; Picture gray processing; Picture highlights; Gaussian filtering; Obtain the picture after rough handling;
Car plate locating module, for processing by the following method successively the picture after described rough handling: binaryzation; Remove noise; Use 2 × 6 matrix coarse positionings; Obtain four limits of car plate, thereby determine the particular location of car plate.
Concrete, image is just processed and is comprised: the gray processing of image, binaryzation, filtering etc., the reason of gray processing: first image before treatment is all generally that coloured image true color image claims again RGB image, comprising a large amount of colouring informations with the color coloured image of R, G, a pixel of tri-representation in components of B, storage overhead is large, and processing speed is slow.
Image, through after gray processing, because image itself exists many noises, also needs further processing, now just need to use noise filter image is processed.Gaussian filter is the linear smoothing wave filter of selecting weights according to the shape of Gaussian function.Gaussian filter has good effect to the noise of removing Normal Distribution.
In RGB model, if R=G=B, color represents a kind of greyscale color, and wherein the value of R=G=B is called gray-scale value.What in the license plate locating method in the present invention, adopt is weighted value method.
Bianry image refers in entire image picture the only image of black, white two-value, and the advantage of binaryzation is: the speed of processing is fast, cost is low.Binaryzation: it is 0 that the pixel that is less than threshold value for gray-scale value directly arranges gray-scale value; The pixel that gray-scale value is greater than threshold value is directly set to 255, and the successful standard of license plate image binaryzation is: characters on license plate is separated with car plate background.
In processing procedure, use following code:
The processing of picture inverse:
The processing of picture gray processing:
Gaussian filtering:
Image binaryzation:
Remove noise:
Use 2 × 6 matrix coarse positionings:
Find and obtain four limits of car plate:
By adopting technique scheme disclosed by the invention, obtain following useful effect:
Technical scheme of the present invention has realized, in the time of user Fa Tu automatically to the car plate in picture carry out mosaic processing more fast, function easily, save user issuing before picture the trouble of picture by oneself, in addition owing to being use Same Way processing picture, also make picture after treatment and original image difference change less, after issue, can not affect the aesthetics of whole webpage, improved efficiency, promoted user's experience simultaneously, simultaneously can also batch processing picture.
The above is only the preferred embodiment of the present invention; it should be pointed out that for those skilled in the art, under the premise without departing from the principles of the invention; can also make some improvements and modifications, these improvements and modifications also should be looked protection scope of the present invention.
Claims (7)
1. a method of automatically car plate in picture being carried out mosaic processing, is characterized in that, comprises the following steps:
S1, receives the pending picture that includes license plate image;
S2, carries out analyzing and processing to the described picture receiving, the particular location of license plate image in described picture described in analyzing and positioning;
S3, carries out mosaic processing by the position of described license plate image, and saves as new picture.
2. method of automatically car plate in picture being carried out mosaic processing according to claim 1, is characterized in that, after S3, also has the following steps:
S4, is published to the described new picture of preserving in webpage.
3. according to the arbitrary described method of automatically car plate in picture being carried out mosaic processing of claim 1 or 2, it is characterized in that, S2 is specially:
S21, adopts successively when the described picture receiving is carried out to analyzing and processing with the following method and processes:
Picture inverse;
Picture gray processing;
Picture highlights;
Gaussian filtering;
Obtain the picture after rough handling;
S22, processes the picture after described rough handling successively by the following method:
Binaryzation;
Remove noise;
Use 2 × 6 matrix coarse positionings;
Obtain four limits of car plate, thereby determine the particular location of car plate.
4. according to the arbitrary described method of automatically car plate in picture being carried out mosaic processing of claim 1 or 2, it is characterized in that, repeating step S1-S3, to plurality of pictures batch processing.
5. a device that automatically car plate in picture is carried out mosaic processing, is characterized in that, comprising:
Picture receiver module, for receiving the pending picture that includes license plate image;
Picture analyzing module, for the described picture receiving is carried out to analyzing and processing, the particular location of license plate image in described picture described in analyzing and positioning;
Picture stamp module, for mosaic processing is carried out in the position of described license plate image, and saves as new picture.
6. the device that automatically car plate in picture is carried out mosaic processing according to claim 5, is characterized in that, the described device that automatically car plate in picture is carried out mosaic processing, also comprises:
Picture release module, for being published to webpage by the described new picture of preserving.
7. according to the arbitrary described device that automatically car plate in picture is carried out mosaic processing of claim 5 or 6, it is characterized in that, described picture analyzing module, comprising:
Just processing module of picture, adopt successively with the following method when the described picture receiving is carried out to analyzing and processing and process:
Picture inverse;
Picture gray processing;
Picture highlights;
Gaussian filtering;
Obtain the picture after rough handling;
Car plate locating module, for processing by the following method successively the picture after described rough handling:
Binaryzation;
Remove noise;
Use 2 × 6 matrix coarse positionings;
Obtain four limits of car plate, thereby determine the particular location of car plate.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201210562625.8A CN103886549A (en) | 2012-12-21 | 2012-12-21 | Method and apparatus for automatic mosaic processing of license plate in picture |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201210562625.8A CN103886549A (en) | 2012-12-21 | 2012-12-21 | Method and apparatus for automatic mosaic processing of license plate in picture |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN103886549A true CN103886549A (en) | 2014-06-25 |
Family
ID=50955424
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201210562625.8A Pending CN103886549A (en) | 2012-12-21 | 2012-12-21 | Method and apparatus for automatic mosaic processing of license plate in picture |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN103886549A (en) |
Cited By (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN105243668A (en) * | 2015-10-13 | 2016-01-13 | 中山大学 | License plate image privacy removal method |
| CN105809636A (en) * | 2016-02-29 | 2016-07-27 | 北京小米移动软件有限公司 | Image attenuating method and apparatus |
| CN106778781A (en) * | 2016-12-14 | 2017-05-31 | 维沃移动通信有限公司 | A kind of image processing method and device |
| CN109034150A (en) * | 2018-06-15 | 2018-12-18 | 北京小米移动软件有限公司 | Image processing method and device |
| KR102204051B1 (en) * | 2020-07-29 | 2021-01-18 | (주)동광지엔티 | Mms image editting system having blur menu for image |
| KR102204430B1 (en) * | 2020-08-11 | 2021-01-19 | (주)신한항업 | Numeric data system auto searching the misprounciations of digital map data by compared coordinate data each real position |
| CN112347853A (en) * | 2020-10-10 | 2021-02-09 | 鹏城实验室 | A video-based license plate data desensitization method, storage medium and server |
Citations (9)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20080012873A1 (en) * | 2006-07-11 | 2008-01-17 | Sony Corporation | Image capturing apparatus, image capturing method, image processing apparatus, image processing method, and program |
| CN102037490A (en) * | 2008-09-25 | 2011-04-27 | 电子地图有限公司 | Method of and arrangement for blurring an image |
| CN102044064A (en) * | 2009-10-23 | 2011-05-04 | 鸿富锦精密工业(深圳)有限公司 | Image processing system and method |
| CN102067175A (en) * | 2008-03-31 | 2011-05-18 | 谷歌公司 | Automatic face detection and identity masking in images, and applications thereof |
| CN102084649A (en) * | 2009-03-30 | 2011-06-01 | 日本胜利株式会社 | Video data recording device, video data playing device, video data recording method, and video data playing method |
| CN102281384A (en) * | 2011-07-11 | 2011-12-14 | 成都索贝数码科技股份有限公司 | Method and device for obscuring abandoned image regions, and method and system for processing video |
| CN102592141A (en) * | 2012-01-04 | 2012-07-18 | 南京理工大学常熟研究院有限公司 | Method for shielding face in dynamic image |
| CN102831419A (en) * | 2012-07-27 | 2012-12-19 | 中国科学院自动化研究所 | Method for detecting and blurring plate number in street view image rapidly |
| CN103890810A (en) * | 2011-10-25 | 2014-06-25 | 索尼公司 | Image processing apparatus, method and computer program product |
-
2012
- 2012-12-21 CN CN201210562625.8A patent/CN103886549A/en active Pending
Patent Citations (9)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20080012873A1 (en) * | 2006-07-11 | 2008-01-17 | Sony Corporation | Image capturing apparatus, image capturing method, image processing apparatus, image processing method, and program |
| CN102067175A (en) * | 2008-03-31 | 2011-05-18 | 谷歌公司 | Automatic face detection and identity masking in images, and applications thereof |
| CN102037490A (en) * | 2008-09-25 | 2011-04-27 | 电子地图有限公司 | Method of and arrangement for blurring an image |
| CN102084649A (en) * | 2009-03-30 | 2011-06-01 | 日本胜利株式会社 | Video data recording device, video data playing device, video data recording method, and video data playing method |
| CN102044064A (en) * | 2009-10-23 | 2011-05-04 | 鸿富锦精密工业(深圳)有限公司 | Image processing system and method |
| CN102281384A (en) * | 2011-07-11 | 2011-12-14 | 成都索贝数码科技股份有限公司 | Method and device for obscuring abandoned image regions, and method and system for processing video |
| CN103890810A (en) * | 2011-10-25 | 2014-06-25 | 索尼公司 | Image processing apparatus, method and computer program product |
| CN102592141A (en) * | 2012-01-04 | 2012-07-18 | 南京理工大学常熟研究院有限公司 | Method for shielding face in dynamic image |
| CN102831419A (en) * | 2012-07-27 | 2012-12-19 | 中国科学院自动化研究所 | Method for detecting and blurring plate number in street view image rapidly |
Non-Patent Citations (2)
| Title |
|---|
| 李春利等: "一种基于连通域分析的车牌定位方法", 《智能计算机与应用》 * |
| 杨志刚等: "一种基于模板匹配的汽车牌照快速定位方法", 《计算机工程与科学》 * |
Cited By (11)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN105243668A (en) * | 2015-10-13 | 2016-01-13 | 中山大学 | License plate image privacy removal method |
| CN105243668B (en) * | 2015-10-13 | 2018-04-27 | 中山大学 | A kind of method that license plate image goes privacy |
| CN105809636A (en) * | 2016-02-29 | 2016-07-27 | 北京小米移动软件有限公司 | Image attenuating method and apparatus |
| CN106778781A (en) * | 2016-12-14 | 2017-05-31 | 维沃移动通信有限公司 | A kind of image processing method and device |
| CN106778781B (en) * | 2016-12-14 | 2018-08-17 | 维沃移动通信有限公司 | A kind of image processing method and device |
| CN109034150A (en) * | 2018-06-15 | 2018-12-18 | 北京小米移动软件有限公司 | Image processing method and device |
| CN109034150B (en) * | 2018-06-15 | 2021-09-21 | 北京小米移动软件有限公司 | Image processing method and device |
| KR102204051B1 (en) * | 2020-07-29 | 2021-01-18 | (주)동광지엔티 | Mms image editting system having blur menu for image |
| KR102204430B1 (en) * | 2020-08-11 | 2021-01-19 | (주)신한항업 | Numeric data system auto searching the misprounciations of digital map data by compared coordinate data each real position |
| CN112347853A (en) * | 2020-10-10 | 2021-02-09 | 鹏城实验室 | A video-based license plate data desensitization method, storage medium and server |
| CN112347853B (en) * | 2020-10-10 | 2024-08-23 | 鹏城实验室 | License plate data desensitization method based on video, storage medium and server |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN103886549A (en) | Method and apparatus for automatic mosaic processing of license plate in picture | |
| CN108875451B (en) | Method, device, storage medium and program product for positioning image | |
| WO2019133266A1 (en) | Image transformation by fusion | |
| EP2453411A3 (en) | Method and system operative to process monochrome image data | |
| CN109598162A (en) | Identify method, apparatus, terminal device and the storage medium of two dimensional code | |
| CN107911641A (en) | Video watermark generation method, device and terminal | |
| CN108090885A (en) | For handling the method and apparatus of image | |
| CN103366390A (en) | Terminal, image processing method and device thereof | |
| CN104112133B (en) | A kind of complex illumination human face detects preprocess method | |
| CN114529909A (en) | Sample data set generation method and device and electronic equipment | |
| CN108805838B (en) | Image processing method, mobile terminal and computer-readable storage medium | |
| CN103076954B (en) | The method of adjustment display effect and device | |
| CN106874186A (en) | A kind of test device of application toggle speed, terminal and method | |
| CN114626967A (en) | Digital watermark embedding and extracting method, device, equipment and storage medium | |
| CN110363837B (en) | Method and device for processing texture image in game, electronic equipment and storage medium | |
| CN104657969B (en) | A kind of image shading minimizing technology and system | |
| CN106384071A (en) | Two-dimensional code scanning recognition processing method and device | |
| CN103268320A (en) | Method and device for storing image | |
| CN112598694A (en) | Video image processing method, electronic device and storage medium | |
| CN110287988B (en) | Data enhancement method, device and computer readable storage medium | |
| CN115601253A (en) | Image processing method, device, storage medium and electronic equipment | |
| CN104346596A (en) | Identification method and identification device for QR (Quick Response) code | |
| CN110889470A (en) | Method and apparatus for processing image | |
| CN112116617A (en) | Irregular object shadow detection method and device | |
| CN115293985A (en) | Super-resolution noise reduction method and device for image optimization |
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: 20140625 |
|
| RJ01 | Rejection of invention patent application after publication |






