CROSS REFERENCE TO RELATED APPLICATIONS

This application claims priority to Chinese Patent Application No. 201810828904.1 entitled “METHOD AND APPARATUS FOR CONTROLLING IMAGE DISPLAY” filed on Jul. 25, 2018, the entire content of which is incorporated herein by reference.

TECHNICAL FIELD

The present disclosure relates to the field of Internet technology, and in particular to a method and an apparatus for controlling image display.

BACKGROUND

With development of science and technology, stereoscopic display technology has emerged to meet higher requirements of people for a visual effect of image display. The stereoscopic display technology may display a depth image to achieve a three-dimensional visual effect. Compared to a two-dimensional image, the depth image has a more detailed and vivid display effect and a larger data volume.

SUMMARY

To solve problems existing in the related art, an example of the present disclosure provides a method and an apparatus for controlling image display.

A first aspect of the present disclosure provides a method of controlling image display. The method may include: receiving an image capture instruction from a client device, where the image capture instruction includes a photographing direction, and the photographing direction is determined by the client device according to a relative position relationship between a position of the client device and a user-specified display position; controlling an image capture device to perform image capture according to the photographing direction, to obtain a depth image comprising a target object image; extracting the target object image from the depth image; and sending the target object image to the client device so that the client device displays the target object image at the display position.

A second aspect of the present disclosure provides a method of controlling image display, which includes: receiving a control instruction including a user-specified display position; obtaining a photographing direction for photographing a target object according to the display position and a corresponding relationship between the display position and the photographing direction, where the photographing direction is determined according to a relative position relationship between a position of a client device and the display position; sending an image capture instruction to a server according to the photographing direction so that the server obtains a depth image including a target object image according to the image capture instruction and extract the target object image from the depth image; and receiving the target object image from the server and displaying the target object image at the display position.

A third aspect of the present disclosure provides an apparatus for controlling image display, which includes a processor and a memory. The memory is used to store a computer program. The processor is used to execute the computer program stored on the memory, and is configured to: receive an image capture instruction from a client device, where the image capture instruction includes a photographing direction, and the photographing direction is determined by the client device according to a relative position relationship between a position of the client device and a user-specified display position; control an image capture device to perform image capture according to the photographing direction, to obtain one depth image including a target object image; extract the target object image from the depth image; and send the target object image to the client device so that the client device displays the target object image at the display position.

A fourth aspect of the present disclosure provides an apparatus for controlling image display, which includes a processor and a memory. The memory is used to store a computer program. The processor is used to execute the computer program stored in the memory, and is configured to: receive a control instruction including a user-specified display position; obtain a photographing direction for photographing a target object according to the display position and a corresponding relationship between the display position and the photographing direction, where the photographing direction is determined according to a relative position relationship between a position of a client device and the display position; send an image capture instruction to a server according to the photographing direction so that the server obtains a depth image including the target object image according to the image capture instruction and extract the target object image from the depth image; and

receive the target object image from the server and display the target object image at the display position.

A fifth aspect of the present disclosure provides a computer readable storage medium storing a computer program, and the computer program is executed by a processor to implement the method described in the above first aspect.

A sixth aspect of the present disclosure provides a computer readable storage medium storing a computer program, and the computer program is executed by a processor to implement the method described in the above second aspect.

It is to be understood that the above general descriptions and the below detailed descriptions are merely exemplary and explanatory, and are not intended to limit the present disclosure.

