Display screen-based doll catcher control method and device, equipment, medium and product
By using the display control method in the claw machine and replacing traditional joystick operation through image and grid selection, the equipment damage and children's operation problems are solved, and a more efficient and interesting claw machine gaming experience is achieved.
Patent Information
- Application Number
- CN202411265744.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-10
- Publication Date
- 2025-01-14
AI Technical Summary
Traditional claw machines are operated by rocker and are likely to cause damage to the equipment, and it is difficult for children who are shorter to operate and observe the state of the clip.
Using a display-based control method, by obtaining a reference image of the gift placement in the claw machine, adding a grid to the image, the user selects a target grid on the display screen to control the movement of the grab mechanism, replacing the traditional rocker operation.
The user's operating frequency of the rocker is reduced, shorter children are allowed to participate in the game, and the accuracy and fun of the operation are improved through light generation devices and image recognition.
Smart Images

Figure CN119303289A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of data processing technology, and in particular to a method, device, equipment, medium and product for controlling a claw machine based on a display screen. Background Art
[0002] Claw machines are common autonomous amusement equipment. Traditional claw machines are usually equipped with joysticks for users to play games. Users operate the joystick to control the movement of the grabbing mechanism and perform grabbing. This way of playing has been used for many years.
[0003] However, in the process of controlling the movement and grasping of the claw machine's grasping mechanism through a joystick, the user needs to repeatedly operate the joystick, especially when throwing the clamp, the operation action is large, resulting in a high probability of damage to the claw machine's joystick, which requires frequent maintenance.
[0004] At the same time, it is basically difficult for children with shorter stature to operate through the operating table, and it is also difficult to observe the current status of the clamp.
[0005] The inventor believes that a new operation scheme can be provided for users. Summary of the invention
[0006] The present invention provides a method, device, equipment, medium and product for controlling a claw machine based on a display screen, so as to provide a new operation mode, which can divert or replace the traditional joystick operation on the one hand, and allow children with shorter height to operate on the other hand.
[0007] The present invention provides a claw machine control method based on a display screen, comprising: Acquire a reference image, wherein the reference image reflects the placement of gifts in the claw machine; Adding a grid to the reference image based on the moving area of the grasping mechanism of the claw machine, and sending the reference image after adding the grid to a display screen for display; Based on the user's selection instruction on the grid received through the display screen, a target grid is determined, and the movement of the grasping mechanism is controlled based on the target grid.
[0008] According to a method for controlling a claw machine based on a display screen provided by the present invention, a light generating device is provided in the grasping mechanism; and a grid is added to the reference image in the moving area of the grasping mechanism based on the claw machine, including: Controlling the gripping mechanism to move to a calibration point, wherein the calibration point reflects the range of movement capability of the gripping mechanism; Acquire a calibration point image, wherein the calibration point image includes a light spot projected by the light generating device at the calibration point; A grid is added to the reference image based on the calibration point image.
[0009] According to a method for controlling a claw machine based on a display screen provided by the present invention, after controlling the movement of the grasping mechanism based on the target grid, the method comprises: Receiving a first operation instruction through the display screen or receiving a second operation instruction through the operating lever of the claw machine; Controlling a grasping action of the grasping mechanism based on the first operation instruction or the second operation instruction; Before the grasping action of the grasping mechanism controlled based on the first operation instruction is completed, the second operation instruction is shielded.
[0010] According to a method for controlling a claw machine based on a display screen provided by the present invention, after adding a grid to the reference image, the moving area of the grasping mechanism of the claw machine comprises: Identify the gift in the reference image to obtain a gift identification result in the reference image; Determine the recommendation level corresponding to the grid based on the gift recognition result, wherein the recommendation level reflects the probability of successful gift distribution of the gift in the grid; Prompt information is added to the grid based on the recommendation level.
[0011] According to a claw machine control method based on a display screen provided by the present invention, the step of determining the recommendation degree corresponding to the grid based on the gift recognition result in the reference image includes: Determine the gift part corresponding to the grid in the reference image based on the gift recognition result; Based on the gift parts corresponding to the grid, the recommendation degree corresponding to the grid is determined.
[0012] According to a method for controlling a claw machine based on a display screen provided by the present invention, determining the recommendation degree corresponding to the grid based on the gift position in the grid includes: Obtain the grabbing difficulty corresponding to the gift part; The recommendation level corresponding to the grid is determined based on the grasping difficulty, the distance between the grid and the gift outlet, and the positional relationship between the gift part and the grid.
[0013] The present invention also provides a claw machine control device based on a display screen, comprising: An image acquisition module is used to acquire a reference image, wherein the reference image reflects the placement of gifts in the claw machine; A grid adding module, used for adding a grid in the reference image based on the moving area of the grasping mechanism of the claw machine, and sending the reference image after adding the grid to a display screen for display; The control module is used to determine a target grid based on a selection instruction of the grid received from the user through the display screen, and control the movement of the grasping mechanism based on the target grid.
[0014] The present invention also provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the control method of a claw machine based on a display screen as described above is implemented.
[0015] The present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the control method of a claw machine based on a display screen as described above is implemented.
[0016] The present invention also provides a computer program product, including a computer program, wherein when the computer program is executed by a processor, the computer program implements any of the above-mentioned methods for controlling a claw machine based on a display screen.
[0017] The present invention provides a claw machine control method, device, equipment, medium and product based on a display screen. A reference image reflecting the arrangement of gifts in the claw machine is obtained, and a grid is added to the reference image based on the moving area of the grabbing mechanism of the claw machine. The reference image with the added grid is sent to the display screen for display. The user's selection instruction for the grid is received through the display screen, and the target grid is determined based on the selection instruction. The movement of the grabbing mechanism is controlled based on the target grid. In this way, during the game process of the claw machine, the user does not need to operate a joystick to control the movement of the grabbing mechanism of the claw machine. The user only needs to click on the grid to which the grabbing mechanism is desired to move on the display screen. The joystick operation is realized by clicking on the display screen. The present invention provides a new operation mode. On the one hand, it can divert or replace the traditional joystick operation, and on the other hand, it can allow children with shorter height to operate. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0019] Figure 1 The present invention is a flowchart of a method for controlling a claw machine based on a display screen.
[0020] Figure 2 It is a schematic diagram of the calibration points in the claw machine control method based on the display screen provided by the present invention.
[0021] Figure 3It is a schematic diagram of a display screen operation screen in a display screen-based claw machine control method provided by the present invention.
[0022] Figure 4 The present invention provides a method for receiving operation instructions in the method for controlling a claw machine based on a display screen. Figure 1 .
[0023] Figure 5 The present invention provides a method for receiving operation instructions in the method for controlling a claw machine based on a display screen. Figure 2 .
[0024] Figure 6 It is a schematic diagram of adding prompt information in a grid in the display screen-based claw machine control method provided by the present invention.
[0025] Figure 7 It is a structural schematic diagram of a claw machine control device based on a display screen provided by the present invention.
[0026] Figure 8 It is a structural schematic diagram of the electronic device provided by the present invention. DETAILED DESCRIPTION
[0027] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the drawings of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0028] In the prior art, claw machines are usually equipped with rockers for users to play games. Users operate the rockers to control the movement of the grabbing mechanism and grab, and this game mode has been used for many years. However, in the process of controlling the movement and grabbing of the grabbing mechanism of the claw machine by the rocker, the user needs to repeatedly operate the rocker, especially when the clamp is thrown, the operation action is large, resulting in a high probability of damage to the rocker of the claw machine, and frequent maintenance is required. At the same time, for children with shorter height, it is basically difficult to operate through the operating table, and it is also difficult to observe the state of the current clamp. The present invention provides a claw machine control method, device, setting, medium and product based on a display screen, which realizes a new operation mode, which can divert or replace the traditional rocker operation on the one hand, and can allow children with shorter height to operate on the other hand.
[0029] Combine the following Figure 1-Figure 6 The present invention describes a method for controlling a claw machine based on a display screen. Figure 1 As shown, the claw machine control method based on the display screen includes the steps of: S110, obtaining a reference image, where the reference image reflects the placement of gifts in the claw machine; S120, adding a grid to the reference image based on the moving area of the grasping mechanism of the claw machine, and sending the reference image after the grid is added to the display screen for display; S130, determining a target grid based on a grid selection instruction received from the user through the display screen, and controlling the movement of the grasping mechanism based on the target grid.
[0030] The method provided by the present invention obtains a reference image reflecting the placement of gifts in a claw machine, and adds a grid to the reference image based on the moving area of the grabbing mechanism of the claw machine, sends the reference image after adding the grid to a display screen for display, receives a selection instruction of the grid by the user through the display screen, determines a target grid based on the selection instruction, and controls the movement of the grabbing mechanism based on the target grid, so that during the game process of the claw machine, the user does not need to operate a rocker to control the movement of the grabbing mechanism of the claw machine, but only needs to click on the grid to which the grabbing mechanism is desired to move on the display screen, and realizes the rocker operation by clicking the display screen, which can reduce the frequency of users using the rocker of the claw machine. The present invention provides a new operation mode of a claw machine, which can not only divert or replace the traditional rocker operation, but also allow children with shorter height to operate.
[0031] In the method provided by the present invention, a claw machine is a general term for an entertainment facility that probabilistically gives out gifts in response to user operations. Giving out gifts means that the claw machine spits out gifts. The gifts of the claw machine are not limited to doll toys, but can be other types of gifts.
[0032] The method provided by the present invention can be applied to an electronic device, which can be an independent terminal or a module installed on a terminal. The electronic device can be connected to a camera arranged in a claw machine to obtain a reference image, and connected to a display screen to execute the method provided by the present invention, send the reference image with the grid added to the display screen for display, receive the user's selection instruction for the grid through the display screen and control the movement of the grasping mechanism.
[0033] The reference image can reflect the placement of all gifts in the claw machine, or it can only reflect the placement of all gifts in the claw machine. The reference image can be obtained by shooting with a camera arranged in the claw machine, and the camera can be arranged inside or outside the claw machine. For safety, the camera is arranged inside the gift cabin where gifts are placed in the claw machine, and the camera can be arranged in the middle position of the top of the gift cabin of the claw machine and shoot downward, so that the placement of most gifts in the claw machine can be photographed. Of course, it is understandable that the position of the camera is not limited to the top of the gift cabin of the claw machine, and it can also be the four walls of the gift cabin of the claw machine, as long as the image reflecting the placement of gifts in the claw machine can be photographed as a reference image. It is understandable that when the camera is at the top center, the image does not need to be corrected basically. When the camera is located at a corner, the image needs to be transformed according to the calibrated situation, so that the tilted angle is corrected to the angle of looking down. This method will cause the picture to be distorted to a certain extent.
[0034] In the method provided by the present invention, after obtaining the reference image, a grid is added to the reference image, and the image after adding the grid is sent to the display screen for display. The area where the grid is added is the moving area of the grabbing mechanism of the claw machine, that is, the grid is added in the area within the moving stroke of the grabbing mechanism, and the grid is not added for the area that the grabbing mechanism of the claw machine in the reference image cannot reach (the area outside the slide rail stroke range of the grabbing mechanism). The grabbing mechanism of the claw machine is generally realized based on a crane, that is, the grabbing mechanism is connected to the crane arranged on the top of the gift cabin of the claw machine, and the grabbing mechanism is driven to move by the movement of the crane. The moving range of the crane directly determines the moving area of the grabbing mechanism. It can be understood that the reference image can be an image captured before each game starts, and the image is used for reference by the user. A grid can be configured on it for reference by the user, and since the grid is calibrated, there is a corresponding relationship between the grid and the position of the crane. The user can select the grid, and in fact, the target position that the user hopes to control the crane to reach can be determined.
[0035] The grid can provide users with more reference information and improve the fun of the game. Specifically, a grid is added to the reference image based on the moving area of the claw machine's grabbing mechanism, including: Control the gripping mechanism to move to a calibration point, where the calibration point reflects the range of movement of the gripping mechanism; Acquire a calibration point image, wherein the calibration point image includes a light spot projected at the calibration point by a light generating device provided in the grasping mechanism; Add a grid to the reference image based on the calibration point image.
[0036] In a possible implementation, the area corresponding to the moving area of the gripping mechanism in the reference image can be calculated by calculating the relative position between the vertices of the moving area of the gripping mechanism and the camera that captures the reference image. However, this method has the disadvantages of complex calculations and the results may not be consistent with the actual situation. In the method provided by the present invention, in order to add a grid that is consistent with the actual moving area of the gripping mechanism in the reference image, the gripping mechanism is controlled to move to a calibration point, that is, the farthest point that the gripping mechanism can reach in the horizontal and vertical directions, and a light generating device is set at the center of the gripping mechanism. Figure 2 Schematic diagram of the calibration point in the claw machine control method based on the display screen provided by the present invention, such as Figure 2 As shown, after the grasping mechanism moves to the calibration point, the light emitted by the light generating device will irradiate the claw machine to generate light spots. The camera captures images including these light spots. Since the position and shooting angle of the camera remain unchanged, the image including these light spots can be overlapped with the reference image, and the position of the calibration point can be determined in the reference image, thereby determining the moving area of the grasping mechanism in the reference image, and adding a grid in this area.
[0037] The present invention provides a method in which a light generating device is arranged in the grasping mechanism and a light spot projected by the light generating device is used to provide a grid in the reference image, so that the grid area in the reference image is consistent with the actual moving area of the grasping mechanism, which is more accurate.
[0038] After the reference image with the added grid is displayed on the display screen, the user can issue a selection instruction by clicking the display screen. After receiving the selection instruction, the target grid is determined and the movement of the grasping mechanism is controlled based on the target grid.
[0039] Specifically, the target grid can be directly the grid corresponding to the selection instruction, i.e. the grid clicked by the user. In the traditional play mode of the claw machine, an operation time limit is often provided. When the operation time limit is reached, even if the user does not determine to grab, the grabbing mechanism can no longer be moved. In the method provided by the present invention, the playability of the claw machine is improved, and a moving time can also be set, and the target grid is the grid as close to the target grid as possible. That is to say, when the grabbing mechanism can move to the grid clicked by the user within the set mobile realization, then the target grid is the grid clicked by the user, and the target grid is the grid closest to the grid clicked by the user that the grabbing mechanism can move to. Specifically, after receiving the selection instruction and determining the grid clicked by the user, the distance between the grid clicked by the user and the current projection position of the grabbing mechanism can be calculated, and according to this distance and the set moving speed of the grabbing mechanism, it can be determined whether the grid can be reached within the set moving time. If not, connect the grid clicked by the user with the projection position of the gripping mechanism, obtain the moving distance based on the set moving time and the set moving speed of the gripping mechanism, and the grid where the point whose distance from the projection position of the gripping mechanism in the connecting direction is the moving distance is the target grid.
[0040] After the movement of the grabbing mechanism is controlled based on the target grid, it includes: Receiving a first operation instruction through a display screen or receiving a second operation instruction through an operating lever of a claw machine; Controlling a grasping action of the grasping mechanism based on the first operation instruction or the second operation instruction; Before the grasping action of the grasping mechanism controlled based on the first operation instruction is completed, the second operation instruction is shielded.
[0041] During the process of the grasping mechanism moving to the target grid, the operation of the operating lever can be shielded and only the display screen operation can be accepted. After the grasping mechanism moves to the target grid, the first operation instruction can be received through the display screen or the second operation instruction can be received through the operating lever of the claw machine, and the grasping action of the grasping mechanism can be controlled based on the first operation instruction or the second operation instruction.
[0042] Figure 3 Schematic diagram of the display screen operation screen in the display screen-based claw machine control method provided by the present invention, such as Figure 3 As shown, an operation option can be provided on the display screen, and the user can issue an operation instruction by selecting the operation option to implement the corresponding grasping action, such as conventional release grasping, retracting grasping, shaking grasping, etc. An operation option can include several action sequences. After the user selects the operation option, the device shields the input of the operating lever and performs continuous operations according to the action sequence set in Chengdu. Before the grasping action of the grasping mechanism controlled by the first operation instruction corresponding to the display screen is completed, the operation of the operating lever is shielded.
[0043] Specifically, the communication relationship between the operating rod, the display screen, and the claw machine master controller that executes the method provided by the present invention can be as follows: Figure 4 or Figure 5 As shown. Figure 4 As shown, the joystick and the display screen can send operation instructions independently, and when the display screen sends an operation instruction, it can apply to the main control to shield the joystick operation instruction. Figure 5 As shown, the operation instruction of the operating rod may be first sent to the display screen, and the display screen decides whether to shield the operation instruction of the operating rod based on the current operation instruction sending status of the display screen.
[0044] As can be seen from the foregoing description, based on the display screen, the user can realize the movement of the grabbing mechanism of the claw machine and the operation of the grabbing action. In order to provide users with more reference information and improve the playability of the claw machine, the method provided by the present invention can also generate prompt information based on the reference image to prompt the user which grid has a higher probability of successfully giving out gifts, specifically including: Recognize the gift in the reference image to obtain a gift recognition result in the reference image; Determine the recommendation level corresponding to the grid based on the gift recognition result, and the recommendation level reflects the probability of successful gift distribution of the gift in the grid; Add tips in the grid based on the recommendation level.
[0045] Figure 6 Schematic diagram of adding prompt information in a grid in the method for controlling a claw machine based on a display screen provided by the present invention. Figure 6 As shown, a transparent color can be added to the grid as prompt information. In this way, the user can know through the display screen which grid position has a higher probability of success in grabbing, and the user can get more prompt information and have a better gaming experience.
[0046] Specifically, the gift in the reference image is identified to obtain the gift identification result in the reference image, which can be achieved through an existing image recognition model. The probability of successfully grabbing gifts of different shapes is different, and the recommendation level corresponding to the grid can be determined according to the shape of the gift identified in the grid. For example, different gift shapes are classified, and a probability of successfully grabbing is set for each type of shape. According to the type of gift shape identified, the degree of ease of grabbing the gift is obtained, and then the recommendation level is obtained.
[0047] Furthermore, different parts of the same gift may be easier to grasp than others. For example, for a doll toy, the success rate of grasping the head, torso, or lower limbs is different. In a possible implementation of the present invention, the recommendation level corresponding to the grid is determined based on the gift recognition result, which may be determined based on the part of the gift in the gateway, specifically including: Determine the gift part corresponding to the grid in the reference image based on the gift recognition result; Based on the gift parts corresponding to the grid, determine the recommendation level corresponding to the grid.
[0048] The difficulty of grabbing corresponding to different gift parts can be configured through empirical data. By determining the recommendation degree of the grid for the gift parts in the grid, a more accurate recommendation degree determination result can be obtained.
[0049] Furthermore, the probability of successfully giving out gifts in a grid is not only related to the ease of grasping of the gift part, but also related to the distance from the gift outlet, etc. In a possible implementation, based on the gift part corresponding to the gateway, the recommendation degree corresponding to the grid is determined, specifically including: Get the grabbing difficulty corresponding to the gift part; The recommendation level corresponding to the grid is determined based on the difficulty of grasping, the distance between the grid and the gift outlet, and the positional relationship between the gift parts and the grid.
[0050] The positional relationship between the gift part and the grid reflects the distance between the center point of the gift part and the center of the grid. It is understandable that the greater the distance between the grid and the gift outlet, the lower the probability of successfully giving out the gift after grabbing the grid position. The difficulty of grabbing the gift part and the relative positional relationship between the gift part and the grid jointly affect the success rate of giving out the gift. Specifically, the higher the difficulty of grabbing the gift part, the lower the success rate of grabbing the gift part. Furthermore, the larger the area of the gift part occupies in the grid, the more consistent the success rate of grabbing the gift part is with the success rate of grabbing the grid position. Therefore, combining the difficulty of grabbing, the distance between the grid and the processing port, and the positional relationship between the gift part and the grid to determine the recommendation degree corresponding to the grid can obtain more accurate results.
[0051] In a possible implementation, the recommendation degree of the grid can be calculated according to a function: f(x,y,z)=a / x+by+cg(z); where g() is a piecewise function. g(z)= Among them, x refers to the distance from the grid to the gift outlet, y represents the difficulty of grabbing the gift part corresponding to the grid, z represents the distance from the grid to the center of the gift part, and d is the preset distance threshold. abc are the weight coefficients of each item.
[0052] There is no need to display specific values for the recommendation levels of each grid, so the values do not have much meaning to the user. Therefore, in actual applications, you can add prompt information to the top grids according to the recommendation levels, such as Figure 6 shown.
[0053] The following is a description of the claw machine control device based on a display screen provided by the present invention. The claw machine control device based on a display screen described below and the claw machine control method based on a display screen described above can be referred to each other. Figure 7 As shown, the claw machine control device based on the display screen provided by the present invention includes: The image acquisition module 710 is used to acquire a reference image, which reflects the placement of gifts in the claw machine; A grid adding module 720 is used to add a grid to the reference image based on the moving area of the grasping mechanism of the claw machine, and send the reference image after the grid is added to the display screen for display; The control module 730 is used to determine the target grid based on the user's selection instruction for the grid received through the display screen, and control the movement of the grasping mechanism based on the target grid.
[0054] Figure 8 An example of a physical structure diagram of an electronic device is shown in FIG. Figure 8 As shown, the electronic device may include: a processor 810, a communication interface 820, a memory 830 and a communication bus 840, wherein the processor 810, the communication interface 820 and the memory 830 communicate with each other through the communication bus 840. The processor 810 may call the logic instructions in the memory 830 to execute a claw machine control method based on a display screen, the method comprising: obtaining a reference image, the reference image reflecting the placement of gifts in the claw machine; adding a grid to the reference image based on the moving area of the grasping mechanism of the claw machine, and sending the reference image with the added grid to the display screen for display; determining a target grid based on a grid selection instruction received by the user through the display screen, and controlling the movement of the grasping mechanism based on the target grid.
[0055] In addition, the logic instructions in the above-mentioned memory 830 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on this understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art or the part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.
[0056] On the other hand, the present invention also provides a computer program product, which includes a computer program. The computer program can be stored on a non-transitory computer-readable storage medium. When the computer program is executed by a processor, the computer can execute the claw machine control method based on the display screen provided by the above-mentioned methods, and the method includes: obtaining a reference image, the reference image reflects the placement of gifts in the claw machine; adding a grid to the reference image based on the moving area of the claw machine's grasping mechanism, and sending the reference image with the added grid to the display screen for display; determining the target grid based on the user's grid selection instruction received through the display screen, and controlling the movement of the grasping mechanism based on the target grid.
[0057] On the other hand, the present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, it is implemented to execute the claw machine control method based on a display screen provided by the above-mentioned methods. The method includes: obtaining a reference image, the reference image reflects the placement of gifts in the claw machine; adding a grid to the reference image based on the moving area of the claw machine's grasping mechanism, and sending the reference image with the added grid to the display screen for display; determining a target grid based on the user's grid selection instruction received through the display screen, and controlling the movement of the grasping mechanism based on the target grid.
[0058] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.
[0059] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.
[0060] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A method for controlling a claw machine based on a display screen, characterized in that: include: Acquire a reference image, wherein the reference image reflects the placement of gifts in the claw machine; Adding a grid to the reference image based on the moving area of the grasping mechanism of the claw machine, and sending the reference image after adding the grid to a display screen for display; Based on the user's selection instruction on the grid received through the display screen, a target grid is determined, and the movement of the grasping mechanism is controlled based on the target grid.
2. The method for controlling a claw machine based on a display screen according to claim 1, characterized in that: The grabbing mechanism is provided with a light generating device; the moving area of the grabbing mechanism based on the claw machine adds a grid in the reference image, including: Controlling the gripping mechanism to move to a calibration point, wherein the calibration point reflects the range of movement capability of the gripping mechanism; Acquire a calibration point image, wherein the calibration point image includes a light spot projected by the light generating device at the calibration point; A grid is added to the reference image based on the calibration point image.
3. The method for controlling a claw machine based on a display screen according to claim 1, characterized in that: After controlling the movement of the grasping mechanism based on the target grid, the method further comprises: Receiving a first operation instruction through the display screen or receiving a second operation instruction through the operating lever of the claw machine; Controlling a grasping action of the grasping mechanism based on the first operation instruction or the second operation instruction; Before the grasping action of the grasping mechanism controlled based on the first operation instruction is completed, the second operation instruction is shielded.
4. The method for controlling a claw machine based on a display screen according to claim 1, characterized in that: The moving area of the grasping mechanism based on the claw machine, after adding a grid to the reference image, includes: Identify the gift in the reference image to obtain a gift identification result in the reference image; Determine the recommendation level corresponding to the grid based on the gift recognition result, wherein the recommendation level reflects the probability of successful gift distribution of the gift in the grid; Prompt information is added to the grid based on the recommendation level.
5. The method for controlling a claw machine based on a display screen according to claim 4, characterized in that: The determining the recommendation degree corresponding to the grid based on the gift recognition result in the reference image includes: Determine the gift part corresponding to the grid in the reference image based on the gift recognition result; Based on the gift parts corresponding to the grid, the recommendation degree corresponding to the grid is determined.
6. The method for controlling a claw machine based on a display screen according to claim 5, characterized in that: The determining the recommendation degree corresponding to the grid based on the gift position in the grid includes: Obtain the grabbing difficulty corresponding to the gift part; The recommendation level corresponding to the grid is determined based on the grasping difficulty, the distance between the grid and the gift outlet, and the positional relationship between the gift part and the grid.
7. A claw machine control device based on a display screen, characterized in that: include: An image acquisition module is used to acquire a reference image, wherein the reference image reflects the placement of gifts in the claw machine; A grid adding module, used for adding a grid in the reference image based on the moving area of the grasping mechanism of the claw machine, and sending the reference image after adding the grid to a display screen for display; The control module is used to determine a target grid based on a selection instruction of the grid received from the user through the display screen, and control the movement of the grasping mechanism based on the target grid.
8. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the computer program, the method for controlling a claw machine based on a display screen as described in any one of claims 1 to 6 is implemented.
9. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, a method for controlling a claw machine based on a display screen is implemented as described in any one of claims 1 to 6.
10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, a method for controlling a claw machine based on a display screen is implemented as described in any one of claims 1 to 6.