# US 2019/0320112 A1 · Self-photographing control method and device, and electronic device

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2019/0320112 A1
- Document ID: US20190320112A1
- Status: Published application
- Kind: A1
- Application number: 16/240,959
- Filed: 2019-01-07
- Published: 2019-10-17
- Earliest claimed: 2018-04-13
- Assignees: Boe Technology Group Co., Ltd.
- Applicants: BOE Technology Group Co., Ltd.
- Inventors: Yue YU; Xiangdong YANG
- Web page: https://patentgrep.com/patent/US20190320112A1

## CPC

- G06F 3/017: {Gesture based interaction, e.g. based on a set of recognized hand gestures (interaction based on gestures traced on a digitiser G06F3/04883)}
- G06F 3/013: {Eye tracking input arrangements (G06F3/015 takes precedence)}
- G06F 3/0304: {Detection arrangements using opto-electronic means (constructional details of pointing devices not related to the detection arrangement using opto-electronic means G06F3/033; optical digitisers G06F3/042)}
- G06V 10/507: {Summing image-intensity values; Histogram projection analysis}
- G06V 40/166: {using acquisition arrangements}
- G06V 40/171: {Local features and components; Facial parts (eye characteristics G06V40/18); Occluding parts, e.g. glasses; Geometrical relationships}
- H04N 23/60: Control of cameras or camera modules
- H04N 23/611: where the recognised objects include parts of the human body
- H04N 23/64: {Computer-aided capture of images, e.g. transfer from script file into camera, check of taken image quality, advice or proposal for image composition or decision on when to take image}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06V: IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

A self-photographing control method, a self-photographing control device and an electronic device are provided. The self-photographing control method includes the steps of acquiring a first original image, selecting a human eye from the first original image as a main eye for controlling photographing, acquiring an action of the main eye, and triggering a photographing operation if the action of the main eye meets a set condition.

## Claims

### Claim 1

A self-photographing control method, comprising:
acquiring a first original image;
selecting a human eye from the first original image as a main eye for controlling photographing;
acquiring an action of the main eye; and
triggering a photographing operation when the action of the main eye meets a set condition.

### Claim 2 (depends on 1)

The self-photographing control method according to claim 1, wherein selecting the human eye from the first original image as the main eye for controlling photographing comprises:
processing the first original image to obtain at least one human face image;
processing the at least one human face image to obtain at least one human eye image; and
selecting a human eye from the at least one human eye image as the main eye.

### Claim 3 (depends on 2)

The self-photographing control method according to claim 2, wherein processing the at least one human face image to obtain the at least one human eye image comprises:
performing a first preprocessing on each human face image in the at least one human face image, wherein the first preprocessing comprises grayscale processing and normalization processing;
determining a respective center position of each human eye by an integral projection operation and a differential projection operation for each human face image after the first preprocessing; and
generating a rectangular frame with a set size based on the respective center position of each human eye, wherein an image in the rectangular frame comprises the human eye image.

### Claim 4 (depends on 3)

The self-photographing control method according to claim 3, wherein determining the center position of each human eye by the integral projection operation and the differential projection operation for each human face image after the first preprocessing comprises:
determining an abscissa of the center position of the human eye in the human eye image by a vertical integral projection operation;
determining an iris region of the human eye in the human eye image by a horizontal differential projection operation; and
determining an ordinate of a line with a smallest sum of gray values of an image in the iris region by a horizontal integral projection operation to obtain an ordinate of the center position of the human eye.

### Claim 5 (depends on 3)

The self-photographing control method according to claim 3, wherein selecting the human eye from the at least one human eye image as the main eye comprises:
determining a number of the at least one human eye image;
when the number of the at least one human eye image is multiple, performing a second preprocessing on the image in the rectangular frame, wherein the second preprocessing comprises at least binarization processing, corrosion processing and dilation processing;
acquiring an area of a connected domain in each rectangular frame;
adopting a human eye in the rectangular frame corresponding to the connected domain with the largest area as the main eye; and
when the number of the at least one human eye image is one, adopting a human eye in the rectangular frame as the main eye.

### Claim 6 (depends on 5)

The self-photographing control method according to claim 5, wherein acquiring the action of the main eye comprises:
acquiring a plurality of second original images, wherein the plurality of second original images are images captured sequentially after the first original image;
for each second original image in the plurality of second original images, acquiring the area of the connected domain in the rectangular frame corresponding to the main eye in each second original image;
determining that the main eye is in a closed state when the area of the connected domain in the rectangular frame corresponding to the main eye is less than or equal to an area threshold; and
based on the closed state of the main eye in the plurality of second original images, determining closing time of the main eye or the closing times of the main eye in a set time period to obtain the action of the main eye.

### Claim 7 (depends on 6)

