# US 11,308,636 B2 · Method, apparatus, and computer-readable storage medium for obtaining a target image

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

- Number: US 11,308,636 B2
- Document ID: US11308636B2
- Status: Granted
- Kind: B2
- Application number: 16/740,925
- Filed: 2020-01-13
- Published: 2020-05-14
- Granted: 2022-04-19
- Earliest claimed: 2018-04-28
- Assignees: Guangdong Oppo Mobile Telecommunications Corp., Ltd.
- Applicants: Guangdong Oppo Mobile Telecommunications Corp., Ltd.
- Inventors: Ziqing Guo; Haitao Zhou; Guohui Tan; Fangfang Hui; Xiao Tan
- Web page: https://patentgrep.com/patent/US11308636B2

## CPC

- G06F 21/606: {by securing the transmission between two devices or processes}
- G06F 21/32: using biometric data, e.g. fingerprints, iris scans or voiceprints
- G06F 21/83: input devices, e.g. keyboards, mice or controllers thereof
- G06Q 20/32: using wireless devices
- G06Q 20/322: {Aspects of commerce using mobile devices [M-devices]}
- G06Q 20/326: {Payment applications installed on the mobile devices}
- G06Q 20/40145: {Biometric identity checks}
- G06T 7/521: from laser ranging, e.g. using interferometry; from the projection of structured light
- G06V 40/166: {using acquisition arrangements}
- G06F 2221/2105: Dual mode as a secondary aspect
- G06F 2221/2107: File encryption
- G06F 2221/2151: Time stamp
- G06T 2207/20132: Image cropping
- G06T 2207/30201: Face
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06Q: INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06V: IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING

## Abstract

An image processing method, an apparatus, a non-transitory computer readable storage medium and an electronic device are disclosed. The method includes: acquiring an accuracy level of a target application in response to an image collecting instruction initiated by the target application; adjusting an accuracy of an image to be sent according to the accuracy level, and obtaining a target image; and sending the target image to the target application.

## Claims

### Claim 1

A method for image processing, comprising:
acquiring an accuracy level of a target application in response to an image collecting instruction initiated by the target application;
adjusting an accuracy of an image to be sent according to the accuracy level, and obtaining a target image, comprising:
adjusting a number of speckle points contained in a collected speckle image according to the accuracy level, and acquiring the target image according to the adjusted speckle image, in which the speckle image is an image formed by irradiating laser speckles collected by a laser camera on an object; and
sending the target image to the target application, comprising:
acquiring a reference image pre-stored in an electronic device, and performing an encryption processing on the target image according to the reference image, in which the reference image is an image containing reference speckle points and obtained by calibration; and sending the encrypted target image to the target application.

### Claim 2 (depends on 1)

The method according to claim 1, wherein acquiring the accuracy level corresponding to the target application that initiates the image collecting instruction comprises:
acquiring an application level corresponding to the target application that initiates the image collecting instruction, and acquiring a safety level of an application operation corresponding to the image collecting instruction; and
acquiring the accuracy level according to the application level and the safety level.

### Claim 3 (depends on 2)

The method according to claim 2, wherein the application level corresponds to a first accuracy weight, the safety level corresponds to a second accuracy weight, and acquiring the accuracy level according to the application level and the safety level comprises:
calculating an accuracy weight value according to the first accuracy weight and the second accuracy weight; and
determining the accuracy level in which the accuracy weight falls into.

### Claim 4 (depends on 1)

The method according to claim 1, wherein adjusting the number of the speckle points contained in the collected speckle image according to the accuracy level comprises at least one of:
adjusting the number of the speckle points contained in the laser speckles generated by diffraction of a laser light according to the accuracy level, and collecting the speckle image formed by irradiating the laser speckles on the object through a laser camera; or
collecting a speckle image formed by irradiating preset laser speckles on the object through the laser camera, and adjusting a number of speckle points contained in the speckle image according to the accuracy level.

### Claim 5 (depends on 1)

The method according to claim 1, acquiring the target image according to the adjusted speckle image comprises at least one of:
obtaining a depth image through calculation according to the adjusted speckle image, and taking the depth image as the target image; or
taking the adjusted speckle image as the target image.

### Claim 6 (depends on 1)

The method according to claim 1, wherein performing the encryption processing on the target image according to the reference image comprises:
obtaining a time stamp contained in the image collecting instruction, in which the time stamp is configured to represent a time point of initiating the image collecting instruction; and
obtaining an encryption level according to an interval between the time stamp and a current time point, and performing an encryption processing corresponding to the encryption level on the target image according to the reference image.

