Game props operation event detection method, device, equipment and system

By detecting and comparing video frames in the game area, it is automatically judged whether the game prop operation complies with the rules, solving the problem of abnormal operation detection in the game, ensuring the fairness of the game and user experience.

CN113543862BActive Publication Date: 2024-12-06李芸
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202180001748.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2021-06-24
Filing Date
2021-06-28
Publication Date
2024-12-06
Estimated Expiration
2041-06-28

AI Technical Summary

Technical Problem

The prior art is difficult to effectively detect and prevent abnormal operation of game props during the game, resulting in unfair game results and affecting user experience.

Method used

By obtaining video frames in the game area, detecting the information of game props, comparing the target detection results with historical detection results, determining the operation sequence identification, and determining whether the game prop operation event is abnormal based on the matching results of the operation sequence identification and position information, issuing an exception prompt message .

Benefits of technology

It realizes automatic detection of game prop operations, timely discovers abnormal operations, ensures orderly progress of the game, and improves game fairness and user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113543862B_ABST
    Figure CN113543862B_ABST
Patent Text Reader

Abstract

The embodiments of this specification provide a method, device, equipment, system and storage medium for detecting game prop operation events. When detecting game prop operation events in a game area, the operation sequence identifier of the game props in the video frame can be determined based on the comparison result of the information of the game props in the video frame of the game area collected before and after, and whether the game prop operation event is abnormal can be determined based on the matching result of the determined operation sequence identifier and the position information of the game props identified from the video frame. Through the above method, it is possible to automatically determine whether the operation of the game props by the operating component complies with the game rules, timely discover abnormal operation events during the game process, and ensure that the game proceeds in an orderly manner.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of monitoring technology, and in particular to a detection method, device, system, equipment and storage medium for a game prop operation event. Background Art

[0002] With the development of technology, more and more scenarios have higher requirements for intelligence. Take the game scenario as an example. Usually, the operation of game props during the game must comply with the rules of the game. At present, it mainly depends on the users themselves to supervise and discover abnormal operations of game props during the game. There may be abnormal operations of game props that are not discovered in time, or some users may deliberately cheat during the game, resulting in unfair game results and affecting user experience. Therefore, it is necessary to provide a more intelligent method to automatically detect the operation events of game props during the game. Summary of the invention

[0003] The present invention provides a method, device, system, equipment and storage medium for detecting a game prop operation event.

[0004] According to a first aspect of an embodiment of the present disclosure, a method for detecting a game prop operation event is provided, the method comprising:

[0005] Get the first video frame of the game area;

[0006] Detecting information of the game props in the first video frame to obtain a target detection result;

[0007] Determine, according to a comparison result between the target detection result and the historical detection result, an operation sequence identifier of the game prop in the first video frame, wherein the historical detection result is determined based on information of the game prop in a second video frame, the second video frame is collected before the first video frame, and the operation sequence identifier is used to indicate the operation sequence of the operating component on the game prop;

[0008] It is determined whether a game prop operation event occurring in the game area is abnormal based on a matching result of the operation sequence identifier of the game prop and the position information of the game prop, wherein the position information is used to indicate the position of the game prop in the game area.

[0009] In some embodiments, the information of the game props includes the position information of the game props and / or identification information displayed on the identification surface of the game props.

[0010] In some embodiments, the method further comprises: storing the operation sequence identifier of the game prop in association with the information of the game prop.

[0011] In some embodiments, the obtaining of a first video frame of the game area includes:

[0012] Get the original video frame of the game area;

[0013] When it is detected that the coverage ratio of the operating component and the game prop in the original video frame is less than a preset threshold, and the position of the game prop in the original video frame is consistent with the position of the game prop in the first N frames of the original video frame, the original video frame is determined to be the first video frame, where N is a positive integer.

[0014] In some embodiments, obtaining a first video frame of the game area includes:

[0015] When the game state in the game area is a game item operation state, a first video frame of the game area is acquired.

[0016] In some embodiments, the coverage ratio of the operating component to the game prop is determined based on the following method:

[0017] Determine a first detection frame corresponding to the game prop in the original video frame;

[0018] Determine a second detection frame corresponding to the operating component in the original video frame;

[0019] The coverage ratio of the operating component and the game prop is determined according to the coverage ratio of the second detection frame and the first detection frame.

[0020] In some embodiments, determining whether a game prop operation event occurring in the game area is abnormal based on a matching result between the operation sequence identifier of the game prop and the position information of the game prop includes:

[0021] When it is determined that the operation sequence identifier of the game prop matches the position information of the game prop, it is determined that there is no abnormality in the game prop operation event occurring in the game area.

[0022] In some embodiments, the game area includes a first sub-area and a second sub-area for placing the game props, and determining that there is no abnormality in the game prop operation event occurring in the game area when it is determined that the operation sequence identifier of the game prop matches the position information of the game prop includes determining that there is no abnormality in the game prop operation event occurring in the game area when it is detected that the matching result of the operation sequence identifier and the position information of the game prop meets the following conditions: the operation sequence identifier indicates that the game prop is the first game prop or the third game prop operated by the operating component, and the position information indicates that the game prop is located in the first sub-area; or

[0023] The operation sequence identifier indicates that the game prop is the second game prop or the fourth game prop operated by the operating component, and the position information indicates that the game prop is located in the second sub-area; or

[0024] The operation sequence identifier indicates that the game prop is the fifth or sixth game prop operated by the operating component, and the position information indicates that the game prop is located in a target sub-area, wherein the target sub-area is determined based on the identification information displayed on the identification surfaces of the first four game props operated by the operating component, and the target sub-area is the first sub-area or the second sub-area.

