IP Library › Granted Patent US 11,076,144
Granted Patent B2
US 11,076,144 · App. 16/714,289 · Granted Jul 27, 2021

Method and apparatus for obtaining image, storage medium and electronic device

Inventor: Lei Luo (Shenzhen, CN)
H04N13/239G06K9/00248G06K9/00288H04N2013/0081
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 11,076,144
App. No.
16/714,289
Granted
Jul 27, 2021
Kind
B2
Abstract

The object of the present disclosure is to provide a method and apparatus for obtaining an image, a storage medium and an electronic device, in order to solve the problem that the shooting operation of 3D images in related art is not flexible enough. The method includes: obtaining interpupillary distance information of a target user in response to an operation of shooting a 3D image; adjusting a double-shooting spacing of a binocular camera of an electronic device according to the interpupillary distance information of the target user and a preset corresponding relationship between the interpupillary distance and the double-shooting spacing; and shooting a 3D image through the adjusted binocular camera.

Claims (45)

1. A method for obtaining an image, comprising:

obtaining interpupillary distance information of a target user in response to an operation of shooting a 3D image;

adjusting a double-shooting spacing of a binocular camera of an electronic device according to the interpupillary distance information of the target user and a preset corresponding relationship between the interpupillary distance and the double-shooting spacing;

shooting a 3D image through the adjusted binocular camera;

obtaining tag information of the target user;

storing the tag information with the 3D image correspondingly;

obtaining tag information of a viewer in response to an operation of playing the 3D image;

judging whether the tag information of the viewer and the tag information of the target user meet a preset matching condition; and

sending a prompt information if the preset matching condition is not met, wherein the prompt information is used for prompting the viewer to select to play the 3D image in a 2D mode.

2. The method of claim 1 , wherein the tag information comprises the interpupillary distance information;

the judging whether the tag information of the viewer and the tag information of the target user meet a preset matching condition comprises:

judging whether the difference between the interpupillary distance of the viewer and the interpupillary distance of the target user is less than an interpupillary distance difference threshold; and

determining that the preset matching condition is met if the difference is less than the interpupillary distance difference threshold.

3. The method of claim 1 , wherein the tag information comprises collected user identification information;

the judging whether the tag information of the viewer and the tag information of the target user meet a preset matching condition comprises:

judging whether the collected user identification information of the target user and the user identification information of the viewer correspond to the same user identity; and

determining that the preset matching condition is met if the collected user identification information of the target user and the user identification information of the viewer correspond to the same user identity.

4. The method of claim 1 , wherein the obtaining interpupillary distance information of a target user comprises:

obtaining user identification information collected when the electronic device is unlocked in response to an operation of shooting a 3D image; and

determining interpupillary distance information of a target user according to the user identification information and a stored corresponding relationship between the user identification information and the interpupillary distance information.

5. The method of claim 4 , wherein the method further comprises:

obtaining a facial image of the target user, wherein the facial image is used for extracting the user identification information of the target user; and

extracting the interpupillary distance information of the target user from the facial image, and storing the interpupillary distance information with the user identification information correspondingly.

6. The method of claim 1 , wherein the adjusting a double-shooting spacing of a binocular camera of an electronic device comprises:

controlling at least one camera in the binocular camera to move toward a direction approaching to or departing from the other camera.

7. A non-transitory computer readable storage medium, wherein a computer program is stored thereon, and the program, when being executed by a processor, implement a method for obtaining an image comprising:

obtaining interpupillary distance information of a target user in response to an operation of shooting a 3D image;

adjusting a double-shooting spacing of a binocular camera of an electronic device according to the interpupillary distance information of the target user and a preset corresponding relationship between the interpupillary distance and the double-shooting spacing;

shooting a 3D image through the adjusted binocular camera;

obtaining tag information of the target user;

storing the tag information with the 3D image correspondingly;

obtaining tag information of a viewer in response to an operation of playing the 3D image;

judging whether the tag information of the viewer and the tag information of the target user meet a preset matching condition; and

sending a prompt information if the preset matching condition is not met, wherein the prompt information is used for prompting the viewer to select to play the 3D image in a 2D mode.

8. An electronic device, comprising:

a memory on which a computer program is stored; and

a processor, configured to execute the computer program in the memory to implement a method for obtaining an image comprising:

obtaining interpupillary distance information of a target user in response to an operation of shooting a 3D image;

adjusting a double-shooting spacing of a binocular camera of an electronic device according to the interpupillary distance information of the target user and a preset corresponding relationship between the interpupillary distance and the double-shooting spacing;

shooting a 3D image through the adjusted binocular camera;

obtaining tag information of the target user;

storing the tag information with the 3D image correspondingly;

obtaining tag information of a viewer in response to an operation of playing the 3D image;

judging whether the tag information of the viewer and the tag information of the target user meet a preset matching condition; and

sending a prompt information if the preset matching condition is not met, wherein the prompt information is used for prompting the viewer to select to play the 3D image in a 2D mode.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Dec 17, 2019
From: LUO, LEI
To: CLOUDMINDS (SHENZHEN) ROBOTICS SYSTEMS CO., LTD
Reel/Frame 051322/0539 →
Priority Claims (1)
CN 201811536333.0 · Dec 14, 2018 · national
Continuity (1)
Related Publication 20200195905A1 · Jun 18, 2020