Method and device for image processing, computer readable storage medium, and electronic device
AssigneeGuangdong Oppo Mobile Telecommunications Corp., Ltd.
InventorYan CHEN
Life of this patent
Estimating the term…
Abstract
The present disclosure relates to an image processing method and device, a computer readable storage medium, and an electronic device. The method includes: acquiring an image to be processed; detecting a foreground target of the image, and recognizing the foreground target, to obtain a foreground classification result; detecting a background area of the image, and recognizing the background area, to obtain a background classification result; and obtaining a classification label of the image based on the foreground classification result and the background classification result.
Claims20
An image processing method, comprising:
- acquiring an image to be processed;
- detecting at least one foreground target of the image, and recognizing the at least one foreground target to obtain a foreground classification result;
- detecting a background area of the image, and recognizing the background area to obtain a background classification result;
- and
- obtaining a classification label of the image based on the foreground classification result and the background classification result.
An image processing device, comprising:
- an image acquisition module configured to acquire an image to be processed;
- a foreground recognition module configured to detect at least one foreground target of the image, and recognize the at least one foreground target to obtain a foreground classification result;
- a background recognition module configured to detect a background area of the image, and recognize the background area to obtain a background classification result;
- and
- a label generation module configured to obtain a classification label of the image based on the foreground classification result and the background classification result.
An electronic device comprising:
- a memory;
- and
- a processor,
- wherein the memory stores computer readable instructions, when the instructions are executed by the processor, the processor is configured to:
- acquire an image to be processed;
- detect at least one foreground target of the image, and recognize the at least one foreground target to obtain a foreground classification result;
- detect a background area of the image, and recognize the background area to obtain a background classification result;
- and
- obtain a classification label of the image based on the foreground classification result and the background classification result.
Dependencies are inferred from the claim text.