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
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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 ...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com