[0025] In some embodiments, when it is determined based on the matching result of the operation sequence identifier of the game prop and the position information of the game prop that the game prop operation event occurring in the game area is abnormal, an abnormal prompt message is issued.

[0026] In some embodiments, it also includes:

[0027] When it is detected that the number of game props in the game area does not match the number of game props in the game area when determining the processing result of the game, an abnormal prompt message is issued.

[0028] In some embodiments, the game in the gaming area comprises a card game, and the game props comprise playing cards.

[0029] According to a second aspect of an embodiment of the present disclosure, a device for detecting a game prop operation event is provided, the device comprising:

[0030] An acquisition module, used for acquiring a first video frame of a game area;

[0031] A detection module, used to detect the information of the game props in the first video frame to obtain a target detection result;

[0032] an operation sequence identifier determination module, configured to determine an operation sequence identifier of the game prop in the first video frame according to a comparison result between the target detection result and the historical detection result, wherein the historical detection result is determined based on information of the game prop in a second video frame, the second video frame is collected before the first video frame, and the operation sequence identifier is used to indicate an operation sequence of an operating component on the game prop;

[0033] The abnormality determination module is used to determine whether the game prop operation event occurring in the game area is abnormal based on the matching result of the operation sequence identifier of the game prop and the position information of the game prop, wherein the position information is used to indicate the position of the game prop in the game area.

[0034] In some embodiments, the information of the game props includes the position information of the game props and / or identification information displayed on the identification surface of the game props.

[0035] In some embodiments, the detection device is further used to: store the operation sequence identifier of the game prop in association with the information of the game prop.

[0036] In some embodiments, when the acquisition module is used to acquire the first video frame of the game area, it is specifically used to:

[0037] Get the original video frame of the game area;

[0038] When it is detected that the coverage ratio of the operating component and the game prop in the original video frame is less than a preset threshold, and the position of the game prop in the original video frame is consistent with the position of the game prop in the first N frames of the original video frame, the original video frame is determined to be the first video frame, where N is a positive integer.

[0039] In some embodiments, when the acquisition module is used to acquire the first video frame of the game area, it is specifically used to:

[0040] When the game state in the game area is a game item operation state, a first video frame of the game area is acquired.

[0041] In some embodiments, the coverage ratio of the operating component to the game prop is determined based on the following method:

[0042] Determine a first detection frame corresponding to the game prop in the original video;

[0043] Determine a second detection frame corresponding to the operating component in the original video;

[0044] The coverage ratio of the operating component and the game prop is determined according to the coverage ratio of the second detection frame and the first detection frame.

[0045] In some embodiments, the abnormality determination module is used to determine whether the game prop operation event occurring in the game area is abnormal according to the matching result of the operation sequence identifier of the game prop and the position information of the game prop, specifically to:

[0046] When it is determined that the operation sequence identifier of the game prop matches the position information of the game prop, it is determined that there is no abnormality in the game prop operation event occurring in the game area.

[0047] In some embodiments, the game area includes a first sub-area and a second sub-area for placing the game props, and determining that there is no abnormality in the game prop operation event occurring in the game area when it is determined that the operation sequence identifier of the game prop matches the position information of the game prop includes determining that there is no abnormality in the game prop operation event occurring in the game area when it is detected that the matching result of the operation sequence identifier and the position information of the game prop meets the following conditions:

[0048] The operation sequence identifier indicates that the game prop is the first game prop or the third game prop operated by the operating component, and the position information indicates that the game prop is located in the first sub-area; or

[0049] The operation sequence identifier indicates that the game prop is the second game prop or the fourth game prop operated by the operating component, and the position information indicates that the game prop is located in the second sub-area; or

[0050] The operation sequence identifier indicates that the game prop is the fifth or sixth game prop operated by the operating component, and the position information indicates that the game prop is located in a target sub-area, wherein the target sub-area is determined based on the identification information displayed on the identification surfaces of the first four game props operated by the operating component, and the target sub-area is the first sub-area or the second sub-area.

[0051] In some embodiments, the anomaly detection module is further used to issue an abnormal prompt message when it is determined that the game prop operation event occurring in the game area is abnormal based on the matching result of the operation sequence identifier of the game prop and the position information of the game prop.

[0052] In some embodiments, the detection device is further used to:

[0053] When it is detected that the number of game props in the game area does not match the number of game props in the game area when determining the processing result of the game, an abnormal prompt message is issued.

[0054] In some embodiments, the game in the gaming area comprises a card game, and the game props comprise playing cards.

[0055] According to a third aspect of an embodiment of the present disclosure, an electronic device is provided, comprising a processor, a memory, and a computer program stored in the memory and executable by the processor, wherein when the processor executes the computer program, the method mentioned in the first aspect is implemented.

[0056] According to a fourth aspect of an embodiment of the present disclosure, a computer-readable storage medium is provided, on which computer-readable instructions are stored. When the instructions are executed by a computer, the method mentioned in the first aspect can be implemented.

[0057] According to a fifth aspect of an embodiment of the present disclosure, a detection system is provided, the detection system comprising: an image acquisition device, a business system, and a user interaction device;

[0058] The image acquisition device is used to collect video of the game area and send it to the business system;

[0059] The business system is used to obtain a first video frame from the video; detect the information of the game props in the first video frame to obtain a target detection result; determine an operation sequence identifier of the game props in the first video frame according to a comparison result of the target detection result and a historical detection result, wherein the historical detection result is determined based on the information of the game props in a second video frame, the second video frame is collected before the first video frame, and the operation sequence identifier is used to indicate the operation sequence of the operation component on the game props; determine whether a game prop operation event occurring in the game area is abnormal according to a matching result of the game prop operation sequence identifier and the position information of the game prop, the position information is used to indicate the position of the game prop in the game area; if it is determined that the game prop operation event is abnormal, notify the user interaction device;

