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

Active Publication Date: 2020-08-04
KOUBEI HLDG
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The embodiment of the present application provides an image processing method and device, and electronic equipment to solve the problem in the prior art that it is impossible to automatically add virtual items suitable for the current image

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
  • Image processing method and device, electronic device
  • Image processing method and device, electronic device
  • Image processing method and device, electronic device

Examples

Experimental program
Comparison scheme
Effect test

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, ...

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

An image processing method and device provided in an embodiment of the present application, the method includes: identifying the target object in the first image captured by the camera; judging whether a virtual item needs to be added to the first image; When a virtual item needs to be added in the image, match the virtual item corresponding to the target object from the feature library; wherein, the corresponding relationship between the object and the virtual item is stored in the feature library; based on augmented reality technology, the matched The obtained virtual item is added to the first image captured by the camera. By applying this embodiment, it is possible to automatically add virtual items that match the current image, enrich image content, and enhance interest.

Description

technical field [0001] The embodiments of the present application relate to the technical field of image processing, and in particular, to an image processing method and device, and electronic equipment. Background technique [0002] With the continuous development of image processing technology, especially the use of augmented reality technology can add virtual items in dynamic images to achieve the purpose of beautifying images. [0003] For example, in some selfie apps, users are supported to select some cute and interesting watermark images to add to the images captured by the camera. [0004] However, usually the user is required to actively select the virtual items to be added, and it is impossible to automatically add virtual items suitable for the current image. Contents of the invention [0005] The embodiment of the present application provides an image processing method and device, and electronic equipment to solve the problem in the prior art that it is imposs...

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 Patents(China)
IPC IPC(8): G06T11/40H04N5/232
CPCG06T11/40H04N23/80
Inventor 陶骏盛娇麒孟超峰
Owner KOUBEI HLDG
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products