Shooting hit determination method, device and system

By using color recognition technology in live-action CS games to determine shot hits within the shooting preview interface, the problem of inaccurate or expensive BB gun and laser launcher detection in existing technologies has been solved, achieving accurate shot hit detection and a better gaming experience.

CN116892864BActive Publication Date: 2026-07-03TIBET RUIHUA CAPITAL MANAGEMENT CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
TIBET RUIHUA CAPITAL MANAGEMENT CO LTD
Filing Date
2023-06-26
Publication Date
2026-07-03

AI Technical Summary

Technical Problem

In existing live-action CS games, the hit detection of shooting with BB guns and laser launchers has problems such as inaccurate pain perception or expensive equipment.

Method used

By displaying a real-time preview image in the shooting preview interface, color recognition technology is used to determine whether the color feature data within the range of the shooting crosshair is within the preset area, and the shooting hit information is sent to the other end device.

Benefits of technology

It achieves accurate shooting hit detection without the need for expensive equipment, improving the gaming experience and avoiding pain.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116892864B_ABST
    Figure CN116892864B_ABST
Patent Text Reader

Abstract

The present disclosure relates to a shooting hit determination method, device and system. The shooting hit determination method comprises: displaying a first real-time preview image in a first shooting preview interface; in response to a shooting operation of a first user on the first shooting preview interface, performing color recognition on image content in a shooting reticle range of the first real-time preview image to obtain first color feature data corresponding to the image content in the shooting reticle range; if the first color feature data is in an identification region of second color feature data in a color rectangular coordinate system, sending shooting hit information to a second device used by a second user, and the second color feature data is color feature data corresponding to the second user. According to the embodiment of the present disclosure, whether the shooting hits can be accurately identified, and the user will not feel pain, and expensive equipment is not required.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure relates to the field of image recognition technology, and in particular to a method, apparatus and system for determining shot hits. Background Technology

[0002] Counter-Strike (CS) is a military simulation game where people who enjoy military and outdoor activities come together. It's a game where users can simulate military combat training using a tactical launcher.

[0003] In related technologies, toy guns that fire BB pellets and laser emitters that fire lasers are often used for games. However, when playing with toy guns that fire BB pellets, there is obvious pain when the BB pellets hit the human body, and the determination of whether the shot hits depends on the participant's self-awareness, meaning that the hit result is not accurate. When playing with laser emitters that fire lasers, a matching laser device is required, which is not only expensive, but also makes the laser determination result more complicated. Summary of the Invention

[0004] To address the aforementioned technical problems, this disclosure provides a method, apparatus, and system for determining shot hits.

[0005] In a first aspect, this disclosure provides a method for determining a shot hit, applied to a first device, comprising:

[0006] The first real-time preview image is displayed in the first shooting preview interface;

[0007] In response to the first user's shooting operation on the first shooting preview interface, the image content within the shooting crosshair range in the first real-time preview image is color-identified to obtain the first color feature data corresponding to the image content within the shooting crosshair range;

[0008] If the first color feature data is located within the recognition area of ​​the second color feature data in the color rectangular coordinate system, a shot hit information is sent to the second device used by the second user, and the second color feature data is the color feature data corresponding to the second user.

[0009] Secondly, this disclosure provides a method for determining a shot hit, applied to a second device, including:

[0010] The first device receives the shooting hit information. The shooting hit information is sent to the second device by the first device when the first color feature data is within the recognition area of ​​the second color feature data in the color rectangular coordinate system. The second color feature data is the color feature data corresponding to the second user using the second device. The first color feature data is the color feature data corresponding to the image content within the shooting crosshair obtained by color recognition of the first real-time preview image. The first real-time preview image is the real-time preview image displayed by the first device when the first user triggers the shooting operation.

[0011] Based on the hit information, the corresponding battle results are displayed.

[0012] Thirdly, this disclosure provides a shot hit determination device, applied to a first device, comprising:

[0013] The first display module is used to display the first real-time preview image within the first shooting preview interface;

[0014] The first recognition module is used to respond to the shooting operation of the first user on the first shooting preview interface, to perform color recognition on the image content within the range of the shooting crosshair in the first real-time preview image, and to obtain the first color feature data corresponding to the image content within the range of the shooting crosshair.

[0015] The first sending module is used to send a shot hit information to the second device used by the second user if the first color feature data is located within the recognition area of ​​the second color feature data in the color rectangular coordinate system. The second color feature data is the color feature data corresponding to the second user.

[0016] Fourthly, this disclosure provides a shot hit determination device, applied to a second device, comprising:

[0017] The second receiving module receives shooting hit information. The shooting hit information is sent from the first device to the second device when the first color feature data is within the recognition area of ​​the second color feature data in the color rectangular coordinate system. The second color feature data is the color feature data corresponding to the second user using the second device. The first color feature data is the color feature data corresponding to the image content within the shooting crosshair range obtained by color recognition of the first real-time preview image. The first real-time preview image is the real-time preview image displayed by the first device when the first user triggers the shooting operation.

[0018] The second display module shows the corresponding battle results based on the hit information.

[0019] Fifthly, this disclosure provides a shooting hit determination system, including:

[0020] The first device is used to display a first real-time preview image in a first shooting preview interface. In response to a first user's shooting operation on the first shooting preview interface, the device performs color recognition on the image content within the range of the shooting crosshair in the first real-time preview image to obtain first color feature data corresponding to the image content within the range of the shooting crosshair. If the first color feature data is located within the recognition area of ​​the second color feature data in the color rectangular coordinate system, the device sends shooting hit information to the second device used by the second user. The second color feature data is the color feature data corresponding to the second user.

[0021] The second device is used to receive shooting hit information. The shooting hit information is sent by the first device to the second device when the first color feature data is within the recognition area of ​​the second color feature data in the color rectangular coordinate system. The second color feature data is the color feature data corresponding to the second user using the second device. The first color feature data is the color feature data corresponding to the image content within the shooting crosshair range obtained by color recognition of the first real-time preview image. The first real-time preview image is the real-time preview image displayed by the first device when the first user triggers the shooting operation. Based on the shooting hit information, the corresponding battle result is displayed.

