Image processing method and device, electronic device
An image processing and image technology, applied in the field of image processing, can solve the problem of unable to automatically add virtual items and so on
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 2
[0157] In practical applications, it is also necessary to consider where the added virtual items should be added to the first image. In order to solve this problem, in figure 1 On the basis of the illustrated embodiment, after the step 140, the method may further include:
[0158] The server obtains the composition mode of the target object and the corresponding virtual item in the feature library;
[0159] The server determines the position where the virtual item will be added in the first image according to the composition method;
[0160] Correspondingly, the step 150 specifically includes:
[0161] The server sends the matched virtual item and the determined position to the client.
[0162] The step 160 specifically includes:
[0163] The client receives the virtual item sent by the server and the position of the virtual item to be added in the first image;
[0164] The client adds the virtual item to the position in the first image captured by the camera based on augm...
Embodiment 3
[0182] In practical applications, the number of added virtual items also needs to be considered; therefore, on the basis of the second embodiment, the number of added virtual items is determined in the following manner:
[0183] The server calculates the size of the free area at the determined location;
[0184] The server determines the quantity of the virtual items according to the size of the free area and the size of the virtual items.
[0185] In this embodiment, the position where the virtual item will be added in the image has been determined through the previous embodiment; then, the size of the free area at the position can be calculated according to the image recognition algorithm; furthermore, according to the size of the free area and the size of the virtual item Size, refer to preset rules to determine the number of virtual items that need to be added.
[0186] Preset rules such as 40%-60% of the free area occupied by virtual items are appropriate.
[0187] For ...
Embodiment 4
[0189] exist figure 1 On the basis of the illustrated embodiment, the step 150 may specifically include:
[0190] The server sends the identifier of the matched virtual item to the client;
[0191] The step 160 may specifically include:
[0192] The client receives the identification sent by the server;
[0193] The client acquires the virtual item corresponding to the identifier in the locally cached virtual item library;
[0194] The client adds the acquired virtual item to the first image captured by the camera based on augmented reality technology.
[0195] This embodiment and figure 1 The difference of the illustrated embodiment is that what the server sends to the client is the identifier of the virtual item, and the client obtains the corresponding virtual item from the locally cached virtual item library according to the identifier, and then adds it to the first image. In this way, since the server only needs to send the logo, compared with sending virtual items, ...
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