[0060] The interactive device is used to issue abnormal prompt information to prompt the user.

[0061] In the disclosed embodiment, when detecting the operation event of the game props in the game area, the operation sequence identifier of the game props in the video frame can be determined based on the comparison result of the information of the game props in the video frame of the game area collected before and after, and the game prop operation event can be determined based on the matching result of the determined operation sequence identifier and the position information of the game props identified from the video frame. Through the above method, it is possible to automatically determine whether the operation of the game props by the operating component complies with the game rules, timely discover abnormal operation events in the game process, and ensure that the game proceeds in an orderly manner.

[0062] It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0063] The drawings herein are incorporated into the specification and constitute a part of the specification. These drawings illustrate embodiments consistent with the present disclosure and are used to illustrate the technical solutions of the present disclosure together with the specification.

[0064] Figure 1 It is a schematic diagram of an application scenario of an embodiment of the present disclosure.

[0065] Figure 2 It is a flow chart of a method for detecting a game prop operation event according to an embodiment of the present disclosure.

[0066] Figure 3 It is a schematic diagram of determining the coverage ratio of an operating component and a game prop according to an embodiment of the present disclosure.

[0067] Figure 4 It is a logical structure diagram of a device for detecting a game prop operation event according to an embodiment of the present disclosure.

[0068] Figure 5 It is a schematic diagram of the logical structure of an electronic device according to an embodiment of the present disclosure. DETAILED DESCRIPTION

[0069] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.

[0070] The terms used in this disclosure are only for the purpose of describing specific embodiments and are not intended to limit the disclosure. The singular forms of "a", "said" and "the" used in this disclosure and the appended claims are also intended to include plural forms, unless the context clearly indicates other meanings. It should also be understood that the term "and / or" used herein refers to and includes any or all possible combinations of one or more associated listed items. In addition, the term "at least one" herein means any combination of at least two of any one or more of a plurality of.

[0071] It should be understood that although the terms first, second, third, etc. may be used in the present disclosure to describe various information, such information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, without departing from the scope of the present disclosure, the first information may also be referred to as the second information, and similarly, the second information may also be referred to as the first information. Depending on the context, the word "if" as used herein may be interpreted as "at the time of" or "when" or "in response to determining".

[0072] In order to enable those skilled in the art to better understand the technical solutions in the embodiments of the present disclosure and to make the above-mentioned purposes, features and advantages of the embodiments of the present disclosure more obvious and understandable, the technical solutions in the embodiments of the present disclosure are further described in detail below in conjunction with the accompanying drawings.

[0073] With the development of technology, more and more scenarios have higher requirements for intelligence. Taking the game scenario as an example, usually, the operation method of game props during the game must comply with the rules of the game. For example, the user needs to place the game props in the predetermined position, the user's operation order of the game props must comply with the preset order, the number of game props must comply with the preset rules, and so on. At present, it mainly depends on the user himself to supervise and discover abnormal operations during the game. There may be users' incorrect operations on game props that are not discovered in time, or some users have deliberate cheating during the game, resulting in abnormal operations during the game. Undetectable, unfair game results, affecting user experience, etc. Taking the card game as an example, there are usually requirements for the order of card distribution and the position of card distribution during the game. If the user is relied on to detect errors in the order of card distribution, there may be problems of missed identification or users deliberately cheating without being discovered. Therefore, it is necessary to provide a more intelligent and accurate detection method to detect game prop operation events during the game and timely discover abnormal operations during the game.

[0074] Based on this, the embodiments of the present disclosure provide a method for detecting game prop operation events. A video of a game area can be captured by an image capture device. The operation order of the game props can be determined by comparing the information of the game props in the video frames captured successively. Based on whether the operation order of the game props and the placement position of the game props match, it can be determined whether the user has placed the game props in a predetermined position according to the predetermined order during the game process, so as to determine whether there is an abnormality in the game prop operation event.

[0075] like Figure 1 FIG. 1 is a schematic diagram of an application scenario of an embodiment of the present disclosure. It should be noted that: Figure 1 This is just an illustrative example provided to explain the method provided in the embodiment of the present disclosure. The embodiment of the present disclosure is not limited to Figure 1 The scene shown. Figure 1A scene of a card game is shown. One or more image acquisition devices 12 can be set near the game area 11 (such as a game table) to collect video of the game area, and then send the collected video to the business system 13. The business system 13 and the image acquisition device 12 can be connected to each other by wired or wireless communication. The business system 13 can detect the video and determine whether there is an abnormality in the game process based on the detection result. When an abnormality is detected in the game, an abnormal prompt can be issued through the user interaction device 14 in the game area. Among them, the game area 11 includes area A and area B, which can be used to place cards issued by users. Among them, during the game, the cards need to be issued to areas A and B in a predetermined order. Therefore, during the game, the business system 13 needs to determine whether the order in which the user issues cards to areas A and B complies with the game rules based on the video collected by the image acquisition device.

[0076] Specifically, Figure 2 As shown, the method for detecting a game prop operation event in the embodiment of the present disclosure may include the following steps:

[0077] S202, obtaining the first video frame of the game area;

[0078] S204, detecting the information of the game props in the first video frame to obtain a target detection result;

[0079] S206, determining an operation sequence identifier of the game prop in the first video frame according to a comparison result between the target detection result and the historical detection result, wherein the historical detection result is determined based on information of the game prop in a second video frame, the second video frame is collected before the first video frame, and the operation sequence identifier is used to indicate the operation sequence of the operating component on the game prop;

