CN106203514B - 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
CN106203514B
CN106203514B CN201610548024.XA CN201610548024A CN106203514B CN 106203514 B CN106203514 B CN 106203514B CN 201610548024 A CN201610548024 A CN 201610548024A CN 106203514 B CN106203514 B CN 106203514B
Authority
CN
China
Prior art keywords
image
readjustment
requesting party
storage
recognition result
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.)
Active
Application number
CN201610548024.XA
Other languages
Chinese (zh)
Other versions
CN106203514A (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)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Data Mining & Analysis (AREA)
  • Quality & Reliability (AREA)
  • General Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Library & Information Science (AREA)
  • Artificial Intelligence (AREA)
  • Multimedia (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Software Systems (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • Evolutionary Biology (AREA)
  • Evolutionary Computation (AREA)
  • Information Transfer Between Computers (AREA)
  • Image Analysis (AREA)

Abstract

The present invention relates to a kind of method and apparatus of image recognition readjustment notice.The described method includes: requesting party's mark and the request of corresponding image recognition that acquisition request side is sent;Image is identified according to described image identification request, obtains recognition result;Obtain the first readjustment strategy corresponding with requesting party mark;Judge whether to adjust back the recognition result according to the first readjustment strategy, if being adjusted back, by the recognition result readjustment notice of described image to the requesting party.The method and apparatus of above-mentioned image recognition readjustment notice, after obtaining image recognition request, image is identified to obtain recognition result, the first readjustment strategy corresponding with requesting party's mark is obtained, judges whether to adjust back recognition result according to the first readjustment strategy, if judging to be adjusted back, then by the recognition result readjustment notice of image to requesting party, it realizes and is adjusted back according to readjustment strategy, avoid and all images are adjusted back, readjustment resource can be saved.

Description

The method and apparatus of image recognition readjustment notice
Technical field
The present invention relates to field of image processings, more particularly to a kind of method and apparatus of image recognition readjustment notice.
Background technique
With the development of computer technology and network technology, more and more users shoot image, and upload to various flat Platform is shared, and platform management person needs to identify the image of upload.For this purpose, platform management person is used as requesting party, can incite somebody to action Image etc. is sent to image identification system, and image identification system identifies whether the image includes certain specific contents, such as comprising color Feelings information, and recognition result is notified by call-back manner to requesting party.
In general, requesting party will receive all recognition results, cause after receiving recognition result, it is also necessary to be known according to image The information that other system returns, then analyzed and judged, required content can be just obtained, a large amount of invalid readjustments that have invoked connect Mouthful, the waste of readjustment resource is caused, excessive pressure is caused to readjustment identification server.
Summary of the invention
Based on this, it is necessary to result in waste of resources for traditional a large amount of invalid calling callback interfaces of image recognition readjustment Problem provides a kind of method and apparatus of image recognition readjustment notice, can save readjustment resource.
A kind of method of image recognition readjustment notice, comprising:
The requesting party's mark and the request of corresponding image recognition that acquisition request side is sent;
Image is identified according to described image identification request, obtains recognition result;
Obtain the first readjustment strategy corresponding with requesting party mark;
Judge whether to adjust back the recognition result according to the first readjustment strategy, if being adjusted back, by institute The recognition result readjustment notice of image is stated to the requesting party.
A kind of device of image recognition readjustment notice, comprising:
Image recognition interface module, the requesting party's mark and the request of corresponding image recognition sent for acquisition request side;
Image recognition processing module obtains recognition result for identifying according to described image identification request to image;
Strategy obtains module, for obtaining the first readjustment strategy corresponding with requesting party mark;
Described image recognition processing module is also used to be judged whether according to the first readjustment strategy by the recognition result It is adjusted back;
Notification module is adjusted back, if for being adjusted back, by the recognition result readjustment notice of described image to the request Side.
The method and apparatus of above-mentioned image recognition readjustment notice identify to image after obtaining image recognition request To recognition result, the first readjustment strategy corresponding with requesting party's mark is obtained, judges whether to identify according to the first readjustment strategy As a result it is adjusted back, if judging to be adjusted back, by the recognition result readjustment notice of image to requesting party, realizes root It is adjusted back according to readjustment strategy, avoids and all images are adjusted back, readjustment resource can be saved.
Detailed description of the invention
Fig. 1 is the application environment schematic diagram of the method for image recognition readjustment notice in one embodiment;
Fig. 2A is the schematic diagram of internal structure of terminal in one embodiment;
Fig. 2 B is the schematic diagram of internal structure that server is identified in one embodiment;
Fig. 3 is the flow chart of the method for image recognition readjustment notice in one embodiment;
Fig. 4 is the flow chart of the method for image recognition readjustment notice in another embodiment;
Fig. 5 is the structural block diagram of the device of image recognition readjustment notice in one embodiment;
Fig. 6 is the structural block diagram of the device of image recognition readjustment notice in another embodiment;
Fig. 7 is the configuration diagram of pornographic image identification in one embodiment.
Specific embodiment
In order to make the objectives, technical solutions, and advantages of the present invention clearer, with reference to the accompanying drawings and embodiments, right The present invention is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and It is not used in the restriction present invention.
Fig. 1 is the application environment schematic diagram of the method for image recognition readjustment notice in one embodiment.As shown in Figure 1, should Application environment includes terminal 110 and identification server 120.The image and requesting party's mark that 110 acquisition request side of terminal is sent, and The image that will acquire and requesting party's mark upload to identification server 120.Identification server 120 identifies that the image obtains identification knot Fruit, and judge whether to adjust back recognition result according to the pre-set first readjustment strategy of requesting party, if being adjusted back, Recognition result is sent to requesting party, only the recognition result for meeting the image of the first readjustment strategy is adjusted back, avoid by All images are adjusted back, and readjustment resource can be saved.
Fig. 2A is the schematic diagram of internal structure of terminal in one embodiment.As shown in Figure 2 A, which includes passing through system Processor, non-volatile memory medium, built-in storage, network interface, display screen and the input unit of bus connection.Wherein, eventually The non-volatile memory medium at end is stored with operating system, further includes a kind of device of image recognition readjustment notice, which knows Do not adjust back the device of notice for realizing a kind of method of image recognition readjustment notice.The processor is calculated and is controlled for providing Ability supports the operation of entire terminal.Built-in storage in terminal is that the image recognition readjustment in non-volatile memory medium is logical The operation for the device known provides environment, can store computer-readable instruction in the built-in storage, the computer-readable instruction quilt When the processor executes, the processor may make to execute a kind of method that image recognition readjustment notifies.Network interface is used for Network communication etc. is carried out with identification server.The display screen of terminal can be liquid crystal display or electric ink display screen etc., Input unit can be the touch layer covered on display screen, be also possible to the key being arranged in terminal enclosure, trace ball or touch-control Plate is also possible to external keyboard, Trackpad or mouse etc..The terminal can be mobile phone, tablet computer or individual digital and help Reason or wearable device etc..It will be understood by those skilled in the art that structure shown in Fig. 2A, only with application scheme phase The block diagram of the part-structure of pass does not constitute the restriction for the terminal being applied thereon to application scheme, and specific terminal can To include perhaps combining certain components or with different component layouts than more or fewer components as shown in the figure.
Fig. 2 B is the schematic diagram of internal structure that server (or cloud etc.) is identified in one embodiment.As shown in Figure 2 B, should Identification 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 of the identification server is stored with the dress of operating system, database and image recognition readjustment notice It sets, recognition methods and readjustment strategy is stored in database, which adjusts back the device of notice for realizing being suitable for knowing A kind of method of image recognition readjustment notice of other server.The processor of the identification server calculates and controls energy for providing Power supports the operation of entire identification server.The built-in storage of the identification server is the image in non-volatile memory medium The operation of the device of identification readjustment notice provides environment, can store computer-readable instruction in the built-in storage, the computer When readable instruction is executed by the processor, the processor may make to execute a kind of method that image recognition readjustment notifies.It should The network interface of identification server with external terminal by network connection for being communicated accordingly.Identify that server can be with solely Vertical identification server is either multiple to identify the identification server clusters that servers form to realize.Those skilled in the art can To understand, structure shown in Fig. 2 B, only the block diagram of part-structure relevant to application scheme, is not constituted to this Shen Please the restriction of identification server that is applied thereon of scheme, it is specific identify server may include than as shown in the figure more or Less component perhaps combines certain components or with different component layouts.
Fig. 3 is the flow chart of the method for image recognition readjustment notice in one embodiment.As shown in figure 3, a kind of image is known The method for not adjusting back notice is run on the identification server in Fig. 1, comprising:
Step 302, the requesting party's mark and the request of corresponding image recognition that acquisition request side is sent.
In the present embodiment, requesting party refers to the user for initiating image recognition request, which can be to provide third-party application The enterprise of program or administrative staff or the user etc. for using third party application.
Requesting party's mark is for unique identification requestor identity.Requesting party's mark can be instant messaging account, electronics Mailbox, ID card No., tissue code or the account registered on the identification server of identification image etc..The account of the registration can For individual user accounts or business account etc..The account registered on the identification server of identification image may include letter, number With one of character or a variety of etc..
Direct Recognition interface is provided on identification server, the request sent by Direct Recognition interface acquisition request side Side's mark and the request of corresponding image recognition.
Step 304, image is identified according to image recognition request, obtains recognition result.
In the present embodiment, identification server requests to know the image in image recognition request according to the image recognition Not, recognition result is obtained.Recognition rule can be configured on identification server in advance, image is carried out according to the recognition rule of configuration Identification, obtains recognition result.The recognition result may include comprising specified interior perhaps not comprising specified content etc..Specified content is root According to the content that needs are arranged, such as Pornograph or some personage or some information.
If identifying pornographic image, then carrying out identification to image can be used the pornographic image identification calculation based on features of skin colors Method.Complexion model is initially set up, it is (tone, saturation degree, bright based on common chrominance space RGB (Red Green Blue), HIS Degree), YIQ (brightness and colorimetry model of NTSC system formula), YUV (brightness and colorimetry model of pal mode) and YCbCr it is (bright Spend component, chroma blue component and red chrominance component model) etc..By taking YCbCr chrominance space as an example, a large amount of colour of skin sample is chosen This is counted, the results showed that the difference of the colours of skin of different ethnic groups is mainly influenced by brightness, is influenced by coloration smaller, and the colour of skin exists Good Clustering features are presented in the distribution in the space CbCr, and statistical distribution meets: 77≤Cb≤127,133≤Cr≤173.This table The bright colour of skin is distributed in CbCr spatial concentration, is met gaussian distribution characteristic, is described using Gauss model.Assuming that there is N number of colour of skin picture Plain Xi(Cbi,Cri) (i=1,2 ..., N) be used as training sample, then mean vectorWherein:
Covariance matrix is then are as follows:
A pixel in image is indicated with vector X (Cb, Cr), then the pixel is the general of the colour of skin in skin distribution space Rate can be indicated with P (X).
The color image for choosing several all ages and classes and gender people is used Photoshop as tool and is partitioned by hand and is specified The colour of skin image of size calculates the mean vector and covariance matrix of Gauss model.
Area of skin color segmentation is carried out to the image of acquisition, 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 setting threshold value, which is colour of skin picture Element, use 1 indicate that otherwise the pixel is not skin pixel, and use 0 indicates, finally the too small Partial filtration of area of skin color area is fallen. The ratio that area of skin color area accounts for entire image being obtained, if ratio is more than preset ratio, then it is assumed that the image is pornographic image, if It is less than preset ratio, then is not considered as that image is pornographic image.
In other embodiments, images to be recognized is obtained, is searched in pre-stored human body sensitive part index and wait know Characteristic corresponding to the human body sensitive part picture of other images match;Images to be recognized is calculated according to matched characteristic It is corresponding to estimate score value;Estimate score value according to images to be recognized is corresponding and judge whether images to be recognized is pornographic image.
Step 306, the first readjustment strategy corresponding with requesting party mark is obtained.
Before step 306, further includes: the readjustment policy configuration request that identification server acquisition request side is sent, according to The readjustment policy configuration request returns to tactful configuration interface, and the first readjustment plan that acquisition request side is inputted in tactful configuration interface Slightly, acquisition request side identifies tactful with the first readjustment, and requesting party's mark and first are adjusted back tactful corresponding storage.
First readjustment strategy is set as needed by requesting party, such as estimates score value to the recognition result of image for one, then and first Adjusting back strategy can be to estimate score value in the first default score range, then carries out readjustment notice, if not in default score range, It is notified without readjustment.For another example the first readjustment strategy then carries out readjustment notice to estimate score value in the second default score range.The One default score range is less than the second default score range.By taking pornographic score value as an example, if the object that image is browsed is children etc. Occasion then estimates score value in the first default score range, then carries out readjustment notice.Such as first default score range be [30, 100], pornographic score range of estimating is [0,100], and when the estimating score value 30 or more of pornographic for including in image, which is It is considered containing Pornograph.If the object that image is browsed is adult, score value is estimated in the second default score range, then Readjustment notice is carried out, such as the second default score range is [50,100], the pornographic for including in image estimates score value 50 or more When, which is considered containing Pornograph.
In other embodiments, the first readjustment strategy may include estimating score value in preset time range to preset in from high to low The recognition result of the image of quantity is adjusted back.Such as thering are 100 images to be identified in 10 minutes, 100 images are estimated Score value is ranked up from high to low, and it is logical then to carry out readjustment according to the recognition result for estimating score value and selecting from high to low 10 images Know.
Step 308, judge whether to adjust back the recognition result according to the first readjustment strategy, if being adjusted back, Give the recognition result readjustment notice of the image to the requesting party.
In the present embodiment, identification server judges whether to adjust back recognition result according to the first readjustment strategy, if sentencing Disconnected result is to be adjusted back, then by the recognition result readjustment notice of image to requesting party, if judging result be without readjustment, It does not need to carry out readjustment notice.
Identification server readjustment notifies requesting party, the terminal that can be sent to recognition result where requesting party identifies, or The E-mail address hair mail reserved by requesting party notifies, or sends out message by the instant messaging account that requesting party reserves It is notified, or the mobile communication number short-message sending reserved by requesting party notifies etc..In addition, can also be by image URL (Uniform Resource Locator, uniform resource locator) is sent to requesting party.
The method of above-mentioned image recognition readjustment notice identifies image after obtaining image recognition request As a result, it is tactful to obtain the first readjustment corresponding with requesting party's mark, according to first adjust back strategy judge whether by recognition result into Row readjustment, by the recognition result readjustment notice of image to requesting party, is realized according to readjustment if judging to be adjusted back Strategy is adjusted back, and is avoided and is adjusted back to all images, and readjustment resource can be saved.
In one embodiment, this identifies that obtaining recognition result includes: root to image according to image recognition request Image is identified according to image recognition request, obtains the recognition result for estimating score value that the image includes specified content.
The specified content can require to be configured according to requesting party, such as Pornograph or some personage or some specific landscape Deng.
The first readjustment strategy is to carry out readjustment notice when estimating score value in the first default score range.
This judges whether to adjust back the recognition result according to the first readjustment strategy, if being adjusted back, by the figure The recognition result readjustment notice of picture includes: to judge that the image is corresponding whether to estimate score value in the first default score value model to the requesting party In enclosing;If this estimates score value in the first default score range, the recognition result readjustment notice of the image is given to the requesting party.
First default score range is set as needed, 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 further include:
Step 402, receive requesting party upload requesting party mark and corresponding image, and store the requesting party mark and it is right The image answered.
In the present embodiment, identification server provides image and uploads interface, uploads interface requesting party by image and uploads Requesting party's mark and corresponding image, and store the image in image storage system.Image uploads interface and can give for opening The interface of third-party application upload image.
Requesting party refer to initiate image recognition request user, the user can be provide third party application enterprise or Administrative staff or the user etc. for using third party application.
Requesting party's mark is for unique identification requestor identity.Requesting party's mark can be instant messaging account, electronics Mailbox, ID card No., tissue code or the account registered on the identification server of identification image etc..The account of the registration can For individual user accounts or business account etc..The account registered on the identification server of identification image may include letter, number With one of character or a variety of etc..
Step 404, the image of the storage is identified, obtains recognition result.
In the present embodiment, identification server calls identification service to identify the image asynchronous of storage, obtains identification knot Fruit.
Step 406, the second readjustment strategy corresponding with requesting party mark is obtained.
In the present embodiment, the second readjustment strategy can be set as needed for requesting party or default setting.Second readjustment plan Slightly may include carry out readjustment notice when estimating score value in the second default score range, or estimate in preset time range score value from The recognition result of the image of high to Low middle preset quantity is adjusted back, or is preset in score range including that will estimate score value in third Image close or delete, or including estimating score value in the second default score range when carries out readjustment notice and will estimate score value existing The image that third is preset in score range is closed or is deleted.
Step 408, judge whether that the recognition result by the image of the storage is adjusted back according to the second readjustment strategy, if It is adjusted back, then gives the recognition result readjustment notice of the image of the storage to the requesting party.
In the present embodiment, identification server judges whether to adjust back recognition result according to the second readjustment strategy, if sentencing Disconnected result is to be adjusted back, then by the recognition result readjustment notice of image to requesting party, if judging result be without readjustment, It does not need to carry out readjustment notice.
Identification server readjustment notifies requesting party, the terminal that can be sent to recognition result where requesting party identifies, or The E-mail address hair mail reserved by requesting party notifies, or sends out message by the instant messaging account that requesting party reserves It is notified, or the mobile communication number short-message sending reserved by requesting party notifies etc..In addition, can also be by image URL is sent to requesting party.
The method of above-mentioned image recognition readjustment notice, obtains the image of upload and is stored, and carries out to the image of storage Identification obtains recognition result, obtains the second readjustment strategy corresponding with requesting party's mark, is judged whether according to the second readjustment strategy Recognition result is adjusted back, it is real by the recognition result readjustment notice of image to requesting party if judging to be adjusted back Show and adjusted back according to readjustment strategy, avoided and all images are adjusted back, readjustment resource can have been saved, and provide upload Image interface, it is convenient to be stored by uploading image interface upload image.
In one embodiment, which identifies that obtaining recognition result includes: the figure to the storage As being identified, the recognition result for estimating score value that the image includes specified content is obtained.
The specified content can require to be configured according to requesting party, such as Pornograph or some personage or some specific landscape Deng.
The second readjustment strategy includes carrying out readjustment notice when estimating score value in the second default score range.
Second default score range is set as needed, such as [50,100] or [60,100] etc..
This judges whether that the recognition result by the image of the storage is adjusted back according to the second readjustment strategy, if being returned It adjusts, then gives the recognition result readjustment notice of the image of the storage to the requesting party, comprising: judge that the image of the storage is corresponding and estimate Whether score value is in the second default score range;If the image of the storage estimates score value in the second default score range, Give the recognition result readjustment notice of the image of the storage to the requesting party.
In one embodiment, which identifies that obtaining recognition result includes: the figure to the storage As being identified, the recognition result for estimating score value that the image includes specified content is obtained.
Second readjustment strategy includes that will estimate score value to close or delete in the image that third is preset in score range.Wherein, scheme Refer to image tagged to be that objectionable images and can not show at the terminal as closing.It deletes and refers to the image-erasing of storage, and It is no longer displayed on the terminals.Third presets the default score value model that score range can be set as needed or identify server configuration It encloses.The default score range of third can be identical or different with the second default score range or part is identical.
The method of above-mentioned image recognition readjustment notice further include: judge that the image of the storage is corresponding and whether estimate score value the In three default score ranges;If the score value of estimating of the image of the storage is preset in score range in the third, by the figure of the storage As closing or delete, obtain closing result or deletion as a result, and closing result by this or deleting result readjustment and notify the requesting party. Closing result can be that labeled as illegal image and can not show.Deleting result is that notice image has been deleted.
In one embodiment, the method for above-mentioned image recognition readjustment notice further include: judge that the image of the storage is corresponding Estimate whether score value is preset in score range or in the second default score range in third;If the image of the storage estimates score value It is preset in score range in the third, then the image of the storage is closed or deleted, obtain closing result or deletion as a result, and will This, which is closed result or deletes result readjustment, notifies the requesting party, and the image of the storage estimates score value in the second default score range It is interior, then by the recognition result readjustment notice of image to requesting method.Closing result can be that labeled as illegal image and can not show. Deleting result is that notice image has been deleted.
In one embodiment, the method for above-mentioned image recognition readjustment notice further include: the URL of image is sent to request Side.
In one embodiment, the method for above-mentioned image recognition readjustment notice further include: include when acquisition request side is sent When the image recognition request of certain image does not return to recognition result within a preset time, acquisition request side is sent again comprising the figure The image recognition of picture is requested, and is obtained the image recognition request comprising described image again and be no more than default number of retries.It is default Number of retries can according to circumstances be set, and such as 3 times or 5 inferior.
Fig. 5 is the structural block diagram of the device of image recognition readjustment notice in one embodiment.As shown in figure 5, a kind of image The device of identification readjustment notice, including image recognition interface module 502, image recognition processing module 504, strategy obtain module 506 and readjustment notification module 508.Wherein:
Requesting party of the image recognition interface module 502 for acquisition request side to be sent identifies and corresponding image recognition is asked It asks.
In the present embodiment, requesting party refers to the user for initiating image recognition request, which can be to provide third-party application The enterprise of program or administrative staff or the user etc. for using third party application.
Requesting party's mark is for unique identification requestor identity.Requesting party's mark can be instant messaging account, electronics Mailbox, ID card No., tissue code or the account registered on the identification server of identification image etc..The account of the registration can For individual user accounts or business account etc..The account registered on the identification server of identification image may include letter, number With one of character or a variety of etc..
Image recognition interface is provided on identification server, the request sent by image recognition interface acquisition request side Side's mark and the request of corresponding image recognition.
Image recognition processing module 504 obtains recognition result for identifying according to image recognition request to image.
In the present embodiment, identification server requests to know the image in image recognition request according to the image recognition Not, recognition result is obtained.Recognition rule can be configured on identification server in advance, image is carried out according to the recognition rule of configuration Identification, obtains recognition result.The recognition result may include comprising specified interior perhaps not comprising specified content etc..Specified content is root According to the content that needs are arranged, such as Pornograph or some personage or some information.
Strategy obtains module 506 for obtaining the first readjustment strategy corresponding with requesting party mark.
First readjustment strategy is set as needed by requesting party, such as estimates score value to the recognition result of image for one, then and first Adjusting back strategy can be to estimate score value in the first default score range, then carries out readjustment notice, if not in default score range, It is notified without readjustment.For another example the first readjustment strategy then carries out readjustment notice to estimate score value in the second default score range.The One default score range is less than the second default score range.By taking pornographic score value as an example, if the object that image is browsed is children etc. Occasion then estimates score value in the first default score range, then carries out readjustment notice.Such as first default score range be [30, 100], pornographic score range of estimating is [0,100], and when the estimating score value 30 or more of pornographic for including in image, which is It is considered containing Pornograph.If the object that image is browsed is adult, score value is estimated in the second default score range, then Readjustment notice is carried out, such as the second default score range is [50,100], the pornographic for including in image estimates score value 50 or more When, which is considered containing Pornograph.
In other embodiments, the first readjustment strategy may include estimating score value in preset time range to preset in from high to low The recognition result of the image of quantity is adjusted back.Such as thering are 100 images to be identified in 10 minutes, 100 images are estimated Score value is ranked up from high to low, and it is logical then to carry out readjustment according to the recognition result for estimating score value and selecting from high to low 10 images Know.
The image recognition processing module 504 is also used to judge whether to carry out the recognition result according to the first readjustment strategy Readjustment.
In the present embodiment, identify that the image recognition processing module 504 of server judges whether pair according to the first readjustment strategy Recognition result is adjusted back, if judging result is to be adjusted back, by the recognition result readjustment notice of image to requesting party, if sentencing Disconnected result is not need then to carry out readjustment notice without readjustment.
If readjustment notification module 508 gives the requesting party for being adjusted back, by the recognition result readjustment notice of the image.
The device of above-mentioned image recognition readjustment notice identifies image after obtaining image recognition request As a result, it is tactful to obtain the first readjustment corresponding with requesting party's mark, according to first adjust back strategy judge whether by recognition result into Row readjustment, by the recognition result readjustment notice of image to requesting party, is realized according to readjustment if judging to be adjusted back Strategy is adjusted back, and is avoided and is adjusted back to all images, and readjustment resource can be saved.
In one embodiment, the first readjustment strategy is logical to carry out readjustment when estimating score value in the first default score range Know;
The image recognition processing module 504 be also used to according to the image recognition request image is identified, obtain the figure Picture estimates the recognition result of score value comprising specified content, and judges that the image is corresponding and whether estimate score value in the first default score value In range.
If the readjustment notification module 508, which is also used to this, estimates score value in the first default score range, by the image Recognition result readjustment notice gives the requesting party.
Fig. 6 is the structural block diagram of the device of image recognition readjustment notice in another embodiment.As shown in fig. 6, a kind of figure As the device of identification readjustment notice, in addition to being obtained including image recognition interface module 502, image recognition processing module 504, strategy Module 506 and readjustment notification module 508, further include memory module 510 and configuration module 512.Wherein:
The requesting party that memory module 510 is used to receive requesting party's upload identifies and corresponding image, and stores the requesting party Mark and corresponding image.
In the present embodiment, image is provided and uploads interface, the requesting party that interface requesting party uploads is uploaded by image and is marked Knowledge and corresponding image, and store the image in image storage system.Image uploads interface can be to be open to third-party application Upload the interface of image.
Configuration module 512 is used for the readjustment policy configuration request that acquisition request side is sent, and is asked according to readjustment strategy configuration Ask the tactful configuration interface of return, and the readjustment strategy that acquisition request side input in tactful configuration interface, acquisition request side's mark with Readjustment strategy, and by requesting party's mark and adjust back tactful corresponding storage.Adjusting back strategy may include the first readjustment strategy and second time Adjust strategy.
In one embodiment, which is also used to identify the image of the storage, obtains Recognition result.
The strategy obtains module 506 and is also used to obtain the second readjustment strategy corresponding with requesting party mark.
In the present embodiment, the second readjustment strategy can be set as needed for requesting party or default setting.Second readjustment plan Slightly may include carry out readjustment notice when estimating score value in the second default score range, or estimate in preset time range score value from The recognition result of the image of high to Low middle preset quantity is adjusted back, or is preset in score range including that will estimate score value in third Image close or delete, or including estimating score value in the second default score range when carries out readjustment notice and will estimate score value existing The image that third is preset in score range is closed or is deleted.
The image recognition processing module 504 is also used to be judged whether according to the second readjustment strategy by the image of the storage Recognition result is adjusted back.
If the readjustment notification module 508 is also used to be adjusted back, the recognition result of the image of the storage is adjusted back into notice Give the requesting party.
In the present embodiment, identify that the image recognition processing module 504 of server judges whether pair according to the second readjustment strategy Recognition result is adjusted back, if judging result is to be adjusted back, is adjusted back notification module 508 and is adjusted back the recognition result of image and lead to Know to requesting party, if judging result is not need to carry out readjustment notice without readjustment.
The readjustment of readjustment notification module 508 of identification server notifies requesting party, and recognition result can be sent to requesting party's mark Terminal where knowing, the E-mail address hair mail perhaps reserved by requesting party are notified or are reserved by requesting party Instant messaging account hair message is notified, or the mobile communication number short-message sending reserved by requesting party notifies Deng.In addition, also the URL of image can be sent to requesting party.
The device of above-mentioned image recognition readjustment notice, obtains the image of upload and is stored, and carries out to the image of storage Identification obtains recognition result, obtains the second readjustment strategy corresponding with requesting party's mark, is judged whether according to the second readjustment strategy Recognition result is adjusted back, it is real by the recognition result readjustment notice of image to requesting party if judging to be adjusted back Show and adjusted back according to readjustment strategy, avoided and all images are adjusted back, readjustment resource can have been saved, and provide upload Image interface, it is convenient to be stored by uploading image interface upload image.
The second readjustment strategy includes carrying out readjustment notice when estimating score value in the second default score range.
The image recognition processing module 504 is also used to identify the image of the storage, and it includes specified for obtaining the image Content estimates the recognition result of score value, and judges that the image of the storage is corresponding and whether estimate score value in the second default score range It is interior.
If what the readjustment notification module 508 was also used to the image of the storage estimates score value in the second default score range, Then give the recognition result readjustment notice of the image of the storage to the requesting party.
In one embodiment, which is also used to identify the image of the storage, obtains The image includes the recognition result for estimating score value of specified content.
The second readjustment strategy includes that will estimate score value to close or delete in the image that third is preset in score range.
The image recognition processing module 504 is also used to judge that the image of the storage is corresponding and estimates whether score value is preset in third In score range, and if the storage image estimate score value the third preset score range in, by the image of the storage It closes or deletes, obtain closing result or delete result.
The readjustment notification module 508, which is also used to close this result or deletes result readjustment, notifies the requesting party.
Closing result can be that labeled as illegal image and can not show.Deleting result is that notice image has been deleted.
In one embodiment, when acquisition request side sends the image recognition request comprising certain image within a preset time not When returning to recognition result, 502 acquisition request side of image recognition interface module sends the image recognition comprising described image again and asks It asks, and obtains the image recognition request comprising described image again and be no more than default number of retries.Default number of retries can basis Situation setting, such as 3 times or 5 inferior.
The realization process of the method and apparatus of image recognition readjustment notice is described below with reference to specific application scenarios.To scheme For being applied to pornographic image identification as the method for identification readjustment notice, the framework of pornographic image identification is as shown in fig. 7, comprises return Adjust tactful configuration module 702, pornographic image recognition processing module 704, pornographic image identification interface 706, readjustment notification module 708 With memory module 710.It adjusts back tactful configuration module 702 and obtains user in the data for adjusting back tactful configuration interface input, and according to The data of the input generate readjustment strategy.Pornographic image identifies that interface 704 receives the pornographic image that requesting party sends and identifies request, And the image in pornographic image identification request is sent to pornographic image recognition processing module 704.Pornographic image identifying processing Module 704 identifies the image, obtains the pornographic score value of the image, then the readjustment strategy of read requests side's configuration, according to Readjustment strategy judges the pornographic score value of image whether in default score range, if so, the recognition result of image is sent to Adjust back notification module 708.It adjusts back notification module 708 and is used for the recognition result readjustment notice by image to requesting party or requesting party 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 Block 704 identifies the image stored in memory module 710, obtains the pornographic score value of image, the readjustment plan of acquisition request side Slightly, it the operation such as is closed or is deleted to image according to readjustment strategy, obtain corresponding closing result or deletion as a result, will close As a result or deletion result is sent to readjustment notification module 708, and the image information adjusted back will be needed to be sent to readjustment notification module 708.Readjustment notification module 708 by the uniform resource locator of image, pornographic score value, the identifications knot such as whether closed or deleted Fruit notifies the server configured to requesting party or requesting party.If the image recognition that requesting party sends requests failure, will do it repeatedly It retries.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with Relevant hardware is instructed to complete by computer program, the program can be stored in a non-volatile computer and can be read In storage medium, the program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, the storage is situated between Matter can be magnetic disk, CD, read-only memory (Read-Only Memory, ROM) etc..
The embodiments described above only express several embodiments of the present invention, and the description thereof is more specific and detailed, but simultaneously Limitations on the scope of the patent of the present invention therefore cannot 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, various modifications and improvements can be made, these belong to guarantor of the invention Protect range.Therefore, the scope of protection of the patent of the invention shall be subject to the appended claims.

Claims (12)

1. a kind of method of image recognition readjustment notice, comprising:
The requesting party's mark and the request of corresponding image recognition that acquisition request side is sent;
Image is identified according to described image identification request, described image is obtained and is specified comprising what user was set as needed The recognition result for estimating score value of content;
Obtain the first readjustment strategy corresponding with requesting party mark;
Judge whether to adjust back the recognition result according to the first readjustment strategy, if being adjusted back, by the figure The recognition result readjustment notice of picture is to the requesting party;
If judging result is not need to carry out readjustment notice without readjustment.
2. the method according to claim 1, wherein described know image according to described image identification request Not, obtaining the recognition result for estimating score value that described image includes the specified content that user is set as needed includes:
The first readjustment strategy is to carry out readjustment notice when estimating score value in the first default score range;
It is described to judge whether to adjust back the recognition result according to the first readjustment strategy, if being adjusted back, by institute The recognition result readjustment for stating image is notified to the requesting party
Judge that described image is corresponding and estimates score value whether in the first default score range;
If described estimate score value in the described first default score range, by the recognition result readjustment notice of described image to described Requesting party.
3. the method according to claim 1, wherein the method also includes:
The requesting party's mark and corresponding image that requesting party uploads are received, and stores requesting party's mark and corresponding image.
4. according to the method described in claim 3, it is characterized in that, the method also includes:
The image of the storage is identified, recognition result is obtained;
Obtain the second readjustment strategy corresponding with requesting party mark;
Judge whether that the recognition result by the image of the storage is adjusted back according to the second readjustment strategy, if being returned It adjusts, then by the recognition result readjustment notice of the image of the storage to the requesting party.
5. according to the method described in claim 4, being known it is characterized in that, the image to the storage identifies Other result includes:
The image of the storage is identified, the recognition result for estimating score value that described image includes specified content is obtained;
The second readjustment strategy includes carrying out readjustment notice when estimating score value in the second default score range;
It is described to judge whether that the recognition result by the image of the storage is adjusted back according to the second readjustment strategy, if carrying out Readjustment, then by the recognition result readjustment notice of the image of the storage to the requesting party, comprising:
Judge that the image of the storage is corresponding and estimates score value whether in the second default score range;
If the image of the storage estimates score value in the described second default score range, by the identification of the image of the storage As a result readjustment notice is to the requesting party.
6. according to the method described in claim 4, being known it is characterized in that, the image to the storage identifies Other result includes:
The image of the storage is identified, the recognition result for estimating score value that described image includes specified content is obtained;
The second readjustment strategy includes that will estimate score value to close or delete in the image that third is preset in score range;
The method also includes:
Judge that the image of the storage is corresponding and estimates whether score value is preset in score range in third;
If the score value of estimating of the image of the storage is preset in score range in the third, the image of the storage is closed or Delete, obtain closing result or deletion as a result, and by it is described close result or delete result readjustment notify the requesting party.
7. a kind of device of image recognition readjustment notice characterized by comprising
Image recognition interface module, the requesting party's mark and the request of corresponding image recognition sent for acquisition request side;
Image recognition processing module, for identifying that obtaining described image includes to image according to described image identification request The recognition result for estimating score value for the specified content that user is set as needed;
Strategy obtains module, for obtaining the first readjustment strategy corresponding with requesting party mark;
Described image recognition processing module is also used to judge whether to carry out the recognition result according to the first readjustment strategy Readjustment;
Notification module is adjusted back, if for being adjusted back, by the recognition result readjustment notice of described image to the requesting party, if Judging result is not need then to carry out readjustment notice without readjustment.
8. device according to claim 7, which is characterized in that the first readjustment strategy is to estimate score value at first default point Readjustment notice is carried out when within the scope of value;
Described image recognition processing module is also used to judge that described image is corresponding and whether estimates score value in the first default score range It is interior;
If the readjustment notification module be also used to it is described estimate score value in the described first default score range, by described image Recognition result readjustment notice is to the requesting party.
9. device according to claim 7, which is characterized in that described device further include:
Memory module, the requesting party for receiving requesting party's upload identifies and corresponding image, and stores requesting party's mark And corresponding image.
10. device according to claim 9, which is characterized in that described image recognition processing module is also used to deposit to described The image of storage is identified, recognition result is obtained;
The strategy obtains module and is also used to obtain the second readjustment strategy corresponding with requesting party mark;
Described image recognition processing module is also used to be judged whether according to the second readjustment strategy by the image of the storage Recognition result is adjusted back;
If the readjustment notification module is also used to be adjusted back, by the recognition result readjustment notice of the image of the storage to institute State requesting party.
11. device according to claim 10, which is characterized in that the second readjustment strategy is pre- second including estimating score value If carrying out readjustment notice when in score range;
Described image recognition processing module is also used to identify the image of the storage, and obtaining described image includes in specified That holds estimates the recognition result of score value, and judges that the image of the storage is corresponding and whether estimate score value in the second default score range It is interior;
If the image that the readjustment notification module is also used to the storage estimates score value in the described second default score range, By the recognition result readjustment notice of the image of the storage to the requesting party.
12. device according to claim 10, which is characterized in that described image recognition processing module is also used to deposit to described The image of storage is identified, the recognition result for estimating score value that described image includes specified content is obtained;
The second readjustment strategy includes that will estimate score value to close or delete in the image that third is preset in score range;
Described image recognition processing module is also used to judge that the image of the storage is corresponding and whether estimates score value at default point of third Be worth range in, and if the storage image estimate score value the third preset score range in, by the storage Image is closed or is deleted, and is obtained closing result or is deleted result;
The readjustment notification module be also used to by it is described close result or delete result readjustment notify the 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 CN106203514A (en) 2016-12-07
CN106203514B true 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)

Families Citing this family (2)

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

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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 (6)

* 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
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 (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Also Published As

Publication number Publication date
WO2018010652A1 (en) 2018-01-18
CN106203514A (en) 2016-12-07

Similar Documents

Publication Publication Date Title
JP6417154B2 (en) Information processing apparatus, information processing method, and program
US8983152B2 (en) Image masks for face-related selection and processing in images
CN110163810B (en) Image processing method, device and terminal
CN111416950A (en) Video processing method and device, storage medium and electronic equipment
US9177194B2 (en) System and method for visually distinguishing faces in a digital image
KR20190018483A (en) Internet-based facial beautification system
CN104298983A (en) Tongue fur image acquisition and analysis system with distributed user terminals
CN109618173A (en) Video-frequency compression method, device and computer readable storage medium
CN104754153B (en) Customer service system and its customer service method
WO2019233256A1 (en) Human face sticker generating method and apparatus, readable storage medium and mobile terminal
EP3284249A2 (en) Communication system and method
CN108200420B (en) Image adjusting method and device, readable storage medium and terminal
CN106375193A (en) Remote group photographing method
CN106203514B (en) The method and apparatus of image recognition readjustment notice
CN109784304A (en) Method and apparatus for marking dental imaging
CN109871845A (en) Certificate image extracting method and terminal device
CN112256366A (en) Page display method and device and electronic equipment
CN112463275A (en) Data processing method, terminal and storage medium
CN115454561A (en) Customized interface display method, device, equipment and storage medium
CN110163816A (en) Processing method, device, storage medium and the electronic equipment of image information
CN109064431A (en) A kind of picture luminance adjusting method, equipment and its storage medium
CN109255761A (en) Image processing method and device and electronic equipment
CN110473156A (en) Processing method, device, storage medium and the electronic equipment of image information
WO2022111269A1 (en) Method and device for enhancing video details, mobile terminal, and storage medium
CN106130887A (en) A kind of sharing files method and terminal

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