CN108230220A - Watermark adding method and device - Google Patents

Watermark adding method and device Download PDF

Info

Publication number
CN108230220A
CN108230220A CN201611158621.8A CN201611158621A CN108230220A CN 108230220 A CN108230220 A CN 108230220A CN 201611158621 A CN201611158621 A CN 201611158621A CN 108230220 A CN108230220 A CN 108230220A
Authority
CN
China
Prior art keywords
watermark
user
image
information
added
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
CN201611158621.8A
Other languages
Chinese (zh)
Other versions
CN108230220B (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.)
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and Technology 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 Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN201611158621.8A priority Critical patent/CN108230220B/en
Publication of CN108230220A publication Critical patent/CN108230220A/en
Application granted granted Critical
Publication of CN108230220B publication Critical patent/CN108230220B/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
    • G06T1/00General purpose image data processing
    • G06T1/0021Image watermarking
    • 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
    • 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/5866Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using information manually generated, e.g. tags, keywords, comments, manually generated location and time information

Abstract

This application discloses a kind of watermark adding method and devices.Wherein, this method includes:For the image of watermark to be added, the preference information of active user is obtained;Retrieval and the matched watermark of the preference information from preset picture knowledge base;And using the watermark retrieved as the watermark candidate item of described image, it is added in described image.According to the technical solution of the embodiment of the present application, while extending the optional range of watermark, recommend to be more in line with the watermark of the individual demand of user so that recommendation is more accurate, and user experience is good, and improves user's viscosity.

Description