[0080] S208. Determine whether the game prop operation event occurring in the game area is abnormal based on a matching result of the game prop operation sequence identifier and the game prop position information, wherein the position information is used to indicate the position of the game prop in the game area.

[0081] The game prop operation event detection method of the embodiment of the present disclosure can be executed by a designated business system, and the business system can be a mobile phone, a laptop computer, a server, a server cluster, etc., and the embodiment of the present disclosure does not limit it.

[0082] The game props of the embodiments of the present disclosure may be various props used in the game process, such as playing cards, dice, etc. The game prop operation event may be an event in which a user performs various operations on the game props through hands or other operating components, and may be specifically set in combination with actual usage scenarios. For example, in some embodiments, the game in the game area may be a card game, the game props may be playing cards, and the game prop operation event may be various card operation events such as dealing, flipping, playing, and squint.

[0083] In step S202, a first video frame of the game area may be acquired, wherein the first video frame may be one or more video frames in the video of the game area acquired by an image acquisition device.

[0084] In step S204, after acquiring the first video frame, the information of the game props in the first video frame may be detected to obtain a target detection result. The information of the game props is various information that can distinguish the game props from other game props in the first video frame, such as the position of the game props, the appearance attributes of the game props, the state information of the game props, the identification information of the game props, etc. The target detection result may be a detection result obtained by detecting the information of the game props in the first video frame, such as the information of each game prop obtained by identification.

[0085] In step S206, after obtaining the target detection result of the first video frame, the target detection result can be compared with the historical detection result, wherein the historical detection result is the detection result obtained by detecting the game prop information in the second video frame, and the second video frame can be one or more video frames collected before the first video frame. According to the comparison result of the target detection result and the historical detection result, the operation sequence identifier of the game prop in the first video frame can be determined, wherein the operation sequence identifier can be used to indicate the operation sequence of the operating component on the game prop, and the operation sequence identifier can be various identification information used to distinguish the operation sequence of the operating component on the game prop, which can be numbers, letters, etc. For example, the operation sequence identifier of the first game prop operated by the operating component can be represented by 1, the operation sequence identifier of the second game prop can be represented by 2, and so on. By comparing the information of the game props in the video frames collected successively by the image acquisition device, it can be determined which game prop appears most recently in the video and which game prop the operating component has operated most recently in the video frame, thereby determining the operation sequence identifier of the game prop in the video frame. Taking the card game as an example, if two cards are recognized in the second video frame, the positions, identifications and other information of the two cards can be determined separately. When three cards are recognized in the first video frame, the card most recently dealt by the user can be determined based on the positions, identifications and other information of the two cards determined in the second video frame.

[0086] The operating component of the embodiment of the present disclosure may be a human hand, or may be other devices for clamping or fixing game props, such as a game prop clamping device.

[0087] In step S208, after determining the operation sequence identifier of the game props in the first video frame, it can be determined whether there is an abnormality in the game prop operation event based on whether the operation sequence identifier of the game props and the position information of the game props match. Among them, the position information of the game props can be various information indicating the position of the game props in the game area. For example, a coordinate system can be established in the game area, and the position of the game props in the game area is represented by the position coordinates. Since the viewing angle of the image acquisition device is usually unchanged, the position of the game props in the game area can be determined according to the position of the game props in the first video frame. Usually, during the game process, the game props need to be placed in the specified position in the game area in sequence, for example, the first game props operated are placed in area 1, the second game props operated are placed in area 2, and the third game props operated are placed in area 3. Therefore, the matching relationship between the operation sequence of the game props and the placement area can be determined based on the game rules, and then it is determined whether the game props are placed in the predetermined position according to the preset order based on whether the operation sequence identifier of the game props identified from the video frame matches the position information of the game props, so as to determine whether an abnormal operation event occurs.

[0088] In some embodiments, after each operation of a game prop, it can be determined whether the operation of the game prop is abnormal, for example, whether it is placed in the correct position. In some embodiments, the operation sequence and placement position of each game prop can also be determined first, and after all the game props are operated, it is determined whether there is an abnormal operation based on the operation sequence and placement position of each game prop. The specific setting can be based on actual needs and is not limited in the embodiments of the present disclosure.

[0089] In some embodiments, the information of the game props may be the location information of the game props, and the location information may be various information indicating the location of the game props in the game area, such as location coordinates. In some scenarios, the game props include a logo surface, and the logo surface includes identification information representing the game props. Therefore, the information of the game props may also be identification information displayed on the logo surface of the game props. For example, taking the game props as playing cards, the identification information of the game props may be information such as the suit and points on the card surface.

[0090] In some embodiments, after determining the operation sequence identifier of the game prop in the first video frame, the operation sequence identifier of the game prop can also be stored in association with the information of the game prop, so that after obtaining the subsequent video frame captured after the first video frame, the pre-stored operation sequence identifier of the game prop and the information of the game prop as well as the information of the game prop detected in the subsequent video frame can be used to determine the newly appearing game prop in the subsequent video frame, or the game prop that was most recently operated, so that the operation sequence identifier of each game prop in the video frame can be determined.