[0022] Sixthly, this disclosure provides a shooting hit determination device, comprising:

[0023] processor;

[0024] Memory, used to store executable instructions;

[0025] The processor is used to read executable instructions from memory and execute the executable instructions to implement the first and second aspects of the shot hit determination method.

[0026] In a seventh aspect, this disclosure provides a computer-readable storage medium storing a computer program that, when executed by a processor, causes the processor to implement the shooting hit determination methods of the first and second aspects.

[0027] The technical solution provided in this disclosure has the following advantages compared with the prior art:

[0028] The shooting hit determination method, apparatus, and system of this disclosure can display a first real-time preview image in a first shooting preview interface. Then, in response to a shooting operation by a first user on the first shooting preview interface, color recognition is performed on the image content within the shooting crosshair range of the first real-time preview image to obtain first color feature data corresponding to the image content within the shooting crosshair range. Finally, if the first color feature data is within the recognition area of ​​second color feature data in the color Cartesian coordinate system, shooting hit information is sent to the second device used by the second user. The second color feature data is the color feature data corresponding to the second user. Thus, the first real-time preview image can be displayed in the first shooting preview interface, and color recognition is performed on the image content within the shooting crosshair range of the first real-time preview image according to the shooting operation of the first user to obtain the corresponding first color feature data. Then, when the first color feature data is within the recognition area of ​​second color feature data in the color Cartesian coordinate system, shooting hit information is sent to the second device used by the second user. This can accurately identify whether a shot has hit the target, and the user will not experience pain, nor does it require expensive equipment. Attached Figure Description

[0029] The above and other features, advantages, and aspects of the embodiments of this disclosure will become more apparent from the accompanying drawings and the following detailed description. Throughout the drawings, the same or similar reference numerals denote the same or similar elements. It should be understood that the drawings are schematic, and the originals and elements are not necessarily drawn to scale.

[0030] Figure 1 A schematic flowchart illustrating a shooting hit determination method provided in an embodiment of this disclosure;

[0031] Figure 2 A schematic diagram of a shooting preview interface provided in an embodiment of this disclosure;

[0032] Figure 3 A coordinate diagram of a color rectangular coordinate system provided in this embodiment of the disclosure;

[0033] Figure 4 A coordinate diagram illustrating another color rectangular coordinate system provided in this embodiment of the disclosure;

[0034] Figure 5 A flowchart illustrating another method for determining a shot hit provided in this embodiment of the present disclosure;

[0035] Figure 6 A schematic diagram of another shooting preview interface provided in an embodiment of this disclosure;

[0036] Figure 7 This is a schematic diagram of the structure of a shooting hit determination device provided in an embodiment of the present disclosure;

[0037] Figure 8 A schematic diagram of another shooting hit determination device provided in an embodiment of this disclosure;

[0038] Figure 9 This is a schematic diagram of a shooting hit determination device provided in an embodiment of the present disclosure. Detailed Implementation

[0039] Embodiments of this disclosure will now be described in more detail with reference to the accompanying drawings. While some embodiments of this disclosure are shown in the drawings, it should be understood that this disclosure can be implemented in various forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided to provide a more thorough and complete understanding of this disclosure. It should be understood that the accompanying drawings and embodiments of this disclosure are for illustrative purposes only and are not intended to limit the scope of protection of this disclosure.

[0040] It should be understood that the steps described in the method embodiments of this disclosure may be performed in different orders and / or in parallel. Furthermore, the method embodiments may include additional steps and / or omit the steps shown. The scope of this disclosure is not limited in this respect.

[0041] The term "comprising" and its variations as used herein are open-ended inclusions, meaning "including but not limited to". The term "based on" means "at least partially based on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". Definitions of other terms will be given in the description below.

[0042] It should be noted that the concepts of "first" and "second" mentioned in this disclosure are used only to distinguish different devices, modules or units, and are not used to limit the order of functions performed by these devices, modules or units or their interdependencies.

[0043] It should be noted that the terms "a" and "a plurality of" used in this disclosure are illustrative rather than restrictive, and those skilled in the art should understand that, unless otherwise expressly indicated in the context, they should be understood as "one or more".

[0044] The names of messages or information exchanged between multiple devices in the embodiments of this disclosure are for illustrative purposes only and are not intended to limit the scope of such messages or information.

[0045] Live-action CS is a military simulation outdoor competitive sport in which people who enjoy military and outdoor sports gather together. It is a game that uses simulated tactical launchers (lasers and other combat launchers) and wears tactical equipment and various styles of military uniforms and protective gear to conduct simulated military combat training. It is also a popular field game (wargame) internationally.

[0046] The pixel count of mobile phone cameras has rapidly increased from 110,000 to tens of millions of pixels. In the future development of mobile phone cameras, the pixel count will continue to rise, and the image clarity will also increase accordingly. In other words, mobile phone camera pixels will not remain at 12 or 13 megapixels, but will be developed to achieve even higher pixel counts.

[0047] In related technologies, toy guns that can fire BB pellets and laser emitters that emit lasers are often used in games.

[0048] In current live-action CS games, a common technique used is toy-style simulated gun bullets with a certain range, typically made of plastic. These bullets utilize electrical energy to compress air, resulting in fully automatic firing with a certain degree of power. The pain felt upon being hit is used as the criterion for determining a hit. However, BB pellets cause significant pain when they hit a person, and determining a hit relies on the participant's awareness, making the hit result inaccurate. Furthermore, the random scattering of plastic BB pellets after firing can cause environmental pollution.

[0049] In live-action CS games, another commonly used technique is to use infrared lasers instead of live ammunition. Each individual soldier's equipment consists of a laser emitter, a laser receiver system (helmet and vest), and a wireless remote control. When the laser receiver system receives the laser beam, it determines that a hit has been made. However, this requires the use of specialized laser equipment, which is not only expensive but also makes laser detection more complex.

