CN111242970A - Control method, control device, electronic equipment and storage medium - Google Patents

Control method, control device, electronic equipment and storage medium Download PDF

Info

Publication number
CN111242970A
CN111242970A CN202010014675.7A CN202010014675A CN111242970A CN 111242970 A CN111242970 A CN 111242970A CN 202010014675 A CN202010014675 A CN 202010014675A CN 111242970 A CN111242970 A CN 111242970A
Authority
CN
China
Prior art keywords
target area
information
operator
electronic device
processing module
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010014675.7A
Other languages
Chinese (zh)
Inventor
邢政
谢迎春
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN202010014675.7A priority Critical patent/CN111242970A/en
Publication of CN111242970A publication Critical patent/CN111242970A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/20Analysis of motion
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63BAPPARATUS FOR PHYSICAL TRAINING, GYMNASTICS, SWIMMING, CLIMBING, OR FENCING; BALL GAMES; TRAINING EQUIPMENT
    • A63B71/00Games or sports accessories not covered in groups A63B1/00 - A63B69/00
    • A63B71/06Indicating or scoring devices for games or players, or for other sports activities
    • A63B71/0616Means for conducting or scheduling competition, league, tournaments or rankings
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63BAPPARATUS FOR PHYSICAL TRAINING, GYMNASTICS, SWIMMING, CLIMBING, OR FENCING; BALL GAMES; TRAINING EQUIPMENT
    • A63B2102/00Application of clubs, bats, rackets or the like to the sporting activity ; particular sports involving the use of balls and clubs, bats, rackets, or the like
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63BAPPARATUS FOR PHYSICAL TRAINING, GYMNASTICS, SWIMMING, CLIMBING, OR FENCING; BALL GAMES; TRAINING EQUIPMENT
    • A63B2243/00Specific ball sports not provided for in A63B2102/00 - A63B2102/38