[0091] Of course, since the video capture is the entire process of the operating component operating the game props, in some video frames, the operating component may not have completely completed the operation of the game props, for example, the operating component has just picked up the game props and has not yet completely placed them in the designated area of ​​the game area. Using such video frames to determine the information of the game props may be inaccurate, for example, the identification information of the game props may be blocked by the operating component, and the current position of the game props in the video frame is not the position where the final operating component is placed. Therefore, when acquiring the first video frame, a video frame with a stable detection result of the game props can be acquired to determine the position information and identification information of the game props. For example, in some embodiments, when acquiring the first video frame, the original video frame of the game area can be acquired first. When it is detected that the coverage ratio of the operating component and the game props in the original video frame is less than a preset threshold, and the position of the game props in the original video frame is consistent with the position of the game props in the first N frames of the original video frame, the original video frame is used as the first video frame, where N is a positive integer. The first N frames of the original video frame refer to N consecutive video frames in the video stream or the sampled video stream with the previous frame of the original video frame as the last frame. By determining that the coverage ratio of the operating component and the game prop in the video frame is less than the preset threshold, it can be determined whether the current game prop has been separated from the operating component, that is, whether the operating component is still operating the game prop. By determining that the position of the game prop in multiple consecutive video frames has not changed, it can be determined that the current operating component has completed the operation of the game prop and the game prop is in a stable placement state. Combining the above two information to determine the first video frame, it can be determined that the information of the game prop recognized from the first video frame is more accurate.

[0092] Of course, since the game in the game area usually includes multiple states, for example, the game may include a game preparation state, a game prop operation state, a game result processing state, etc., in the game preparation state, the user can predict the game result, for example, the user predicts the winning or losing result of each player in the game. In the game prop operation state, the user can operate the game props, for example, can deal and flip cards. In the game result processing state, the user can determine the game result according to the situation of the game props in the game area, for example, can calculate the score of each player according to the situation of the cards in the game area, determine the winning or losing result of the game, etc. Usually, the game prop operation event will occur in the game prop operation state, so before the video frame is obtained, the state of the current game can be determined based on the video of the game area collected by the image acquisition device. In the case where the game state in the game area is the game prop operation state, the first video frame of the game area is obtained, and the operation of detecting the information of the game props in the first video frame is performed.

[0093] In some embodiments, when determining the coverage ratio of the operating components and the game props, a target detection algorithm may be used to detect the operating components and the game props in the video frame, such as Figure 3 As shown, taking determining the coverage ratio of the operating components and the game props in the first video frame as an example, the first detection frame 31 corresponding to the game props can be determined in the first video frame, and the second detection frame 32 corresponding to the operating components can be determined in the first video frame, and then the coverage ratio of the operating components and the game props can be determined based on the coverage ratio of the second detection frame 32 and the first detection frame 31.

[0094] In some embodiments, when determining whether a game prop operation event occurring in a game area is abnormal based on the matching result of the operation sequence identifier of the game prop and the position information of the game prop, the matching relationship between the operation sequence identifier and the position information can be determined based on the game rules. For example, the position information matching the first game prop operated is area 1, and the position information matching the second game prop operated is area 2. Then, it is determined whether the operation sequence identifier of the game prop identified from the first video frame matches the position information of the game prop identified from the first video frame, for example, whether the game prop with the operation sequence identifier of 1 is located in area 1. If they match, it is determined that there is no abnormality in the game prop operation event occurring in the game area. On the contrary, it can be determined that there is an abnormality in the game prop operation event occurring in the game area, and a prompt or alarm information can be issued at this time.

[0095] In some embodiments, the game area includes a first sub-area and a second sub-area for placing the game props, and the game props should be distributed to the first sub-area and the second sub-area in a preset order. For example, the 1st or 3rd game props are placed in the first sub-area, the 2nd or 4th game props are placed in the second sub-area, and whether the 5th or 6th game props are placed and in which area they are placed are determined based on the identification information of the first four game props. At this time, when determining whether the operation sequence identification of the game props matches the position information of the game props, if the operation sequence identification identified from the video frame indicates that the game prop is the first game prop or the third game prop operated by the operating component, and the position information identified from the video frame indicates that the game prop is located in the first sub-area, then it is determined that the operation sequence identification matches the position information. Alternatively, if the operation sequence identification identified from the video frame indicates that the game prop is the second game prop or the fourth game prop operated by the operating component, and the position information identified from the video frame indicates that the game prop is located in the second sub-area, then it is determined that the operation sequence identification matches the position information. Alternatively, if the operation sequence identifier identified from the video frame indicates that the game prop is the fifth or sixth game prop operated by the operating component, and the position information identified from the video frame indicates that the game prop is located in the target sub-region, then it is determined that the operation sequence identifier matches the position information. The target sub-region is a region selected from the first sub-region or the second sub-region based on the identification information displayed on the identification surfaces of the first four game props operated by the operating component.

[0096] In some embodiments, when it is determined that the game prop operation event occurring in the game area is abnormal according to the matching result of the operation sequence identifier of the game prop and the position information of the game prop, an abnormal prompt information can be issued. For example, when it is determined that the operation sequence identifier of the game prop does not match the position information of the game prop, for example, the game prop should be placed in area A and area B in a predetermined order. Assuming that the third game prop should be placed in area B, but based on the video, it is detected that the third game prop is not placed in area B, then an abnormal prompt can be issued. In some scenarios, a user interaction device can be set in or near the game area, and when an abnormality occurs, an abnormal prompt can be issued through the user interaction device. For example, a voice prompt can be output through the user interaction device to prompt the user that an abnormality has occurred, or a text or image prompt can be output through the interactive interface on the user interaction device to prompt the user that an abnormality has occurred. Of course, voice prompts and image prompts can also be output at the same time. Through voice or image prompts, users can promptly discover abnormal operations in the game process and perform corresponding processing to ensure that the game proceeds in an orderly manner.