[0050] To address the aforementioned problems, this disclosure provides a method, apparatus, and system for determining shot hit rate. The following is a detailed description... Figures 1 to 6 The shooting hit determination method provided in the embodiments of this disclosure will be described in detail.

[0051] Figure 1 A schematic flowchart of a shooting hit determination method provided in an embodiment of this disclosure is shown.

[0052] In this embodiment of the disclosure, the shot hit determination method can be executed by a first device. The first device may include, but is not limited to, mobile terminals such as laptops, PDAs (personal digital assistants), and PADs (tablet computers).

[0053] like Figure 1 As shown, the method for determining a shot hit may include the following steps.

[0054] S110, Display the first real-time preview image in the first shooting preview interface.

[0055] In this embodiment of the disclosure, a first user can play a shooting game through a first device with shooting software installed, and the first device can display a first real-time preview image in a first shooting preview interface.

[0056] Optionally, the first user can be the user who hits another user in the shooting game.

[0057] Optionally, the first shooting preview interface can be an interface used to display a first real-time preview image.

[0058] Optionally, the first real-time preview image can be an image acquired in real time by the first device.

[0059] Specifically, a first user can play a shooting game through a first device with shooting software installed. For example, the first user can open the shooting software on the first device, hold the first device and aim at other game users. The first device can acquire a first real-time preview image through an image acquisition device, such as a camera, and display the first real-time preview image in the first shooting preview interface.

[0060] Figure 2 A schematic diagram of a shooting preview interface provided in an embodiment of this disclosure is shown.

[0061] like Figure 2 As shown, the first device can display a first real-time preview image in the first shooting preview interface 201.

[0062] S120. In response to the first user's shooting operation on the first shooting preview interface, perform color recognition on the image content within the shooting crosshair range in the first real-time preview image to obtain the first color feature data corresponding to the image content within the shooting crosshair range.

[0063] In this embodiment of the disclosure, the first device can respond to the shooting operation of the first user on the first shooting preview interface, perform color recognition on the image content within the range of the shooting crosshair in the first real-time preview image, and obtain the first color feature data corresponding to the image content within the range of the shooting crosshair.

[0064] Optionally, the shooting operation can be an operation in which the user fires a weapon through the first device. This shooting operation can include clicking, long-pressing, or performing other actions on the fire control.

[0065] Optionally, the shooting reticle can be a reticle within the first shooting preview interface used to facilitate aiming for the first user.

[0066] Optionally, color recognition can be based on color channel data used to identify the image. Specifically, the first device can extract and identify the colors in the image, take the average value, and map it to a color Cartesian coordinate system to obtain the corresponding color feature data.

[0067] Optionally, the first color feature data can be the feature data of the color channels corresponding to the image content within the range of the firing sight in a color Cartesian coordinate system. The color feature data can be red (R), green (G), and blue (B) three-channel data.

[0068] Optionally, the color rectangular coordinate system can be a two-dimensional coordinate system constructed based on the three colors. The horizontal coordinate of the color rectangular coordinate system is R / G, and the vertical coordinate is B / G.

[0069] Specifically, after the first device displays the first real-time preview image in the first shooting preview interface, it can respond to the first user's shooting operation on the first shooting preview interface, such as the first user's click operation on the firing control in the first shooting preview interface, and perform color recognition on the image content within the firing crosshair range in the first real-time preview image, thereby obtaining the first color feature data corresponding to the image content within the firing crosshair range.

[0070] See also Figure 2 The first shooting preview interface 201 includes a shooting sight 202 and a firing control 203. The first user can perform a shooting operation on the firing control 203. The first device can respond to the shooting operation by performing color recognition on the image content within the range of the shooting sight 202 in the first shooting preview interface 201, thereby obtaining the first color feature data corresponding to the image content within the range of the shooting sight 202.

[0071] S130. If the first color feature data is located within the recognition area of ​​the second color feature data in the color rectangular coordinate system, a shot hit information is sent to the second device used by the second user, and the second color feature data is the color feature data corresponding to the second user.

[0072] In this embodiment of the disclosure, after obtaining the first color feature data, if the first color feature data is located within the recognition area of ​​the second color feature data in the color rectangular coordinate system, the first device sends a shot hit information to the second device used by the second user.

[0073] Optionally, the second color feature data can be feature data used to characterize the color channel corresponding to the second user in a color Cartesian coordinate system.

[0074] Optionally, the recognition area of ​​the second color feature data can be a preset area around the second color feature data in a color Cartesian coordinate system.

[0075] Optionally, the second device may be similar to the first device.

[0076] Optionally, the second user can be the user who is hit in the shooting game.

[0077] Optionally, the shot hit information can be information used to characterize that the shooting operation hit a second user.

[0078] Specifically, after obtaining the first color feature data, the first device can determine whether the first color feature data is within the recognition area of ​​the second color feature data in the color Cartesian coordinate system. If the first color feature data is within the recognition area of ​​the second color feature data in the color Cartesian coordinate system, it can send a shooting hit information to the second device used by the second user. If the first color feature data is not within the recognition area of ​​the second color feature data in the color Cartesian coordinate system, the first device continues to receive the user's shooting operation.

[0079] Figure 3 A coordinate diagram of a color rectangular coordinate system provided in an embodiment of this disclosure is shown.

[0080] like Figure 3 As shown, in the color rectangular coordinate system, the first device can determine the preset area around the second color feature data 301 as the recognition area 303. The first device can determine whether the first color feature data 302 is within the recognition area 303 of the second color feature data 301 in the color rectangular coordinate system. If the first color feature data 302 is within the recognition area 303 of the second color feature data 301 in the color rectangular coordinate system, the first device can send a shot hit information to the second device used by the second user. If the first color feature data 302 is not within the recognition area 303 of the second color feature data 301 in the color rectangular coordinate system, the first device continues to display the first real-time preview image.

[0081] In other embodiments of this disclosure, the first device may send the shot hit information to the server, which stores and processes the shot hit information. The server may then forward the processed shot hit information to the second device for display. This is not limited here.

[0082] Therefore, in this embodiment, a first real-time preview image can be displayed in the first shooting preview interface. Then, in response to the first user's shooting operation on the first shooting preview interface, color recognition is performed on the image content within the shooting crosshair range of the first real-time preview image to obtain the first color feature data corresponding to the image content within the shooting crosshair range. Finally, if the first color feature data is within the recognition area of ​​the second color feature data in the color Cartesian coordinate system, shooting hit information is sent to the second device used by the second user. Here, the second color feature data is the color feature data corresponding to the second user. Thus, the first real-time preview image can be displayed in the first shooting preview interface, and color recognition is performed on the image content within the shooting crosshair range of the first real-time preview image according to the first user's shooting operation to obtain the corresponding first color feature data. Then, when the first color feature data is within the recognition area of ​​the second color feature data in the color Cartesian coordinate system, shooting hit information is sent to the second device used by the second user. This allows for accurate identification of whether a shot has hit the target, without causing pain to the user, and without requiring expensive equipment.

[0083] Optionally, prior to S120, the shot hit determination method may further include: receiving second color feature data sent by the second device; storing the second color feature data in a color rectangular coordinate system; and determining a preset area around the second color feature data as the recognition area.

[0084] In this embodiment of the disclosure, the first device may receive second color feature data sent by the second device.

[0085] Optionally, the second device may send the second color feature data corresponding to the second user to the first device, and the first device may receive the second color feature data.

[0086] Furthermore, after receiving the second color feature data, the first device can store the second color feature data in a color rectangular coordinate system and determine the preset area around the second color feature data as the recognition area.

[0087] See also Figure 3 After receiving the second color feature data, the electronic device can store the second color feature data 201 in a color rectangular coordinate system and determine the preset area around the second color feature data 201 as the recognition area 303.

[0088] In other embodiments of this disclosure, the second device can send the second color feature data corresponding to the second user to the server, and the server can store and forward the second color feature data. The first device can receive the second color feature data forwarded by the server, which is not limited here.

[0089] Therefore, the first device can store the second color feature data corresponding to the second user in a color Cartesian coordinate system, which is beneficial for subsequent accurate identification of whether the shot has hit.

[0090] Optionally, prior to S130, the shooting hit determination method may further include: determining whether the first color feature data is within the recognition area of ​​the second color feature data in the color rectangular coordinate system, and whether the second user is identified within the range of the shooting crosshair in the first real-time preview image.

[0091] In this embodiment of the disclosure, after obtaining the first color feature data, the first device can determine in the color Cartesian coordinate system whether the first color feature data is within the recognition area of ​​the second color feature data, and whether the second user is recognized within the range of the shooting crosshair in the first real-time preview image.

[0092] See also Figure 3 After obtaining the first color feature data, the first device can determine in the color Cartesian coordinate system whether the first color feature data 302 is within the recognition area 303 of the second color feature data 301, and then continue to refer to... Figure 2 The first device can determine whether the second user is detected within the range of the crosshair 202 in the first real-time preview image displayed in the first shooting preview interface 201.

[0093] In some embodiments, if the first color feature data is within the recognition area of ​​the second color feature data, and the second user is identified within the range of the crosshair in the first real-time preview image, a shot hit information is sent to the second device used by the second user.

[0094] In this embodiment of the disclosure, if the first device determines that the first color feature data is within the recognition area of ​​the second color feature data, and identifies the second user within the range of the crosshair in the first real-time preview image, it can determine that the shooting operation hits the second user and send shooting hit information to the second device used by the second user.

[0095] See also Figure 3 After obtaining the first color feature data, if the first device determines that the first color feature data 302 is within the recognition area 303 of the second color feature data 301 in the color Cartesian coordinate system, it then continues to refer to... Figure 2 If the first device identifies the second user within the range of the shooting crosshair 202 in the first real-time preview image displayed in the first shooting preview interface 201, it can determine that the shooting operation hit the second user and send the shooting hit information to the second device used by the second user.

[0096] In other embodiments, if the first color feature data is within the recognition area of ​​the second color feature data, but the second user is not recognized within the range of the crosshair in the first real-time preview image, the shooting hit information is not sent to the second device used by the second user, and the first real-time preview image continues to be displayed.

[0097] In this embodiment of the present disclosure, if the first device determines that the first color feature data is within the recognition area of ​​the second color feature data, but the second user is not recognized within the range of the crosshair in the first real-time preview image, then the first device can determine that the shooting operation did not hit the second user. The first device will not send the shooting hit information to the second device used by the second user, and will continue to display the first real-time preview image.

[0098] See also Figure 3 After obtaining the first color feature data, if the first device determines that the first color feature data 302 is within the recognition area 303 of the second color feature data 301 in the color Cartesian coordinate system, it then continues to refer to... Figure 2 If the first device determines that the second user is not identified within the range of the shooting crosshair 202 in the first real-time preview image displayed in the first shooting preview interface 201, it can be determined that the shooting operation did not hit the second user. The first device will not send shooting hit information to the second device used by the second user and will continue to display the first real-time preview image.

[0099] In some other embodiments, if the first color feature data is within the recognition area of ​​the second color feature data, the shot hit information is not sent to the second device used by the second user, and the first real-time preview image continues to be displayed.

[0100] In this embodiment of the present disclosure, if the first device determines that the first color feature data is within the recognition area of ​​the second color feature data, it can determine that the shooting operation did not hit the second user. The first device does not send the shooting hit information to the second device used by the second user and continues to display the first real-time preview image.

[0101] Figure 4 A coordinate diagram of another color rectangular coordinate system provided in an embodiment of this disclosure is shown.

[0102] like Figure 4 As shown, after obtaining the first color feature data, if the first device determines that the first color feature data 402 is within the recognition area 403 of the second color feature data 401 in the color Cartesian coordinate system, it can determine that the shooting operation did not hit the second user. The first device does not send the shooting hit information to the second device used by the second user and continues to display the first real-time preview image.

[0103] Therefore, in this embodiment of the present disclosure, after determining that the second user has been hit based on the first color feature data, the first device can continue to identify the image content within the range of the shooting crosshair in the first real-time preview image, and determine that the shot has hit if the second user is identified, thereby further improving the accuracy of the shot hit judgment and improving the gaming experience.

[0104] Optionally, after S130, the shooting hit determination method may further include: identifying the body part of the second user within the range of the shooting sight; determining the damage score obtained from the shooting operation based on the preset body part score, and sending the obtained damage score to the second device.

[0105] In this embodiment of the disclosure, the first device can identify the body parts of the second user within the firing sight range after sending a shot hit information to the second device.

[0106] Optionally, body parts can be any part of the user's body. For example, body parts can include the head, hands, chest, etc., without limitation.

[0107] Specifically, after sending the shot hit information to the second device, the first device can identify the body parts of the second user within the range of the shooting crosshair in the first real-time preview image. That is, it can be identified by any image recognition method, which is not limited here.

[0108] Furthermore, after identifying the body parts of the second user, the first device can determine the damage score of the shooting operation based on the preset body part score, and send the damage score to the second device.

[0109] Optionally, the preset scores for different body parts can be pre-defined scores for each body part. For example, the preset score for the head is 50 points, the preset score for the hands is 20 points, and so on. There are no limitations here.

[0110] Optionally, the resulting damage score can be used to characterize the corresponding damage score obtained after the shooting operation hits the second user.

[0111] Specifically, after identifying a body part of the second user, the first device can determine the damage score of the shooting operation based on a preset body part score. For example, if the second user's hand is identified, the damage score of the shooting operation can be determined to be 20 points, and the damage score can be sent to the second device.

[0112] In other embodiments of this disclosure, the first device may send the obtained damage score to the server, which will then process the obtained damage score and forward it to the second device; this is not limited here.

[0113] Therefore, in this embodiment of the disclosure, the first device can further obtain an accurate damage score based on the identified body parts, which can improve the playability of the game and increase the user's gaming enjoyment.

[0114] Figure 5 A flowchart illustrating another method for determining a shot hit provided in an embodiment of this disclosure is shown.

[0115] In this embodiment of the disclosure, the shot hit determination method can be executed by a second device. The second device may include, but is not limited to, mobile terminals such as laptops, PDAs (personal digital assistants), and PADs (tablet computers).

[0116] like Figure 5 As shown, the method for determining a shot hit may include the following steps.

[0117] S510. Receive shooting hit information. The shooting hit information is sent from the first device to the second device when the first color feature data is within the recognition area of ​​the second color feature data in the color rectangular coordinate system. The second color feature data is the color feature data corresponding to the second user using the second device. The first color feature data is the color feature data corresponding to the image content within the shooting crosshair range obtained by color recognition of the first real-time preview image. The first real-time preview image is the real-time preview image displayed by the first device when the first user triggers the shooting operation.

[0118] In this embodiment of the disclosure, the second device can receive the shot hit information sent by the first device.

[0119] Specifically, when the first device displays a first real-time preview image in the first shooting preview interface, in response to the first user's shooting operation on the first shooting preview interface, it performs color recognition on the image content within the shooting crosshair range of the first real-time preview image to obtain the first color feature data corresponding to the image content within the shooting crosshair range. Then, when the first color feature data is within the recognition area of ​​the second color feature data in the color rectangular coordinate system, it sends shooting hit information to the second device. The second color feature data can be the color feature data corresponding to the second user using the second device. The second device can receive the shooting hit information sent by the first device.

[0120] In some embodiments of this disclosure, the first device sends a shot hit information to the server, and the second device can receive the shot hit information forwarded by the server, which is not limited here.

[0121] S520: Displays the corresponding battle results based on the hit information.

[0122] In this embodiment of the disclosure, the second device can display the corresponding battle results based on the shot hit information.

[0123] Specifically, the second device can receive the shot hit information sent by the second device, and generate and display the corresponding battle results based on the shot hit information, such as displaying it through a pop-up floating window, providing prompts through voice broadcast, etc., without limitation here.

[0124] Therefore, in this embodiment of the disclosure, the second device can display the corresponding battle results based on the shooting hit information, making it easier for users to understand the game progress and improving the user's gaming experience.

[0125] Optionally, prior to S510, the shooting hit determination method may further include: displaying a second real-time preview image in the second shooting preview interface; responding to the second user's photo-taking operation on the second shooting preview interface, performing color recognition on the second user in the second real-time preview image to obtain second color feature data corresponding to the second user; and sending the second color feature data to the first device.

[0126] In this embodiment of the disclosure, the second device can display a second real-time preview image within a second shooting preview interface.

[0127] Optionally, the second shooting preview interface can be an interface used to display a second real-time preview image.

[0128] Optionally, the second real-time preview image can be an image acquired in real time by a second device.

[0129] Specifically, the second user can play shooting games through a second device with shooting software installed. The second device can acquire a second real-time preview image through an image acquisition device, such as a camera, and display the second real-time preview image in the second shooting preview interface.

[0130] Furthermore, the second device can perform color recognition on the second user in the second real-time preview image by taking a picture of the second user in the second shooting preview interface, obtain the second color feature data corresponding to the second user, and send the second color feature data to the first device.

[0131] Optionally, the photo-taking operation can be a user taking a photo using a second device. This operation can include tapping, long-pressing, or other actions on the camera control.

[0132] Optionally, the first color feature data can be feature data used to characterize the color channels corresponding to the second user in a color Cartesian coordinate system. The color feature data can be red (R), green (G), and blue (B) three-channel data.

[0133] Specifically, after the second device displays the second real-time preview image in the second shooting preview interface, it can respond to the second user's photo-taking operation on the second shooting preview interface, such as the second user clicking the photo-taking control in the second shooting preview interface, perform color recognition on the second user in the second real-time preview image, thereby obtaining the second color feature data corresponding to the second user, and send the second color feature data to the first device.