Watermark adding method and device
Technical field
The disclosure relates generally to field of computer technology, and in particular to technical field of image processing more particularly to a kind of water Print adding method and device.
Background technology
With the development of mobile Internet and mobile terminal hardware, mobile terminal is into for people's lives indispensable one Part, and the mobile terminal using mobile phone as representative is also becoming mobile terminal extremely as on the basis of basic communication equipment, taking pictures Close an important function.
At present, many work have been done, for example develop for mobile terminal imaging technique and later stage optimization there are many manufacturer The APP that takes pictures (abbreviation of Application, application program) of watermark function is accompanied with to enhance user experience.In the prior art The watermark addition scheme provided, can support default text information at present, time, place during shooting, weather, and user oneself is defeated Enter the addition of the information such as text information.Also there is part APP that the identification of face in image can be supported then by preset modification Image (such as cartoon, ornaments etc.) is synthesized as watermark with the face identified.
However, the selection of picture watermark is limited in above-mentioned watermark addition scheme, user easily loses feeling of freshness using rear, leads Family viscosity of applying is not high.
Invention content
In view of drawbacks described above of the prior art or deficiency, are intended to provide one kind and are capable of providing diversified selection, effectively User experience is improved, enhances the scheme of user's viscosity.
In a first aspect, the embodiment of the present application provides a kind of watermark adding method, including:
For the image of watermark to be added, the preference information of active user is obtained;
Retrieval and the matched watermark of the preference information from preset picture knowledge base;And
Using the watermark retrieved as the watermark candidate item of described image, it is added in described image.
Second aspect, the embodiment of the present application additionally provide a kind of watermark adding set, including:
Preference acquiring unit is configured to the image for watermark to be added, obtains the preference information of active user;
Watermark retrieval unit is configured to what the retrieval from preset picture knowledge base was obtained with the preference acquiring unit The matched watermark of preference information;And
Watermark adding device is configured to the watermark using the watermark that the watermark retrieval unit retrieves as described image Candidate item is added in described image.
The third aspect, the embodiment of the present application additionally provide a kind of computing device, including one or more processors and deposit Reservoir, the memory includes the instruction that can be performed by the processor so that the processor performs the embodiment of the present application carries The watermark adding method of confession.
The scheme of watermark provided by the embodiments of the present application addition, by the preference information based on user, extend watermark can While selecting range, to recommend to be more in line with the watermark of the individual demand of user so that recommendation is more accurate, and user experience is good, And improve user's viscosity.Further, the section Example of the application can be combined with the preference information and image of user Characteristic information two kinds of dimensions retrieve watermark so that the watermark retrieved is more in line with the current individual demand of user.
Description of the drawings
By reading the detailed description made to non-limiting example made with reference to the following drawings, the application's is other Feature, objects and advantages will become more apparent upon:
Fig. 1 is shown in which that the exemplary system architecture of the embodiment of the present application can be applied;
Fig. 2 shows the exemplary process diagrams of the watermark adding method according to the embodiment of the present application;
Fig. 3 shows the exemplary process diagram of the watermark adding method according to another embodiment of the application;
Fig. 4 shows the exemplary block diagram of the watermark adding set according to the application one embodiment;
Fig. 5 has gone out the exemplary block diagram of the watermark adding set according to the application another embodiment;And
Fig. 6 shows the structure diagram suitable for being used for the computing device for realizing the embodiment of the present application.
Specific embodiment
The application is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched The specific embodiment stated is used only for explaining related invention rather than the restriction to the invention.It also should be noted that in order to Convenient for description, illustrated only in attached drawing with inventing relevant part.
It should be noted that in the absence of conflict, the feature in embodiment and embodiment in the application can phase Mutually combination.The application is described in detail below with reference to the accompanying drawings and in conjunction with the embodiments.
It please refers to Fig.1, it illustrates the exemplary system architectures 100 that can apply the embodiment of the present application.
As shown in Figure 1, system architecture 100 can include terminal device 101,102, network 103 and server 104,105, 106 and 107.Network 103 between terminal device 101,102 and server 104,105,106,107 providing communication link Medium.Network 103 can include various connection types, such as wired, wireless communication link or fiber optic cables etc..
User 110 can be interacted with using terminal equipment 101,102 by network 103 with server 104,105,106,107, To access various services, such as browsing webpage, downloading data etc..
Terminal device 101,102 can be various electronic equipments, including but not limited to PC, smart mobile phone, intelligence TV, tablet computer, personal digital assistant, E-book reader etc..
Server 104,105,106,107 can be to provide the server of various services.Server can be in response to user Service request and service is provided.It is appreciated that a server can provide one or more services, same service also may be used To be provided by multiple servers.
It should be understood that the number of the terminal device, network and server in Fig. 1 is only schematical.According to realization need Will, can have any number of terminal device, network and server.
As mentioned in the background, the default text information that the prior art is supported, time, place during shooting, , there is selection by limitation so that after user's use in the watermark addition of the information such as weather, user oneself inputting word information Feeling of freshness easily is lost, user's viscosity is bad.
In view of the drawbacks described above of the prior art, the embodiment of the present application provides a kind of watermark addition scheme.Obtain user's After preference information, the preference information based on user retrieves more personalized watermark candidate item, so as to effectively improve user's body It tests and user's viscosity.The method that the embodiment of the present application is described below in conjunction with flow chart.
With reference to figure 2, it illustrates the exemplary process diagrams of the watermark adding method according to the application one embodiment.Fig. 2 Shown method can be in Fig. 1 terminal device perform or the cooperation of terminal device and server performs.For example, by by That is installed on terminal device takes pictures application or image procossing application to perform;Alternatively, by the application on terminal device and service Interaction between device is completed to coordinate.
As shown in Fig. 2, in step 210, for the image of watermark to be added, obtain the preference information of active user.
In practical application, the image of watermark to be added can include having completed the image of shooting or not complete shooting Image.For example, user can choose the image being locally stored for having completed shooting or the image remotely received, as to be added The image of watermark.Alternatively, user can also choose the image in currently finding a view when taking pictures, the image as watermark to be added.
In step 210, obtain the preference information of user, so as to subsequently according to the preference of user come recommend more accurately, More meet the watermark of user demand.Specifically, the preference information of active user can be obtained according to following at least one mode:It connects Receive search key input by user;The user information database built in advance is inquired, wherein, it is stored in user information database for use The preference information that family is collected in advance.
The embodiment of the present application supports above two mode to obtain the preference information of user, can increase the diversified choosing of watermark It selects, improves user experience.
In one implementation, user when finding a view can the interested content of on-line search at any time oneself, with obtain with The watermark that its interested content matches.It is crucial that terminal device receives the retrieval that user is inputted for interested content It, can be directly using the search key that user is actively entered as the preference information of user after word.Alternatively, user can be inputted Search key carry out some pretreatment operations, such as synonym, near synonym etc.;Search key after pretreatment is made Preference information for user.
In another implementation, it in watermark adding method shown in Fig. 2, can collect to obtain the preference of user in advance Information, and the preference information of user is stored in the user information database built in advance.In this way, the figure for watermark to be added Picture can inquire acquisition and the matched preference information of active user from user information database so that the watermark that later retrieval goes out is waited The interest for meeting user that option is capable of maximum possible is biased to, and makes the watermark that recommendation is added more personalized.
It, can be by way of associated account number, according to following at least one collected under user-association account in practical application Item obtains the preference information of user:Use habit, search record and browsing record.It for example, can be by binding in terminal device The platforms such as APP accounts and search engine, social networking application (such as microblogging, wechat etc.), browser of taking pictures account information, collect User's use habit usually and the keyword being commonly used on search platform and social platform or the search of user Record draws a portrait to user, marks the point of interest of user.
Optionally, in the case of not inquired from user information database with the matched preference information of active user, Ke Yixiang User carries out the input prompting of text or speech form, enables a user to input oneself interested content.
Then, in a step 220, retrieval and the matched watermark of preference information from preset picture knowledge base.
Wherein, a large amount of picture knowledge is previously stored in picture knowledge base, including the watermark picture collected in advance and its Corresponding one or more picture tag.Wherein, picture tag can add according to information such as picture theme, text key words Add.
In this way, after the preference information of user is obtained by step 210, can be known based on the preference information of user in picture Know in library and retrieve.For example, each watermark picture in picture knowledge base can be directed to, by the picture tag and use of the watermark picture The preference information at family is compared, if matching, which is determined as and the matched watermark of the preference information of user.
In view of in practical application, each watermark picture has one or more picture tags in picture knowledge base;Without With watermark picture may have identical picture tag.For example, the picture of Zhang Jike and the picture of Malong, all with table tennis This picture tag.
Thus, associated watermark pictures can also optionally, in picture knowledge base be provided according to each picture tag, Watermark pictures include and the matched all watermark pictures of the picture tag.In this way, obtaining the inclined of user by step 210 After good information, can the preference information based on user retrieved in picture knowledge base, determine to match with the preference information of user Picture tag, associated watermark pictures are then obtained according to matched picture tag, and will own in watermark pictures Watermark picture be determined as and the matched watermark of the preference information of user.
Picture knowledge base can be set to terminal device or server.When picture knowledge base is set in server, Terminal device can retrieve corresponding watermark by access or request server.
Finally, in step 230, the watermark of the image of watermark to be added will be used as by the watermark that step 220 retrieves Candidate item is added in the image.
In practical application, when the matched watermark of preference information with user that step 220 retrieves only includes a watermark During picture, i.e., there are one watermark candidate items, directly the watermark picture can be added in image;Alternatively, it can will retrieve The watermark gone out carries out recommendation as watermark candidate item and shows, decides whether to be added in image by user.
It, then can be with when the matched watermark of preference information with user that step 220 retrieves includes multiple watermark pictures All watermark pictures retrieved are carried out recommendation as watermark candidate item to show, for selection by the user.It selects to be intended in user After the watermark of addition, the watermark that user selects is added to the image of watermark to be added to synthesize the watermark figure for meeting user demand Picture.
It further, can be according to user's operation before the watermark retrieved is added in the image to watermark to be added Watermark is adjusted accordingly.
About watermark and the adjustment of the synthesis of the image of watermark to be added and watermark, skill commonly used in the art may be used Art means, this will not be detailed here.
From the description above as can be seen that in some embodiments of the present application, for improve user experience the problem of, propose Recommend to add the scheme of watermark based on the preference information of user.The optional range for not only extending watermark is done so, it is also most The interest that user may be met is biased to, and the watermark for making recommendation is more personalized, enhances user's viscosity.
Fig. 3 shows the exemplary process diagram of the watermark adding method according to another embodiment of the application.Side shown in Fig. 3 Method can be in Fig. 1 terminal device perform or the cooperation of terminal device and server performs.
As shown in figure 3, in the step 310, for the image of watermark to be added, obtain the preference information of active user.Step Rapid 310 is similar with step 210, and details are not described herein again.
In step 320, the characteristic information of the image of watermark to be added is extracted.
In order to provide more accurately watermark, the characteristic information of the image of watermark to be added can be extracted, so as to follow-up Feature based information retrieval watermark.
For example, when user's shooting is found a view, it can extract the characteristic information of image for the image in currently finding a view, know Building, landscape in finding a view etc. is not gone out.
Technological means commonly used in the art may be used in the extraction means of the characteristic information of image, and no further details here.
The executive agent of step 320 can be terminal device or server.For example, when feature extraction processing is relatively simple or When the processing capacity of person's terminal device is stronger, can feature information extraction be performed locally by terminal device.It alternatively, can be by end End equipment sends the image of watermark to be added to server, and server therefrom extracts characteristic information.
Then, in step 330, the preference information and watermark to be added of retrieval and user from preset picture knowledge base The matched watermark of characteristic information of image.
A large amount of picture knowledge is previously stored in picture knowledge base, in addition to include watermark picture and its it is corresponding one or Multiple picture tags can further include the characteristic information of watermark picture.For example, name all over the world can be collected in advance The pictures such as people, landscape, building, street;Then the characteristic information of the picture of collection is extracted and as picture knowledge store in picture In knowledge base.Optionally, associated watermark pictures, watermark can also be provided in picture knowledge base according to each characteristic information Pictures include the watermark with this feature information matches.
In this way, in the characteristic information that the preference information of user and the image of watermark to be added are obtained by step 310,320 Afterwards, retrieval-by-unification can be carried out in picture knowledge base, is retrieved and the image of the preference information of user and watermark to be added The matched watermark of characteristic information.
For example, can the first image based on watermark to be added characteristic information search pictures knowledge base, determine and wait to add The matched one or more watermark pictures of characteristic information of the image of watermarking.Then, for the image with watermark to be added The matched each watermark picture of characteristic information, obtains the label of the watermark picture from picture knowledge base, and by the watermark picture Label be compared with the preference information of user;If matching, which can be determined as believing with the preference of user The matched watermark of characteristic information of the image of breath and watermark to be added.
Alternatively, can also the first preference information search pictures knowledge base based on user, determine the preference information with user Matched one or more watermark picture.Then, for the matched each watermark picture of the preference information of user, know from picture Know and the characteristic information of the watermark picture is obtained in library, and by the spy of the characteristic information of the watermark picture and the image of watermark to be added Reference breath is compared;If matching, which can be determined as and the preference information of user and watermark to be added The matched watermark of characteristic information of image.
In practical application, when not retrieving the image with the preference information of user and watermark to be added from picture knowledge base Characteristic information matched watermark simultaneously when, can by watermark matched with the preference information of user, with the figure of watermark to be added The matched watermark of characteristic information of picture, as retrieval result.
Picture knowledge base can be set to terminal device or server.When picture knowledge base is set in server, Terminal device can retrieve corresponding watermark by access or request server.
Finally, in step 340, the watermark of the image of watermark to be added will be used as by the watermark that step 330 retrieves Candidate item is added in the image.
In practical application, the watermark retrieved can be subjected to recommendation as watermark candidate item and shown, for selection by the user; After user selects the watermark to be added, the image that the watermark of selection is added to watermark to be added meets user demand to synthesize Watermarking images.
It further, can be according to user's operation before the watermark retrieved is added in the image to watermark to be added Watermark is adjusted accordingly.
For example, a user identifies the emphasis currently found a view the characteristics of taking pictures before Bird's Nest, built first according to Bird's Nest Building " Bird's Nest " then records included keyword (Zhang Jike, section according to the search of nearest user on a search engine Section, Olympic Games table tennis men's team etc.), the preference information of user is obtained, will then work as foreground point feature and user preference (gymnasium door Before, Zhang Jike beans vermicelli) carry out Syndicating search, occur the picture watermark of Zhang Jike, Malong et al. in watermark candidate item.Pass through bat The operation for the person of taking the photograph can realize that watermark and people in photo are contour, realize that the photo shot becomes Zhang Jike with the bean vermicelli in bird The effect of the group photo of nest in front of the door.
From the description above as can be seen that in some embodiments of the present application, for improve user experience the problem of, propose Finish two kinds of dimensions of characteristic information of the preference information for sharing family and image to retrieve the scheme of watermark.The purpose for the arrangement is that the greatest extent The interest deviation of user and the demand of image scene may be met, provide personalized service, enhance user experience.
Embodiment of the embodiment of Fig. 3 compared to Fig. 2, increases the extraction of the characteristic information of the image of watermark to be added, And the characteristic information of image with reference to watermark to be added and the preference information of user retrieve watermark, increase retrieval dimension, make The watermark that must be retrieved is more in line with the current demand of user, the accuracy that watermark is recommended is improved, so as to user experience.
It should be noted that although describing the operation of the method for the present invention with particular order in the accompanying drawings, this is not required that Or it implies and must could realize the phase according to the particular order come the operation for performing these operations or having to carry out shown in whole The result of prestige.On the contrary, the step of describing in flow chart, which can change, performs sequence.For example, step 310 and step in embodiment 3 Rapid 320 with exchange sequence or can be carried out at the same time.Additionally or alternatively, it is convenient to omit certain steps merge into multiple steps One step performs and/or a step is decomposed into execution of multiple steps.
With further reference to Fig. 4, it illustrates the exemplary knots of the watermark adding set 400 according to the application one embodiment Structure block diagram.
As shown in figure 4, watermark adding set 400 can include:Preference acquiring unit 401, watermark retrieval unit 402 and water Print adding device 403.Each unit in device 400 can all be set to terminal device or all be set to server;Or According to actual demand scattering device in terminal device or server.
Wherein, preference acquiring unit 401 is configured to the image for watermark to be added, obtains the preference letter of active user Breath.The image of watermark to be added can include:User currently find a view in image.
Specifically, preference acquiring unit 401 can be used for obtaining the preference of active user according to following at least one mode Information:
Receive search key input by user;
Inquire the user information database built in advance.
Preference acquiring unit 401 can be directly using the search key that user is actively entered as the preference information of user. Alternatively, some pretreatment operations can be carried out to search key input by user, such as synonym, near synonym etc.;It will locate in advance Preference information of the search key as user after reason.
The preference information collected in advance for user is stored in user information database.The preference letter stored in user information database Breath at least one of can be following according to what is collected under user-association account obtains:Use habit, search record and browsing record.
Watermark retrieval unit 402 is configured to retrieve from preset picture knowledge base and be obtained with watermark acquiring unit 401 The matched watermark of preference information.
The watermark that watermark adding device 403 is configured to retrieve watermark retrieval unit 402 is as watermark to be added The watermark candidate item of image, is added in the image.
In practical application, when the watermark that watermark retrieval unit 402 retrieves includes multiple watermark pictures, watermark addition is single Multiple watermark pictures can be shown by member 403 as watermark candidate item, for selection by the user;The watermark picture that user is selected It is added in image.
Optionally, watermark adding set 400 can further include:Watermark adjustment unit.
Watermark adjustment unit is configured to add what watermark retrieval unit 402 retrieved in the image to watermark to be added Before watermark, watermark is adjusted accordingly according to user's operation.
It should be appreciated that all units described in watermark adding set 400 and each step in the method with reference to the description of figure 2 It is corresponding.As a result, watermark adding set 400 and wherein included is equally applicable to above with respect to the operation and feature of method description Unit, details are not described herein.
With further reference to Fig. 5, it illustrates the exemplary of the watermark adding set 500 according to the application another embodiment Structure diagram.
As shown in figure 5, watermark adding set 500 can include:Preference acquiring unit 501, feature extraction unit 502, water Print retrieval unit 503 and watermark adding device 504.Each unit in device 500 can all be set to terminal device or whole It is set to server;Or according to actual demand scattering device in terminal device or server.
Wherein, preference acquiring unit 501 is configured to the image for watermark to be added, obtains the preference letter of active user Breath.The image of watermark to be added can include:User currently find a view in image.
Specifically, preference acquiring unit 501 is configured to obtain the preference of active user according to following at least one mode Information:Receive the search key input by user;The user information database built in advance is inquired, wherein, in user information database It is stored with the preference information collected in advance for user.
The preference information stored in user information database at least one of can be following according to what is collected under user-association account obtains: Use habit, search record and browsing record.
Feature extraction unit 502 is configured to the characteristic information of the image of extraction watermark to be added.
Watermark retrieval unit 503 be configured to from preset picture knowledge base retrieval and active user preference information and The matched watermark of characteristic information that feature extraction unit 502 is extracted.
The watermark that watermark adding device 504 is configured to retrieve watermark retrieval unit 503 is as watermark to be added The watermark candidate item of image, is added in the image.
Optionally, watermark adding set 500 can further include:Watermark adjustment unit.
Watermark adjustment unit is configured to add what watermark retrieval unit 503 retrieved in the image to watermark to be added Before watermark, watermark is adjusted accordingly according to user's operation.
It should be appreciated that all units described in watermark adding set 500 and each step in the method with reference to the description of figure 3 It is rapid corresponding.Watermark adding set 500 is equally applicable to above with respect to the operation and feature of method description and wherein include as a result, Unit, details are not described herein.
Further, the embodiment of the present application additionally provides a kind of computing device, including one or more processors and deposits Reservoir;Wherein, include can be by instruction that processor performs so that processor performs water provided by the embodiments of the present application for memory Print adding method.
Below with reference to Fig. 6, it illustrates suitable for being used for realizing the structural representation of the computing device 600 of the embodiment of the present application Figure.
As shown in fig. 6, computing device 600 includes central processing unit (CPU) 601, it can be according to being stored in read-only deposit Program in reservoir (ROM) 602 is held from the program that storage section 608 is loaded into random access storage device (RAM) 603 Row various appropriate actions and processing.In RAM 603, also it is stored with system 600 and operates required various programs and data. CPU 601, ROM 602 and RAM 603 are connected with each other by bus 604.Input/output (I/O) interface 605 is also connected to always Line 604.
I/O interfaces 605 are connected to lower component:Importation 606 including keyboard, mouse etc.;It is penetrated including such as cathode The output par, c 607 of spool (CRT), liquid crystal display (LCD) etc. and loud speaker etc.;Storage section 608 including hard disk etc.; And the communications portion 609 of the network interface card including LAN card, modem etc..Communications portion 609 via such as because The network of spy's net performs communication process.Driver 610 is also according to needing to be connected to I/O interfaces 605.Detachable media 611, such as Disk, CD, magneto-optic disk, semiconductor memory etc. are mounted on driver 610, as needed in order to be read from thereon Computer program be mounted into storage section 608 as needed.
Particularly, in accordance with an embodiment of the present disclosure, it may be implemented as computer above with reference to the process of Fig. 2-Fig. 3 descriptions Software program.For example, embodiment of the disclosure includes a kind of computer program product, it is machine readable including being tangibly embodied in Computer program on medium, the computer program include for perform Fig. 2-Fig. 3 method program code.Such In embodiment, which can be downloaded and installed from network by communications portion 609 and/or be situated between from detachable Matter 611 is mounted.
Flow chart and block diagram in attached drawing, it is illustrated that according to the system of various embodiments of the invention, method and computer journey Architectural framework in the cards, function and the operation of sequence product.In this regard, each box in flow chart or block diagram can generation The part of one module of table, program segment or code, a part for the module, program segment or code include one or more A executable instruction for being used to implement defined logic function.It should also be noted that in some implementations as replacements, in box The function of being marked can also be occurred with being different from the sequence marked in attached drawing.For example, two boxes succeedingly represented are real It can be performed substantially in parallel on border, they can also be performed in the opposite order sometimes, this is depended on the functions involved. It, can be with it should be noted that the combination of block diagram and/or each box in flow chart and the box in block diagram and/or flow chart The dedicated hardware based system of functions or operations as defined in execution is realized or can use specialized hardware and computer The combination of instruction is realized.
Being described in unit or module involved in the embodiment of the present application can be realized by way of software, can also It is realized by way of hardware.Described unit or module can also be set in the processor.These units or module Title does not form the restriction to the unit or module in itself under certain conditions.
As on the other hand, present invention also provides a kind of computer readable storage medium for being stored with computer program, The computer readable storage medium can be computer readable storage medium included in system described in above-described embodiment; Can be individualism, without the computer readable storage medium in supplying equipment.Computer-readable recording medium storage has one A either more than one program described program is used for performing the public affairs for being described in the application by one or more than one processor Formula input method.
The preferred embodiment and the explanation to institute's application technology principle that above description is only the application.People in the art Member should be appreciated that invention scope involved in the application, however it is not limited to the technology that the specific combination of above-mentioned technical characteristic forms Scheme, while should also cover in the case where not departing from the inventive concept, it is carried out by above-mentioned technical characteristic or its equivalent feature The other technical solutions for arbitrarily combining and being formed.Such as features described above has similar work(with (but not limited to) disclosed herein The technical solution that the technical characteristic of energy is replaced mutually and formed.

Claims (13)

1. a kind of watermark adding method, which is characterized in that the method includes:
For the image of watermark to be added, the preference information of active user is obtained;
Retrieval and the matched watermark of the preference information from preset picture knowledge base;And
Using the watermark retrieved as the watermark candidate item of described image, it is added in described image.
2. watermark adding method according to claim 1, which is characterized in that the method further includes:
Extract the characteristic information of the image of watermark to be added;And
Described retrieved from preset picture knowledge base includes with the matched watermark of the preference information:From preset picture knowledge Retrieval and the preference information and the matched watermark of the characteristic information in library.
3. watermark adding method according to claim 1, which is characterized in that the preference information of the active user is according to such as Lower at least one mode obtains:
Receive the search key input by user;
Inquire the user information database that builds in advance, wherein, be stored in the user information database collected in advance for user it is inclined Good information.
4. watermark adding method according to claim 3, which is characterized in that the preference letter stored in the user information database Cease at least one of following according to what is collected under user-association account obtain:
Use habit, search record and browsing record.
5. according to any watermark adding methods of claim 1-4, which is characterized in that the method further includes:
Before the watermark retrieved is added into described image, the watermark is adjusted accordingly according to user's operation.
6. according to any watermark adding methods of claim 1-4, which is characterized in that the image packet of the watermark to be added It includes:Image in currently finding a view.
7. a kind of watermark adding set, which is characterized in that described device includes:
Preference acquiring unit is configured to the image for watermark to be added, obtains the preference information of active user;
Watermark retrieval unit is configured to the preference that retrieval is obtained with the preference acquiring unit from preset picture knowledge base The watermark of information matches;And
Watermark adding device is configured to the watermark that the watermark retrieval unit retrieves is candidate as the watermark of described image , it is added in described image.
8. watermark adding set according to claim 7, which is characterized in that described device further includes:
Feature extraction unit is configured to the characteristic information of the image of extraction watermark to be added;And
The watermark retrieval unit is further configured to retrieval and the preference information of active user from the picture knowledge base With the matched watermark of characteristic information of feature extraction unit extraction.
9. watermark adding set according to claim 7, which is characterized in that the preference acquiring unit is configured to basis Following at least one mode obtains the preference information of active user:
Receive the search key input by user;
Inquire the user information database that builds in advance, wherein, be stored in the user information database collected in advance for user it is inclined Good information.
10. watermark adding set according to claim 9, which is characterized in that the preference stored in the user information database Information is at least one of following according to what is collected under user-association account to be obtained:
Use habit, search record and browsing record.
11. according to any watermark adding sets of claim 7-10, which is characterized in that described device further includes:
Watermark adjustment unit is configured to before the watermark that watermark retrieval unit shown in addition retrieves into described image, The watermark is adjusted accordingly according to user's operation.
12. according to any watermark adding sets of claim 7-10, which is characterized in that the image of the watermark to be added Including:User currently find a view in image.
13. a kind of computing device, including one or more processors and memory, it is characterised in that:
The memory includes can be by instruction that the processor performs so that processor perform claim requirement 1-6 is any The method.
CN201611158621.8A 2016-12-15 2016-12-15 Watermark adding method and device Active CN108230220B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611158621.8A CN108230220B (en) 2016-12-15 2016-12-15 Watermark adding method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611158621.8A CN108230220B (en) 2016-12-15 2016-12-15 Watermark adding method and device

Publications (2)

Publication Number Publication Date
CN108230220A true CN108230220A (en) 2018-06-29
CN108230220B CN108230220B (en) 2022-04-26

Family

ID=62651384

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611158621.8A Active CN108230220B (en) 2016-12-15 2016-12-15 Watermark adding method and device

Country Status (1)

Country Link
CN (1) CN108230220B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109102453A (en) * 2018-08-10 2018-12-28 优视科技新加坡有限公司 A kind of method, apparatus, equipment/terminal/server and storage medium adding watermark
CN111445375A (en) * 2019-01-16 2020-07-24 阿里巴巴集团控股有限公司 Watermark embedding scheme and data processing method, device and equipment
CN112492354A (en) * 2020-11-18 2021-03-12 北京奇艺世纪科技有限公司 Video playing method, device and system and electronic equipment
CN114598939A (en) * 2022-04-25 2022-06-07 镁佳(北京)科技有限公司 Video watermark adding method and device and electronic equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102609458A (en) * 2012-01-12 2012-07-25 北京搜狗信息服务有限公司 Method and device for picture recommendation
CN104867097A (en) * 2014-02-26 2015-08-26 腾讯科技(深圳)有限公司 Method and device for generating watermark picture
CN104954395A (en) * 2014-03-24 2015-09-30 腾讯科技(深圳)有限公司 Method and device for information push
CN105225128A (en) * 2015-09-14 2016-01-06 苏州大学 A kind of watermark information insertion system and method
CN105956998A (en) * 2016-04-27 2016-09-21 乐视控股(北京)有限公司 Method for adding watermark to photograph based on character feature recognition

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102609458A (en) * 2012-01-12 2012-07-25 北京搜狗信息服务有限公司 Method and device for picture recommendation
CN104867097A (en) * 2014-02-26 2015-08-26 腾讯科技(深圳)有限公司 Method and device for generating watermark picture
CN104954395A (en) * 2014-03-24 2015-09-30 腾讯科技(深圳)有限公司 Method and device for information push
CN105225128A (en) * 2015-09-14 2016-01-06 苏州大学 A kind of watermark information insertion system and method
CN105956998A (en) * 2016-04-27 2016-09-21 乐视控股(北京)有限公司 Method for adding watermark to photograph based on character feature recognition

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109102453A (en) * 2018-08-10 2018-12-28 优视科技新加坡有限公司 A kind of method, apparatus, equipment/terminal/server and storage medium adding watermark
CN111445375A (en) * 2019-01-16 2020-07-24 阿里巴巴集团控股有限公司 Watermark embedding scheme and data processing method, device and equipment
CN112492354A (en) * 2020-11-18 2021-03-12 北京奇艺世纪科技有限公司 Video playing method, device and system and electronic equipment
CN114598939A (en) * 2022-04-25 2022-06-07 镁佳(北京)科技有限公司 Video watermark adding method and device and electronic equipment
CN114598939B (en) * 2022-04-25 2023-07-14 镁佳(北京)科技有限公司 Video watermark adding method and device and electronic equipment

Also Published As

Publication number Publication date
CN108230220B (en) 2022-04-26

Similar Documents

Publication Publication Date Title
US10339383B2 (en) Method and system for providing augmented reality contents by using user editing image
CN105677931B (en) Information search method and device
CN103988202A (en) Image attractiveness based indexing and searching
JP4552100B2 (en) Product search system, product search device, and product search method for product search device
CN108230220A (en) Watermark adding method and device
CN107784059A (en) For searching for and selecting the method and system and machine-readable medium of image
CN103425993B (en) Image-recognizing method and system
CN104572847B (en) A kind of method and device of photo name
CN106446880A (en) Information providing system and computer program
CN105929979B (en) Long sentence input method and device
CN103136259B (en) A kind of method and apparatus based on content block identification processing web page contents
JP2006031200A (en) Commodity retrieval system and method, and terminal device, server device and program used therefor
KR100706933B1 (en) Content providing method using image pattern recognition and service system using that method
US7925121B2 (en) Theme-based batch processing of a collection of images
CN112200844A (en) Method, device, electronic equipment and medium for generating image
JP4593873B2 (en) Image search system, terminal device, server, and image search method
JP2024026415A (en) Information processing device, method, and program
US8266208B2 (en) Method and system for sharing documents among members of an online community
CN108153785A (en) The method and apparatus of generation displaying information
CN107491449A (en) Information search method and device
CN111352680A (en) Information recommendation method and device
CN110519318A (en) Information-pushing method and device
CN104951444B (en) A kind of searching method and device
CN108537057A (en) Method and apparatus for handling photograph album browse request
JP2015125541A (en) Line-of-sight prediction system, line-of-sight prediction method, and line-of-sight prediction program

Legal Events

Date Code Title Description
PB01 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