Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Picture modification method and device

A technology of pictures and sample pictures, which is applied in the field of picture processing, can solve problems such as limited servers and poor picture effects, and achieve the effect of improving the effect

Active Publication Date: 2019-07-30
MIAOZHEN INFORMATION TECH CO LTD
View PDF19 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, in specific occasions, when the above method is selected to modify the picture, the material modified by the server is limited, so that the effect of the modified picture is not good

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Picture modification method and device
  • Picture modification method and device
  • Picture modification method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0068] The embodiment of this application provides a method for image modification, such as figure 1 Shown is a flow chart of a method for image modification, the method comprising:

[0069] S101. Acquire a picture to be matched, and identify at least one tag of the picture to be matched.

[0070] As an optional embodiment, the picture to be matched may be input into the picture identification model, and the content of the picture to be matched may be identified to obtain at least one label of the picture to be matched. For example, select a picture to be matched, identify the picture to be matched, and get the label corresponding to the picture: water, fin, marine life, fish, shark, dolphin, creature, etc.

[0071] S102. Input at least one label of the picture into the trained Bayesian classifier to obtain a predicted probability that the picture is labeled as each scene in at least one scene.

[0072] Specifically, such as figure 2 As shown, shown in the figure is a flow...

Embodiment 2

[0122] The embodiment of the present application provides a device for image modification, such as Figure 4 Shown is a structural block diagram of a device for image modification, the device comprising:

[0123] A picture recognition module 41, configured to acquire a picture to be matched, and identify at least one label of the picture to be matched;

[0124] The scene prediction module 42 is used to input at least one label of the picture into the trained Bayesian classifier to obtain the predicted probability that the picture is marked as each scene in at least one scene;

[0125] The modification data acquisition module 43 is used to obtain at least one piece of modification data from the established modification database according to at least one label of the picture, and the predicted probability of each scene in at least one scene where each modification data is marked, and obtain at least one the rarity of each tag in tags;

[0126] The score calculation module 44 i...

Embodiment 3

[0153] Based on the same technical idea, an embodiment of the present application also provides an electronic device. refer to Figure 5 As shown, it is a schematic structural diagram of an electronic device 500 provided in the embodiment of the present application, including a processor 501 , a memory 502 , and a bus 503 . Among them, the memory 502 is used to store execution instructions, including a memory 5021 and an external memory 5022; the memory 5021 here is also called an internal memory, and is used to temporarily store calculation data in the processor 501 and exchange data with an external memory 5022 such as a hard disk. The processor 501 exchanges data with the external memory 5022 through the memory 5021. When the electronic device 500 is running, the processor 501 communicates with the memory 502 through the bus 503, so that the processor 501 executes the following instructions:

[0154] Obtain the picture to be matched, and identify at least one label of the ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention provides a picture modification method and device. The invention relates to the technical field of picture processing. In the picture modification method, determining the scene of the picture and the prediction probability of the scene through the trained Bayesian classifier; obtaining at least one piece of modification data from the established modification database according to thelabel of the picture; and by calculating the score of each obtained modification data, selecting the modification data from the obtained at least one piece of modification data to modify the to-be-matched picture, so that the server can be used for modifying more materials, and the effect of the modified picture is improved.

Description

technical field [0001] The present application relates to the technical field of image processing, in particular to a method and device for image modification. Background technique [0002] In some application scenarios, the server needs to modify the picture, generate a modified picture, and use the modified picture for specific occasions. For example, in the chat scene, when the picture needs to be modified, the server can Add corresponding sentences to the picture, and send the picture with the added sentences to the user. [0003] At present, when the server modifies a picture, it usually modifies the color of the picture, or uses decorations to modify the content of the picture, or directly generates a corresponding description based on the content of the picture. For example, the description is that the sky is very blue, The water is very clear and so on. However, in a specific occasion, when the above method is selected to modify the picture, the material modified b...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06T5/00G06K9/62
CPCG06T2207/10004G06F18/24155G06F18/214G06T5/77
Inventor 周扬赵鹏周建鹏高雅
Owner MIAOZHEN INFORMATION TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products