[0134] Figure 6 A schematic diagram of another shooting preview interface provided in an embodiment of this disclosure is shown.

[0135] like Figure 6 As shown, the second shooting preview interface 601 includes a second user 602 and a photo control 603. The second user can take a photo using the photo control 603. In response to the photo taking operation, the second device can perform color recognition on the second user 602 in the second shooting preview interface 601 to obtain the second color feature data corresponding to the second user 602, and send the second color feature data to the first device.

[0136] In some embodiments of this disclosure, the second device may send the second color feature data to the server, and the server may forward the second color feature data to the first device; this is not limited here.

[0137] Optionally, the shot hit determination method may further include: receiving the obtained damage score sent by the first device.

[0138] In this embodiment of the disclosure, the second device can receive the obtained damage score sent by the second device.

[0139] Furthermore, the second device can display the damage score and battle results.

[0140] Optionally, the battle results may include hit information, shooting tips, and game result information.

[0141] Specifically, the second device can display the damage score and battle results, such as hit information, for example, the shooting operation has hit, shooting prompt information, for example, the cumulative hit score has reached 100 points, the shooting function is prohibited, game result information, for example, the cumulative hit score has reached 100 points, the game ends, or the damage score, for example, the first user hit the hand and got 20 points.

[0142] Therefore, the second device can display the damage score and battle results, which can improve the game's playability and increase the user's enjoyment.

[0143] This disclosure also provides a shot hit determination system, including a first device and a second device.

[0144] The first device can be used to display a first real-time preview image in a first shooting preview interface. In response to the shooting operation of the first user on the first shooting preview interface, the device performs color recognition on the image content within the range of the shooting crosshair in the first real-time preview image to obtain the first color feature data corresponding to the image content within the range of the shooting crosshair. If the first color feature data is located within the recognition area of ​​the second color feature data in the color rectangular coordinate system, the device sends shooting hit information to the second device used by the second user. The second color feature data is the color feature data corresponding to the second user.

[0145] The second device can be used to receive shooting hit information. The shooting hit information is sent by the first device to the second device when the first color feature data is within the recognition area of ​​the second color feature data in the color rectangular coordinate system. The second color feature data is the color feature data corresponding to the second user using the second device. The first color feature data is the color feature data corresponding to the image content within the shooting crosshair range obtained by color recognition of the first real-time preview image. The first real-time preview image is the real-time preview image displayed by the first device when the first user triggers the shooting operation. According to the shooting hit information, the corresponding battle result is displayed.

[0146] Figure 7 A schematic diagram of a shooting hit determination device provided in an embodiment of this disclosure is shown.

[0147] like Figure 7 As shown, the shot hit determination device 700 may include a first display module 710, a first identification module 720, and a first sending module 730.

[0148] The first display module 710 can be used to display a first real-time preview image within a first shooting preview interface.

[0149] The first recognition module 720 can be used to respond to the shooting operation of the first user on the first shooting preview interface, to perform color recognition on the image content within the range of the shooting crosshair in the first real-time preview image, and to obtain the first color feature data corresponding to the image content within the range of the shooting crosshair.

[0150] The first sending module 730 can be used to send shooting hit information to the second device used by the second user if the first color feature data is located within the recognition area of ​​the second color feature data in the color rectangular coordinate system. The second color feature data is the color feature data corresponding to the second user.

[0151] Therefore, in this embodiment, a first real-time preview image can be displayed in the first shooting preview interface. Then, in response to the first user's shooting operation on the first shooting preview interface, color recognition is performed on the image content within the shooting crosshair range of the first real-time preview image to obtain the first color feature data corresponding to the image content within the shooting crosshair range. Finally, if the first color feature data is within the recognition area of ​​the second color feature data in the color Cartesian coordinate system, shooting hit information is sent to the second device used by the second user. Here, the second color feature data is the color feature data corresponding to the second user. Thus, the first real-time preview image can be displayed in the first shooting preview interface, and color recognition is performed on the image content within the shooting crosshair range of the first real-time preview image according to the first user's shooting operation to obtain the corresponding first color feature data. Then, when the first color feature data is within the recognition area of ​​the second color feature data in the color Cartesian coordinate system, shooting hit information is sent to the second device used by the second user. This allows for accurate identification of whether a shot has hit the target, without causing pain to the user, and without requiring expensive equipment.

[0152] In some embodiments of this disclosure, the shot hit determination device 700 may further include a first receiving module and a data storage module.

[0153] The first receiving module can be used to receive second color feature data sent by the second device before, in response to the first user's shooting operation on the first shooting preview interface, the first real-time preview image performs color recognition on the image content within the shooting crosshair range to obtain the first color feature data corresponding to the image content within the shooting crosshair range.

[0154] This data storage module can be used to store the second color feature data in a color rectangular coordinate system and determine the preset area around the second color feature data as the recognition area.

[0155] In some embodiments of this disclosure, the shot hit determination device 700 may further include a data determination module.

[0156] The data judgment module can be used to determine, in the color rectangular coordinate system, whether the first color feature data is within the recognition area of ​​the second color feature data, and whether the second user is recognized within the range of the shooting crosshair in the first real-time preview image, before sending the shooting hit information to the second device used by the second user if the first color feature data is within the recognition area of ​​the second color feature data in the color rectangular coordinate system.

[0157] In some embodiments of this disclosure, the data judgment module may specifically include an information sending unit.

[0158] The information sending unit can be used to send shooting hit information to the second device used by the second user when the first color feature data is within the recognition area of ​​the second color feature data and the second user is identified within the shooting crosshair range in the first real-time preview image.

[0159] In some embodiments of this disclosure, the shot hit determination device 700 may further include a second identification module and a second sending module.

[0160] The second identification module can be used to identify the body parts of the second user within the firing sight range after sending the shooting hit information to the second device used by the second user.