### Claim 7 (depends on 1)

The method according to claim 1, wherein sending the target image to the target application comprises:
obtaining a running state of the target application; and
sending the target image to the target application in response to the target application running in foreground.

### Claim 8 (depends on 1)

The method according to claim 1, wherein acquiring the accuracy level of the target application in response to the image collecting instruction initiated by the target application comprises:
acquiring the image to be sent in response to the image collecting instruction; and
in response to detecting a face area in the image to be sent, obtaining an application level corresponding to the target application that initiates the image collecting instruction, and obtaining the accuracy level corresponding to the application level.

### Claim 9 (depends on 8)

The method according to claim 8, wherein obtaining the application level corresponding to the target application that initiates the image collecting instruction, and obtaining the accuracy level corresponding to the application comprises:
obtaining the application level corresponding to the target application that initiates the image collecting instruction, and obtaining a safety level of an application operation corresponding to the image collecting instruction; and
obtaining the accuracy level according to the application level and the safety level.

### Claim 10 (depends on 8)

The method according to claim 8, wherein adjusting the accuracy of the image to be sent according to the accuracy level, and obtaining the target image comprise at least one of:
adjusting a resolution of the image to be sent according to the accuracy level, and obtaining the target image; or
clipping the image to be sent according to the accuracy level and obtaining the target image.

### Claim 11 (depends on 8)

The method according to claim 8, wherein sending the target image to the target application comprises:
acquiring a reference image pre-stored in an electronic device, and performing an encryption processing on the target image according to the reference image, in which the reference image is an image containing reference speckle points and obtained by calibration; and
sending the encrypted target image to the target application.

### Claim 12 (depends on 11)

The method according to claim 11, wherein performing the encryption processing on the target image according to the reference image comprises:
obtaining a pixel matrix corresponding to the reference image, and acquiring an encryption key according to the pixel matrix; and
performing the encryption processing on the target image according to the encryption key.

### Claim 13 (depends on 11)

The method according to claim 11, wherein performing the encryption processing on the target image according to the reference image comprises:
obtaining a time stamp contained in the image collecting instruction, in which the time stamp is configured to represent a time point of initiating the image collecting instruction; and
obtaining an encryption level according to an interval between the time stamp and a current time point, and performing an encryption processing corresponding to the encryption level on the target image according to the reference image.

### Claim 14 (depends on 8)

The method according to claim 8, wherein sending the target image to the target application comprises:
obtaining a running state of the target application; and
sending the target image to the target application in response to the target application running in foreground.

### Claim 15

An image processing apparatus, comprising:
one or more processors; and
a memory storing instructions executable by the one or more processors;
wherein the one or more processors are configured to:
acquire an accuracy level of a target application in response to an image collecting instruction initiated by the target application;
adjust an accuracy of an image to be sent according to the accuracy level, and to obtain a target image; and
send the target image to the target application,
wherein the one or more processors are configured to adjust the accuracy of the image to be sent according to the accuracy level, and to obtain a target image by performing acts of: adjusting a number of speckle points contained in a collected speckle image according to the accuracy level, and to acquire the target image according to the adjusted speckle image, in which the speckle image is an image formed by irradiating laser speckles collected by a laser camera on an object and to acquire a reference image pre-stored in an electronic device, and to perform an encryption processing on the target image according to the reference image, in which the reference image is an image containing reference speckle points and obtained by calibration; and to send the encrypted target image to the target application.

### Claim 16 (depends on 15)

The apparatus according to claim 15, wherein the one or more processors are configured to, acquire the image to be sent in response to the image collecting instruction; and in response to detecting a face area in the image to be sent, obtain an application level corresponding to the target application that initiates the image collecting instruction, and obtain the accuracy level corresponding to the application level.

### Claim 17

A non-transitory computer readable storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the computer program implements an image processing method, and the method comprises:
acquiring an accuracy level of a target application in response to an image collecting instruction initiated by the target application;
adjusting an accuracy of an image to be sent according to the accuracy level, and obtaining a target image, comprising:
adjusting a number of speckle points contained in a collected speckle image according to the accuracy level, and acquiring the target image according to the adjusted speckle image, in which the speckle image is an image formed by irradiating laser speckles collected by a laser camera on an object; and
sending the target image to the target application, comprising:
acquiring a reference image pre-stored in an electronic device, and performing an encryption processing on the target image according to the reference image, in which the reference image is an image containing reference speckle points and obtained by calibration; and sending the encrypted target image to the target application.
