Electronic device, and method and apparatus for controlling the same
AssigneeGuangdong Oppo Mobile Telecommunications Corp., Ltd.
InventorJianbo Sun
Life of this patent
Estimating the term…
Abstract
The present disclosure provides a control method, a control apparatus, and an electronic device. The method is for controlling an electronic device based on scene data collected by an imaging apparatus of the electronic device. The scene data includes a cached main image. The control method includes: processing the scene data to acquire depth information of the cached main image; acquiring a foreground portion of the cached main image based on the depth information; and controlling the electronic device based on the foreground portion.
Claims20
A method for controlling an electronic device based on scene data collected by an imaging apparatus of the electronic device, the scene data comprising a cached main image, and the method comprising:
- processing the scene data to acquire depth information of the cached main image;
- acquiring a foreground portion of the cached main image based on the depth information;
- and
- controlling the electronic device based on the foreground portion, comprising:
- determining a structure type of a current three-dimensional (3D) space based on the foreground portion and an orientation;
- searching, in a preset database, a current composition recommendation corresponding to the structure type of the current 3D space, the preset database comprising a plurality of foreground types and corresponding composition recommendations;
- and
- controlling the electronic device to acquire a scene image that conforms to the current composition recommendation.
An electronic device, comprising:
- an imaging apparatus;
- a memory configured to store executable program codes;
- and
- a processor configured to read the executable program codes stored in the memory to execute a program corresponding to the executable program codes for performing a method for controlling the electronic device based on scene data collected by the imaging apparatus, the method comprising:
- processing the scene data to acquire depth information of a cached main image;
- acquiring a foreground portion of the cached main image based on the depth information;
- and
- controlling the electronic device based on the foreground portion, comprising:
- determining a structure type of a current three-dimensional (3D) space based on the foreground portion and an orientation;
- searching, in a preset database, a current composition recommendation corresponding to the structure type of the current 3D space, the preset database comprising a plurality of foreground types and corresponding composition recommendations;
- and
- controlling the electronic device to acquire a scene image that conforms to the current composition recommendation.
Dependencies are inferred from the claim text.