[0161] The second sending module can be used to determine the damage score obtained from the shooting operation based on the preset part score, and send the obtained damage score to the second device.

[0162] It should be noted that, Figure 7 The shot hit determination device 700 shown can perform... Figures 1 to 4 The various steps in the method embodiment shown are implemented. Figures 1 to 4 The processes and effects in the method embodiments shown are not described in detail here.

[0163] Figure 8 A schematic diagram of another shot hit determination device provided in an embodiment of this disclosure is shown.

[0164] like Figure 8 As shown, the shot hit determination device 800 may include a second receiving module 810 and a second display module 820.

[0165] The second receiving module 810 can be used to receive shooting hit information. The shooting hit information is sent by the first device to the second device when the first color feature data is within the recognition area of ​​the second color feature data in the color rectangular coordinate system. The second color feature data is the color feature data corresponding to the second user using the second device. The first color feature data is the color feature data corresponding to the image content within the shooting crosshair range obtained by color recognition of the first real-time preview image. The first real-time preview image is the real-time preview image displayed by the first device when the first user triggers the shooting operation.

[0166] The second display module 820 can be used to display the corresponding battle results based on the shooting hit information.

[0167] Therefore, in this embodiment of the disclosure, the second device can display the corresponding battle results based on the shooting hit information, making it easier for users to understand the game progress and improving the user's gaming experience.

[0168] In some embodiments of this disclosure, the shot hit determination device 800 may further include a third display module, a second identification module, and a third transmission module.

[0169] The third display module can be used to display a second real-time preview image within the second shooting preview interface before receiving the shooting hit information.

[0170] The second recognition module can be used to respond to the second user's photo-taking operation on the second shooting preview interface, perform color recognition on the second user in the second real-time preview image, and obtain the second color feature data corresponding to the second user.

[0171] The third sending module can be used to send the second color feature data to the first device.

[0172] In some embodiments of this disclosure, the shot hit determination device 800 may further include a third receiving module.

[0173] The third receiving module can be used to receive the damage score sent by the first device.

[0174] In some embodiments of this disclosure, the second display module can also be specifically used to display the obtained damage score and battle results, including hit information, shooting prompt information and game result information.

[0175] It should be noted that, Figure 8 The shot hit determination device 800 shown can perform... Figures 5 to 6 The various steps in the method embodiment shown are implemented. Figures 5 to 6 The processes and effects in the method embodiments shown are not described in detail here.

[0176] Figure 9 A schematic diagram of a shooting hit determination device provided in an embodiment of this disclosure is shown.

[0177] In some embodiments of this disclosure, Figure 9 The shooting hit determination device shown can be any electronic device that the user wants to determine the shooting hit. Specifically, the electronic device can include, but is not limited to, mobile terminals such as mobile phones, in-vehicle devices, vehicle controllers, tablets, wearable devices, and smart home devices.

[0178] like Figure 9 As shown, the shot hit determination device may include a processor 901 and a memory 902 storing computer program instructions.

[0179] Specifically, the processor 901 may include a central processing unit (CPU), an application-specific integrated circuit (ASIC), or one or more integrated circuits that can be configured to implement the embodiments of this application.

[0180] Memory 902 may include a large-capacity storage for information or instructions. For example, and not limitingly, memory 902 may include a hard disk drive (HDD), a floppy disk drive, flash memory, optical disk, magneto-optical disk, magnetic tape, or a Universal Serial Bus (USB) drive, or a combination of two or more of these. Where appropriate, memory 902 may include removable or non-removable (or fixed) media. Where appropriate, memory 902 may be internal or external to the integrated gateway device. In a particular embodiment, memory 902 is a non-volatile solid-state memory. In a particular embodiment, memory 902 includes read-only memory (ROM). Where appropriate, the ROM may be a mask-programmed ROM, a programmable ROM (PROM), an erasable PROM (Electrically Programmable ROM, EPROM), an electrically erasable programmable PROM (EEPROM), an electrically alterable ROM (EAROM), or flash memory, or a combination of two or more of these.

[0181] The processor 901 reads and executes computer program instructions stored in the memory 902 to perform the steps of the shot hit determination method provided in the embodiments of this disclosure.

[0182] In one example, the hit determination device may further include a transceiver 903 and a bus 904. Wherein, as... Figure 9 As shown, the processor 901, memory 902 and transceiver 903 are connected via bus 904 and communicate with each other.

[0183] Bus 904 includes hardware, software, or both. For example, and not limitingly, a bus may include an Accelerated Graphics Port (AGP) or other graphics bus, an Extended Industry Standard Architecture (EISA) bus, a Front Side Bus (FSB), a Hyper Transport (HT) interconnect, an Industrial Standard Architecture (ISA) bus, an Infinite Bandwidth Interconnect, a Low Pin Count (LPC) bus, a memory bus, a MicroChannel Architecture (MCA) bus, a Peripheral Component Interconnect (PCI) bus, a PCI-Express (PCI-X) bus, a Serial Advanced Technology Attachment (SATA) bus, a Video Electronics Standards Association Local Bus (VLB) bus, or other suitable buses, or a combination of two or more of these. Where appropriate, bus 904 may include one or more buses. Although specific buses are described and illustrated in the embodiments of this application, this application considers any suitable bus or interconnection.

[0184] This disclosure also provides a computer-readable storage medium that can store a computer program. When the computer program is executed by a processor, the processor enables the processor to implement the shooting hit determination method provided in this disclosure.

[0185] The aforementioned storage medium may, for example, include a memory 902 containing computer program instructions, which can be executed by the processor 901 of the shot hit determination device to complete the shot hit determination method provided in this embodiment. Optionally, the storage medium may be a non-transitory computer-readable storage medium, such as a ROM, random access memory (RAM), compact disc-only memory (CD-ROM), magnetic tape, floppy disk, and optical data storage device.

[0186] It should be noted that, in this document, relational terms such as "first" and "second" are used merely to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the term "comprising" is intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus.