[0097] During the game, in order to make the game more intelligent and improve the user experience, in addition to determining whether an abnormal operation event occurs during the game based on the video of the game area collected by the image acquisition device, the game results can also be counted based on the state information and identification information of the game props in the video, so as to automatically output the game processing result at the end of the game. Taking the card game as an example, the suit, points and other information of the cards in each frame of the video can be counted in real time, and the suit, points and other information of each player's cards can be determined and stored according to the video frame. After each game is completed, the game result can be determined based on the suit, points and other information of each player's cards stored. In order to ensure that the number of cards in the current game area is consistent with the number of cards in the game area when the game processing result is determined, that is, when the game result can be determined, the user does not continue to place game props in the game area, in some embodiments, when it is detected that the number of game props in the game area does not match the number of game props in the game area when the game processing result is determined, an abnormal prompt message is issued so that the user can find the abnormality in time and handle it.

[0098] In order to further explain the method for detecting game prop operation events in the embodiment of the present disclosure, a specific embodiment is explained below.

[0099] Computer vision technology has been widely used in various table games. It collects images of the game area through cameras, monitors and analyzes the games based on the images, automatically identifies non-compliant behaviors on the game table, and automatically calculates the payout results of each round. This can make the behavior on the game table more standardized, the game more intelligent, and the game results more fair and reliable.

[0100] A camera is set above the game table and on both sides to monitor what happens on the game table. The video data collected by the camera will be sent to the business system, which can analyze the current state of the game based on the image and execute the detection logic in the corresponding state. In the business system, the game is divided into five states: idle (game start), betting (betting), gaming (dealing cards), payout (calculating payout ratio), and halt (game pause). In different states of the game, the business system will call different detection logic to detect the game. When the user switches the game from the idle state to the betting state (i.e. triggering the start of the game) through the user interaction device on the game table, the business system will determine the current state of the game based on the video frame collected by the camera, automatically complete the state switching, and execute the corresponding detection logic in the state. A user interaction device is set near the game table, and the user can interact with the business system through the device, for example, switch the game state, or the business system will also issue an alarm through the user interaction device when it monitors the game abnormality.

[0101] When the game is in the betting state, if it is determined that the first card is issued according to the video captured by the camera, the state of the game is switched from the betting state to the gaming state, and a target video frame that can stably detect the information of this card is determined from the video frame, and the position, suit, points and other information of the first card issued are identified based on the target video frame. Based on the position information of the card and the card issuing sequence rules, it can be determined whether the first card is placed in the specified area. Then the issuing sequence identifier of the first card is associated with the position, suit, points and other information of the card and stored. Among them, the target video frame refers to the coverage ratio of the hand and the card is less than the preset threshold (that is, the hand is separated from the card, indicating that the card has been stably placed), and the position of the card in the multiple video frames before the target video frame is consistent with the position of the card in the target video frame.

[0102] Subsequently, for the video frames captured by the camera, you can first determine from the video frames a target video frame in which the coverage ratio of the hand and the cards is less than a preset threshold and the position of the cards remains unchanged in multiple consecutive video frames, and then identify the card's position, suit, points and other information from the target video frame, and then determine which card is a new card based on the correspondence between the card information identified from the target video frame and the pre-cached card information and the issuance order identifier, continuously update the card issuance order identifier and the card position, suit, points and other information in the cache, and determine whether the new card is placed in a predetermined area based on the position information of the new card.

[0103] If it is detected based on the video that the order of issuing cards is wrong, or the cards are not placed within the predetermined area, an alarm message is issued through the user interaction device to prompt the user.

[0104] When the game is in the Payout state, the payout result of each player can be determined based on the situation of the cards on the game table. At this time, the situation of the cards on the game table can still be detected according to the above detection logic. If it is found that the number of cards in a certain area increases (that is, it is greater than the number of cards on the table at the time of settlement), it is considered that a new card was pulled out during the payout stage, which violates the card dealing rules. At this time, an alarm message can also be issued through the user interaction device, and the game state can be switched to the halt state.

[0105] Through the above method, the card dealing operation that violates the game rules can be automatically detected during the game process to ensure that the game proceeds in an orderly manner.

[0106] Corresponding to the above method, the embodiment of the present disclosure also provides a detection device for game prop operation events, such as Figure 4 As shown, the device 50 comprises:

[0107] An acquisition module 51 is used to acquire a first video frame of a game area;

[0108] A detection module 52, configured to detect information of the game props in the first video frame to obtain a target detection result;

[0109] an operation sequence identification determination module 53, configured to determine an operation sequence identification of the game prop in the first video frame according to a comparison result between the target detection result and the historical detection result, wherein the historical detection result is determined based on information of the game prop in the second video frame, the second video frame is collected before the first video frame, and the operation sequence identification is used to indicate an operation sequence of the operation component on the game prop;

[0110] The abnormality determination module 54 is used to determine whether the game prop operation event occurring in the game area is abnormal based on the matching result of the operation sequence identifier of the game prop and the position information of the game prop, and the position information is used to indicate the position of the game prop in the game area.

[0111] In some embodiments, the information of the game props includes the position information of the game props and / or identification information displayed on the identification surface of the game props.

[0112] In some embodiments, the detection device is further used to: store the operation sequence identifier of the game prop in association with the information of the game prop.

[0113] In some embodiments, when the acquisition module is used to acquire the first video frame of the game area, it is specifically used to:

[0114] Get the original video frame of the game area;

[0115] When it is detected that the coverage ratio of the operating component and the game prop in the original video frame is less than a preset threshold, and the position of the game prop in the original video frame is consistent with the position of the game prop in the first N frames of the original video frame, the original video frame is determined to be the first video frame, where N is a positive integer.

[0116] In some embodiments, when the acquisition module is used to acquire the first video frame of the game area, it is specifically used to:

[0117] When the game state in the game area is a game item operation state, a first video frame of the game area is acquired.

[0118] In some embodiments, the coverage ratio of the operating component to the game prop is determined based on the following method:

[0119] Determine a first detection frame corresponding to the game prop in the original video frame;

[0120] Determine a second detection frame corresponding to the operating component in the original video frame;

[0121] The coverage ratio of the operating component and the game prop is determined according to the coverage ratio of the second detection frame and the first detection frame.

[0122] In some embodiments, the abnormality determination module is used to determine whether the game prop operation event occurring in the game area is abnormal according to the matching result of the operation sequence identifier of the game prop and the position information of the game prop, specifically to:

[0123] When it is determined that the operation sequence identifier of the game prop matches the position information of the game prop, it is determined that there is no abnormality in the game prop operation event occurring in the game area.

[0124] In some embodiments, the game area includes a first sub-area and a second sub-area for placing the game props, and determining that there is no abnormality in the game prop operation event occurring in the game area when it is determined that the operation sequence identifier of the game prop matches the position information of the game prop includes determining that there is no abnormality in the game prop operation event occurring in the game area when it is detected that the matching result of the operation sequence identifier and the position information of the game prop meets the following conditions:

[0125] The operation sequence identifier indicates that the game prop is the first game prop or the third game prop operated by the operating component, and the position information indicates that the game prop is located in the first sub-area; or

[0126] The operation sequence identifier indicates that the game prop is the second game prop or the fourth game prop operated by the operating component, and the position information indicates that the game prop is located in the second sub-area; or

[0127] The operation sequence identifier indicates that the game prop is the fifth or sixth game prop operated by the operating component, and the position information indicates that the game prop is located in a target sub-area, wherein the target sub-area is determined based on the identification information displayed on the identification surfaces of the first four game props operated by the operating component, and the target sub-area is the first sub-area or the second sub-area.

[0128] In some embodiments, the anomaly detection module is further used to issue an abnormal prompt message when it is determined that the game prop operation event occurring in the game area is abnormal based on the matching result of the operation sequence identifier of the game prop and the position information of the game prop.

[0129] In some embodiments, the detection device is further used to:

[0130] When it is detected that the number of game props in the game area does not match the number of game props in the game area when determining the processing result of the game, an abnormal prompt message is issued.

[0131] In some embodiments, the game in the gaming area comprises a card game, and the game props comprise playing cards.

[0132] The present disclosure also provides an electronic device, such as Figure 5 As shown, the electronic device includes a processor 61, a memory 62, and a computer program stored in the memory 62 and executable by the processor 61. When the processor executes the computer program, the method in any of the above embodiments is implemented.

[0133] The present disclosure also provides a computer-readable storage medium on which computer-executable instructions are stored. When the instructions are executed by a processor, the method described in any of the above embodiments is implemented.

[0134] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.

[0135] It can be known from the above description of the implementation mode that the technicians in this field can clearly understand that the embodiments of this specification can be implemented by means of software plus the necessary general hardware platform. Based on such an understanding, the technical solution of the embodiments of this specification can be essentially or the part that contributes to the prior art can be embodied in the form of a software product, which can be stored in a 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 of this specification.

[0136] The systems, devices, modules or units described in the above embodiments may be implemented by computer chips or entities, or by products with certain functions. A typical implementation device is a computer, which may be in the form of a personal computer, a laptop computer, a cellular phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email transceiver, a game console, a tablet computer, a wearable device or a combination of any of these devices.

[0137] Each embodiment in this specification is described in a progressive manner, and the same and similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment. The device embodiment described above is merely schematic, wherein the modules described as separate components may or may not be physically separated, and the functions of each module can be implemented in the same one or more software and / or hardware when implementing the embodiment scheme of this specification. It is also possible to select some or all of the modules according to actual needs to achieve the purpose of the embodiment scheme. A person of ordinary skill in the art can understand and implement it without paying creative labor.

Claims

1. A method for detecting a game prop operation event, the method comprising: Get the first video frame of the game area; Detecting information of the game props in the first video frame to obtain a target detection result; Determine, according to a comparison result between the target detection result and the historical detection result, an operation sequence identifier of the game prop in the first video frame, wherein the historical detection result is determined based on information of the game prop in a second video frame, the second video frame is collected before the first video frame, and the operation sequence identifier is used to indicate the operation sequence of the operating component on the game prop; Determining whether a game prop operation event occurring in the game area is abnormal based on a matching result of the game prop operation sequence identifier and the game prop position information, wherein the position information is used to indicate the position of the game prop in the game area; The step of obtaining the first video frame of the game area includes: Get the original video frame of the game area; When it is detected that the coverage ratio of the operating component and the game prop in the original video frame is less than a preset threshold, and the position of the game prop in the original video frame is consistent with the position of the game prop in the first N frames of the original video frame, the original video frame is determined to be the first video frame, where N is a positive integer.

2. According to the method of claim 1, the information of the game props includes the position information of the game props and / or identification information displayed on the identification surface of the game props.

3. The method according to claim 1, further comprising: The operation sequence identifier of the game prop is associated with the information of the game prop and stored.

4. The method according to any one of claims 1 to 3, wherein: The step of obtaining the first video frame of the game area includes: When the game state in the game area is a game item operation state, a first video frame of the game area is acquired.

5. The method according to claim 1, wherein the coverage ratio of the operating component to the game prop is determined based on the following method: Determine a first detection frame corresponding to the game prop in the original video frame; Determine a second detection frame corresponding to the operating component in the original video frame; The coverage ratio of the operating component and the game prop is determined according to the coverage ratio of the second detection frame and the first detection frame.

6. The method according to any one of claims 1 to 3, determining whether the game prop operation event occurring in the game area is abnormal according to the matching result of the operation sequence identifier of the game prop and the position information of the game prop, comprises: When it is determined that the operation sequence identifier of the game prop matches the position information of the game prop, it is determined that there is no abnormality in the game prop operation event occurring in the game area.