Landscapes

  • Engineering & Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Physical Education & Sports Medicine (AREA)
  • Multimedia (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The present disclosure relates to an electronic device, including: the image acquisition module is used for acquiring a target area to obtain a first acquired image; the processing module is connected with the image acquisition module and used for acquiring a first position of a first object and a second position of a second object in the target area according to the first acquired image; determining the line information of the second object impacting the first object according to the first position and the second position; and the projection module is connected with the processing module and used for projecting the route from the second object to the first object in the target area according to the route information. The embodiment of the disclosure also discloses a control method, a control device and a storage medium.

Description

Control method, control device, electronic equipment and storage medium
Technical Field
The present disclosure relates to the field of control technologies, and in particular, to a control method and apparatus, an electronic device, and a storage medium.
Background
When performing activities such as ball games in a target area, the activities are often performed according to the experience of an operator; however, it is difficult for beginners to enter balls or play a beautiful ball. Especially for complex target areas, beginners often miss how to deal with and often miss optimal goals. Thus, beginners may become frustrated and lose interest in ball events.
Disclosure of Invention
The disclosure provides an audio signal processing method, an audio signal processing apparatus, an electronic device, and a storage medium.
The technical scheme of the embodiment of the disclosure is as follows:
according to a first aspect of embodiments of the present disclosure, there is provided an electronic apparatus, including:
the image acquisition module is used for acquiring a target area to obtain a first acquired image;
the processing module is connected with the image acquisition module and used for acquiring a first position of a first object and a second position of a second object in the target area according to the first acquired image; determining the line information of the second object impacting the first object according to the first position and the second position;
and the projection module is connected with the processing module and used for projecting the route from the second object to the first object in the target area according to the route information.
In the above scheme, the processing module is configured to determine, according to the first position, the second position, and a third position to which the first object needs to move after being impacted, route information of the second object impacting the first object.
In the foregoing solution, the projection module is further configured to project, in the target area, a line along which the first object moves from the first position to the third position.
In the above solution, the electronic device further includes:
and the audio output module is connected with the processing module and used for outputting operation prompt information for prompting the impact of the voice on the first object.
In the above solution, the electronic device further includes:
the audio acquisition module is connected with the processing module and used for acquiring voice information;
the processing module is used for receiving the voice information sent by the audio acquisition module and determining the first object based on the voice information.
In the foregoing solution, the processing module is further configured to identify the first captured image, so as to determine that one or more objects that can be impacted by the second object to the third position are the first object.
In the above scheme, the image acquisition module is configured to acquire an area within a predetermined range of a target area to obtain a second acquired image;
the processing module is used for acquiring the relative position information of the operator relative to the target area according to the second acquired image; according to the relative position information, selecting a candidate object which meets a preset position relation with the operator in the target area from the first one or more candidate objects as the first object.
In the foregoing solution, the candidate object satisfying the preset positional relationship with the operator in the target area includes at least one of:
a candidate object closest to the operator within the target area;
one or more candidate objects in the target area, wherein the distance between the candidate objects and the operator is within a preset distance range;
and in the target area, one or more candidate objects with highest probability of success or higher probability of being hit by the second object at the position of the operator are located in the target area.
In the above scheme, the electronic device includes:
the acquisition module is connected with the processing module and used for acquiring historical data of mutual impact of two objects;
the processing module is used for receiving the historical data sent by the acquisition module; determining the route information based on the first location, the second location, and the historical data.
According to a second aspect of embodiments of the present disclosure, there is provided a control method, including the method comprising:
acquiring a first position of a first object and a second position of a second object in a target area;
determining the line information of the second object impacting the first object according to the first position and the second position;
and projecting the route of the second object moving to the first object in the target area according to the route information.
In the above solution, the determining, according to the first position and the second position, the route information of the second object impacting the first object includes:
and determining the line information of the second object impacting the first object according to the first position, the second position and a third position to which the first object needs to move after being impacted.
In the above scheme, the method further comprises:
projecting a line of the first object moving from the first location to the third location within the target region.
In the above scheme, the method further comprises:
and playing an operation prompt message for prompting the first object to be impacted by voice.
In the above scheme, the method further comprises:
acquiring voice information;
determining the first object based on the speech information.
In the above scheme, the method further comprises:
and identifying the first acquired image to determine one or more candidate objects capable of being impacted by the second object to the third position as the first object.
In the above scheme, the method further comprises:
acquiring relative position information of an operator relative to the target area;
the recognizing the first captured image to determine that one or more objects capable of being impacted by the second object to the third location are the first object, includes:
and selecting a candidate object which meets a preset position relation with the operator in the target area from the one or more candidate objects as the first object according to the relative position information.
In the foregoing solution, the candidate object satisfying the preset positional relationship with the operator in the target area includes at least one of:
a candidate object closest to the operator within the target area;
one or more candidate objects in the target area, wherein the distance between the candidate objects and the operator is within a preset distance range;
and in the target area, one or more candidate objects with highest probability of success or higher probability of being hit by the second object at the position of the operator are located in the target area.
In the above scheme, the method further comprises:
acquiring historical data of mutual impact of two objects;
the determining, according to the first position and the second position, the route information of the second object impacting the first object includes:
determining the route information based on the first location, the second location, and the historical data.
According to a third aspect of the embodiments of the present disclosure, there is provided a control apparatus applied to the electronic device, including:
the acquisition module is used for acquiring a first position of a first object and a second position of a second object in a target area;
the processing module is used for determining the line information of the second object impacting the first object according to the first position and the second position;
and the projection module is used for projecting the route of the second object moving to the first object in the target area according to the route information.
According to a fourth aspect of the embodiments of the present disclosure, there is provided a computer-readable storage medium storing an executable program, wherein the executable program, when executed by a processor, implements the control method of any of the embodiments of the present disclosure.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects:
the embodiment of the present disclosure discloses an electronic device, including: the image acquisition module is used for acquiring a target area to obtain a first acquired image; the processing module is connected with the image acquisition module and used for acquiring a first position of a first object and a second position of a second object in the target area according to the first acquired image; determining the line information of the second object impacting the first object according to the first position and the second position; and the projection module is connected with the processing module and used for projecting the route from the second object to the first object in the target area according to the route information. In this way, according to the embodiment of the disclosure, route information of the second object impacting the first object can be automatically analyzed based on the acquired first position of the first object and the acquired second position of the second object; in particular, when the number of the first objects and/or the second objects in the target area is large, complex route information can be analyzed and displayed in the target area; therefore, the intellectualization of the electronic equipment can be improved, guidance opinions can be provided for an operator, and the operator can determine a proper law-making method based on the route; thereby improving the enthusiasm of operator participation and improving the satisfaction degree of operator experience.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention.
FIG. 1 is a block diagram illustrating an electronic device apparatus in accordance with an example embodiment.
FIG. 2 is a block diagram of an electronic device shown in accordance with an example embodiment.
FIG. 3 is a schematic diagram illustrating a projected line according to an exemplary embodiment.
FIG. 4 is a schematic diagram illustrating a projected line according to an exemplary embodiment.
FIG. 5 is a schematic diagram illustrating a projected line according to an exemplary embodiment.
FIG. 6 is a block diagram illustrating an electronic device apparatus in accordance with an example embodiment.
FIG. 7 is a schematic diagram illustrating a projected line according to an exemplary embodiment.
FIG. 8 is a flow chart illustrating a control method according to an exemplary embodiment.
FIG. 9 is a schematic diagram illustrating a control device according to an exemplary embodiment.
FIG. 10 is a block diagram illustrating an electronic device apparatus in accordance with an example embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the invention, as detailed in the appended claims.
Fig. 1 is a schematic diagram illustrating an electronic device according to an exemplary embodiment, as shown in fig. 1, the electronic device including:
the image acquisition module 11 is used for acquiring a target area to obtain a first acquired image;
the processing module 12 is connected with the image acquisition module and is used for acquiring a first position of a first object and a second position of a second object in the target area according to the first acquired image; determining the line information of the second object impacting the first object according to the first position and the second position;
and the projection module 13 is connected with the processing module and is used for projecting the route of the second object moving to the first object in the target area according to the route information.
In the disclosed embodiments, the electronic device may be applied to various ball games, for example, billiards, table soccer, and the like.
If the electronic equipment is applied to billiard activities, the target area is the billiard table surface; the second object is a main ball; the first object is a target ball, and the target ball is a ball hit by the main ball. The electronic equipment is positioned above the billiard table surface, for example, the electronic equipment is mounted on the ceiling; and an image acquisition module is arranged on one side of the electronic equipment, which faces the billiard table surface.
In the embodiment of the present disclosure, as shown in fig. 2, the processing module 12 is connected to the image capturing module 11 and the projection module 13 respectively.
In the embodiment of the disclosure, the electronic device may be installed in a predetermined range of the target area, so that the image acquisition module of the electronic device can acquire the target area and an image in the predetermined range of the target area. For example, if the target area is a table top of a pool cue, the electronic device may be mounted on the ceiling, suspended below the ceiling, or near a wall surface of the target area.
Here, the image capturing module 11 may include one or more cameras.
If the camera of the image acquisition module is one camera, the camera can rotate towards different directions at least. In this way, images of any position in the target area can be acquired by rotating the camera, and images in a preset range of the target area can be acquired.
If the number of the cameras of the image acquisition module is multiple, the cameras are dispersedly installed on the surface of the electronic equipment. In this way, images of any position in the target area can be acquired through the plurality of cameras, and images in a preset range of the target area can be acquired.
Here, the processing module 12 generally controls the overall operation of the electronic device, such as controlling data communication, camera operation, and acquiring route information based on the acquired image. The processing module may include one or more processors to execute instructions to perform corresponding operations. Here, the processing module 12 may be configured to obtain a first position of a first object and a second position of a second object in the target area based on the first captured image; and determining route information of the second object impacting the first object based on the first position and the second position.
Here, the projection module 12 may be a projector. The projector projects a path of the second object to be projected moving to the first object onto the target area. In an embodiment, when the projector projects the route, the positions of the first object and the second object are subjected to label projection. For example, in the target area, a circle is marked at the position of the first object, and a circle is marked at the position of the second object.
In an application scenario, as shown in fig. 3, the white ball is a second object, and the No. 1 ball, the No. 2 ball, the No. 3 ball, the No. 4 ball, the No. 5 ball, the No. 6 ball and the No. 7 ball are all first objects; the table top of the billiards is a target area; in the target area, routes of the white balls to ball No. 1, ball No. 2, ball No. 3, ball No. 4, ball No. 5, ball No. 6 and ball No. 7 are projected. And the positions of the white ball, the No. 2 ball and the No. 5 ball are marked by a circle respectively.
In the embodiment of the disclosure, route information of the second object impacting the first object can be automatically analyzed based on the acquired first position of the first object and the acquired second position of the second object; in particular, when the number of the first objects and/or the second objects in the target area is large, complex route information can be analyzed and displayed in the target area; therefore, the intellectualization of the electronic equipment can be improved, guidance opinions can be provided for an operator, and the operator can determine a proper law-making method based on the route; therefore, the enthusiasm of operators to participate is improved, and the satisfaction degree of user experience is improved.
In some embodiments, the processing module 12 is configured to determine route information of the second object impacting the first object according to the first position, the second position, and a third position to which the first object needs to move after being impacted.
Here, the third position may be a position where the bag is located.
Here, the third position may be a position where the other first object is located. For example, if the second object is a white ball, the first object is a No. 1 ball and a No. 2 ball; the third position may also be the position of the ball No. 3 if the white ball hits the ball No. 1.
In other embodiments, the projection module 13 is further configured to project a line of the first object moving from the first position to the third position in the target area.
In an application scenario, as shown in fig. 4, the projection module in the electronic device is further configured to project a route for a number 2 ball to move to a bag in the target area, and project a route for a number 5 ball to move to a bag in the target area. Or, the projection module is further configured to project the position from which the No. 6 ball moves to the No. 4 ball in the target area.
In some embodiments, the processing module 12 is further configured to determine goal route information of at least one of the first objects based on the first position and the second position; wherein the goal route information includes: a route for the second object to move out of the first object, and a route for the first object to move into the bag.
The first object is a target ball, and the second object is a main ball.
As such, in the disclosed embodiment, at least one piece of route information capable of entering a ball and corresponding guide information of the struck first object may be provided to the user, thereby further improving the user's satisfaction.
In this disclosure, the processing module of the electronic device may determine, based on a third position to which the first object needs to move after being impacted, route information that the second object impacts the first object, so that the projection module of the electronic device may project, within a target area, a route from the first position to the third position of the first object. Therefore, when the third position is the position of the ball bag, the guiding suggestion can be provided for an operator to hit the ball and enter the ball bag; if the third position is the position of the other first object, the operator may be provided with a score guidance opinion, and so on.
Of course, in other embodiments, the third location may also be other locations within the target area, for example, the third location may be a specific location within the target area that may increase the difficulty of making a bag or scoring an opponent's shot; and are not intended to be limiting herein.
In some embodiments, the processing module 12 is further configured to predict, as the first target object, one of the first objects that has the highest probability of moving to the third position after being hit by the second object, based on the route information of the second object hitting the first object.
The projection module is further configured to project a target route of the first target object in the target area, where the target route includes a route in which the second position of the second object moves to the first position of the first target problem, and a route in which the first position moves to the third position.
In an application scenario, as shown in fig. 5, a white ball is the second object; determining an object which is most likely to move to the ball bag after the No. 2 ball is impacted by a processing module of the electronic equipment; the No. 2 ball is a first target object; the projection module is used for projecting a route from a white ball to the No. 2 ball and a route from the No. 2 ball to a ball bag in the target area.
In the disclosed embodiment, only the route of the first object with the highest probability of entering the ball can be projected, and more appropriate guidance opinions can be provided for the operator.
As shown in fig. 2 and 6, in some embodiments, the electronic device further includes:
and the audio output module 14 is connected with the processing module 12 and is used for outputting operation prompt information for prompting the first object to be impacted by voice.
In one embodiment, the audio output module 14 includes: a loudspeaker.
In the embodiment of the disclosure, the processing module may determine prompt information prompting the first object to be impacted based on the route information; and the audio output module plays a prompt for prompting the first object to be impacted by voice based on the prompt received from the processing module. For example, the processing module analyzes the route information, determines to hit the ball No. 5, is easier to enter the ball bag, and then the audio output module sends out prompt information of recommending that you hit the ball No. 5. Therefore, the embodiment of the disclosure can guide the operator through voice playing, so that the experience satisfaction of the operator and the intellectualization of the electronic equipment are improved.
Referring to fig. 2 and 6 again, in some embodiments, the electronic apparatus further includes:
the audio acquisition module 15 is connected with the processing module 12 and used for acquiring voice information;
the processing module 12 is configured to receive the voice information sent by the audio acquisition module, and determine the first object based on the voice information.
In one embodiment, the audio capture module 15 includes: a microphone.
In the embodiment of the present disclosure, the microphone may be plural. In one embodiment, a plurality of the microphones may be dispersedly mounted on a surface of the electronic device.
In the embodiment of the present disclosure, the voice information of the operator may be collected based on the audio collection module; sending the voice information to the processing module; the processing module determines a first object from the voice message.
In other embodiments, the processing module 12 is configured to receive the voice information sent by the audio capturing module, and determine the third position based on the voice information.
In an application scenario, as shown in fig. 7, an audio capture module of the electronic device receives voice information sent by an operator. For example, if the voice message is "i want to play a full color ball No. 2", the processing module determines that the first object is a full color ball No. 2. If the voice message is "i want to play a ball with a flower ball of No. 5", the processing module determines that the first object is the ball with a flower ball of No. 5 ". For another example, the voice message is 'I want to put into a ball bag'; the processing module determines that the third position is a "ball pocket". Therefore, in the embodiment of the present disclosure, the audio acquisition module of the electronic device can acquire the voice information of the operator, and dynamically adjust the existing route information and the like based on the information, so that the electronic device can dynamically guide the operator to perform ball games and the like, which is beneficial to improving the activity enthusiasm of the operator.
As shown in fig. 2 and 6, in some embodiments, the processing module 12 is further configured to identify the first captured image to determine that one or more candidate objects that can be impacted by the second object to the third position are the first object.
Here, the third position may be a position where the ball bag is located, a position where the other first object is located, or a specific position of a frame of the billiard table surface, or the like.
In this embodiment of the present disclosure, the first object capable of moving to the third position may be directly determined according to the plurality of candidate objects and the second object included in the first captured image. In this way, the disclosed embodiments may provide guidance to the user to hit the first object that can reach the third position that is desired.
In some embodiments, the image capturing module 11 is configured to capture an area within a predetermined range of a target area to obtain a second captured image;
the processing module 12 is configured to obtain relative position information of the operator with respect to the target area according to the second collected image; and selecting a candidate object which meets a preset position relation with the operator in the target area from the one or more candidate objects as the first object according to the relative position information.
In some embodiments, the candidate object satisfying a preset positional relationship with the operator within the target area includes at least one of:
a candidate object closest to the operator within the target area;
one or more candidate objects in the target area, wherein the distance between the candidate objects and the operator is within a preset distance range;
and in the target area, one or more candidate objects with highest probability of success or higher probability of being hit by the second object at the position of the operator are located in the target area.
In one embodiment, the predetermined range is within 2 meters. The image acquisition module 12 can acquire an area within 2 meters of the target area.
In an embodiment, the electronic device may further include: the sensor module is used for acquiring third position information of the operator; and the processing module is used for determining the relative position of the operator relative to the target area based on the third position information.
Here, the sensor module includes: an infrared sensor.
In the embodiment of the disclosure, the electronic device can acquire the position information of an operator through the image acquisition module or the sensor module, so that the processing module can determine the position relationship between the operator and the target area; so that one or more candidate objects satisfying a preset positional relationship with the operator can be selected as the first object. For example, one candidate object closest to the operation is selected as the first object, or one or more candidate objects within a preset distance range are selected as the first object, so that the subsequent operator can conveniently hit the ball based on the route information of the first object. For another example, one or more objects with the position where the operator is located and the probability threshold value is or is greater than the probability threshold value are selected as the first object, so that the hitting success rate of the follow-up operator is improved. Therefore, in the embodiment of the disclosure, the ball hitting by the operator can be facilitated, and meanwhile, the appropriate guidance opinions can be provided for the operator.
As shown in fig. 2 and 6, in some embodiments, the electronic device includes:
the acquisition module 16 is connected with the processing module and is used for acquiring historical data of mutual impact of two objects;
the processing module 12 is configured to receive the historical data sent by the obtaining module 16; determining the route information based on the first location, the second location, and the historical data.
In some embodiments, the obtaining module 16 is configured to obtain the historical data from other electronic devices or a cloud server.
Here, the history data includes: the position information of the first object, the position information of the second object, and the route information corresponding to the position information of the first object and the position information of the second object.
Here, the acquisition module 16 may be replaced by a communication module; the communication module can be a wireless communication module. For example, in some application scenarios, the communication module may obtain historical data from other electronic devices; and sending the historical data to the processing module.
In some embodiments, the obtaining module 16 is further configured to obtain a competition rule; the processing module 12 is further configured to receive the match rule sent by the obtaining module 16; and determining the route information based on the competition rule, the first position, the second position and the historical data.
In the embodiment of the present disclosure, the obtaining module of the electronic device may obtain historical data, and the processing module may obtain route information corresponding to the first object position and the second object position in the current target area based on the historical data; as such, the disclosed embodiments provide a basis for determining route information.
Furthermore, according to the embodiment of the disclosure, route information corresponding to the competition rule can be selected based on the competition rule, so that more accurate route information can be provided.
FIG. 8 is a flow chart illustrating a control method according to an exemplary embodiment, as shown in FIG. 8, the method including the steps of:
step S21, acquiring a first position of a first object and a second position of a second object in the target area;
step S22, determining the route information of the second object impacting the first object according to the first position and the second position;
step S23, projecting the route of the second object moving to the first object in the target area according to the route information.
The control method disclosed by the embodiment of the disclosure can be applied to various ball activities. For example, it can be applied to billiards, table soccer, and the like. If the control method is applied to billiard activities, the target area is a billiard table surface.
The control method disclosed by the embodiment of the disclosure can also be applied to mobile phone table games. For example, the ball game can be applied to various ball games in mobile phones or other electronic devices. If the control method is applied to the mobile phone desktop game, the target area is a display interface of a mobile phone; projecting a route of the second object moving to the first object in the target area, and then: and projecting the route of the second object moving to the first object on a display interface of the mobile phone.
In some embodiments, the step S22 includes:
and determining the line information of the second object impacting the first object according to the first position, the second position and a third position to which the first object needs to move after being impacted.
In some embodiments, the method further comprises:
projecting a line of the first object moving from the first location to the third location within the target region.
In some embodiments, the method further comprises:
and playing an operation prompt message for prompting the first object to be impacted by voice.
In some embodiments, the method further comprises:
acquiring voice information;
determining the first object based on the speech information.
In some embodiments, the method further comprises:
and identifying the first acquired image to determine one or more candidate objects capable of being impacted by the second object to the third position as the first object.
In some embodiments, the method further comprises:
acquiring relative position information of an operator relative to the target area;
the recognizing the first captured image to determine that one or more objects capable of being impacted by the second object to the third location are the first object, includes:
and selecting a candidate object which meets a preset position relation with the operator in the target area from the one or more candidate objects as the first object according to the relative position information.
In some embodiments, the candidate object satisfying a preset positional relationship with the operator within the target area includes at least one of:
a candidate object closest to the operator within the target area;
one or more candidate objects in the target area, wherein the distance between the candidate objects and the operator is within a preset distance range;
and in the target area, one or more candidate objects with highest probability of success or higher probability of being hit by the second object at the position of the operator are located in the target area.
In some embodiments, the method further comprises:
acquiring historical data of mutual impact of two objects;
the step S22 includes:
determining the route information based on the first location, the second location, and the historical data.
The detailed description of the method in the above embodiments has been described in detail in relation to the embodiments of the electronic device, and will not be elaborated upon here.
FIG. 9 is a block diagram illustrating a control device according to an exemplary embodiment. Referring to fig. 9, the apparatus includes an acquisition module 31, a processing module 32, and a projection module 33; wherein,
the acquiring module 31 is configured to acquire a first position of a first object and a second position of a second object in a target area;
the processing module 32 is configured to determine, according to the first position and the second position, route information of the second object impacting the first object;
the projection module 33 is configured to project, according to the route information, a route that the second object moves to the first object in the target area.
In some embodiments, the processing module 32 is further configured to determine route information of the second object impacting the first object according to the first position, the second position, and a third position to which the first object needs to move after being impacted.
In some embodiments, the projection module 33 is further configured to project a line of the first object moving from the first position to the third position in the target area.
In some embodiments, the apparatus further comprises:
and the audio output module 34 is used for playing operation prompt information for prompting the first object to be impacted by voice.
In some embodiments, the apparatus further comprises:
the audio acquisition module 35 is used for acquiring voice information; determining the first object based on the speech information.
In some embodiments, the processing module 32 is configured to identify the first captured image to determine that one or more candidate objects that can be impacted by the second object to the third location are the first object.
In some embodiments, the acquiring module 31 is further configured to acquire relative position information of an operator with respect to the target area;
the processing module 32 is further configured to select, as the first object, an alternative object that satisfies a preset positional relationship with the operator in the target area from one or more alternative objects according to the relative position information.
In some embodiments, the candidate object satisfying a preset positional relationship with the operator within the target area includes at least one of:
a candidate object closest to the operator within the target area;
one or more candidate objects in the target area, wherein the distance between the candidate objects and the operator is within a preset distance range;
and in the target area, one or more candidate objects with highest probability of success or higher probability of being hit by the second object at the position of the operator are located in the target area.
In some embodiments, the obtaining module 31 is further configured to obtain historical data of two objects impacting each other;
the processing module 32 is further configured to determine the route information based on the first location, the second location, and the historical data.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
An embodiment of the present disclosure further provides an electronic device, including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to: when the executable instructions are executed, the control method of any embodiment of the disclosure is realized.
The memory may include various types of storage media, which are non-transitory computer storage media capable of continuing to remember the information stored thereon after a communication device has been powered down.
The processor may be connected to the memory via a bus or the like for reading the executable program stored on the memory, for example, for implementing at least one of the methods as shown in fig. 8.
Fig. 10 is a block diagram of an electronic device 800 shown in accordance with an example embodiment. For example, the electronic device 800 may be a mobile phone, a computer, a digital broadcast electronic device, a messaging device, a gaming console, a tablet device, a medical device, an exercise device, a personal digital assistant, and so forth.
Referring to fig. 10, electronic device 800 may include one or more of the following components: processing component 802, memory 804, power component 806, multimedia component 808, audio component 810, input/output (I/O) interface 812, sensor component 814, and communication component 816.
The processing component 802 generally controls overall operation of the electronic device 800, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing components 802 may include one or more processors 820 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 802 can include one or more modules that facilitate interaction between the processing component 802 and other components. For example, the processing component 802 can include a multimedia module to facilitate interaction between the multimedia component 808 and the processing component 802.
The memory 804 is configured to store various types of data to support operation at the device 800. Examples of such data include instructions for any application or method operating on the electronic device 800, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 804 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
The power supply component 806 provides power to the various components of the electronic device 800. The power components 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the electronic device 800.
The multimedia component 808 includes a screen that provides an output interface between the electronic device 800 and a user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front facing camera and/or a rear facing camera. The front-facing camera and/or the rear-facing camera may receive external multimedia data when the device 800 is in an operating mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 810 is configured to output and/or input audio signals. For example, the audio component 810 includes a Microphone (MIC) configured to receive external audio signals when the electronic device 800 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 804 or transmitted via the communication component 816. In some embodiments, audio component 810 also includes a speaker for outputting audio signals.
The I/O interface 812 provides an interface between the processing component 802 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor assembly 814 includes one or more sensors for providing various aspects of state assessment for the electronic device 800. For example, the sensor assembly 814 may detect an open/closed state of the device 800, the relative positioning of components, such as a display and keypad of the electronic device 800, the sensor assembly 814 may also detect a change in the position of the electronic device 800 or a component of the electronic device 800, the presence or absence of user contact with the electronic device 800, orientation or acceleration/deceleration of the electronic device 800, and a change in the temperature of the electronic device 800. Sensor assembly 814 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 814 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 816 is configured to facilitate wired or wireless communication between the electronic device 800 and other devices. The electronic device 800 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 816 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 816 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the electronic device 800 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer-readable storage medium comprising instructions, such as the memory 804 comprising instructions, executable by the processor 820 of the electronic device 800 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
Embodiments of the present disclosure also provide a computer-readable storage medium storing an executable program, wherein the executable program, when executed by a processor, implements the control method according to any embodiment of the present disclosure.
Other embodiments of the invention will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the invention and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the invention being indicated by the following claims.
It will be understood that the invention is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the invention is limited only by the appended claims.

Claims (20)

1. An electronic device, characterized in that the electronic device comprises:
the image acquisition module is used for acquiring a target area to obtain a first acquired image;
the processing module is connected with the image acquisition module and used for acquiring a first position of a first object and a second position of a second object in the target area according to the first acquired image; determining the line information of the second object impacting the first object according to the first position and the second position;
and the projection module is connected with the processing module and used for projecting the route from the second object to the first object in the target area according to the route information.
2. The electronic device according to claim 1, wherein the processing module is configured to determine the route information of the second object impacting the first object according to the first position, the second position, and a third position to which the first object needs to move after being impacted.
3. The electronic device of claim 2, wherein the projection module is further configured to project a line of the first object moving from the first position to the third position within the target area.
4. The electronic device of any of claims 1-3,
the electronic device further includes:
and the audio output module is connected with the processing module and used for outputting operation prompt information for prompting the impact of the voice on the first object.
5. The electronic device of any of claims 1-3, further comprising:
the audio acquisition module is connected with the processing module and used for acquiring voice information;
the processing module is used for receiving the voice information sent by the audio acquisition module and determining the first object based on the voice information.
6. The electronic device of any of claims 2-3, wherein the processing module is further configured to identify the first captured image to determine that one or more candidate objects that can be impacted into the third location by the second object are the first object.
7. The electronic device of claim 6, wherein the image capturing module is configured to capture an area within a predetermined range of a target area to obtain a second captured image;
the processing module is used for acquiring the relative position information of the operator relative to the target area according to the second acquired image; and selecting a candidate object which meets a preset position relation with the operator in the target area from the one or more candidate objects as the first object according to the relative position information.
8. The electronic device of claim 7, wherein the candidate objects that satisfy a preset positional relationship with the operator within the target area comprise at least one of:
a candidate object closest to the operator within the target area;
one or more candidate objects in the target area, wherein the distance between the candidate objects and the operator is within a preset distance range;
and in the target area, one or more candidate objects with highest probability of success or higher probability of being hit by the second object at the position of the operator are located in the target area.
9. The electronic device according to any one of claims 1 to 3, characterized in that the electronic device comprises:
the acquisition module is connected with the processing module and used for acquiring historical data of mutual impact of two objects;
the processing module is used for receiving the historical data sent by the acquisition module; determining the route information based on the first location, the second location, and the historical data.
10. A control method, characterized in that the method comprises:
acquiring a first position of a first object and a second position of a second object in a target area;
determining the line information of the second object impacting the first object according to the first position and the second position;
and projecting the route of the second object moving to the first object in the target area according to the route information.
11. The method of claim 10, wherein determining the route information of the second object impacting the first object according to the first position and the second position comprises:
and determining the line information of the second object impacting the first object according to the first position, the second position and a third position to which the first object needs to move after being impacted.
12. The method of claim 11, further comprising:
projecting a line of the first object moving from the first location to the third location within the target region.
13. The method according to any one of claims 10 to 12, further comprising:
and playing an operation prompt message for prompting the first object to be impacted by voice.
14. The method according to any one of claims 10 to 12, further comprising:
acquiring voice information;
determining the first object based on the speech information.
15. The method according to any one of claims 11-12, further comprising:
and identifying the first acquired image to determine one or more candidate objects capable of being impacted by the second object to the third position as the first object.
16. The method of any one of claims 15, further comprising:
acquiring relative position information of an operator relative to the target area;
the recognizing the first captured image to determine that one or more objects capable of being impacted by the second object to the third location are the first object, includes:
and selecting a candidate object which meets a preset position relation with the operator in the target area from the one or more candidate objects as the first object according to the relative position information.
17. The method of claim 16, wherein the candidate objects within the target area that satisfy a preset positional relationship with the operator comprise at least one of:
a candidate object closest to the operator within the target area;
one or more candidate objects in the target area, wherein the distance between the candidate objects and the operator is within a preset distance range;
and in the target area, one or more candidate objects with highest probability of success or higher probability of being hit by the second object at the position of the operator are located in the target area.
18. The method according to any one of claims 10 to 12, further comprising:
acquiring historical data of mutual impact of two objects;
the determining, according to the first position and the second position, the route information of the second object impacting the first object includes:
determining the route information based on the first location, the second location, and the historical data.
19. A control device, characterized in that the device comprises:
the acquisition module is used for acquiring a first position of a first object and a second position of a second object in a target area;
the processing module is used for determining the line information of the second object impacting the first object according to the first position and the second position;
and the projection module is used for projecting the route of the second object moving to the first object in the target area according to the route information.
20. A computer-readable storage medium, characterized in that the readable storage medium stores an executable program, wherein the executable program, when executed by a processor, implements the control method of any one of claims 10-18.
CN202010014675.7A 2020-01-07 2020-01-07 Control method, control device, electronic equipment and storage medium Pending CN111242970A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010014675.7A CN111242970A (en) 2020-01-07 2020-01-07 Control method, control device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010014675.7A CN111242970A (en) 2020-01-07 2020-01-07 Control method, control device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN111242970A true CN111242970A (en) 2020-06-05

Family

ID=70865351

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010014675.7A Pending CN111242970A (en) 2020-01-07 2020-01-07 Control method, control device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111242970A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114584683A (en) * 2020-11-30 2022-06-03 北京市商汤科技开发有限公司 Motion data display method and device, computer equipment and readable storage medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006043017A (en) * 2004-08-03 2006-02-16 Seiko Epson Corp Display device
KR20090013980A (en) * 2007-08-03 2009-02-06 포항공과대학교 산학협력단 Apparatus and method of supporting billiard game using camera images
US20100178994A1 (en) * 2009-01-13 2010-07-15 International Business Machines Corporation Intelligent System To Indicate Appropriate Trajectories in Cue Sports
CN104117202A (en) * 2014-07-02 2014-10-29 乔冰 Projection type billiard hitting intelligent auxiliary system and method
TWM509666U (en) * 2015-06-10 2015-10-01 Univ Chien Hsin Sci & Tech A route indicated apparatus
CN105879371A (en) * 2016-04-29 2016-08-24 乐视控股(北京)有限公司 Billiard movement track real-time projection method, device and equipment
CN108694466A (en) * 2018-05-18 2018-10-23 梁栋 The recommendation method and device of path of the stroke
CN109361858A (en) * 2018-10-29 2019-02-19 北京小米移动软件有限公司 Obtain method, apparatus, electronic equipment and the storage medium of image
CN110013661A (en) * 2019-04-22 2019-07-16 张明 A kind of trained bagatelle device and billiards training system

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006043017A (en) * 2004-08-03 2006-02-16 Seiko Epson Corp Display device
KR20090013980A (en) * 2007-08-03 2009-02-06 포항공과대학교 산학협력단 Apparatus and method of supporting billiard game using camera images
US20100178994A1 (en) * 2009-01-13 2010-07-15 International Business Machines Corporation Intelligent System To Indicate Appropriate Trajectories in Cue Sports
CN104117202A (en) * 2014-07-02 2014-10-29 乔冰 Projection type billiard hitting intelligent auxiliary system and method
TWM509666U (en) * 2015-06-10 2015-10-01 Univ Chien Hsin Sci & Tech A route indicated apparatus
CN105879371A (en) * 2016-04-29 2016-08-24 乐视控股(北京)有限公司 Billiard movement track real-time projection method, device and equipment
CN108694466A (en) * 2018-05-18 2018-10-23 梁栋 The recommendation method and device of path of the stroke
CN109361858A (en) * 2018-10-29 2019-02-19 北京小米移动软件有限公司 Obtain method, apparatus, electronic equipment and the storage medium of image
CN110013661A (en) * 2019-04-22 2019-07-16 张明 A kind of trained bagatelle device and billiards training system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114584683A (en) * 2020-11-30 2022-06-03 北京市商汤科技开发有限公司 Motion data display method and device, computer equipment and readable storage medium

Similar Documents

Publication Publication Date Title
CN109117056B (en) Screen lighting method and device, electronic equipment and storage medium
US10141025B2 (en) Method, device and computer-readable medium for adjusting video playing progress
US20170344192A1 (en) Method and device for playing live videos
CN106559712B (en) Video playing processing method and device and terminal equipment
EP3133779A1 (en) Method, terminal device, computer program and recording medium for playing game in chatting interface
CN106412706B (en) Control method, device and its equipment of video playing
CN110602394A (en) Video shooting method and device and electronic equipment
CN209496378U (en) Terminal
CN106162211A (en) Live method and device is carried out based on live application
CN107132769B (en) Intelligent equipment control method and device
CN112543368A (en) Video processing method, video playing method, video processing device, video playing device and storage medium
CN110826361A (en) Method and device for explaining sports game
CN106095300B (en) Method and device for adjusting playing progress
CN108769769B (en) Video playing method and device and computer readable storage medium
CN113613082A (en) Video playing method and device, electronic equipment and storage medium
CN110536012A (en) The method and device of the outer playback amount of controlling terminal
CN107124658B (en) Net cast method and device
CN112691385B (en) Method and device for acquiring outgoing and installed information, electronic equipment, server and storage medium
CN111242970A (en) Control method, control device, electronic equipment and storage medium
US20190095163A1 (en) Method and device for displaying an input interface and an electronic device
US20160142885A1 (en) Voice call prompting method and device
CN110636377A (en) Video processing method, device, storage medium, terminal and server
CN108009676B (en) Pet route planning method and device
CN112040059B (en) Application control method, application control device and storage medium
CN114554271A (en) Information pushing and displaying method and device, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20200605

RJ01 Rejection of invention patent application after publication