CN106203514A - The method and apparatus of image recognition readjustment notice - Google Patents

The method and apparatus of image recognition readjustment notice Download PDF

Info

Publication number
CN106203514A
CN106203514A CN201610548024.XA CN201610548024A CN106203514A CN 106203514 A CN106203514 A CN 106203514A CN 201610548024 A CN201610548024 A CN 201610548024A CN 106203514 A CN106203514 A CN 106203514A
Authority
CN
China
Prior art keywords
image
readjustment
requesting party
result
recognition
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.)
Granted
Application number
CN201610548024.XA
Other languages
Chinese (zh)
Other versions
CN106203514B (en
Inventor
王淼
刘冬冬
陈会娟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Tencent Cloud Computing Beijing Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201610548024.XA priority Critical patent/CN106203514B/en
Publication of CN106203514A publication Critical patent/CN106203514A/en
Priority to PCT/CN2017/092557 priority patent/WO2018010652A1/en
Application granted granted Critical
Publication of CN106203514B publication Critical patent/CN106203514B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/0002Inspection of images, e.g. flaw detection
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/50Information retrieval; Database structures therefor; File system structures therefor of still image data
    • G06F16/58Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
    • G06F16/583Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using metadata automatically derived from the content
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/22Matching criteria, e.g. proximity measures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/94Hardware or software architectures specially adapted for image or video understanding
    • G06V10/95Hardware or software architectures specially adapted for image or video understanding structured as a network, e.g. client-server architectures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/10Image acquisition modality
    • G06T2207/10004Still image; Photographic image
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/30Subject of image; Context of image processing
    • G06T2207/30196Human being; Person

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Quality & Reliability (AREA)
  • General Engineering & Computer Science (AREA)
  • Library & Information Science (AREA)
  • Databases & Information Systems (AREA)
  • Artificial Intelligence (AREA)
  • Software Systems (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Multimedia (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • Evolutionary Biology (AREA)
  • Evolutionary Computation (AREA)
  • Information Transfer Between Computers (AREA)
  • Image Analysis (AREA)

Abstract

The method and apparatus that the present invention relates to a kind of image recognition readjustment notice.Described method includes: obtain requesting party's mark and the image recognition request of correspondence that requesting party sends;According to described image recognition request, image is identified, is identified result;Obtain and identify the first corresponding readjustment strategy with described requesting party;Judging whether to adjust back described recognition result according to described first readjustment strategy, if adjusting back, then the recognition result of described image being adjusted back notice to described requesting party.The method and apparatus of above-mentioned image recognition readjustment notice, after obtaining image recognition request, it is identified being identified result to image, obtaining and identify the first corresponding readjustment strategy with requesting party, judge whether to adjust back recognition result according to the first readjustment strategy, if judging, needs are adjusted back, then the recognition result of image is adjusted back notice to requesting party, achieve and adjust back according to readjustment strategy, it is to avoid all images is adjusted back, can save and to adjust back resource.

Description

The method and apparatus of image recognition readjustment notice
Technical field
The present invention relates to image processing field, the method and apparatus particularly relating to a kind of image recognition readjustment notice.
Background technology
Along with computer technology and the development of network technology, increasing user shoots image, and uploads to various flat Platform is shared, and platform management person needs to be identified the image uploaded.To this end, platform management person is as requesting party, can be by Images etc. are sent to image identification system, and whether this image of image identification system identification comprises some certain content, as comprised color Feelings information, and recognition result is notified to requesting party by call-back manner.
Generally, requesting party can receive all of recognition result, causes after receiving recognition result, in addition it is also necessary to knows according to image The information that other system returns, then be analyzed and judge, just can obtain required content, the most invalid readjustment that have invoked connects Mouthful, cause the waste of readjustment resource, readjustment is identified that server causes excessive pressure.
Summary of the invention
Based on this, it is necessary to adjust back the most invalid callback interface that calls for traditional image recognition and cause the wasting of resources Problem, it is provided that the method and apparatus of a kind of image recognition readjustment notice, can save readjustment resource.
A kind of method of image recognition readjustment notice, including:
Obtain requesting party's mark and the image recognition request of correspondence that requesting party sends;
According to described image recognition request, image is identified, is identified result;
Obtain and identify the first corresponding readjustment strategy with described requesting party;
Judge whether to adjust back described recognition result, if adjusting back, then by institute according to described first readjustment strategy State the recognition result readjustment notice of image to described requesting party.
A kind of device of image recognition readjustment notice, including:
Image recognition interface module, for obtaining requesting party's mark and the image recognition request of correspondence that requesting party sends;
Image recognition processing module, for being identified image according to described image recognition request, is identified result;
Strategy acquisition module, identifies the first corresponding readjustment strategy for obtaining with described requesting party;
Described image recognition processing module is additionally operable to judge whether described recognition result according to described first readjustment strategy Adjust back;
Readjustment notification module, if for adjusting back, then adjusts back notice to described request by the recognition result of described image Side.
The method and apparatus of above-mentioned image recognition readjustment notice, after obtaining image recognition request, is identified image To recognition result, obtain and identify the first corresponding readjustment strategy with requesting party, judge whether to identify according to the first readjustment strategy Result is adjusted back, if judging, needs are adjusted back, then the recognition result of image is adjusted back notice to requesting party, it is achieved that root Adjust back according to readjustment strategy, it is to avoid all images is adjusted back, can save and to adjust back resource.
Accompanying drawing explanation
Fig. 1 is the applied environment schematic diagram of the method for image recognition readjustment notice in an embodiment;
Fig. 2 A is the internal structure schematic diagram of terminal in an embodiment;
Fig. 2 B is the internal structure schematic diagram identifying server in an embodiment;
Fig. 3 is the flow chart of the method for image recognition readjustment notice in an embodiment;
Fig. 4 is the flow chart of the method for image recognition readjustment notice in another embodiment;
Fig. 5 is the structured flowchart of the device of image recognition readjustment notice in an embodiment;
Fig. 6 is the structured flowchart of the device of image recognition readjustment notice in another embodiment;
Fig. 7 is the configuration diagram of pornographic image identification in an embodiment.
Detailed description of the invention
In order to make the purpose of the present invention, technical scheme and advantage clearer, below in conjunction with drawings and Examples, right The present invention is further elaborated.Should be appreciated that specific embodiment described herein only in order to explain the present invention, and It is not used in the restriction present invention.
Fig. 1 is the applied environment schematic diagram of the method for image recognition readjustment notice in an embodiment.As it is shown in figure 1, should Applied environment includes terminal 110 and identifies server 120.Terminal 110 obtains image and the requesting party's mark that requesting party sends, and Upload to identify server 120 by image and requesting party's mark of acquisition.Identify that server 120 identifies that this image is identified knot Really, and according to requesting party the first readjustment strategy pre-set judges whether to adjust back recognition result, if adjusting back, then Recognition result is sent to requesting party, only the recognition result meeting the image of the first readjustment strategy is adjusted back, it is to avoid will All images are adjusted back, and can save readjustment resource.
Fig. 2 A is the internal structure schematic diagram of terminal in an embodiment.As shown in Figure 2 A, this terminal includes passing through system Processor, non-volatile memory medium, built-in storage, network interface, display screen and the input equipment that bus connects.Wherein, eventually The non-volatile memory medium storage of end has operating system, also includes the device of a kind of image recognition readjustment notice, and this image is known Do not adjust back the device of notice for the method realizing a kind of image recognition readjustment notice.This processor is used for providing calculating and controlling Ability, supports the operation of whole terminal.Built-in storage in terminal is that the image recognition readjustment in non-volatile memory medium is logical The operation of the device known provides environment, can store computer-readable instruction, this computer-readable instruction quilt in this built-in storage When described processor performs, the method that described processor performs a kind of image recognition readjustment notice can be made.Network interface is used for Network service etc. is carried out with identification server.The display screen of terminal can be LCDs or electric ink display screen etc., Input equipment can be the touch layer covered on display screen, it is also possible to is button, trace ball or the touch-control arranged in terminal enclosure Plate, it is also possible to be external keyboard, Trackpad or mouse etc..This terminal can be that mobile phone, panel computer or individual digital help Reason or Wearable etc..It will be understood by those skilled in the art that the structure shown in Fig. 2 A, be only and the application scheme phase The block diagram of the part-structure closed, is not intended that the restriction to the terminal that the application scheme is applied thereon, and concrete terminal can To include the more or less of parts than shown in figure, or combine some parts, or there is different parts layouts.
Fig. 2 B is the internal structure schematic diagram identifying server (or high in the clouds etc.) in an embodiment.As shown in Figure 2 B, should Identify that server includes processor, non-volatile memory medium, built-in storage and the network interface connected by system bus.Its In, the non-volatile memory medium storage of this identification server has operating system, data base and the dress of image recognition readjustment notice Putting, in data base, storage has recognition methods and readjustment strategy, the device of this image recognition readjustment notice to be applicable to know for realization A kind of method of the image recognition readjustment notice of other server.The processor of this identification server is used for providing calculating and controlling energy Power, supports the operation of whole identification server.The built-in storage of this identification server is the image in non-volatile memory medium Identify that the operation of the device of readjustment notice provides environment, this built-in storage can store computer-readable instruction, this computer When instructions is performed by described processor, the method that described processor performs a kind of image recognition readjustment notice can be made.Should Identify that the network interface of server is connected communication etc. with outside terminal by network for according to this.Identify that server can be with solely The vertical identification server cluster identifying server or multiple identification server composition realizes.Those skilled in the art can To understand, the structure shown in Fig. 2 B, it is only the block diagram of the part-structure relevant to the application scheme, is not intended that this Shen Please scheme be applied thereon identify server restriction, concrete identification server can include more more than shown in figure or Less parts, or combine some parts, or there is different parts layouts.
Fig. 3 is the flow chart of the method for image recognition readjustment notice in an embodiment.As it is shown on figure 3, a kind of image is known The method not adjusting back notice, runs on the identification server in Fig. 1, including:
Step 302, obtains requesting party's mark and the image recognition request of correspondence that requesting party sends.
In the present embodiment, requesting party refers to initiate the user of image recognition request, and this user can be to provide third-party application The enterprise of program or management personnel or use the user etc. of third party application.
Requesting party identifies for unique identification request side identity.Requesting party's mark can be instant messaging account, electronics Mailbox, ID (identity number) card No., tissue code or the account etc. of registration on the identification server identify image.The account of this registration can For individual user accounts or business account etc..On the identification server identify image, the account of registration can include letter, numeral With one or more in character etc..
Provide Direct Recognition interface identifying on server, obtain, by Direct Recognition interface, the request that requesting party sends The image recognition request of side's mark and correspondence.
Step 304, is identified image according to this image recognition request, is identified result.
In the present embodiment, identify that the image in image recognition request is known by server according to this image recognition request Not, it is identified result.Configuration recognition rule on server can identified in advance, according to the recognition rule of configuration, image carried out Identify, be identified result.This recognition result can include comprising given content or not comprising given content etc..Given content is root The content arranged according to needs, such as Pornograph or certain personage or certain information etc..
If identification pornographic image, then it is identified image using pornographic image identification based on features of skin colors to calculate Method.Initially set up complexion model, (tone, saturation, bright based on conventional chrominance space RGB (Red Green Blue), HIS Degree), YIQ (brightness of TSC-system formula and colorimetry model), YUV (brightness of pal mode and colorimetry model) and YCbCr (bright Degree component, chroma blue component and red chrominance component model) etc..As a example by YCbCr chrominance space, choose substantial amounts of colour of skin sample Originally adding up, result shows that the colour of skin difference of different ethnic group is mainly affected by brightness, is affected less by colourity, and the colour of skin exists The distribution in CbCr space presents good Clustering features, and statistical distribution meets: 77≤Cb≤127,133≤Cr≤173.This table The bright colour of skin is distributed in CbCr spatial concentration, meets gaussian distribution characteristic, uses Gauss model to describe.Assume there is N number of colour of skin picture Element Xi(Cbi,Cri) (i=1,2 ..., N) as training sample, then mean vectorWherein:
C b ‾ = 1 N Σ i = 1 N Cb i
C r ‾ = 1 N Σ i = 1 N Cr i
Covariance matrix is then:
Represent a pixel in image with vector X (Cb, Cr), then this pixel is the general of the colour of skin in skin distribution space Rate can use P (X) to represent.
P ( X ) = exp ( - 1 2 ( X - m ) C - 1 ( X - m ) T )
Choose several all ages and classes and the coloured image of sex people, be partitioned into appointment with Photoshop as instrument is manual The broca scale picture of size, calculates mean vector and the covariance matrix of Gauss model.
The image obtained is carried out area of skin color segmentation, first converts the image into the image in YCbCr space, then to image Each pixel calculate pixel skin color probability, if skin color probability not less than set threshold value, then this pixel is colour of skin picture Element, represents with 1, and otherwise this pixel is not skin pixel, represents with 0, finally Partial filtration too small for area of skin color area is fallen. Obtain area of skin color area and account for the ratio of entire image, if ratio exceedes preset ratio, then it is assumed that this image is pornographic image, if Not less than preset ratio, then it is not considered as that image is pornographic image.
In other embodiments, obtain image to be identified, search in the human body sensitive part index prestored with wait to know The characteristic corresponding to human body sensitive part picture of other images match;Characteristic according to coupling calculates image to be identified Corresponding estimates score value;Judge whether image to be identified is pornographic image according to the score value of estimating that image to be identified is corresponding.
Step 306, obtains and identifies the first corresponding readjustment strategy with this requesting party.
Before step 306, also include: identify that server obtains the readjustment policy configuration request that requesting party sends, according to This readjustment policy configuration request returns strategy configuration interface, and obtains the requesting party's the first readjustment plan in strategy configuration interface input Slightly, obtain requesting party's mark and the first readjustment strategy, and by requesting party's mark and the first corresponding storage of readjustment strategy.
First readjustment strategy is arranged as required to by requesting party, as being to estimate score value to the recognition result of image, then and first Readjustment strategy can be to estimate score value to preset in score range first, then carry out readjustment notice, if not in default score range, then Do not carry out readjustment notice.For another example the first readjustment strategy is preset in score range for estimating score value second, then carry out readjustment notice.The One presets score range presets score range less than second.As a example by pornographic score value, if the object that image is browsed is child etc. Occasion, then estimate score value and preset in score range first, then carry out readjustment notice.Such as first preset score range for [30, 100], pornographic estimate score range for [0,100], when image comprises pornographic estimate score value more than 30 time, this image is i.e. It is considered containing Pornograph.If the object that image is browsed is adult, then estimates score value and preset in score range second, then Carrying out readjustment notice, such as second presets score range for [50,100], and comprise in image pornographic estimates score value more than 50 Time, this image is considered containing Pornograph.
In other embodiments, first readjustment strategy may be included in preset time range in estimate score value from high to low in preset The recognition result of the image of quantity is adjusted back.100 images were such as had to be identified in 10 minutes, estimating of 100 images Score value is ranked up from high to low, then according to estimate score value, to select the recognition result of 10 images to carry out readjustment from high to low logical Know.
Step 308, judges whether to be adjusted back by this recognition result, if adjusting back, then according to this first readjustment strategy The recognition result of this image is adjusted back notice to this requesting party.
In the present embodiment, identify that server judges whether to adjust back recognition result, if sentencing according to the first readjustment strategy The recognition result of image for adjusting back, is then adjusted back and is notified to requesting party, if judged result is not for adjust back, then by disconnected result It is made without readjustment notice.
Identify that server readjustment notifies requesting party, recognition result can be sent to requesting party and identify the terminal at place, or The E-mail address reserved by requesting party is sent out mail and is notified, or the instant messaging account messaging reserved by requesting party Notify, or the mobile communication number short-message sending reserved by requesting party carries out notice etc..Additionally, also can be by image URL (Uniform Resource Locator, URL) is sent to requesting party.
The method of above-mentioned image recognition readjustment notice, after obtaining image recognition request, is identified being identified to image As a result, obtain and identify the first corresponding readjustment strategy with requesting party, judge whether to enter recognition result according to the first readjustment strategy Row readjustment, if judging, needs are adjusted back, then the recognition result of image is adjusted back notice to requesting party, it is achieved that according to readjustment Strategy is adjusted back, it is to avoid adjust back all images, can save readjustment resource.
In one embodiment, image is identified by this according to this image recognition request, is identified result and includes: root According to this image recognition request, image is identified, obtains the recognition result estimating score value that this image comprises given content.
This given content can require be configured according to requesting party, such as Pornograph or certain personage or certain specific landscape Deng.
This first readjustment strategy carries out readjustment notice for estimating score value when first presets in score range.
This judges whether to adjust back this recognition result, if adjusting back, then by this figure according to this first readjustment strategy Picture recognition result readjustment notice include to this requesting party: judge this image corresponding estimate whether score value presets score value model first In enclosing;First preset in score range if this estimates score value at this, then the recognition result of this image is adjusted back notice to this requesting party.
First presets score range sets, as required such as [40,100] or [50,100] etc..
In one embodiment, as shown in Figure 4, the method for above-mentioned image recognition readjustment notice also includes:
Step 402, receive requesting party upload requesting party mark and the image of correspondence, and store this requesting party mark and right The image answered.
In the present embodiment, identify that server provides image to upload interface, upload interface requesting party by image and upload Requesting party's mark and the image of correspondence, and store the image in image storage system.Image upload interface can be open to Third-party application uploads the interface of image.
Requesting party refer to initiate image recognition request user, this user can be provide third party application enterprise or Management personnel or the user etc. of use third party application.
Requesting party identifies for unique identification request side identity.Requesting party's mark can be instant messaging account, electronics Mailbox, ID (identity number) card No., tissue code or the account etc. of registration on the identification server identify image.The account of this registration can For individual user accounts or business account etc..On the identification server identify image, the account of registration can include letter, numeral With one or more in character etc..
Step 404, is identified the image of this storage, is identified result.
In the present embodiment, identify that the image asynchronous of storage is called identification service and is identified by server, be identified knot Really.
Step 406, obtains and identifies the second corresponding readjustment strategy with this requesting party.
In the present embodiment, the second readjustment strategy can be that requesting party is arranged as required to or default setting.Second readjustment plan Slightly can include estimating score value and carry out readjustment notice when second presets in score range, or estimate in preset time range score value from The recognition result of the image of high to Low middle predetermined number is adjusted back, or includes presetting estimating score value in score range the 3rd Image close or delete, or include estimating score value and carry out readjustment notice when second presets in score range and score value will be estimated exist 3rd presets the image in score range closes or deletion etc..
Step 408, judges whether to adjust back the recognition result of the image of this storage according to this second readjustment strategy, if Adjust back, then the recognition result of the image of this storage is adjusted back notice to this requesting party.
In the present embodiment, identify that server judges whether to adjust back recognition result, if sentencing according to the second readjustment strategy The recognition result of image for adjusting back, is then adjusted back and is notified to requesting party, if judged result is not for adjust back, then by disconnected result It is made without readjustment notice.
Identify that server readjustment notifies requesting party, recognition result can be sent to requesting party and identify the terminal at place, or The E-mail address reserved by requesting party is sent out mail and is notified, or the instant messaging account messaging reserved by requesting party Notify, or the mobile communication number short-message sending reserved by requesting party carries out notice etc..Additionally, also can be by image URL is sent to requesting party.
The method of above-mentioned image recognition readjustment notice, obtains the image uploaded and stores, carrying out the image of storage Identification is identified result, obtains and identifies the second corresponding readjustment strategy with requesting party, judges whether according to the second readjustment strategy Being adjusted back by recognition result, if judging, needs are adjusted back, then adjusted back by the recognition result of image and notify to requesting party, real Show and adjusted back according to readjustment strategy, it is to avoid all images has been adjusted back, can save and to adjust back resource, and provided and upload Image interface, convenient upload image and stores by uploading image interface.
In one embodiment, the image of this storage is identified by this, is identified result and includes: the figure to this storage As being identified, obtain the recognition result estimating score value that this image comprises given content.
This given content can require be configured according to requesting party, such as Pornograph or certain personage or certain specific landscape Deng.
This second readjustment strategy includes that estimate score value carries out readjustment notice when second presets in score range.
Second presets score range sets, as required such as [50,100] or [60,100] etc..
This judges whether to adjust back, if carrying out back the recognition result of the image of this storage according to this second readjustment strategy Adjust, then the recognition result of the image of this storage is adjusted back notice to this requesting party, including: judge corresponding the estimating of image of this storage Whether score value is preset in score range second;If the score value of estimating of the image of this storage second is preset in score range, then at this The recognition result of the image of this storage is adjusted back notice to this requesting party.
In one embodiment, the image of this storage is identified by this, is identified result and includes: the figure to this storage As being identified, obtain the recognition result estimating score value that this image comprises given content.
Second readjustment strategy includes closing by estimating score value at the 3rd image presetting in score range or deleting.Wherein, figure Refer to image tagged be objectionable images and cannot show in terminal as closing.Delete and refer to the image-erasing of storage, and The most displayed on the terminals.3rd presets score range can set or identify the acquiescence score value model of server configures as required Enclose.3rd presets score range can preset with second that score range is identical or different or part is identical.
The method of above-mentioned image recognition readjustment notice also includes: judge the image of this storage corresponding estimate score value whether the Three preset in score range;If the score value of estimating of the image of this storage is preset in score range the 3rd, then by the figure of this storage As closing or delete, obtain closing result or deleting result, and this is closed result or deletes result readjustment and notify this requesting party. Closing result can be to be labeled as illegal image and cannot show.Delete result to delete for notice image.
In one embodiment, the method for above-mentioned image recognition readjustment notice also includes: judge that the image of this storage is corresponding Score value of estimating whether preset in score range in the 3rd presets score range or second;If the image of this storage estimate score value Preset in score range the 3rd, then the image of this storage is closed or deleted, obtain closing result or deleting result, and will This closes result or deletion result readjustment notifies this requesting party, and the score value of estimating of the image of this storage presets score range second In, then the recognition result of image is adjusted back notice to requesting method.Closing result can be to be labeled as illegal image and cannot show. Delete result to delete for notice image.
In one embodiment, the method for above-mentioned image recognition readjustment notice also includes: the URL of image is sent to request Side.
In one embodiment, the method for above-mentioned image recognition readjustment notice also includes: comprise when obtaining requesting party's transmission When the image recognition request of certain image does not returns recognition result in Preset Time, acquisition requesting party again sends and comprises described figure The image recognition request of picture, and again obtain the image recognition request comprising described image less than presetting number of retries.Preset Number of retries can according to circumstances set, such as 3 times or 5 inferior.
Fig. 5 is the structured flowchart of the device of image recognition readjustment notice in an embodiment.As it is shown in figure 5, a kind of image Identify the device of readjustment notice, including image recognition interface module 502, image recognition processing module 504, strategy acquisition module 506 and readjustment notification module 508.Wherein:
Requesting party's mark and the image recognition of correspondence that image recognition interface module 502 sends for obtaining requesting party please Ask.
In the present embodiment, requesting party refers to initiate the user of image recognition request, and this user can be to provide third-party application The enterprise of program or management personnel or use the user etc. of third party application.
Requesting party identifies for unique identification request side identity.Requesting party's mark can be instant messaging account, electronics Mailbox, ID (identity number) card No., tissue code or the account etc. of registration on the identification server identify image.The account of this registration can For individual user accounts or business account etc..On the identification server identify image, the account of registration can include letter, numeral With one or more in character etc..
Provide image recognition interface identifying on server, obtain, by image recognition interface, the request that requesting party sends The image recognition request of side's mark and correspondence.
Image recognition processing module 504, for being identified image according to this image recognition request, is identified result.
In the present embodiment, identify that the image in image recognition request is known by server according to this image recognition request Not, it is identified result.Configuration recognition rule on server can identified in advance, according to the recognition rule of configuration, image carried out Identify, be identified result.This recognition result can include comprising given content or not comprising given content etc..Given content is root The content arranged according to needs, such as Pornograph or certain personage or certain information etc..
Strategy acquisition module 506 identifies the first corresponding readjustment strategy for obtaining with this requesting party.
First readjustment strategy is arranged as required to by requesting party, as being to estimate score value to the recognition result of image, then and first Readjustment strategy can be to estimate score value to preset in score range first, then carry out readjustment notice, if not in default score range, then Do not carry out readjustment notice.For another example the first readjustment strategy is preset in score range for estimating score value second, then carry out readjustment notice.The One presets score range presets score range less than second.As a example by pornographic score value, if the object that image is browsed is child etc. Occasion, then estimate score value and preset in score range first, then carry out readjustment notice.Such as first preset score range for [30, 100], pornographic estimate score range for [0,100], when image comprises pornographic estimate score value more than 30 time, this image is i.e. It is considered containing Pornograph.If the object that image is browsed is adult, then estimates score value and preset in score range second, then Carrying out readjustment notice, such as second presets score range for [50,100], and comprise in image pornographic estimates score value more than 50 Time, this image is considered containing Pornograph.
In other embodiments, first readjustment strategy may be included in preset time range in estimate score value from high to low in preset The recognition result of the image of quantity is adjusted back.100 images were such as had to be identified in 10 minutes, estimating of 100 images Score value is ranked up from high to low, then according to estimate score value, to select the recognition result of 10 images to carry out readjustment from high to low logical Know.
This image recognition processing module 504 is additionally operable to judge whether to carry out this recognition result according to this first readjustment strategy Readjustment.
In the present embodiment, identify that the image recognition processing module 504 of server judges whether according to the first readjustment strategy right Recognition result is adjusted back, if judged result is for adjusting back, is then adjusted back by the recognition result of image and notifies to requesting party, if sentencing Disconnected result for not adjust back, is then made without readjustment notice.
If readjustment notification module 508 is for adjusting back, then the recognition result of this image is adjusted back notice to this requesting party.
The device of above-mentioned image recognition readjustment notice, after obtaining image recognition request, is identified being identified to image As a result, obtain and identify the first corresponding readjustment strategy with requesting party, judge whether to enter recognition result according to the first readjustment strategy Row readjustment, if judging, needs are adjusted back, then the recognition result of image is adjusted back notice to requesting party, it is achieved that according to readjustment Strategy is adjusted back, it is to avoid adjust back all images, can save readjustment resource.
In one embodiment, this first readjustment strategy for estimate score value carry out when first presets in score range readjustment lead to Know;
This image recognition processing module 504 is additionally operable to be identified image according to this image recognition request, obtains this figure As comprising the recognition result estimating score value of given content, and judge this image corresponding estimate whether score value presets score value first In the range of.
Estimate score value and first preset in score range, then by this image if this readjustment notification module 508 is additionally operable to this at this Recognition result readjustment notice is to this requesting party.
Fig. 6 is the structured flowchart of the device of image recognition readjustment notice in another embodiment.As shown in Figure 6, Yi Zhongtu As identifying the device of readjustment notice, except including that image recognition interface module 502, image recognition processing module 504, strategy obtain Module 506 and readjustment notification module 508, also include memory module 510 and configuration module 512.Wherein:
The requesting party that memory module 510 is uploaded for receiving requesting party identifies and the image of correspondence, and stores this requesting party Mark and the image of correspondence.
In the present embodiment, it is provided that image uploads interface, upload, by image, requesting party's mark that interface requesting party uploads Know and the image of correspondence, and store the image in image storage system.It can be open to third-party application that image uploads interface Upload the interface of image.
Configuration module 512, please according to the configuration of this readjustment strategy for obtaining the readjustment policy configuration request that requesting party sends Ask return strategy configuration interface, and obtain requesting party strategy configuration interface input readjustment strategy, obtain requesting party mark and Readjustment strategy, and by corresponding with readjustment strategy for requesting party's mark storage.Readjustment strategy can include the first readjustment strategy and second time Adjust strategy.
In one embodiment, this image recognition processing module 504 is additionally operable to be identified the image of this storage, obtains Recognition result.
This strategy acquisition module 506 is additionally operable to obtain and identifies the second corresponding readjustment strategy with this requesting party.
In the present embodiment, the second readjustment strategy can be that requesting party is arranged as required to or default setting.Second readjustment plan Slightly can include estimating score value and carry out readjustment notice when second presets in score range, or estimate in preset time range score value from The recognition result of the image of high to Low middle predetermined number is adjusted back, or includes presetting estimating score value in score range the 3rd Image close or delete, or include estimating score value and carry out readjustment notice when second presets in score range and score value will be estimated exist 3rd presets the image in score range closes or deletion etc..
This image recognition processing module 504 is additionally operable to judge whether the image of this storage according to this second readjustment strategy Recognition result is adjusted back.
If this readjustment notification module 508 is additionally operable to adjust back, then the recognition result of the image of this storage is adjusted back notice To this requesting party.
In the present embodiment, identify that the image recognition processing module 504 of server judges whether according to the second readjustment strategy right Recognition result is adjusted back, if judged result is for adjusting back, then the recognition result of image is adjusted back logical by readjustment notification module 508 Know to requesting party, if judged result is not for adjust back, be then made without readjustment notice.
Identify that readjustment notification module 508 readjustment of server notifies requesting party, recognition result can be sent to requesting party's mark Know the terminal at place, or the E-mail address reserved by requesting party is sent out mail and notified, or reserved by requesting party Instant messaging account messaging notifies, or the mobile communication number short-message sending reserved by requesting party is notified Deng.Additionally, also the URL of image can be sent to requesting party.
The device of above-mentioned image recognition readjustment notice, obtains the image uploaded and stores, carrying out the image of storage Identification is identified result, obtains and identifies the second corresponding readjustment strategy with requesting party, judges whether according to the second readjustment strategy Being adjusted back by recognition result, if judging, needs are adjusted back, then adjusted back by the recognition result of image and notify to requesting party, real Show and adjusted back according to readjustment strategy, it is to avoid all images has been adjusted back, can save and to adjust back resource, and provided and upload Image interface, convenient upload image and stores by uploading image interface.
This second readjustment strategy includes that estimate score value carries out readjustment notice when second presets in score range.
This image recognition processing module 504 is additionally operable to be identified the image of this storage, obtains this image and comprises appointment The recognition result estimating score value of content, and judge the image of this storage corresponding estimate whether score value presets score range second In.
If the score value of estimating that this readjustment notification module 508 is additionally operable to the image of this storage second is preset in score range at this, Then the recognition result of the image of this storage is adjusted back notice to this requesting party.
In one embodiment, this image recognition processing module 504 is additionally operable to be identified the image of this storage, obtains This image comprises the recognition result estimating score value of given content.
This second readjustment strategy includes closing by estimating score value at the 3rd image presetting in score range or deleting.
This image recognition processing module 504 be additionally operable to judge the image of this storage corresponding estimate whether score value is preset the 3rd In score range, and if the score value of estimating of image of this storage preset in score range the 3rd, then by the image of this storage Close or delete, obtain closing result or deleting result.
This readjustment notification module 508 is additionally operable to that this is closed result or deletion result readjustment notifies this requesting party.
Closing result can be to be labeled as illegal image and cannot show.Delete result to delete for notice image.
In one embodiment, when obtain requesting party send comprise certain image image recognition request in Preset Time not Return recognition result time, image recognition interface module 502 obtain requesting party again send comprise described image image recognition please Ask, and again obtain the image recognition request comprising described image less than presetting number of retries.Default number of retries can basis Situation sets, such as 3 times or 5 inferior.
Below in conjunction with concrete application scenarios describe image recognition readjustment notice method and apparatus realize process.To scheme As a example by identifying that the method for readjustment notice is applied to pornographic image identification, the framework of pornographic image identification is as it is shown in fig. 7, comprises return Adjust strategy configuration module 702, pornographic image recognition processing module 704, pornographic image identification interface 706, readjustment notification module 708 With memory module 710.Readjustment strategy configuration module 702 obtains user and is adjusting back the data of strategy configuration interface input, and according to The data genaration readjustment strategy of this input.Pornographic image identification interface 704 receives the pornographic image identification request that requesting party sends, And the image in this pornographic image identification being asked is sent to pornographic image recognition processing module 704.Pornographic image identifying processing This image is identified by module 704, draws the pornographic score value of this image, then the readjustment strategy of read requests side's configuration, according to Readjustment strategy judges that the recognition result of image whether in default score range, is the most then sent extremely by the pornographic score value of image Readjustment notification module 708.Readjustment notification module 708 is for adjusting back notice to requesting party or requesting party by the recognition result of image The server of configuration.
Memory module 710 is for storing the image that requesting party is uploaded by third-party application.Pornographic image identifying processing mould The image of storage in memory module 710 is identified by block 704, obtains the pornographic score value of image, obtains the readjustment plan of requesting party Slightly, according to readjustment strategy image closed or the operation such as deletion, obtain closing result or deleting result of correspondence, will close Result or deletion result send to readjustment notification module 708, and the image information adjusted back will be needed to be sent to adjust back notification module 708.Readjustment notification module 708 by the URL of image, pornographic score value, whether closed or deletion etc. identifies knot Really, the server that notice configures to requesting party or requesting party.If the image recognition that requesting party sends is asked unsuccessfully, can carry out repeatedly Retry.
One of ordinary skill in the art will appreciate that all or part of flow process realizing in above-described embodiment method, be permissible Instructing relevant hardware by computer program to complete, described program can be stored in a non-volatile computer and can read In storage medium, this program is upon execution, it may include such as the flow process of the embodiment of above-mentioned each method.Wherein, described storage is situated between Matter can be magnetic disc, CD, read-only store-memory body (Read-Only Memory, ROM) etc..
Embodiment described above only have expressed the several embodiments of the present invention, and it describes more concrete and detailed, but also Therefore the restriction to the scope of the claims of the present invention can not be interpreted as.It should be pointed out that, for those of ordinary skill in the art For, without departing from the inventive concept of the premise, it is also possible to make some deformation and improvement, these broadly fall into the guarantor of the present invention Protect scope.Therefore, the protection domain of patent of the present invention should be as the criterion with claims.

Claims (12)

1. a method for image recognition readjustment notice, including:
Obtain requesting party's mark and the image recognition request of correspondence that requesting party sends;
According to described image recognition request, image is identified, is identified result;
Obtain and identify the first corresponding readjustment strategy with described requesting party;
Judge whether to adjust back described recognition result, if adjusting back, then by described figure according to described first readjustment strategy The recognition result readjustment notice of picture is to described requesting party.
Method the most according to claim 1, it is characterised in that described according to described image recognition request image is known Not, it is identified result to include:
According to described image recognition request, image is identified, obtains the identification estimating score value that described image comprises given content Result;
Described first readjustment strategy carries out readjustment notice for estimating score value when first presets in score range;
Described according to described first readjustment strategy judge whether to adjust back described recognition result, if adjusting back, then by institute The recognition result readjustment notice stating image includes to described requesting party:
Judge described image corresponding estimate whether score value is preset in score range first;
Estimate score value described in and if preset in score range described first, then the recognition result of described image is adjusted back notice to described Requesting party.
Method the most according to claim 1, it is characterised in that described method also includes:
Receive requesting party's mark and the image of correspondence that requesting party uploads, and store described requesting party mark and the image of correspondence.
Method the most according to claim 3, it is characterised in that described method also includes:
The image of described storage is identified, is identified result;
Obtain and identify the second corresponding readjustment strategy with described requesting party;
Judge whether that the recognition result of the image by described storage is adjusted back, if carrying out back according to described second readjustment strategy Adjust, then the recognition result of the image of described storage is adjusted back notice to described requesting party.
Method the most according to claim 4, it is characterised in that the described image to described storage is identified, and is known Other result includes:
The image of described storage is identified, obtains the recognition result estimating score value that described image comprises given content;
Described second readjustment strategy includes that estimate score value carries out readjustment notice when second presets in score range;
Described according to described second readjustment strategy judge whether that the recognition result of the image by described storage is adjusted back, if carrying out Readjustment, then adjust back notice to described requesting party by the recognition result of the image of described storage, including:
Judge the image of described storage corresponding estimate whether score value is preset in score range second;
If the score value of estimating of the image of described storage is preset in score range described second, then by the identification of the image of described storage Result readjustment notice is to described requesting party.
Method the most according to claim 4, it is characterised in that the described image to described storage is identified, and is known Other result includes:
The image of described storage is identified, obtains the recognition result estimating score value that described image comprises given content;
Described second readjustment strategy includes closing by estimating score value at the 3rd image presetting in score range or deleting;
Described method also includes:
Judge the image of described storage corresponding estimate whether score value is preset in score range the 3rd;
If the score value of estimating of the image of described storage is preset in score range the described 3rd, then the image of described storage is closed or Delete, obtain closing result or delete result, and close result by described or delete result readjustment and notify described requesting party.
7. the device of an image recognition readjustment notice, it is characterised in that including:
Image recognition interface module, for obtaining requesting party's mark and the image recognition request of correspondence that requesting party sends;
Image recognition processing module, for being identified image according to described image recognition request, is identified result;
Strategy acquisition module, identifies the first corresponding readjustment strategy for obtaining with described requesting party;
Described image recognition processing module is additionally operable to judge whether to carry out described recognition result according to described first readjustment strategy Readjustment;
Readjustment notification module, if for adjusting back, then adjusts back notice to described requesting party by the recognition result of described image.
Device the most according to claim 7, it is characterised in that described first readjustment strategy is for estimating score value at first default point Readjustment notice is carried out time in the range of value;
Described image recognition processing module is additionally operable to be identified image according to described image recognition request, obtains described image Comprise the recognition result estimating score value of given content, and judge described image corresponding estimate whether score value presets score value first In the range of;
If described readjustment notification module is estimated score value and is preset in score range described first, then by described image described in being additionally operable to Recognition result readjustment notice is to described requesting party.
Device the most according to claim 7, it is characterised in that described device also includes:
Memory module, for receiving requesting party's mark and the image of correspondence that requesting party uploads, and stores described requesting party mark And the image of correspondence.
Device the most according to claim 9, it is characterised in that described image recognition processing module is additionally operable to deposit described The image of storage is identified, and is identified result;
Described strategy acquisition module is additionally operable to obtain and identifies the second corresponding readjustment strategy with described requesting party;
Described image recognition processing module is additionally operable to according to the described second tactful image judged whether described storage of readjustment Recognition result is adjusted back;
If described readjustment notification module is additionally operable to adjust back, then the recognition result of the image of described storage is adjusted back notice to institute State requesting party.
11. devices according to claim 10, it is characterised in that it is pre-second that described second readjustment strategy includes estimating score value If carrying out readjustment notice time in score range;
Described image recognition processing module is additionally operable to be identified the image of described storage, obtains described image and comprises in appointment The recognition result estimating score value held, and judge the image of described storage corresponding estimate whether score value presets score range second In;
If the score value of estimating that described readjustment notification module is additionally operable to the image of described storage is preset in score range, then described second The recognition result of the image of described storage is adjusted back notice to described requesting party.
12. devices according to claim 10, it is characterised in that described image recognition processing module is additionally operable to deposit described The image of storage is identified, and obtains the recognition result estimating score value that described image comprises given content;
Described second readjustment strategy includes closing by estimating score value at the 3rd image presetting in score range or deleting;
Described image recognition processing module is additionally operable to judge that whether the score value of estimating that the image of described storage is corresponding is preset point the 3rd In the range of value, and if the score value of estimating of image of described storage preset in score range the described 3rd, then by described storage Image is closed or is deleted, and obtains closing result or deleting result;
Described readjustment notification module be additionally operable to by described close result or delete result readjustment notify described requesting party.
CN201610548024.XA 2016-07-12 2016-07-12 The method and apparatus of image recognition readjustment notice Active CN106203514B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201610548024.XA CN106203514B (en) 2016-07-12 2016-07-12 The method and apparatus of image recognition readjustment notice
PCT/CN2017/092557 WO2018010652A1 (en) 2016-07-12 2017-07-12 Callback notification method in image identification, server, and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610548024.XA CN106203514B (en) 2016-07-12 2016-07-12 The method and apparatus of image recognition readjustment notice

Publications (2)

Publication Number Publication Date
CN106203514A true CN106203514A (en) 2016-12-07
CN106203514B CN106203514B (en) 2019-02-12

Family

ID=57476565

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610548024.XA Active CN106203514B (en) 2016-07-12 2016-07-12 The method and apparatus of image recognition readjustment notice

Country Status (2)

Country Link
CN (1) CN106203514B (en)
WO (1) WO2018010652A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018010652A1 (en) * 2016-07-12 2018-01-18 腾讯科技(深圳)有限公司 Callback notification method in image identification, server, and computer readable storage medium
CN110399573A (en) * 2018-04-16 2019-11-01 中国移动通信有限公司研究院 A kind of information processing method, device, equipment and computer readable storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110047388A1 (en) * 2009-08-24 2011-02-24 Samsung Electronics Co., Ltd. Method and apparatus for remotely controlling access to pornographic content of an image
CN102447729A (en) * 2010-10-05 2012-05-09 株式会社日立制作所 Service collaboration system
CN102682091A (en) * 2012-04-25 2012-09-19 腾讯科技(深圳)有限公司 Cloud-service-based visual search method and cloud-service-based visual search system
CN104281833A (en) * 2013-07-08 2015-01-14 深圳市腾讯计算机系统有限公司 Method and device for recognizing pornographic images
CN104935648A (en) * 2015-06-03 2015-09-23 北京快网科技有限公司 High-cost-performance CDN system, and file pre-push and fragment buffer memory methods

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103051705A (en) * 2012-12-19 2013-04-17 中兴通讯股份有限公司 Method and device for determining target person and mobile terminal
CN105404631B (en) * 2014-09-15 2021-01-29 腾讯科技(深圳)有限公司 Picture identification method and device
EP3211580B1 (en) * 2014-10-23 2021-03-03 Nec Corporation Image processing apparatus, display control apparatus, image processing method and recording medium
CN105095848B (en) * 2014-12-01 2019-06-21 北京云识图信息技术有限公司 The method and system of target identification
CN106203514B (en) * 2016-07-12 2019-02-12 腾讯科技(深圳)有限公司 The method and apparatus of image recognition readjustment notice

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110047388A1 (en) * 2009-08-24 2011-02-24 Samsung Electronics Co., Ltd. Method and apparatus for remotely controlling access to pornographic content of an image
CN102447729A (en) * 2010-10-05 2012-05-09 株式会社日立制作所 Service collaboration system
CN102682091A (en) * 2012-04-25 2012-09-19 腾讯科技(深圳)有限公司 Cloud-service-based visual search method and cloud-service-based visual search system
CN104281833A (en) * 2013-07-08 2015-01-14 深圳市腾讯计算机系统有限公司 Method and device for recognizing pornographic images
CN104935648A (en) * 2015-06-03 2015-09-23 北京快网科技有限公司 High-cost-performance CDN system, and file pre-push and fragment buffer memory methods

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018010652A1 (en) * 2016-07-12 2018-01-18 腾讯科技(深圳)有限公司 Callback notification method in image identification, server, and computer readable storage medium
CN110399573A (en) * 2018-04-16 2019-11-01 中国移动通信有限公司研究院 A kind of information processing method, device, equipment and computer readable storage medium

Also Published As

Publication number Publication date
CN106203514B (en) 2019-02-12
WO2018010652A1 (en) 2018-01-18

Similar Documents

Publication Publication Date Title
CN110163810B (en) Image processing method, device and terminal
CN111416950A (en) Video processing method and device, storage medium and electronic equipment
US8861847B2 (en) System and method for adaptive skin tone detection
CN104076928B (en) A kind of method for adjusting text importing image
CN109618173A (en) Video-frequency compression method, device and computer readable storage medium
CN109639982A (en) A kind of image denoising method, device, storage medium and terminal
JP2016048845A (en) Information processing device, information processing method, and program
CN110100251A (en) For handling the equipment, method and graphic user interface of document
CN109685746A (en) Brightness of image method of adjustment, device, storage medium and terminal
CN104298983A (en) Tongue fur image acquisition and analysis system with distributed user terminals
CN104102409A (en) Scenario adaptation device and method for user interface
CN107977946A (en) Method and apparatus for handling image
CN109714582A (en) White balance adjustment method, device, storage medium and terminal
CN111182212A (en) Image processing method, image processing apparatus, storage medium, and electronic device
CN109408177A (en) Method and device for configuring color of characters in picture and electronic equipment
CN106203514B (en) The method and apparatus of image recognition readjustment notice
CN112256366A (en) Page display method and device and electronic equipment
CN108833690A (en) authority control method, terminal and computer readable storage medium
CN110473263A (en) The checking method of picture, device and system
CN103854020B (en) Character recognition method and device
WO2017143812A1 (en) Method and device for differentiating objects
WO2024103975A1 (en) Image processing method, image processing system and apparatus, device and medium
CN111562955B (en) Method and device for configuring theme colors of terminal equipment and terminal equipment
CN108965901B (en) Display method for live broadcast platform and electronic equipment
CN111968605A (en) Exposure adjusting method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20210918

Address after: 518057 Tencent Building, No. 1 High-tech Zone, Nanshan District, Shenzhen City, Guangdong Province, 35 floors

Patentee after: TENCENT TECHNOLOGY (SHENZHEN) Co.,Ltd.

Patentee after: TENCENT CLOUD COMPUTING (BEIJING) Co.,Ltd.

Address before: 2, 518000, East 403 room, SEG science and Technology Park, Zhenxing Road, Shenzhen, Guangdong, Futian District

Patentee before: TENCENT TECHNOLOGY (SHENZHEN) Co.,Ltd.

TR01 Transfer of patent right