7. The method according to claim 6, wherein the game area includes a first sub-area and a second sub-area for placing the game props, and determining that there is no abnormality in the game prop operation event occurring in the game area when it is determined that the operation sequence identifier of the game prop matches the position information of the game prop comprises determining that there is no abnormality in the game prop operation event occurring in the game area when it is detected that the matching result of the operation sequence identifier and the position information of the game prop meets the following conditions: The operation sequence identifier indicates that the game prop is the first game prop or the third game prop operated by the operating component, and the position information indicates that the game prop is located in the first sub-area; or The operation sequence identifier indicates that the game prop is the second game prop or the fourth game prop operated by the operating component, and the position information indicates that the game prop is located in the second sub-area; or The operation sequence identifier indicates that the game prop is the fifth or sixth game prop operated by the operating component, and the position information indicates that the game prop is located in the target sub-area, wherein, The target sub-region is determined based on identification information displayed on identification surfaces of the first four game props operated by the operating component, and the target sub-region is the first sub-region or the second sub-region.

8. The method according to any one of claims 1 to 3, wherein when it is determined that an abnormal operation event of the game prop occurring in the game area is abnormal based on a matching result of the operation sequence identifier of the game prop and the position information of the game prop, an abnormal prompt message is issued.

9. The method according to any one of claims 1 to 3, further comprising: When it is detected that the number of game props in the game area does not match the number of game props in the game area when determining the processing result of the game, an abnormal prompt message is issued.

10. The method according to any one of claims 1-3, wherein the game in the game area comprises a card game, and the game props comprise cards.

11. A device for detecting a game prop operation event, the device comprising: An acquisition module, used for acquiring a first video frame of a game area; A detection module, used to detect the information of the game props in the first video frame to obtain a target detection result; an operation sequence identifier determination module, configured to determine an operation sequence identifier of the game prop in the first video frame according to a comparison result between the target detection result and the historical detection result, wherein the historical detection result is determined based on information of the game prop in a second video frame, the second video frame is collected before the first video frame, and the operation sequence identifier is used to indicate an operation sequence of an operating component on the game prop; an abnormality determination module, used to determine whether the game prop operation event occurring in the game area is abnormal based on a matching result between the operation sequence identifier of the game prop and the position information of the game prop, wherein the position information is used to indicate the position of the game prop in the game area; Wherein, when the acquisition module is used to acquire the first video frame of the game area, it is specifically used to: Get the original video frame of the game area; When it is detected that the coverage ratio of the operating component and the game prop in the original video frame is less than a preset threshold, and the position of the game prop in the original video frame is consistent with the position of the game prop in the first N frames of the original video frame, the original video frame is determined to be the first video frame, where N is a positive integer.

12. The detection device according to claim 11, wherein the information of the game props includes the position information of the game props and / or identification information displayed on the identification surface of the game props.

13. The detection device according to claim 11, further configured to: store the operation sequence identifier of the game prop in association with the information of the game prop.

14. The detection device according to any one of claims 11 to 13, wherein the abnormality determination module is used to determine whether the game prop operation event occurring in the game area is abnormal based on the matching result of the operation sequence identifier of the game prop and the position information of the game prop, specifically for: When it is determined that the operation sequence identifier of the game prop matches the position information of the game prop, it is determined that there is no abnormality in the game prop operation event occurring in the game area.

15. The detection device according to claim 14, wherein the game area comprises a first sub-area and a second sub-area for placing the game props, and the abnormality determination module is specifically used to determine that there is no abnormality in the game prop operation event occurring in the game area when it is detected that the matching result of the operation sequence identifier and the position information of the game props meets the following conditions: The operation sequence identifier indicates that the game prop is the first game prop or the third game prop operated by the operating component, and the position information indicates that the game prop is located in the first sub-area; or The operation sequence identifier indicates that the game prop is the second game prop or the fourth game prop operated by the operating component, and the position information indicates that the game prop is located in the second sub-area; or The operation sequence identifier indicates that the game prop is the fifth or sixth game prop operated by the operating component, and the position information indicates that the game prop is located in the target sub-area, wherein, The target sub-region is determined based on identification information displayed on identification surfaces of the first four game props operated by the operating component, and the target sub-region is the first sub-region or the second sub-region.

16. An electronic device, comprising a processor, a memory, and a computer program stored in the memory and executable by the processor, wherein when the processor executes the computer program, the method according to any one of claims 1 to 11 is implemented.

17. A computer-readable storage medium, wherein computer-readable instructions are stored on the storage medium, and when the instructions are executed by a computer, the method according to any one of claims 1 to 11 can be implemented.

18. A detection system, comprising: Image acquisition device, business system and user interaction device; The image acquisition device is used to collect video of the game area and send it to the business system; The business system is used to obtain a first video frame from the video; detect the information of the game props in the first video frame to obtain a target detection result; determine an operation sequence identifier of the game props in the first video frame according to a comparison result of the target detection result and a historical detection result, wherein the historical detection result is determined based on the information of the game props in a second video frame, the second video frame is collected before the first video frame, and the operation sequence identifier is used to indicate the operation sequence of the operation component on the game props; determine whether a game prop operation event occurring in the game area is abnormal according to a matching result of the game prop operation sequence identifier and the position information of the game prop, the position information is used to indicate the position of the game prop in the game area; if it is determined that the game prop operation event is abnormal, notify the user interaction device; The user interaction device is used to issue abnormal prompt information to prompt the user.

19. A computer program comprising computer readable code, wherein: When the computer readable code is executed in an electronic device, a processor in the electronic device is enabled to implement the method according to any one of claims 1 to 11.