WO2022269320A1 - 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 PDFInfo
- Publication number
- WO2022269320A1 WO2022269320A1 PCT/IB2021/055685 IB2021055685W WO2022269320A1 WO 2022269320 A1 WO2022269320 A1 WO 2022269320A1 IB 2021055685 W IB2021055685 W IB 2021055685W WO 2022269320 A1 WO2022269320 A1 WO 2022269320A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- preset
- type
- image
- exchanged
- person
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 64
- 238000001514 detection method Methods 0.000 claims abstract description 221
- 230000006399 behavior Effects 0.000 claims description 32
- 230000015654 memory Effects 0.000 claims description 21
- 238000004590 computer program Methods 0.000 claims description 10
- 238000010586 diagram Methods 0.000 description 20
- 230000006870 function Effects 0.000 description 3
- 208000016253 exhaustion Diseases 0.000 description 1
- 230000004438 eyesight Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V20/00—Scenes; Scene-specific elements
- G06V20/50—Context or environment of the image
- G06V20/52—Surveillance or monitoring of activities, e.g. for recognising suspicious objects
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V20/00—Scenes; Scene-specific elements
- G06V20/60—Type of objects
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V40/00—Recognition of biometric, human-related or animal-related patterns in image or video data
- G06V40/20—Movements or behaviour, e.g. gesture recognition
Definitions
- 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.
- 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.
- the embodiments of the disclosure provide a method for detecting an object exchange behavior, which may include the following operations.
- a video stream of a target scenario is acquired.
- 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.
- alarm prompt information for characterizing a type error of the to-be-exchanged object is output.
- 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.
- the method may further include the following operations.
- 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.
- 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.
- the method may further include the following operations.
- 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.
- a compliance detection is performed on a type of the target exchange object based on the first image to obtain a second detection result.
- alarm prompt information for characterizing a type error of the target exchange object is output.
- 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.
- Preset type configuration information is acquired
- 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.
- the method may further include the following operations.
- 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;
- 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.
- the method may further include the following operations.
- 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.
- alarm prompt information for characterizing a value error of the target exchange object is output.
- the method may further include the following operations.
- 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.
- 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.
- the method may further include the following operations.
- the method may further include the following operations.
- 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.
- 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.
- the acquisition module is configured to acquire a video stream of a target scenario.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- the embodiments of the disclosure provide an electronic device, which may include: a processor, a memory and a communication bus.
- the communication bus is configured to implement connection and communication between the processor and the memory.
- the processor is configured to execute one or more programs stored in the memory, to implement the method for detecting the object exchange behavior.
- 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.
- 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.
- 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.
- FIG. 1 illustrates a first flowchart schematic diagram of a method for detecting an object exchange behavior provided by an embodiment of the disclosure.
- FIG. 2 illustrates a second flowchart schematic diagram of a method for detecting an object exchange behavior provided by an embodiment of the disclosure.
- FIG. 3 illustrates a third flowchart schematic diagram of a method for detecting an object exchange behavior provided by an embodiment of the disclosure.
- FIG. 4 illustrates a fourth flowchart schematic diagram of a method for detecting an object exchange behavior provided by an embodiment of the disclosure.
- FIG. 5 illustrates a detection flowchart schematic diagram of an exemplary object exchange process provided by an embodiment of the disclosure.
- FIG. 6 illustrates a structural schematic diagram of an apparatus for detecting an object exchange behavior provided by an embodiment of the disclosure.
- FIG. 7 illustrates a structural schematic diagram of an electronic device provided by an embodiment of the disclosure.
- 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.
- 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.
- UE User Equipment
- PDA Personal Digital Assistant
- 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.
- FIG. 1 illustrates a first flowchart schematic diagram of a method for detecting an object exchange behavior provided by an embodiment of the disclosure.
- the method for detecting the object exchange behavior mainly includes the following steps.
- the detection apparatus may acquire the video stream of the target scenario.
- 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.
- 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.
- 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.
- SI 02 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.
- 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.
- the target scenario may be 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.
- 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.
- 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.
- 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.
- 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.
- the detection apparatus may acquire them from other management devices.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- the detection apparatus 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.
- 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.
- 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.
- 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.
- the target scenario includes the game table scenario
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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 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.
- 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.
- 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.
- 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.
- 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.
- the type of the target exchange object may also not be matched with the object type corresponding to the personal information.
- 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.
- 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.
- 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.
- alarm prompt information for characterizing a type error of the target exchange object is output.
- the detection apparatus 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- the detection apparatus acquires the second image
- the first person pushed the target exchange object out of the second preset region.
- 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.
- the target exchange object is configured to exchange the to-be- exchanged object.
- the exchange principle is that values to be exchanged are equal.
- 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.
- the detection apparatus needs to make a further detection on the values.
- the detection apparatus 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.
- 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.
- 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.
- 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.
- 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.
- the detection apparatus 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.
- 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.
- 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.
- 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.
- 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.
- the to-be-exchanged object may also be provided for other persons for use, to improve the utilization rate of the object.
- FIG. 5 illustrates a detection flowchart schematic diagram of an exemplary object exchange process provided by an embodiment of the disclosure.
- 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
- 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.
- 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 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.
- 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.
- FIG. 6 illustrates a structural schematic diagram of an apparatus for detecting an object exchange behavior provided by an embodiment of the disclosure.
- the detection apparatus may include an acquisition module 601, a detection module 602 and an alarm module 603.
- the acquisition module 601 is configured to acquire a video stream of a target scenario.
- 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.
- 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.
- 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.
- 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.
- 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 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- FIG. 7 illustrates a structural schematic diagram of an electronic device provided by an embodiment of the disclosure.
- the electronic device may include: a processor 701, a memory 702 and a communication bus 703.
- the communication bus 703 is configured to implement connection and communication between the processor 701 and the memory 702.
- 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.
- 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.
- RAM Random-Access Memory
- ROM Read-Only Memory
- HDD Hard Disk Drive
- SSD Solid-State Drive
- the embodiments of the disclosure can provide a method, a system or a computer program product.
- forms of hardware embodiments, software embodiments or embodiments integrating software and hardware can be adopted in the disclosure.
- 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
- computer available program codes can be adopted in the disclosure.
- 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.
- 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.
Abstract
Description
Claims
Priority Applications (5)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
AU2021204607A AU2021204607B2 (en) | 2021-06-21 | 2021-06-25 | Method and apparatus for detecting object exchange behavior, electronic device and storage medium |
CN202180001714.2A CN114746910A (en) | 2021-06-21 | 2021-06-25 | Object exchange behavior detection method and device, electronic equipment and storage medium |
KR1020217026875A KR102632435B1 (en) | 2021-06-21 | 2021-06-25 | Methods, devices, electronic devices and storage media for detection of object exchange behavior |
JP2021549525A JP7455855B2 (en) | 2021-06-21 | 2021-06-25 | Detection method, device, electronic device and storage medium of target exchange act |
US17/363,555 US20220415117A1 (en) | 2021-06-25 | 2021-06-30 | Method and apparatus for detecting object exchange behavior, electronic device and storage medium |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SG10202106719W | 2021-06-21 | ||
SG10202106719W | 2021-06-21 |
Related Child Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US17/363,555 Continuation US20220415117A1 (en) | 2021-06-25 | 2021-06-30 | Method and apparatus for detecting object exchange behavior, electronic device and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2022269320A1 true WO2022269320A1 (en) | 2022-12-29 |
Family
ID=84545463
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/IB2021/055685 WO2022269320A1 (en) | 2021-06-21 | 2021-06-25 | Method and apparatus for detecting object exchange behavior, electronic device and storage medium |
Country Status (1)
Country | Link |
---|---|
WO (1) | WO2022269320A1 (en) |
Citations (3)
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 |
CN109344832A (en) * | 2018-09-03 | 2019-02-15 | 北京市商汤科技开发有限公司 | Image processing method and device, electronic equipment and storage medium |
SG10201913763WA (en) * | 2019-12-30 | 2021-04-29 | Sensetime Int Pte Ltd | Image processing methods and apparatuses, electronic devices, and storage media |
-
2021
- 2021-06-25 WO PCT/IB2021/055685 patent/WO2022269320A1/en unknown
Patent Citations (3)
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 |
CN109344832A (en) * | 2018-09-03 | 2019-02-15 | 北京市商汤科技开发有限公司 | Image processing method and device, electronic equipment and storage medium |
SG10201913763WA (en) * | 2019-12-30 | 2021-04-29 | Sensetime Int Pte Ltd | Image processing methods and apparatuses, electronic devices, and storage media |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10169900B2 (en) | Picture processing method and apparatus | |
US10643054B2 (en) | Method and device for identity verification | |
EP3249568B1 (en) | Method and apparatus for displaying application and picture, and electronic device | |
CN106330458B (en) | A kind of processing method and processing device of identifying code | |
KR20210066390A (en) | Personal Information De-identification Method and System | |
US20220401825A1 (en) | Alarm method and apparatus for tabletop game, electronic device and storage medium | |
EP4318364A1 (en) | Insurance verification method and apparatus for electronic device | |
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 | |
CN109144363B (en) | Information processing method and electronic 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 | |
CN113342671A (en) | Method, device, electronic equipment and medium for verifying operation module | |
WO2022269320A1 (en) | Method and apparatus for detecting object exchange behavior, electronic device and storage medium | |
WO2022096955A1 (en) | Alarm method and apparatus for tabletop game, electronic device and storage medium | |
CN109242763B (en) | Picture processing method, picture processing device and terminal equipment | |
TWI482099B (en) | Image processing and recording system and image processing and recording method thereof | |
CN107146156B (en) | Method and device for matching transaction card number with terminal identification | |
CN106406878A (en) | Image playing control method and terminal | |
CN107832597B (en) | Unlocking method and related equipment | |
CN116467180A (en) | Data processing method and device, electronic equipment and storage medium | |
CN117221711A (en) | Image shooting method and device and electronic equipment | |
CN114329399A (en) | Face video verification method, device, equipment and storage medium | |
WO2022243736A1 (en) | Edge computing method and apparatus, edge device and storage medium | |
CN117215700A (en) | Parallel data processing method, device, electronic equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
ENP | Entry into the national phase |
Ref document number: 2021549525 Country of ref document: JP Kind code of ref document: A |
|
ENP | Entry into the national phase |
Ref document number: 2021204607 Country of ref document: AU Date of ref document: 20210625 Kind code of ref document: A |
|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 21946919 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |