AU2021204607A1 - Method and apparatus for detecting object exchange behavior, electronic device and storage medium - Google Patents

Method and apparatus for detecting object exchange behavior, electronic device and storage medium Download PDF

Info

Publication number
AU2021204607A1
AU2021204607A1 AU2021204607A AU2021204607A AU2021204607A1 AU 2021204607 A1 AU2021204607 A1 AU 2021204607A1 AU 2021204607 A AU2021204607 A AU 2021204607A AU 2021204607 A AU2021204607 A AU 2021204607A AU 2021204607 A1 AU2021204607 A1 AU 2021204607A1
Authority
AU
Australia
Prior art keywords
preset
type
image
exchanged
person
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
AU2021204607A
Other versions
AU2021204607B2 (en
Inventor
Kaiyun WANG
Xinxin Wang
Shuai ZHANG
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sensetime International Pte Ltd
Original Assignee
Sensetime International Pte Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sensetime International Pte Ltd filed Critical Sensetime International Pte Ltd
Priority claimed from PCT/IB2021/055685 external-priority patent/WO2022269320A1/en
Publication of AU2021204607A1 publication Critical patent/AU2021204607A1/en
Application granted granted Critical
Publication of AU2021204607B2 publication Critical patent/AU2021204607B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V20/00Scenes; Scene-specific elements
    • G06V20/50Context or environment of the image
    • G06V20/52Surveillance or monitoring of activities, e.g. for recognising suspicious objects
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/10Segmentation; Edge detection
    • G06T7/11Region-based segmentation
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07FCOIN-FREED OR LIKE APPARATUS
    • G07F17/00Coin-freed apparatus for hiring articles; Coin-freed facilities or services
    • G07F17/32Coin-freed apparatus for hiring articles; Coin-freed facilities or services for games, toys, sports, or amusements
    • G07F17/3241Security aspects of a gaming system, e.g. detecting cheating, device integrity, surveillance

Abstract

Provided are a method and apparatus for detecting an object exchange behavior, an electronic device and a storage medium. The method includes that: a video stream of a target scenario is acquired; in a case where it is detected from a present image in the video stream that a first person places a to-be-exchanged object in a first preset region, a compliance detection is performed on a type of the to-be-exchanged object based on the present image to obtain a first detection result; and in a case where the first detection result is not compliant, alarm prompt information for characterizing a type error of the to-be-exchanged object is output.

Description

METHOD AND APPARATUS FOR DETECTING OBJECT EXCHANGE BEHAVIOR, ELECTRONIC DEVICE AND STORAGE MEDIUM CROSS-REFERENCE TO RELATED APPLICATION
[ 0001] The present disclosure claims priority to Singaporean patent application No. 10202106719W filed with IPOS on 21 June 2021, the content of which is incorporated herein by reference in its entirety.
TECHNICAL FIELD
[ 0002] The disclosure relates to the technical field of computer visions, and more particularly, to a method and apparatus for detecting an object exchange behavior, an electronic device and a storage medium.
BACKGROUND
[ 0003] At present, concerning some special scenarios needing the physical exchange, corresponding exchange procedures and rules are typically provided, and are followed by a person in charge of exchanging to make an exchange.
[ 0004] However, due to possible subjective reasons such as misunderstandings, tensions and exhaustions of people, the problem of an exchange error occurs during exchanging to cause an exchange failure, and the exchange needs to be made again.
SUMMARY
[ 0005] The embodiments of the disclosure are intended to provide a method and apparatus for detecting an object exchange behavior, an electronic device and a storage medium.
[ 0006] The technical solutions in the embodiments of the disclosure are implemented as follows.
[ 0007] The embodiments of the disclosure provide a method for detecting an object exchange behavior, which may include the following operations.
[ 0008] A video stream of a target scenario is acquired.
[ 0009] In a case where it is detected from a present image in the video stream that a first person places a to-be-exchanged object in a first preset region, a compliance detection is performed on a type of the to-be-exchanged object based on the present image to obtain a first detection result.
[ 0010] In a case where the first detection result is not compliant, alarm prompt information for characterizing a type error of the to-be-exchanged object is output.
[ 0011] In some embodiments, the operation that the compliance detection is performed on the type of the to-be-exchanged object based on the present image to obtain the first detection result may include the following operations.
[ 0012] Personal information of a second person associated with the to-be-exchanged object, and preset exchangeable type information corresponding to the target scenario are acquired;
[ 0013] in a case where the type of the to-be-exchanged object is matched with an object type corresponding to the personal information, and the preset exchangeable type information, it is determined that the first detection result is compliant; and/or
[ 0014] in a case where the type of the to-be-exchanged object is not matched with the object type corresponding to the personal information, or, the preset exchangeable type information, it is determined that the first detection result is not compliant.
[ 0015] In some embodiments, the method may further include the following operations.
[ 0016] Before the compliance detection is performed on the type of the to-be exchanged object based on the present image to obtain the first detection result, a preset take-away action of the first person and the to-be-exchanged object in the first preset region are sequentially detected for at least one frame of image in the video stream, wherein the preset take-away action may include an action for taking away the to-be exchanged object from a preset object placement region.
[ 0017] At least one frame of image in which the preset take-way action of the first person is detected and the to-be-exchanged object is present in the first preset region is determined as the present image.
[ 0018] In some embodiments, the method may further include the following operations.
[ 0019] After it is detected from the present image that the first person places the to-be exchanged object in the first preset region, a first image in which the first person places a target exchange object in a second preset region is continuously acquired based on the video stream, the target exchange object being an object for exchanging the to-be exchanged object.
[ 0020] In a case where the first image is acquired, a compliance detection is performed on a type of the target exchange object based on the first image to obtain a second detection result.
[ 0021] In a case where the second detection result is not compliant, alarm prompt information for characterizing a type error of the target exchange object is output.
[ 0022] In some embodiments, the operation that the compliance detection is performed on the type of the target exchange object based on the first image to obtain the second detection result may include the following operations.
[ 0023] Preset type configuration information is acquired;
[ 0024] in a case where the type of the to-be-exchanged object is matched with the type of the target exchange object according to the preset type configuration information, it is determined that the second detection result is compliant; and/or
[ 0025] In a case where the type of the to-be-exchanged object is not matched with the type of the target exchange object according to the preset type configuration information, it is determined that the second detection result is not compliant.
[ 0026] In some embodiments, the operation that the compliance detection is performed on the type of the target exchange object based on the first image to obtain the second detection result may include the following operations.
[ 0027] Personal information of a second person associated with the to-be-exchanged object, and preset exchangeable type information corresponding to the target scenario are acquired;
[ 0028] in a case where the type of the target exchange object is matched with an object type corresponding to the personal information, and the preset exchangeable type information, it is determined that the second detection result is compliant; and/or
[ 0029] in a case where the type of the target exchange object is not matched with the object type corresponding to the personal information, or, the preset exchangeable type information, it is determined that the second detection result is not compliant.
[ 0030] In some embodiments, the method may further include the following operations.
[ 0031] Before the compliance detection is performed on the type of the target exchange object to obtain the second detection result, a first preset placement action of the first person and the target exchange object in the second preset region are sequentially detected for at least one frame of image after the present image in the video stream, wherein the preset placement action may include an action for placing the target exchange object in the second preset region; and
[ 0032] At least one frame of image in which the first preset placement action of the first person is detected and the target exchange object is present in the second preset region is determined as the first image.
[ 0033] In some embodiments, the method may further include the following operations.
[ 0034] After the first image is acquired, a second image in which the first person pushes the target exchange object out of the second preset region is continuously acquired based on the video stream.
[ 0035] In a case where the second image is acquired, values of the target exchange object and the to-be-exchanged object are detected based on the first image and the present image respectively.
[ 0036] In a case where the values of the target exchange object and the to-be exchanged object are unequal, alarm prompt information for characterizing a value error of the target exchange object is output.
[ 0037] In some embodiments, the method may further include the following operations.
[ 0038] Before the values of the target exchange object and the to-be-exchanged object are detected based on the first image and the present image respectively, a second preset placement action of the first person and the target exchange object in a preset object placement region out of the second preset region are sequentially detected for at least one frame of image after the first image in the video stream, wherein the second preset placement action may include an action for placing the target exchange object in the preset object placement region.
[ 0039] At least one frame of image in which the second preset placement action of the first person is detected and the target exchange object is present in the second preset region is determined as the second image.
[ 0040] In some embodiments, the method may further include the following operations.
[ 0041] After the second image is acquired, a third image in which the first preset region does not contain the to-be-exchanged object is continuously acquired based on the video stream.
[ 0042] In a case where a duration for not acquiring the third image reaches a preset duration, alarm prompt information for characterizing that the to-be-exchanged object is not recycled is output.
[ 0043] In some embodiments, the method may further include the following operations.
[ 0044] Personal information of a second person associated with the to-be-exchanged object is acquired.
[ 0045] In a case where the second image is acquired, an association between the to be-exchanged object and the personal information is removed, and the target exchange object is associated with the personal information.
[ 0046] In some embodiments, the target scenario may include a game table scenario; and the to-be-exchanged object may include a token, and the first preset region and the second preset region may include a preset operation region of the first person on the game table.
[ 0047] The embodiments of the disclosure provide an apparatus for detecting an object exchange behavior, which may include: an acquisition module, a detection module and an alarm module.
[ 0048] The acquisition module is configured to acquire a video stream of a target scenario.
[ 0049] The detection module is configured to perform, in a case where it is detected from a present image in the video stream that a first person places a to-be-exchanged object in a first preset region, a compliance detection on a type of the to-be-exchanged object based on the present image to obtain a first detection result.
[ 0050] The alarm module is configured to output, in a case where the first detection result is not compliant, alarm prompt information for characterizing a type error of the to be-exchanged object.
[ 0051] In some embodiments, the detection module is specifically configured to acquire personal information of a second person associated with the to-be-exchanged object, and preset exchangeable type information corresponding to the target scenario; and determine, in a case where the type of the to-be-exchanged object is matched with an object type corresponding to the personal information, and the preset exchangeable type information, that the first detection result is compliant; and/or determine, in a case where the type of the to-be-exchanged object is not matched with the object type corresponding to the personal information, or, the preset exchangeable type information, that the first detection result is not compliant.
[ 0052] The detection module is further configured to sequentially detect, before performing the compliance detection on the type of the to-be-exchanged object based on the present image to obtain the first detection result, a preset take-away action of the first person and the to-be-exchanged object in the first preset region for at least one frame of image in the video stream, wherein the preset take-away action may include an action for taking away the to-be-exchanged object from a preset object placement region; and determine at least one frame of image in which the preset take-way action of the first person is detected and the to-be-exchanged object is present in the first preset region as the present image.
[ 0053] In some embodiments, the detection module is further configured to continuously acquire, after the detection module detects from the present image that the first person places the to-be-exchanged object in the first preset region, based on the video stream, a first image in which the first person places a target exchange object in a second preset region, the target exchange object being an object for exchanging the to-be exchanged object; and perform, in a case where the first image is acquired, a compliance detection on a type of the target exchange object based on the first image to obtain a second detection result.
[ 0054] The alarm module is further configured to output, in a case where the second detection result is not compliant, alarm prompt information for characterizing a type error of the target exchange object.
[ 0055] In some embodiments, the detection module is specifically configured to acquire preset type configuration information; and determine, in a case where the type of the to-be-exchanged object is matched with the type of the target exchange object according to the preset type configuration information, that the second detection result is compliant; and/or determine, in a case where the type of the to-be-exchanged object is not matched with the type of the target exchange object according to the preset type configuration information, that the second detection result is not compliant.
[ 0056] In some embodiments, the detection module is specifically configured to acquire personal information of a second person associated with the to-be-exchanged object, and preset exchangeable type information corresponding to the target scenario; and determine, in a case where the type of the target exchange object is matched with an object type corresponding to the personal information, and the preset exchangeable type information, that the second detection result is compliant; and/or determine, in a case where the type of the target exchange object is not matched with the object type corresponding to the personal information, or, the preset exchangeable type information, that the second detection result is not compliant.
[ 0057] In some embodiments, the detection module is further configured to sequentially detect, before performing the compliance detection on the type of the target exchange object to obtain the second detection result, a first preset placement action of the first person and the target exchange object in the second preset region for at least one frame of image after the present image in the video stream, wherein the preset placement action may include an action for placing the target exchange object in the second preset region; and determine at least one frame of image in which the first preset placement action of the first person is detected and the target exchange object is present in the second preset region as the first image.
[ 0058] In some embodiments, the detection module is further configured to continuously acquire, after acquiring the first image, based on the video stream, a second image in which the first person pushes the target exchange object out of the second preset region; and detect, in a case where the second image is acquired, values of the target exchange object and the to-be-exchanged object based on the first image and the present image respectively.
[ 0059] The alarm module is further configured to output, in a case where the values of the target exchange object and the to-be-exchanged object are unequal, alarm prompt information for characterizing a value error of the target exchange object.
[ 0060] In some embodiments, the detection module is further configured to sequentially detect, before detecting the values of the target exchange object and the to be-exchanged object based on the first image and the present image respectively, a second preset placement action of the first person and the target exchange object in a preset object placement region out of the second preset region for at least one frame of image after the first image in the video stream, wherein the second preset placement action may include an action for placing the target exchange object in the preset object placement region; and determine at least one frame of image in which the second preset placement action of the first person is detected and the target exchange object is present in the second preset region as the second image.
[ 0061] In some embodiments, the detection module is further configured to continuously acquire, after acquiring the second image, based on the video stream, a third image in which the first preset region does not contain the to-be-exchanged object.
[ 0062] The alarm module is further configured to output, in a case where a duration for not acquiring the third image reaches a preset duration, alarm prompt information for characterizing that the to-be-exchanged object is not recycled.
[ 0063] In some embodiments, the detection module is further configured to acquire personal information of a second person associated with the to-be-exchanged object; and remove, in a case where the second image is acquired, an association between the to-be exchanged object and the personal information, and associate the target exchange object with the personal information.
[ 0064] In some embodiments, the target scenario may include a game table scenario; and the to-be-exchanged object may include a token, and the first preset region and the second preset region may include a preset operation region of the first person on the game table.
[ 0065] The embodiments of the disclosure provide an electronic device, which may include: a processor, a memory and a communication bus.
[ 0066] The communication bus is configured to implement connection and communication between the processor and the memory.
[ 0067] The processor is configured to execute one or more programs stored in the memory, to implement the method for detecting the object exchange behavior.
[ 0068] The embodiments of the disclosure provide a computer-readable storage medium, storing one or more programs; and the one or more programs may be executed by one or more processors, to implement the method for detecting the object exchange behavior.
[ 0069] The disclosure provides the method and apparatus for detecting the object exchange behavior, the electronic device and the storage medium. The method includes that: a video stream of a target scenario is acquired; in a case where it is detected from a present image in the video stream that a first person places a to-be-exchanged object in a first preset region, a compliance detection is performed on a type of the to-be-exchanged object based on the present image to obtain a first detection result; and in a case where the first detection result is not compliant, alarm prompt information for characterizing a type error of the to-be-exchanged object is output. According to the technical solutions provided by the embodiments of the disclosure, in the process of determining the exchange, whether the type of the to-be-exchanged object in the scenario is compliant is detected, and the information for prompting of correcting the wrong operation in the scenario is timely output in a case where the type is not compliant. The disclosure improves the object exchange accuracy.
BRIEF DESCRIPTION OF THE DRAWINGS
[ 0070] FIG. 1 illustrates a first flowchart schematic diagram of a method for detecting an object exchange behavior provided by an embodiment of the disclosure.
[ 0071] FIG. 2 illustrates a second flowchart schematic diagram of a method for detecting an object exchange behavior provided by an embodiment of the disclosure.
[ 0072] FIG. 3 illustrates a third flowchart schematic diagram of a method for detecting an object exchange behavior provided by an embodiment of the disclosure.
[ 0073] FIG. 4 illustrates a fourth flowchart schematic diagram of a method for detecting an object exchange behavior provided by an embodiment of the disclosure.
[ 0074] FIG. 5 illustrates a detection flowchart schematic diagram of an exemplary object exchange process provided by an embodiment of the disclosure.
[ 0075] FIG. 6 illustrates a structural schematic diagram of an apparatus for detecting an object exchange behavior provided by an embodiment of the disclosure.
[ 0076] FIG. 7 illustrates a structural schematic diagram of an electronic device provided by an embodiment of the disclosure.
DETAILED DESCRIPTION
[0077] A clear and complete description on the technical solutions in the embodiments of the disclosure will be given below, in combination with the accompanying drawings in the embodiments of the disclosure.
[0078] The embodiments of the disclosure provide a method for detecting an object exchange behavior. The execution main body may be an apparatus for detecting the object exchange behavior. For example, the method for detecting the object exchange behavior may be executed by a terminal device or a server or other electronic devices. The terminal device may be User Equipment (UE), a mobile device, a user terminal, a cell phone, a cordless phone, a Personal Digital Assistant (PDA), a handheld device, a computing device, a vehicle-mounted device, a wearable device, etc. In some possible implementation modes, the method for detecting the object exchange behavior may be implemented by enabling a processor to call a computer-readable instruction stored in a memory.
[ 0079] FIG. 1 illustrates a first flowchart schematic diagram of a method for detecting an object exchange behavior provided by an embodiment of the disclosure. As shown in FIG. 1, in the embodiment of the disclosure, the method for detecting the object exchange behavior mainly includes the following steps.
[ 0080] In S101, a video stream of a target scenario is acquired.
[ 0081] In the embodiment of the disclosure, the detection apparatus may acquire the video stream of the target scenario.
[ 0082] It is to be noted that in the embodiment of the disclosure, the target scenario may be any scenario that exchanges one object into another object, and may, for example, be a special game table scenario. The specific target scenario is not limited by the embodiment of the disclosure.
[ 0083] It is to be noted that in the embodiment of the disclosure, the detection apparatus may include may include a camera module. The detection apparatus is deployed around the target scenario to collect an image of the target scenario. In addition, the image of the target scenario may also be collected by an independent camera deployed around the target scenario. The video stream of the target scenario collected by the camera is transmitted to the detection apparatus. The specific mode for acquiring the video stream of the target scenario may be determined according to an actual demand and an apparatus configuration, and is not limited by the embodiment of the disclosure.
[ 0084] In S102, in a case where it is detected from a present image in the video stream that a first person places a to-be-exchanged object in a first preset region, a compliance detection is performed on a type of the to-be-exchanged object based on the present image to obtain a first detection result.
[ 0085] In the embodiment of the disclosure, the detection apparatus performs, in the case of detecting from the present image in the video stream that the first person places the to-be-exchanged object in the first preset region, the compliance detection on the type of the to-be-exchanged object based on the present image to obtain the first detection result.
[ 0086] It is to be noted that in the embodiment of the disclosure, the target scenario may be the game table scenario. In the game table scenario, tokens to be used by different types of game players are varied and thus need to be exchanged. The token provided by the player and needing to be exchanged may serve as the to-be-exchanged object, and the person who offers a token exchange service to the player may serve as the first person. The first preset region may include a preset operation region of the first person on the game table. The specific first person, to-be-exchanged object and first preset region may be determined according to an actual target scenario, and are not limited by the embodiment of the disclosure.
[0087] Specifically, in the embodiment of the disclosure, the detection apparatus performs the compliance detection on the type of the to-be-exchanged object based on the present image to obtain the first detection result, which may include that: personal information of a second person associated with the to-be-exchanged object, and preset exchangeable type information corresponding to the target scenario are acquired; and in a case where the type of the to-be-exchanged object is matched with an object type corresponding to the personal information, and the preset exchangeable type information, it is determined that the first detection result is compliant; and/or, in a case where the type of the to-be-exchanged object is not matched with the object type corresponding to the personal information, or, the preset exchangeable type information, it is determined that the first detection result is not compliant.
[0088] It is to be understood that in the embodiment of the disclosure, the person offering the to-be-exchanged object is the second person associated with the to-be exchanged object. The detection apparatus may acquire the personal information of the second person. The personal information may include information on whether the person is a member and the like. The specific second person and personal information of the second person are not limited by the embodiment of the disclosure. The type of the to-be exchanged object may be matched or not matched with an object type corresponding to the personal information, the object type corresponding to the personal information represents a type of a to-be-exchanged object that the second person is allowed to use. For example, the personal information includes that the second person is the member, the object type corresponding to which being an object type that only the member can exchange; therefore, when the type of the to-be-exchanged object is the object type that only the member can exchange, the type of the to-be-exchanged object is matched with the object type corresponding to the personal information.
[ 0089] It is to be noted that in the embodiment of the disclosure, the second person associated with the to-be-exchanged object and personal information of the second person may be pre-stored in the detection apparatus. Certainly, the detection apparatus may acquire them from other management devices. In addition, if the local detection apparatus and other management devices does not store the personal information of the second person, the first person may also directly select the second person, and input the personal information to the detection apparatus. The specific mode for acquiring the personal information is not limited by the embodiment of the disclosure.
[ 0090] It is to be understood that in the embodiment of the disclosure, the object type that may be exchanged is limited for the target scenario. The detection apparatus may directly acquire the preset exchangeable type information corresponding to the target scenario, the preset exchangeable type information including the object type that may be exchanged in the target scenario. As the type of the to-be-exchanged object may be unnecessarily exchangeable in the target scenario, there is a need to match the type of the to-be-exchanged object with the preset exchangeable type information.
[ 0091] It is to be noted that in the embodiment of the disclosure, the type of the to-be exchanged object is matched with the object type corresponding to the personal information and the preset exchangeable type information at the same time, such that the first detection result is compliant, or otherwise, the first detection result is not compliant.
[ 0092] It is to be noted that in the embodiment of the disclosure, the detection apparatus may further execute the following steps before performing the compliance detection on the type of the to-be-exchanged object based on the present image: a preset take-away action of the first person and the to-be-exchanged object in the first preset region are sequentially detected for at least one frame of image in the video stream, wherein the preset take-away action may include an action for taking away the to-be exchanged object from a preset object placement region; and at least one frame of image in which the preset take-way action of the first person is detected and the to-be exchanged object is present in the first preset region is determined as the present image.
[0093] It is to be understood that in the embodiment of the disclosure, the detection apparatus first determines the present image from the video stream of the target scenario, and then can perform the compliance detection on the type of the to-be-exchanged object based on the present image. The detection apparatus sequentially detects the preset take away action of the first person for the at least one frame of image in the video stream. Specifically, it may be implemented in a mode of detecting the action of the first person based on multiple continuous frames of images, and may also be implemented in a mode of continuously detecting, through the video stream, a position of the to-be-exchanged object and whether a person to which a hand operating the to-be-exchanged object belongs is the first person. Specifically, the present image may be one frame of image, and may also be multiple frames of images, which is not limited by the embodiment of the disclosure.
[ 0094] In S103, in a case where the first detection result is not compliant, alarm prompt information for characterizing a type error of the to-be-exchanged object is output.
[ 0095] In the embodiment of the disclosure, after obtaining the first detection result, the detection apparatus outputs the alarm prompt information for characterizing the type error of the to-be-exchanged object in the case where the first detection result is not compliant.
[ 0096] It is to be understood that in the embodiment of the disclosure, in the case where the first detection result is not compliant, the type of the to-be-exchanged object is not compliant and cannot be exchanged in the target scenario, the detection apparatus may timely output the alarm prompt information for characterizing the type error of the to-be-exchanged object, and the person who places the to-be-exchanged object in the first preset region may timely know that the object cannot be exchanged and return the to-be exchanged object to the associated second person, thereby improving the object exchange accuracy.
[ 0097] FIG. 2 illustrates a second flowchart schematic diagram of a method for detecting an object exchange behavior provided by an embodiment of the disclosure. As shown in FIG. 2, in the embodiment of the disclosure, the detection apparatus may further execute the following steps after executing Step S101.
[ 0098] In S201, after it is detected from the present image that the first person places the to-be-exchanged object in the first preset region, a first image in which the first person places a target exchange object in a second preset region is continuously acquired based on the video stream, the target exchange object being an object for exchanging the to-be-exchanged object.
[ 0099] In the embodiment of the disclosure, the detection apparatus continuously acquires, in the case of detecting from the present image that the first person places the to-be-exchanged object in the first preset region, based on the video stream, the first image in which the first person places the target exchange object for exchanging the to be-exchanged object in the second preset region.
[ 00100] It is to be noted that in the embodiment of the disclosure, the target scenario includes the game table scenario, and the second preset region includes the preset operation region of the first person on the game table. The specific second preset region is not limited in the embodiment of the disclosure.
[ 00101] Specifically, in the embodiment of the disclosure, the detection module sequentially detects a first preset placement action of the first person and the target exchange object in the second preset region for at least one frame of image after the present image in the video stream, wherein the preset placement action may include an action for placing the target exchange object in the second preset region; and determines at least one frame of image in which the first preset placement action of the first person is detected and the target exchange object is present in the second preset region as the first image.
[ 00102] It is to be understood that in the embodiment of the disclosure, the present image is an image in which the first person places the to-be-exchanged object in the first preset region in the video stream; and thereafter, as a matter of fact, the first person places the target exchange object for exchanging the to-be-exchanged object in the second preset region. Therefore, the detection apparatus sequentially detects the first preset placement action of the first person and the target exchange object in the second preset region for at least one frame of image after the present image in the video stream. The detection apparatus sequentially detects the first preset placement action of the first person for at least one frame of image after the present image in the video stream. Specifically, it may be implemented in a mode of detecting the action of the first person based on multiple continuous frames of images, and may also be implemented in a mode of continuously detecting, through the video stream, a position of the target exchange object and whether a person to which a hand operating the target exchange object belongs is the first person. Specifically, the first image may be one frame of image, and may also be multiple frames of images, which is not limited by the embodiment of the disclosure.
[ 00103] In S202, in a case where thefirst image is acquired, a compliance detection is performed on a type of the target exchange object based on the first image to obtain a second detection result.
[ 00104] In the embodiment of the disclosure, in the case where the first image is acquired, i.e., the target exchange object is placed in the second preset region, the detection apparatus may perform the compliance detection on the type of the target exchange object based on the first image to obtain the second detection result.
[ 00105] Specifically, in the embodiment of the disclosure, the detection apparatus performs the compliance detection on the target exchange object based on the first image to obtain the second detection result, which may include that: preset type configuration information is acquired; in a case where the type of the to-be-exchanged object is matched with the type of the target exchange object according to the preset type configuration information, it is determined that the second detection result is compliant; and/or, in a case where the type of the to-be-exchanged object is not matched with the type of the target exchange object according to the preset type configuration information, it is determined that the second detection result is not compliant.
[ 00106] It is to be noted that in the embodiment of the disclosure, the preset type configuration information is the object type set for exchanging different types of objects. The specific preset type configuration information may be set according to an actual demand and an application scenario, and is not limited by the embodiment of the disclosure.
[00107] Exemplarily, in the embodiment of the disclosure, the preset type configuration information includes: the exchange object matched with the object of the type A is the object of the type B and C, and the exchange object matched with the object of the type B is the object of the type A and D. If the type of the to-be-exchanged object is A, and the type of the target exchange object is D, the object of the type A is not matched with the object of the type D in the preset type configuration information, and thus the detection apparatus may determine that the second detection result is not compliant. If the type of the to-be-exchanged object is A, and the type of the target exchange object is B, the object of the type A is not matched with the object of the type B in the preset type configuration information, and thus the detection apparatus may determine that the second detection result is compliant.
[00108] It is to be noted that, in the embodiment of the disclosure, the detection apparatus performs the compliance detection on the type of the target exchange object. Not only may whether to be matched with the type of the to-be-exchanged object be detected, but the detection may also be made based on other type setting rules, which is not limited by the embodiment of the disclosure.
[00109] Specifically, in the embodiment of the disclosure, the detection apparatus performs the compliance detection on the type of the target exchange object based on the first image to obtain the second detection result, which may further include that: personal information of a second person associated with the to-be-exchanged object, and preset exchangeable type information corresponding to the target scenario are acquired; in a case where the type of the target exchange object is matched with an object type corresponding to the personal information, and the preset exchangeable type information, it is determined that the second detection result is compliant; and/or in a case where the type of the target exchange object is not matched with the object type corresponding to the personal information, or, the preset exchangeable type information, it is determined that the second detection result is not compliant.
[00110] It is to be understood that in the embodiment of the disclosure, the detection apparatus may acquire the personal information of the second person. The personal information may include information on whether the person is a member and the like. The type of the target exchange object may be matched with an object type corresponding to the personal information. For example, the personal information is that the second person is the member and only the member can exchange the object with the type of the target exchange object, i.e., it is allowed that the target exchange object is exchanged to the second person. Certainly, the type of the target exchange object may also not be matched with the object type corresponding to the personal information. For example, the personal information is that the second person is not the member and only the member can exchange the object with the type of the target exchange object, i.e., it is not allowed that the target exchange object is exchanged to the second person.
[00111] It is to be understood that in the embodiment of the disclosure, the object type that may be exchanged is limited for the target scenario. The detection apparatus may directly acquire the preset exchangeable type information corresponding to the target scenario, the preset exchangeable type information including the object type that may be exchanged in the target scenario. As the type of the target exchange object may be unnecessarily exchangeable in the target scenario, there is a need to match the type of the target exchange object with the preset exchangeable type information.
[00112] In S203, in a case where the second detection result is not compliant, alarm prompt information for characterizing a type error of the target exchange object is output.
[ 00113] In the embodiment of the disclosure, after obtaining the second detection result, the detection apparatus outputs the alarm prompt information for characterizing the type error of the target exchange object in the case where the second detection result is not compliant.
[ 00114] It is to be understood that in the embodiment of the disclosure, in the case where the second detection result is not compliant, the type of the target exchange object is not compliant and cannot be exchanged in the target scenario, the detection apparatus may timely output the alarm prompt information for characterizing the type error of the target exchange object, and the person may timely know that the target exchange object cannot be exchanged and take back the target exchange object, thereby improving the object exchange accuracy.
[ 00115] FIG. 3 illustrates a third flowchart schematic diagram of a method for detecting an object exchange behavior provided by an embodiment of the disclosure. As shown in FIG. 3, in the embodiment of the disclosure, the detection apparatus may further execute the following steps after executing Step S201.
[ 00116] In S301, after the first image is acquired, a second image in which the first person pushes the target exchange object out of the second preset region is continuously acquired based on the video stream.
[ 00117] In the embodiment of the disclosure, after acquiring the first image, the detection apparatus may continuously acquire, based on the video stream, the second image in which the first person pushes the target exchange object out of the second preset region.
[ 00118] Specifically, in the embodiment of the disclosure, the detection module sequentially detects a second preset placement action of the first person and the target exchange object in a preset object placement region out of the second preset region for at least one frame of image after the first image in the video stream, wherein the second preset placement action may include an action for placing the target exchange object in the preset object placement region; and determines at least one frame of image in which the second preset placement action of the first person is detected and the target exchange object is present in the second preset region as the second image.
[ 00119] It is to be understood that in the embodiment of the disclosure, the detection apparatus sequentially detects the first preset placement action of the first person for at least one frame of image after the present image in the video stream. Specifically, it may be implemented in a mode of detecting the action of the first person based on multiple continuous frames of images, and may also be implemented in a mode of continuously detecting, through the video stream, a position of the target exchange object and whether a person to which a hand operating the target exchange object belongs is the first person. Specifically, the second image may be one frame of image, and may also be multiple frames of images, which is not limited by the embodiment of the disclosure.
[ 00120] In S302, in a case where the second image is acquired, values of the target exchange object and the to-be-exchanged object are detected based on the first image and the present image respectively.
[ 00121] In the embodiment of the disclosure, in the case where the detection apparatus acquires the second image, the first person pushed the target exchange object out of the second preset region. By this time, it is indicated that the first person has confirmed that the selected target exchange object may be used to exchange the to-be-exchanged object. The detection apparatus further detects the values of the target exchange object and the to-be-exchanged object based on the first image and the present image respectively.
[ 00122] It is to be understood that in the embodiment of the disclosure, the target exchange object is configured to exchange the to-be-exchanged object. The exchange principle is that values to be exchanged are equal. However, the first person may have a determination error such that the value of the selected target exchange object is unequal to that of the to-be-exchanged object. Hence, the detection apparatus needs to make a further detection on the values.
[ 00123] In S303, in a case where the values of the target exchange object and the to-be exchanged object are unequal, alarm prompt information for characterizing a value error of the target exchange object is output.
[ 00124] In the embodiment of the disclosure, after detecting the values of the target exchange object and the to-be-exchanged object respectively, the detection apparatus outputs, in the case where the values of the target exchange object and the to-be exchanged object are unequal, the alarm prompt information for characterizing the value error of the target exchange object.
[ 00125] It is to be understood that in the embodiment of the disclosure, in the case where the values of the target exchange object and the to-be-exchanged object are unequal, the exchange cannot be made in the target scenario. Therefore, the detection apparatus may timely output the alarm prompt information for characterizing the value error of the to-be-exchanged object to prompt the first person of adjusting the number of target exchange objects, such that the value of the target exchange object is equal to that of the to-be-exchanged object, thereby implementing the object exchange, and improving the object exchange accuracy.
[ 00126] FIG. 4 illustrates a fourth flowchart schematic diagram of a detection method provided by an embodiment of the disclosure. As shown in FIG. 4, in the embodiment of the disclosure, the detection apparatus may further execute the following steps after executing Step S301.
[ 00127] In S401, after the second image is acquired, a third image in which the first preset region does not contain the to-be-exchanged object is continuously acquired based on the video stream.
[ 00128] In the embodiment of the disclosure, after acquiring the second image, the detection apparatus may continuously acquire, based on the video stream, the third image in which the first preset region does not contain the to-be-exchanged object.
[ 00129] It is to be understood that in the embodiment of the disclosure, the detection apparatus may sequentially detect whether the first preset region includes the to-be exchanged object for at least one frame of image after the second image in the video stream, and determine at least one frame of image in which the first preset region does not contain the to-be-exchanged object as the third image.
[ 00130] In S402, in a case where a duration for not acquiring the third image reaches a preset duration, alarm prompt information for characterizing that the to-be-exchanged object is not recycled is output.
[ 00131] In the embodiment of the disclosure, in the case where the duration for not acquiring the third image reaches the preset duration, the detection apparatus outputs the alarm prompt information for characterizing that the to-be-exchanged object is not recycled.
[ 00132] It is to be noted that in the embodiment of the disclosure, the detection apparatus stores the preset duration. The specific preset duration may be set according to an actual demand and an application scenario, and is not limited by the embodiment of the disclosure.
[00133] It is to be understood that in the embodiment of the disclosure, the detection apparatus starts timing when acquiring the third image after the values of the target exchange object and the to-be-exchanged object are equal. If the third image is not acquired within the preset duration, i.e., the to-be-exchanged object is in the first preset region, the first person may forget to recycle the to-be-exchanged object after exchanging the target exchange object. Therefore, the detection apparatus may output the alarm prompt information for characterizing that the to-be-exchanged object is not recycled, and the first person may timely recycle the to-be-exchanged object after viewing the alarm prompt information.
[00134] It is to be noted that in the embodiment of the disclosure, the detection apparatus may further execute the following steps upon the completion of the exchange: personal information of a second person associated with the to-be-exchanged object is acquired; and in a case where the second image is acquired, an association between the to-be-exchanged object and the personal information is removed, and the target exchange object is associated with the personal information.
[00135] It is to be understood that in the embodiment of the disclosure, the object held by the second person in fact has changed upon the completion of the exchange. Therefore, the detection apparatus removes the association between the to-be-exchanged object and the personal information of the second person, and increases the association between the target exchange object and the personal information of the second person, which facilitates tracing in the subsequent application of the target exchange object to know relevant information of the associated person for corresponding processing, thereby ensuring correctness in use. In addition, the to-be-exchanged object may also be provided for other persons for use, to improve the utilization rate of the object.
[00136] FIG. 5 illustrates a detection flowchart schematic diagram of an exemplary object exchange process provided by an embodiment of the disclosure. As shown in FIG. 5, in the embodiment of the disclosure, in a case where the second person associated with the to-be-exchanged object requires to exchange the to-be-exchanged object, the detection apparatus may acquire the present image in which the first person places the to be-exchanged object in the first preset region, may then acquire the first image in which the first person places the target exchange object for exchanging the to-be-exchanged object in the second preset region, detects whether the types of the to-be-exchanged object and the target exchange object are compliant, outputs corresponding alarm prompt information in a case where the types are not compliant such that the first person may make adjustments, acquires the second image in which the first person pushes the target exchange object out of the second preset region in a case where the types are compliant, then detects whether the values of the to-be-exchanged object and the target exchange object are consistent, and outputs corresponding alarm prompt information in a case where the values are not consistent.
[00137] It is to be noted that in the embodiment of the disclosure, after detecting whether the types of the to-be-exchanged object and the target exchange object are compliant, the detection apparatus may output the corresponding alarm prompt information in the case where the types are not compliant, and may further first send the to-be-exchanged object and the target exchange object as well as the personal information of the second person to other management devices for storage in the other management devices in the case where the types are not compliant.
[00138] The embodiment of the disclosure provides the method for detecting the object exchange behavior, which includes that: a video stream of a target scenario is acquired; in a case where it is detected from a present image in the video stream that afirst person places a to-be-exchanged object in a first preset region, a compliance detection is performed on a type of the to-be-exchanged object based on the present image to obtain a first detection result; and in a case where the first detection result is not compliant, alarm prompt information for characterizing a type error of the to-be-exchanged object is output. According to the method for detecting the object exchange behavior provided by the embodiment of the disclosure, in the process of determining the exchange, whether the type of the to-be-exchanged object in the scenario is compliant is detected, and the information for prompting of correcting the wrong operation in the scenario is timely output in a case where the type is not compliant. The method improves the object exchange accuracy.
[ 00139] The embodiments of the disclosure provide an apparatus for detecting an object exchange behavior. FIG. 6 illustrates a structural schematic diagram of an apparatus for detecting an object exchange behavior provided by an embodiment of the disclosure. As shown in FIG. 6, the detection apparatus may include an acquisition module 601, a detection module 602 and an alarm module 603.
[ 00140] The acquisition module 601 is configured to acquire a video stream of a target scenario.
[ 00141] The detection module 602 is configured to perform, in a case where it is detected from a present image in the video stream that a first person places a to-be exchanged object in a first preset region, a compliance detection on a type of the to-be exchanged object based on the present image to obtain a first detection result.
[ 00142] The alarm module 603 is configured to output, in a case where the first detection result is not compliant, alarm prompt information for characterizing a type error of the to-be-exchanged object.
[ 00143] In an embodiment of the disclosure, the detection module 602 is specifically configured to acquire personal information of a second person associated with the to-be exchanged object, and preset exchangeable type information corresponding to the target scenario; and determine, in a case where the type of the to-be-exchanged object is matched with an object type corresponding to the personal information, and the preset exchangeable type information, that the first detection result is compliant; and/or determine, in a case where the type of the to-be-exchanged object is not matched with the object type corresponding to the personal information, or, the preset exchangeable type information, that the first detection result is not compliant.
[ 00144] In an embodiment of the disclosure, the detection module 602 is further configured to sequentially detect, before performing the compliance detection on the type of the to-be-exchanged object based on the present image to obtain the first detection result, a preset take-away action of the first person and the to-be-exchanged object in the first preset region for at least one frame of image in the video stream, wherein the preset take-away action comprises an action for taking away the to-be-exchanged object from a preset object placement region; and determine at least one frame of image in which the preset take-way action of the first person is detected and the to-be-exchanged object is present in the first preset region as the present image.
[ 00145] In an embodiment of the disclosure, the detection module 602 is further configured to continuously acquire, after the detection module detects from the present image that the first person places the to-be-exchanged object in the first preset region, based on the video stream, a first image in which thefirst person places a target exchange object in a second preset region, the target exchange object being an object for exchanging the to-be-exchanged object; and perform, in a case where the first image is acquired, a compliance detection on a type of the target exchange object based on the first image to obtain a second detection result.
[ 00146] The alarm module 603 is further configured to output, in a case where the second detection result is not compliant, alarm prompt information for characterizing a type error of the target exchange object.
[ 00147] In an embodiment of the disclosure, the detection module 602 is specifically configured to acquire preset type configuration information; and determine, in a case where the type of the to-be-exchanged object is matched with the type of the target exchange object according to the preset type configuration information, that the second detection result is compliant; and/or determine, in a case where the type of the to-be exchanged object is not matched with the type of the target exchange object according to the preset type configuration information, that the second detection result is not compliant.
[ 00148] In an embodiment of the disclosure, the detection module 602 is specifically configured to acquire personal information of a second person associated with the to-be exchanged object, and preset exchangeable type information corresponding to the target scenario; and determine, in a case where the type of the target exchange object is matched with an object type corresponding to the personal information, and the preset exchangeable type information, that the second detection result is compliant; and/or determine, in a case where the type of the target exchange object is not matched with the object type corresponding to the personal information, or, the preset exchangeable type information, that the second detection result is not compliant.
[ 00149] In an embodiment of the disclosure, the detection module 602 is further configured to sequentially detect, before performing the compliance detection on the type of the target exchange object to obtain the second detection result, a first preset placement action of the first person and the target exchange object in the second preset region for at least one frame of image after the present image in the video stream, wherein the preset placement action may include an action for placing the target exchange object in the second preset region; and determine at least one frame of image in which the first preset placement action of the first person is detected and the target exchange object is present in the second preset region as the first image.
[ 00150] In an embodiment of the disclosure, the detection module 602 is further configured to continuously acquire, after acquiring the first image, based on the video stream, a second image in which the first person pushes the target exchange object out of the second preset region; and detect, in a case where the second image is acquired, values of the target exchange object and the to-be-exchanged object based on the first image and the present image respectively.
[ 00151] The alarm module 603 is further configured to output, in a case where the values of the target exchange object and the to-be-exchanged object are unequal, alarm prompt information for characterizing a value error of the target exchange object.
[ 00152] In an embodiment of the disclosure, the detection module 602 is further configured to sequentially detecting, before detecting the values of the target exchange object and the to-be-exchanged object based on the first image and the present image respectively, a second preset placement action of the first person and the target exchange object in a preset object placement region out of the second preset region for at least one frame of image after the first image in the video stream, wherein the second preset placement action may include an action for placing the target exchange object in the preset object placement region; and determine at least one frame of image in which the second preset placement action of the first person is detected and the target exchange object is present in the second preset region as the second image.
[ 00153] In an embodiment of the disclosure, the detection module 602 is further configured to continuously acquire, after acquiring the second image, based on the video stream, a third image in which the first preset region does not contain the to-be exchanged object.
[ 00154] The alarm module 603 is further configured to output, in a case where a duration for not acquiring the third image reaches a preset duration, alarm prompt information for characterizing that the to-be-exchanged object is not recycled.
[ 00155] In an embodiment of the disclosure, the detection module 602 is further configured to acquire personal information of a second person associated with the to-be exchanged object; and remove, in a case where the second image is acquired, an association between the to-be-exchanged object and the personal information, and associate the target exchange object with the personal information.
[ 00156] In some embodiments, the target scenario may include a game table scenario; and the to-be-exchanged object may include a token, and the first preset region and the second preset region may include a preset operation region of the first person on the game table.
[ 00157] The embodiments of the disclosure provide an electronic device. FIG. 7 illustrates a structural schematic diagram of an electronic device provided by an embodiment of the disclosure. As shown in FIG. 7, the electronic device may include: a processor 701, a memory 702 and a communication bus 703.
[ 00158] The communication bus 703 is configured to implement connection and communication between the processor 701 and the memory 702.
[ 00159] The processor 701 is configured to execute one or more programs stored in the memory 702, to implement the method for detecting the object exchange behavior.
[ 00160] The embodiments of the disclosure further provide a computer-readable storage medium, storing one or more programs; and the one or more programs may be executed by one or more processors, to implement the method for detecting the object exchange behavior. The computer readable storage may be a volatile memory such as a Random-Access Memory (RAM), or a non-volatile memory such as a Read-Only Memory (ROM), a flash memory, a Hard Disk Drive (HDD) or a Solid-State Drive (SSD), or may also be a device including any one or combination of the above memories, such as a mobile phone, a computer, a tablet and a PDA.
[ 00161] Those skilled in the art should understand that the embodiments of the disclosure can provide a method, a system or a computer program product. Thus, forms of hardware embodiments, software embodiments or embodiments integrating software and hardware can be adopted in the disclosure. Moreover, a form of the computer program product implemented on one or more computer available storage media (including, but not limited to, a disk memory, an optical memory and the like) containing computer available program codes can be adopted in the disclosure.
[ 00162] The disclosure is described with reference to flowcharts and/or block diagrams of the method, the device (system) and the computer program product according to the embodiments of the disclosure. It should be understood that each flow and/or block in the flowcharts and/or the block diagrams and a combination of the flows and/or the blocks in the flowcharts and/or the block diagrams can be realized by computer program instructions. These computer program instructions can be provided for a general computer, a dedicated computer, an embedded processor or processors of other programmable data processing devices to generate a machine, so that an apparatus for realizing functions assigned in one or more flows of the flowcharts and/or one or more blocks of the block diagrams is generated via instructions executed by the computers or the processors of the other programmable data processing devices.
[ 00163] These computer program instructions can also be stored in a computer readable memory capable of guiding the computers or the other programmable data processing devices to work in a specific mode, so that a manufactured product including an instruction apparatus is generated via the instructions stored in the computer readable memory, and the instruction apparatus realizes the functions assigned in one or more flows of the flowcharts and/or one or more blocks of the block diagrams.
[ 00164] These computer program instructions can also be loaded to the computers or the other programmable data processing devices, so that processing realized by the computers is generated by executing a series of operation steps on the computers or the other programmable devices, and therefore the instructions executed on the computers or the other programmable devices provide a step of realizing the functions assigned in one or more flows of the flowcharts and/or one or more blocks of the block diagrams.
[ 00165] The above are merely preferred embodiments of the disclosure, rather than a limit to the protection scope of the disclosure.

Claims (21)

1. A method for detecting an object exchange behavior, comprising: acquiring a video stream of a target scenario; performing, in a case of detecting from a present image in the video stream that a first person places a to-be-exchanged object in a first preset region, a compliance detection on a type of the to-be-exchanged object based on the present image to obtain a first detection result; and outputting, in a case where the first detection result is not compliant, alarm prompt information for characterizing a type error of the to-be-exchanged object.
2. The method of claim 1, wherein performing the compliance detection on the type of the to be-exchanged object based on the present image to obtain the first detection result comprises: acquiring personal information of a second person associated with the to-be exchanged object, and preset exchangeable type information corresponding to the target scenario; and determining, in a case where the type of the to-be-exchanged object is matched with an object type corresponding to the personal information, and the preset exchangeable type information, that the first detection result is compliant; and/or determining, in a case where the type of the to-be-exchanged object is not matched with the object type corresponding to the personal information, or, the preset exchangeable type information, that the first detection result is not compliant.
3. The method of claim 1 or 2, wherein the method further comprises: before performing the compliance detection on the type of the to-be-exchanged object based on the present image to obtain thefirst detection result, sequentially detecting a preset take-away action of the first person and the to-be-exchanged object in the first preset region for at least one frame of image in the video stream, wherein the preset take-away action comprises an action for taking away the to-be-exchanged object from a preset object placement region; and determining at least one frame of image in which the preset take-way action of the first person is detected and the to-be-exchanged object is present in the first preset region as the present image.
4. The method of claim 1, wherein the method further comprises: after detecting from the present image that the first person places the to-be-exchanged object in the first preset region, continuously acquiring, based on the video stream, a first image in which the first person places a target exchange object in a second preset region, the target exchange object being an object for exchanging the to-be-exchanged object; performing, in a case of acquiring the first image, a compliance detection on a type of the target exchange object based on the first image to obtain a second detection result; and outputting, in a case where the second detection result is not compliant, alarm prompt information for characterizing a type error of the target exchange object.
5. The method of claim 4, wherein performing the compliance detection on the type of the target exchange object based on the first image to obtain the second detection result comprises: acquiring preset type configuration information; and determining, in a case where the type of the to-be-exchanged object is matched with the type of the target exchange object according to the preset type configuration information, that the second detection result is compliant; and/or determining, in a case where the type of the to-be-exchanged object is not matched with the type of the target exchange object according to the preset type configuration information, that the second detection result is not compliant.
6. The method of claim 4, wherein performing the compliance detection on the type of the target exchange object based on the first image to obtain the second detection result comprises: acquiring personal information of a second person associated with the to-be exchanged object, and preset exchangeable type information corresponding to the target scenario; and determining, in a case where the type of the target exchange object is matched with an object type corresponding to the personal information, and the preset exchangeable type information, that the second detection result is compliant; and/or determining, in a case where the type of the target exchange object is not matched with the object type corresponding to the personal information, or, the preset exchangeable type information, that the second detection result is not compliant.
7. The method of claim 4, wherein the method further comprises: before performing the compliance detection on the type of the target exchange object to obtain the second detection result, sequentially detecting a first preset placement action of the first person and the target exchange object in the second preset region for at least one frame of image after the present image in the video stream, wherein the preset placement action comprises an action for placing the target exchange object in the second preset region; and determining at least one frame of image in which the first preset placement action of the first person is detected and the target exchange object is present in the second preset region as the first image.
8. The method of claim 4, wherein the method further comprises: after acquiring the first image, continuously acquiring, based on the video stream, a second image in which the first person pushes the target exchange object out of the second preset region; detecting, in a case of acquiring the second image, values of the target exchange object and the to-be-exchanged object based on the first image and the present image respectively; and outputting, in a case where the values of the target exchange object and the to-be exchanged object are unequal, alarm prompt information for characterizing a value error of the target exchange object.
9. The method of claim 8, wherein the method further comprises: before detecting the values of the target exchange object and the to-be-exchanged object based on the first image and the present image respectively, sequentially detecting, a second preset placement action of the first person and the target exchange object in a preset object placement region out of the second preset region for at least one frame of image after the first image in the video stream, wherein the second preset placement action comprises an action for placing the target exchange object in the preset object placement region; and determining at least one frame of image in which the second preset placement action of the first person is detected and the target exchange object is present in the second preset region as the second image.
10. The method of claim 8, wherein the method further comprises: after acquiring the second image, continuously acquiring, based on the video stream, a third image in which the first preset region does not contain the to-be-exchanged object; and outputting, in a case where a duration for not acquiring the third image reaches a preset duration, alarm prompt information for characterizing that the to-be-exchanged object is not recycled.
11. The method of claim 8, wherein the method further comprises: acquiring personal information of a second person associated with the to-be exchanged object; and removing, in a case of acquiring the second image, an association between the to-be exchanged object and the personal information, and associating the target exchange object with the personal information.
12. The method of any one of claims 8 to 11, wherein the target scenario comprises a game table scenario; and the to-be-exchanged object comprises a token, and the first preset region and the second preset region comprise a preset operation region of the first person on the game table.
13. An apparatus for detecting an object exchange behavior, comprising: an acquisition module, configured to acquire a video stream of a target scenario; a detection module, configured to perform, in a case of detecting from a present image in the video stream that a first person places a to-be-exchanged object in a first preset region, a compliance detection on a type of the to-be-exchanged object based on the present image to obtain a first detection result; and an alarm module, configured to output, in a case where the first detection result is not compliant, alarm prompt information for characterizing a type error of the to-be-exchanged object.
14. The apparatus of claim 13, wherein the detection module is specifically configured to acquire personal information of a second person associated with the to-be-exchanged object, and preset exchangeable type information corresponding to the target scenario; and determine, in a case where the type of the to-be-exchanged object is matched with an object type corresponding to the personal information, and the preset exchangeable type information, that the first detection result is compliant; and/or determine, in a case where the type of the to-be-exchanged object is not matched with the object type corresponding to the personal information, or, the preset exchangeable type information, that the first detection result is not compliant.
15. The apparatus of claim 13 or 14, wherein the detection module is further configured to, before performing the compliance detection on the type of the to-be-exchanged object based on the present image to obtain the first detection result, sequentially detect a preset take-away action of the first person and the to-be-exchanged object in the first preset region for at least one frame of image in the video stream, wherein the preset take-away action comprises an action for taking away the to-be exchanged object from a preset object placement region; and determine at least one frame of image in which the preset take-way action of the first person is detected and the to-be exchanged object is present in the first preset region as the present image.
16. The apparatus of claim 13, wherein the detection module is further configured to, after detecting from the present image that the first person places the to-be-exchanged object in the first preset region, continuously acquire, based on the video stream, a first image in which the first person places a target exchange object in a second preset region, the target exchange object being an object for exchanging the to-be-exchanged object; and perform, in a case of acquiring the first image, a compliance detection on a type of the target exchange object based on the first image to obtain a second detection result; and the alarm module is further configured to output, in a case where the second detection result is not compliant, alarm prompt information for characterizing a type error of the target exchange object.
17. The apparatus of claim 16, wherein the detection module is specifically configured to acquire preset type configuration information; and determine, in a case where the type of the to-be-exchanged object is matched with the type of the target exchange object according to the preset type configuration information, that the second detection result is compliant; and/or determine, in a case where the type of the to-be-exchanged object is not matched with the type of the target exchange object according to the preset type configuration information, that the second detection result is not compliant.
18. An electronic device, comprising a processor, a memory and a communication bus, wherein the communication bus is configured to implement connection and communication between the processor and the memory; and the processor is configured to execute one or more programs stored in the memory, to implement the method for detecting the object exchange behavior of any one of claims 1 to 12.
19. A computer-readable storage medium, storing one or more programs, wherein the one or more programs are able to be executed by one or more processors, to implement the method for detecting the object exchange behavior of any one of claims I to 12.
20. A computer program, stored in a memory; wherein the computer program, when executed by a processor, implements method for detecting the object exchange behavior of any one of claims I to 12.
21. A computer program, comprising computer-readable codes which, when executed in an electronic device, cause a processor in the electronic device to perform the method of any of claims I to 12.
AU2021204607A 2021-06-21 2021-06-25 Method and apparatus for detecting object exchange behavior, electronic device and storage medium Active AU2021204607B2 (en)

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
SG10202106719W 2021-06-21
SG10202106719W 2021-06-21
PCT/IB2021/055685 WO2022269320A1 (en) 2021-06-21 2021-06-25 Method and apparatus for detecting object exchange behavior, electronic device and storage medium

Publications (2)

Publication Number Publication Date
AU2021204607A1 true AU2021204607A1 (en) 2023-01-19
AU2021204607B2 AU2021204607B2 (en) 2023-04-27

Family

ID=82274792

Family Applications (1)

Application Number Title Priority Date Filing Date
AU2021204607A Active AU2021204607B2 (en) 2021-06-21 2021-06-25 Method and apparatus for detecting object exchange behavior, electronic device and storage medium

Country Status (4)

Country Link
JP (1) JP7455855B2 (en)
KR (1) KR102632435B1 (en)
CN (1) CN114746910A (en)
AU (1) AU2021204607B2 (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180061178A1 (en) * 2015-08-03 2018-03-01 Angel Playing Cards Co., Ltd. Management system of substitute currency for gaming
SG10201913763WA (en) * 2019-12-30 2021-04-29 Sensetime Int Pte Ltd Image processing methods and apparatuses, electronic devices, and storage media

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101041515B1 (en) 1999-05-19 2011-06-16 디지맥 코포레이션 Methods and systems for controlling computers or linking to Internet resources from physical and electronic objects
CA3032770A1 (en) * 2015-08-03 2018-02-08 Angel Playing Cards Co., Ltd. Game management system
SG10202109414SA (en) 2015-08-03 2021-10-28 Angel Playing Cards Co Ltd Fraud detection system in casino
KR101925208B1 (en) * 2017-04-04 2018-12-04 남승리 Monitoring apparatus and method for unfair conduct of casino table using camera
CA3091858A1 (en) * 2018-03-05 2019-09-12 Walker Digital Table Systems, Llc Systems and methods for verifying player identity at a table game
KR20200133675A (en) * 2019-05-20 2020-11-30 엔제루 프레잉구 카도 가부시키가이샤 Game token management system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180061178A1 (en) * 2015-08-03 2018-03-01 Angel Playing Cards Co., Ltd. Management system of substitute currency for gaming
SG10201913763WA (en) * 2019-12-30 2021-04-29 Sensetime Int Pte Ltd Image processing methods and apparatuses, electronic devices, and storage media

Also Published As

Publication number Publication date
JP2023534318A (en) 2023-08-09
JP7455855B2 (en) 2024-03-26
KR102632435B1 (en) 2024-02-01
KR20230000926A (en) 2023-01-03
AU2021204607B2 (en) 2023-04-27
CN114746910A (en) 2022-07-12

Similar Documents

Publication Publication Date Title
US10169900B2 (en) Picture processing method and apparatus
US20180039819A1 (en) Method and device for identity verification
EP3249568A1 (en) Method and apparatus for displaying application and picture, and electronic device
CN107532881B (en) Measurement method and terminal
CN106330458B (en) A kind of processing method and processing device of identifying code
CN111080571B (en) Camera shielding state detection method, device, terminal and storage medium
US20220401825A1 (en) Alarm method and apparatus for tabletop game, electronic device and storage medium
CN108052407A (en) A kind of application crash means of defence, device, equipment and storage medium
CN111881740A (en) Face recognition method, face recognition device, electronic equipment and medium
CN110941834B (en) Multiparty computing, data auditing and data processing method, system and equipment
AU2021204607B2 (en) Method and apparatus for detecting object exchange behavior, electronic device and storage medium
US20220415117A1 (en) Method and apparatus for detecting object exchange behavior, electronic device and storage medium
WO2022269320A1 (en) Method and apparatus for detecting object exchange behavior, electronic device and storage medium
CN109242763B (en) Picture processing method, picture processing device and terminal equipment
WO2022096955A1 (en) Alarm method and apparatus for tabletop game, electronic device and storage medium
TWI482099B (en) Image processing and recording system and image processing and recording method thereof
CN106101539A (en) A kind of self-shooting bar angle regulation method and self-shooting bar
CN107146156B (en) Method and device for matching transaction card number with terminal identification
CN110443564B (en) Leave asking management and control method and related product
CN106406878A (en) Image playing control method and terminal
CN116467180A (en) Data processing method and device, electronic equipment and storage medium
CN113128302A (en) Image detection method and related product
CN117221711A (en) Image shooting method and device and electronic equipment
CN117215700A (en) Parallel data processing method, device, electronic equipment and storage medium
WO2022243736A1 (en) Edge computing method and apparatus, edge device and storage medium

Legal Events

Date Code Title Description
FGA Letters patent sealed or granted (standard patent)