The self-photographing control method according to claim 6, wherein before acquiring the area of the connected domain in the rectangular frame corresponding to the main eye in each second original image, the method further comprises:
acquiring a center position of the human eye in the rectangular frame in each second original image; and
when a distance between the center position of the human eye in each second original image and the center position of the main eye is less than or equal to a distance threshold, adopting the human eye in each second original image as the main eye.

### Claim 8 (depends on 6)

The self-photographing control method according to claim 6, wherein the set condition comprises a number of the closing times of the main eye in the set time period exceeding a set number of the closing times.

### Claim 9 (depends on 6)

The self-photographing control method according to claim 6, wherein the set condition comprises the closing time of the main eye exceeding a closing time threshold.

### Claim 10

A self-photographing control device, comprising:
a first image acquisition module configured to acquire a first original image;
a main eye selection module configured to select a human eye from the first original image as the main eye for controlling photographing;
an action acquisition module configured to acquire an action of the main eye; and
a photographing trigger module configured to trigger photographing operation when the action of the main eye meets a set condition.

### Claim 11 (depends on 10)

The self-photographing control device according to claim 10, wherein the main eye selection module comprises:
a human face image acquisition submodule configured to process the first original image to obtain at least one human face image;
a human eye image acquisition submodule configured to process the at least one human face image to obtain at least one human eye image; and
a main eye selection submodule configured to select a human eye from the at least one human eye image as the main eye.

### Claim 12 (depends on 11)

The self-photographing control device according to claim 11, wherein the human eye image acquisition submodule comprises:
a first preprocessing unit configured to perform a first preprocessing for each human face image in the at least one human face image, the first preprocessing comprising grayscale processing and normalization processing;
a human eye center determination unit configured to determine a respective center position of each human eye by an integral projection operation and a differential projection operation for each human face image after the first preprocessing; and
a human eye image acquisition unit configured to generate a rectangular frame with a set size based on the respective center position of each human eye, wherein an image in the rectangular frame is a human eye image.

### Claim 13 (depends on 12)

The self-photographing control device according to claim 12, wherein the human eye center determination unit comprises:
an abscissa determination subunit configured to determine an abscissa of the center position of the human eye in the human eye image by a vertical integral projection operation;
an iris region determination subunit configured to determine an iris region of a human eye in the human eye image by a horizontal differential projection operation; and
an ordinate determination subunit configured to determine an ordinate of a line with a smallest sum of gray values of an image in the iris region by a horizontal integral projection operation to obtain an ordinate of the center position of the human eye.

### Claim 14 (depends on 12)

The self-photographing control device according to claim 12, wherein the main eye selection submodule comprises:
a human eye number determination unit configured to determine a number of the at least one human eye image;
a second preprocessing unit configured to perform a second preprocessing on the image in the rectangular frame when the number of the at least one human eye image is multiple, wherein the second preprocessing comprises at least binarization processing, corrosion processing and dilation processing;
a connected domain area acquisition unit configured to acquire an area of a connected domain in each rectangular frame; and
a main eye determination unit configured to adopt a human eye in the rectangular frame corresponding to the connected domain with the largest area as the main eye, and also configured to adopt a human eye in the rectangular frame as the main eye when the image number of the at least one human eye is one.

### Claim 15 (depends on 14)

The self-photographing control device according to claim 14, wherein the action acquisition module comprises:
an image acquisition submodule configured to acquire a plurality of second original images, wherein the plurality of second original images are images captured sequentially after the first original image;
a connected domain area acquisition submodule configured to acquire the area of the connected domain in the rectangular frame corresponding to the main eye in each second original image for each second original image in the plurality of second original images;
a main eye state determination submodule configured to determine that the main eye is in a closed state when the area of the connected domain in the rectangular frame corresponding to the main eye is less than or equal to an area threshold; and
a main eye action acquisition submodule configured to determine closing time of the main eye or closing times of the main eye within a set time period based on the closed state of the main eye in the plurality of second original images to obtain the action of the main eye.

### Claim 16 (depends on 15)

The self-photographing control device according to claim 15, further comprising:
a human eye center determination module configured to acquire a center position of the human eye in the rectangular frame in each second original image; and
a main eye determination module configured to determine that a human eye in each second original image is the main eye when a distance between the center position of the human eye in each second original image and the center position of the main eye is less than or equal to a distance threshold.

### Claim 17 (depends on 15)

The self-photographing control device according to claim 15, wherein the set condition comprises a number of times the main eye is closed exceeding a set number of times within a set time period, or the closing time of the main eye exceeding a closing time threshold.

### Claim 18 (depends on 1)

An electronic device comprising:
a camera module;
a processor; and
a memory for storing executable instructions and files of the processor;
wherein the processor is configured to execute the executable instructions in the memory to implement the operations in the method of claim 1.

### Claim 19 (depends on 1)

A computer storage medium storing thereon executable instructions executable by a processor of a computer, wherein when the executable instructions are executed by the processor of the computer, the operations in the method of claim 1 are implemented.