[0187] The above description is merely a specific embodiment of this disclosure, enabling those skilled in the art to understand or implement it. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of this disclosure. Therefore, this disclosure is not to be limited to the embodiments described herein, but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A method for determining a shot hit, characterized in that, Applied to the first device, including: The first real-time preview image is displayed in the first shooting preview interface; In response to the first user's shooting operation on the first shooting preview interface, color recognition is performed on the image content within the shooting crosshair range in the first real-time preview image to obtain the first color feature data corresponding to the image content within the shooting crosshair range; If the first color feature data is located within the recognition area of ​​the second color feature data in the color rectangular coordinate system, a shot hit information is sent to the second device used by the second user, and the second color feature data is the color feature data corresponding to the second user. The color recognition is an image processing operation that extracts and recognizes the RGB three-channel colors of the image content within the range of the shooting crosshair, takes the average value, maps the color information to the color rectangular coordinate system, and obtains the corresponding color feature data. The color rectangular coordinate system is a two-dimensional coordinate system constructed based on the three colors, wherein the horizontal coordinate of the color rectangular coordinate system is R / G and the vertical coordinate is B / G; The recognition area of ​​the second color feature data is a preset area around the second color feature data in the color rectangular coordinate system.

2. The method according to claim 1, characterized in that, Before performing color recognition on the image content within the firing crosshair range of the first real-time preview image in response to a shooting operation by a first user on the first shooting preview interface, and obtaining the first color feature data corresponding to the image content within the firing crosshair range, the method further includes: Receive the second color feature data sent by the second device; The second color feature data is stored in the color Cartesian coordinate system, and a preset area around the second color feature data is determined as the recognition area.

3. The method according to claim 1, characterized in that, Before sending the shot hit information to the second device used by the second user if the first color feature data is located within the recognition area of ​​the second color feature data in the color Cartesian coordinate system, the method further includes: In the color rectangular coordinate system, it is determined whether the first color feature data is within the recognition area of ​​the second color feature data, and whether the second user is recognized within the range of the shooting crosshair in the first real-time preview image; Wherein, if the first color feature data is located within the recognition area of ​​the second color feature data in the color Cartesian coordinate system, sending the shot hit information to the second device used by the second user includes: If the first color feature data is within the recognition area of ​​the second color feature data, and the second user is identified within the range of the crosshair in the first real-time preview image, the shooting hit information is sent to the second device used by the second user.

4. The method according to claim 1, characterized in that, After sending the shot hit information to the second device used by the second user, the method further includes: Identify the body parts of the second user within the range of the firing sight; The damage score obtained from the shooting operation is determined based on the preset part score, and the obtained damage score is sent to the second device.

5. The method according to claim 1, characterized in that, Applied to a second device, including: Receive shooting hit information, wherein the shooting hit information is sent by the first device to the second device when the first color feature data is within the recognition area of ​​the second color feature data in the color rectangular coordinate system, the second color feature data is the color feature data corresponding to the second user using the second device, the first color feature data is the color feature data corresponding to the image content within the shooting crosshair obtained by color recognition of the first real-time preview image, and the first real-time preview image is the real-time preview image displayed by the first device when the first user triggers the shooting operation; Based on the shot hit information, the corresponding battle results are displayed; Prior to receiving the shot hit information, the method further includes: The second real-time preview image is displayed within the second shooting preview interface; In response to the second user's photo-taking operation on the second shooting preview interface, the second user in the second real-time preview image is color-identified to obtain the second color feature data corresponding to the second user; The second color feature data is sent to the first device.

6. The method according to claim 5, characterized in that, The method includes: Receive the damage score sent by the first device; The display of the corresponding battle results includes: The system displays the damage score and the battle results, which include hit information, shooting prompts, and game outcome information.

7. A determination device applying the method of claim 6, characterized in that, Applied to the first device, including: The first display module is used to display the first real-time preview image within the first shooting preview interface; The first recognition module is used to respond to the shooting operation of the first user on the first shooting preview interface, to perform color recognition on the image content within the shooting crosshair range in the first real-time preview image, and to obtain the first color feature data corresponding to the image content within the shooting crosshair range; The first sending module is used to send a shot hit information to the second device used by the second user if the first color feature data is located within the recognition area of ​​the second color feature data in the color rectangular coordinate system, wherein the second color feature data is the color feature data corresponding to the second user.

8. A determination apparatus applying the method of claim 6, characterized in that, Applied to a second device, including: The second receiving module receives shooting hit information. The shooting hit information is sent from the first device to the second device when the first color feature data is within the recognition area of ​​the second color feature data in the color rectangular coordinate system. The second color feature data is the color feature data corresponding to the second user using the second device. The first color feature data is the color feature data corresponding to the image content within the shooting crosshair range obtained by color recognition of the first real-time preview image. The first real-time preview image is the real-time preview image displayed by the first device when the first user triggers the shooting operation. The second display module displays the corresponding battle results based on the shooting hit information.

9. A determination system applying the method of claim 6, characterized in that, include: A first device is configured to display a first real-time preview image within a first shooting preview interface. In response to a first user's shooting operation on the first shooting preview interface, the device performs color recognition on the image content within the range of the shooting crosshair in the first real-time preview image to obtain first color feature data corresponding to the image content within the range of the shooting crosshair. If the first color feature data is located within the recognition area of ​​the second color feature data in the color rectangular coordinate system, the device sends shooting hit information to the second device used by the second user. The second color feature data is the color feature data corresponding to the second user. The second device is used to receive shooting hit information. The shooting hit information is sent by the first device to the second device when the first color feature data is within the recognition area of ​​the second color feature data in the color rectangular coordinate system. The second color feature data is the color feature data corresponding to the second user using the second device. The first color feature data is the color feature data corresponding to the image content within the shooting crosshair range obtained by color recognition of the first real-time preview image. The first real-time preview image is the real-time preview image displayed by the first device when the first user triggers the shooting operation. According to the shooting hit information, the corresponding battle result is displayed.