TECHNICAL FIELD

The disclosure relates to image processing technologies, and more particularly, to control of a virtual object according to a gesture change of a user.

BACKGROUND

Users may use mobile phones, tablet computers, wearable devices, smart TVs or other electronic devices to play games. In order to facilitate users controlling games, somatosensory games have appeared. The somatosensory games generally require users to wear somatosensory devices, so as to control the games through body movements of the users. During the games, virtual characters played by the users will be controlled. For example, body movements of the users are sensed by the somatosensory devices, so as to control actions of virtual objects corresponding to the users.

SUMMARY

In view of this, a method for controlling a virtual object, a terminal, and a storage medium are provided in embodiments of the disclosure.

According to an aspect of the disclosure, provided is a method for controlling a virtual object, including: acquiring a plurality of images of a user; determining, according to the plurality of images, a gesture change parameter of a body gesture change of the user; and controlling, according to the gesture change parameter, a virtual object corresponding to the user.

According to another aspect of the disclosure, provided is an apparatus for controlling a virtual object, including: an acquisition module, configured to acquire a plurality of images of a user; a determination module, configured to determine, according to the plurality of images, a gesture change parameter of a gesture change of the user; and; and a control module, configured to control, according to the gesture change parameter, a virtual object corresponding to the user.

According to another aspect of the disclosure, provided is an apparatus for controlling a virtual object, including: a processor; and a memory configured to store instructions which, when being executed by the processor, cause the processor to carry out the following: acquiring a plurality of images of a user; determining, according to the plurality of images, a gesture change parameter of a gesture change of the user; and controlling, according to the gesture change parameter, a virtual object corresponding to the user.

According to yet another aspect of the disclosure, provided is a non-transitory computer-readable storage medium having stored thereon computer programs that, when being executed by a computer, cause the computer to carry out the following: acquiring a plurality of images of a user; determining, according to the plurality of images, a gesture change parameter of a gesture change of the user; and controlling, according to the gesture change parameter, a virtual object corresponding to the user.

In the technical solutions provided in the embodiments of the disclosure, images are acquired, a gesture change parameter of a gesture change of a user is obtained based on the images, and a virtual object corresponding to the user is controlled using the gesture change parameter. In this way, the virtual object corresponding to the user may be controlled using the detected gesture of the user, and there is no need to use special somatosensory devices, thereby reducing investment in hardware.

