A method, device, equipment and medium for determining a gambling location

By using image acquisition equipment to identify and calculate the probability value of gambling locations, combined with evidence captured by drones, the problem of low efficiency in determining gambling locations in the existing technology is solved, and efficient crackdowns on violations are achieved.

CN112528749BActive Publication Date: 2024-09-13ZHEJIANG DAHUA SYST ENG
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202011278954.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-11-16
Publication Date
2024-09-13
Estimated Expiration
2040-11-16

AI Technical Summary

Technical Problem

Existing investigation methods are difficult to efficiently determine the location of gambling gatherings and cannot adapt to crackdown on gambling violations under the new situation, resulting in low efficiency.

Method used

Collect images of the entrance to the set area through image acquisition equipment, identify and determine the gambling personnel and vehicles entering the area, and calculate the probability value of the gambling location based on the type and number of target objects. If the probability value is greater than the set threshold, it is determined to be Gather gambling locations, and send prompt information to the terminal through drones to capture evidence images.

Benefits of technology

It improves the efficiency of determining the location of gambling gatherings, provides evidence that people involved in gambling gather to gamble, and strengthens the crackdown on gambling violations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112528749B
    Figure CN112528749B
Patent Text Reader

Abstract

The present invention discloses a method, device, equipment and medium for determining gambling gathering locations. In the method, for each set area, based on an image of an entrance containing the set area captured by an image acquisition device, the gambling-related persons and / or vehicles related to the gambling-related persons entering the set area are determined; based on the type and number of target objects entering the set area, the probability value of each set area being a gambling gathering location is determined; if the probability value of any set area being a gambling gathering location is greater than a set threshold, the set area with a probability value greater than the set threshold is determined as the target gambling gathering location, thereby achieving the determination of the gambling gathering location through the image captured by the image acquisition device, and improving the efficiency of determining the gambling gathering location.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of image data analysis, and in particular to a method, device, equipment and medium for determining a gambling location. Background Art

[0002] As the country intensifies its crackdown on gambling violations, gamblers have gradually developed new ways of gathering to evade the crackdown. These ways of gathering are more secretive, and due to the use of more high-tech warning equipment, the degree of external warning is also getting higher and higher. For example, gamblers gather in the depths of the mountains where few people go, and set up monitoring equipment near their gambling locations to provide external warnings.

[0003] Therefore, the existing method of determining gambling locations by investigators has become increasingly inefficient and has gradually been unable to adapt to the crackdown on gambling and other illegal activities under the new situation. Therefore, how to improve the efficiency of determining gambling locations has become an urgent problem to be solved. Summary of the invention

[0004] Embodiments of the present invention provide a method, device, equipment and medium for determining a gambling gathering location, so as to solve the problem of low efficiency in the existing method of determining a gambling gathering location.

[0005] An embodiment of the present invention provides a method for determining a gambling location, the method comprising:

[0006] For each set area, according to the image of the entrance of the set area captured by the image acquisition device, the target object entering the set area is determined, wherein the target object includes the gambling person and / or the vehicle related to the gambling person;

[0007] Determine the probability value of the set area being a gambling location according to the type and number of target objects entering the set area;

[0008] If the probability value of any set area being a gambling location is greater than a set threshold, the set area with the probability value greater than the set threshold is determined as the target gambling location.

[0009] Furthermore, the method further comprises:

[0010] The drone is controlled to capture an image of the target gambling location. If the number of the target objects contained in the image exceeds a preset number threshold, the image is determined as an evidence image of gambling by the gambling-related personnel, and a prompt message is sent to the corresponding preset terminal.

[0011] Further, the step of determining the target object entering the set area according to the image of the entrance to the set area captured by the image acquisition device includes:

[0012] Based on the image of the entrance containing the set area captured by the image acquisition device, the facial image in the image is determined. If the facial image matches the pre-saved facial image of the gambler involved, it is determined that the target gambler involved has entered the set area.

[0013] Further, the step of determining the target object entering the set area according to the image of the entrance to the set area captured by the image acquisition device includes:

[0014] If the target object corresponding to the facial image is located in a vehicle, it is determined that the target vehicle related to the gambler has entered the set area.

[0015] Further, the step of determining the target object entering the set area according to the image of the entrance to the set area captured by the image acquisition device includes:

[0016] Based on the image of the entrance including the set area captured by the image acquisition device, the target vehicle number of the vehicle image in the image is determined. If the target vehicle number exists in the pre-saved vehicle numbers of the vehicles of the gamblers, it is determined that the target vehicle related to the gamblers has entered the set area.

[0017] Furthermore, the determining of the probability value of the set area being a gambling location according to the type and number of the target objects entering the set area includes:

[0018] If the target objects entering the set area include target gamblers, determining the first score of the target gamblers according to the number of the target gamblers and the first probability values ​​corresponding to the gamblers stored in advance;

[0019] If the target objects entering the set area include target vehicles corresponding to target vehicle numbers in the pre-saved vehicle numbers of vehicles of gambling-related persons, then the second integral value of the target vehicle is determined according to the number of the target vehicles and the pre-saved second probability value corresponding to the vehicle;

[0020] According to the determined sum of the integral values, the sum is determined as the probability value that the set area is a gambling location.

[0021] Furthermore, if the target objects entering the set area include target gambling persons, determining the first score of the target gambling persons according to the number of the target gambling persons and the first probability values ​​corresponding to the gambling persons saved in advance includes:

[0022] If the target objects entering the set area include target gamblers in a vehicle, the first score value of the target gamblers in the vehicle is determined based on the number of target gamblers in the vehicle and a first probability value corresponding to the number of gamblers in the vehicle that is pre-saved.

[0023] Accordingly, an embodiment of the present invention provides a device for determining a gambling location, the device comprising:

[0024] A processing module is used to determine, for each set area, target objects entering the set area based on an image of an entrance to the set area captured by an image acquisition device, wherein the target objects include gambling personnel and / or vehicles related to gambling personnel; and determine a probability value of the set area being a gambling gathering place based on the type and number of target objects entering the set area;

[0025] A determination module is used to determine the set area with a probability value greater than the set threshold as a target gambling location if the probability value of any set area being a gambling location is greater than a set threshold.

[0026] Furthermore, the device also includes:

[0027] The control module is used to control the drone to capture images of the target gambling location. If the number of the target objects contained in the image exceeds a preset number threshold, the image is determined as an evidence image of gambling by people involved in gambling, and a prompt message is sent to the corresponding preset terminal.

[0028] Furthermore, the processing module is specifically used to determine a facial image in an image containing the entrance of the set area captured by an image acquisition device; if the facial image matches a pre-saved facial image of a gambler involved, it is determined that the target gambler involved has entered the set area.

[0029] Furthermore, the processing module is specifically used to determine that a target vehicle related to a gambler has entered the set area if the target object corresponding to the facial image is located in the vehicle.

[0030] Furthermore, the processing module is specifically used to determine the target vehicle number of the vehicle image in the image of the entrance including the set area captured by the image acquisition device, and if the target vehicle number exists in the pre-saved vehicle numbers of the vehicles of the gambling involved persons, it is determined that the target vehicle related to the gambling involved person enters the set area.

[0031] Furthermore, the processing module is specifically used to determine the first integral value of the target gambler involved in the set area based on the number of the target gambler involved and the first probability value corresponding to the gambler involved saved in advance if the target objects entering the set area include target gamblers involved in the set area; if the target objects entering the set area include target vehicles corresponding to the target vehicle numbers in the pre-saved vehicle numbers of the gambler involved in the set area, then determine the second integral value of the target vehicle based on the number of the target vehicles and the second probability value corresponding to the pre-saved vehicles; and based on the sum of the determined integral values, determine the sum as the probability value that the set area is a gambling gathering place.

[0032] Furthermore, the processing module is specifically used to determine the first score value of the target gamblers involved in the vehicle based on the number of target gamblers involved in the vehicle and a first probability value corresponding to the number of gamblers involved in the vehicle that is pre-saved if the target object entering the set area includes a target gambler involved in the vehicle.

[0033] Accordingly, an embodiment of the present invention provides an electronic device, which includes a processor and a memory, wherein the memory is used to store program instructions, and the processor is used to implement the steps of any of the above-mentioned methods for determining gambling locations when executing the computer program stored in the memory.

[0034] Accordingly, an embodiment of the present invention provides a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the steps of any of the above-mentioned methods for determining gambling locations.

[0035] Embodiments of the present invention provide a method, apparatus, device and medium for determining gambling locations. In the method, for each set area, based on an image of the entrance of the set area captured by an image acquisition device, the gambling-related persons and / or vehicles related to the gambling-related persons entering the set area are determined; based on the type and number of target objects entering the set area, the probability value of each set area being a gambling location is determined; if the probability value of any set area being a gambling location is greater than a set threshold, the set area with a probability value greater than the set threshold is determined as the target gambling location, thereby achieving the determination of the gambling location through the image captured by the image acquisition device, thereby improving the efficiency of determining the gambling location. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.

[0037] Figure 1 A schematic diagram of a process of determining a gambling location provided by an embodiment of the present invention;

[0038] Figure 2 A schematic diagram of the architecture of a server provided in an embodiment of the present invention;

[0039] Figure 3 A schematic diagram of a complete gambling location determination method provided by an embodiment of the present invention;

[0040] Figure 4 A schematic diagram of the structure of a device for determining a gambling location provided by an embodiment of the present invention;

[0041] Figure 5 A schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0042] In order to make the purpose, technical scheme and advantages of the present invention clearer, the present invention will be further described in detail below with reference to the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0043] In order to improve the efficiency of determining a gambling location, an embodiment of the present invention provides a gambling location determination method, apparatus, device and medium.

[0044] Embodiment 1:

[0045] Figure 1 A schematic diagram of a method for determining a gambling location provided by an embodiment of the present invention, the process comprising the following steps:

[0046] S101: For each set area, based on an image of an entrance to the set area captured by an image acquisition device, determine target objects entering the set area, wherein the target objects include gambling-related persons and / or vehicles related to gambling-related persons.

[0047] The gambling location determination method provided by an embodiment of the present invention is applied to an electronic device, which may be a smart terminal, a PC, a tablet computer, a server, etc., wherein the server may be a local server or a cloud server.

[0048] In order to determine the gambling location, in the embodiment of the present invention, the area division is performed in advance, and each area obtained after the division is used as a set area. The electronic device pre-stores the range and identification information of the set area. Generally, the areas where gambling and other illegal activities may occur include areas with few people and areas with complex personnel. The areas with few people can be deep mountains, small villages and other areas, and the areas with complex personnel can be areas such as urban villages. Therefore, the area division can also be performed for these places, and each set area can be obtained after the division.

[0049] For each set area, each channel opening of the set area includes an entrance and an exit. Because the existing lanes are generally two-way lanes, each channel opening can be used as an entrance or an exit corresponding to other entrances. The number of the entrances and exits can be one or more. In order to determine the target object entering the set area, in an embodiment of the present invention, an image acquisition device is deployed at the entrance and exit of each channel opening of the set area. The image acquisition device can be a surveillance camera, a bayonet camera, a face camera, or other image acquisition devices. Specifically, the embodiment of the present invention does not limit this.

[0050] The image acquisition device and the electronic device may be connected via a wired network or a wireless network. After the image acquisition device acquires an image including the entrance of the set area, the image is sent to the electronic device.

[0051] The electronic device identifies the image based on the received image containing the entrance to the set area, and determines the target object entering the set area. The target object includes a gambler and / or a vehicle related to the gambler. The gambler refers to a person with a previous gambling record. The gambler can be a walking gambler or a gambler in the main or co-pilot seat of a vehicle. The vehicle related to the gambler includes a vehicle in the name of the gambler and a vehicle driven or ridden by the gambler.

[0052] Specifically, the electronic device identifies the image and determines the facial image and / or vehicle number of the vehicle image in the image based on the image of the entrance including the set area, and determines the target gambler involved and / or the vehicle related to the target gambler involved entering the set area based on the determined facial image and / or vehicle number of the vehicle image and the pre-saved facial image information of the gambler involved and the vehicle number of the gambler involved.

[0053] S102: Determine the probability value of the set area being a gambling location based on the type and number of target objects entering the set area.

[0054] After the electronic device determines the target objects that have entered the set area, the greater the number of target objects that have entered the set area, the greater the probability that the set area is a gambling gathering place. Different types of target objects have different corresponding probability values. Therefore, in order to more accurately determine the probability value of the set area being a gambling gathering place, for each type of target object, a probability value corresponding to the type of target object is pre-set.

[0055] In order to determine the probability value that the set area is a gambling location, the electronic device determines the type and number of target objects entering the set area, and based on the number of each type of target objects, determines the sum of the probability values ​​corresponding to each type of target objects and the product of the number of target objects as the probability value of the set area being a gambling location.

[0056] S103: If the probability value of any set area being a gambling gathering location is greater than a set threshold, the set area with the probability value greater than the set threshold is determined as a target gambling gathering location.

[0057] After the electronic device determines the probability value of each set area being a gambling gathering place, in order to determine whether the set area is a gambling gathering place, a set threshold is also set in the embodiment of the present invention. The set threshold is pre-set, and if it is desired to improve the accuracy of the determined target gambling gathering place, the set threshold can be set larger, and if it is desired to improve the robustness of the determined target gambling gathering place, the set threshold can be set smaller.

[0058] In order to determine the target gambling location, the electronic device compares the probability value of each set area being a gambling location with a set threshold. If there is a set area with a probability value greater than the set threshold, the set area with a probability value greater than the set threshold is determined as the target gambling location.

[0059] In the embodiment of the present invention, for each set area, the gamblers and / or vehicles related to the gamblers entering the set area are determined based on the image of the entrance of the set area captured by the image acquisition device; the probability value of each set area being a gambling gathering place is determined based on the type and number of target objects entering the set area; if the probability value of any set area being a gambling gathering place is greater than a set threshold, the set area with a probability value greater than the set threshold is determined as the target gambling gathering place, thereby realizing the determination of the gambling gathering place through the images captured by the image acquisition device, and improving the efficiency of determining the gambling gathering place.

[0060] Embodiment 2:

[0061] In order to determine the evidence of illegal activities such as gambling at the gambling venue, based on the above embodiment, in the embodiment of the present invention, the method further includes:

[0062] The drone is controlled to capture an image of the target gambling location. If the number of the target objects contained in the image exceeds a preset number threshold, the image is determined as an evidence image of gambling by people involved in gambling, and a prompt message is sent to a corresponding preset terminal, where the preset terminal can be, for example, a police terminal.

[0063] In order to determine the evidence of illegal activities such as gambling at the gambling location, in the embodiment of the present invention, after the gambling location is determined, in order to provide illegal evidence, the electronic device can also collect evidence of gambling by the gamblers without the gamblers not noticing. Preferably, since it is difficult for the gamblers to find the drone when taking pictures of the target gambling location at high altitude, in the embodiment of the present invention, the drone can be controlled to take pictures of the target gambling location, and the evidence image of the gamblers gambling can be determined in the pictures of the target gambling location.

[0064] In order to determine the evidence image of gambling personnel in the image of the target gambling location, in the embodiment of the present invention, the electronic device determines the number of target objects contained in the image of the target gambling location, and the target can be the number of target gambling personnel, the number of vehicles related to the target gambling personnel, or the number of target gambling personnel and vehicles related to the target gambling personnel. Preferably, in the embodiment of the present invention, the number of target gambling personnel in the image of the target gambling location is determined.

[0065] In order to determine the evidence image of the gambling-related persons gathering together for gambling, in an embodiment of the present invention, the electronic device is also provided with a quantity threshold, wherein the quantity threshold is pre-set. If it is desired to improve the accuracy of the evidence image of the gambling-related persons gathering together for gambling, the quantity threshold can be set to a larger value. If it is desired to improve the robustness of the determined evidence image, the quantity threshold can be set to a smaller value.

[0066] The number of target objects contained in the image of the determined target gambling location is compared with the number threshold. If there is an image in which the number of target objects contained is greater than the number threshold, it is determined that the gamblers in the image are gathering at the target gambling location, and there is a high possibility that the gamblers are engaging in illegal activities such as gambling when gathering. Therefore, the image in which the number of target objects contained is greater than the number threshold can be determined as an evidence image of the gamblers gathering for gambling.

[0067] In the embodiment of the present invention, after obtaining the evidence image of the gambling-related persons gathering together for gambling, since the evidence image has been collected, the electronic device sends a prompt message to the corresponding preset terminal.

[0068] The corresponding preset terminal may be a preset terminal pre-arranged near the gambling location, or may be a preset terminal located within a set distance range of the gambling location. Specifically, the embodiment of the present invention does not impose any limitation on this.

[0069] Since there is a high possibility that gambling-related persons may engage in illegal activities such as gambling when they gather together, but it is also possible that they just gather together without gambling, as a possible implementation method, the electronic device can also send the determined evidence image to the corresponding preset terminal.

[0070] Embodiment 3:

[0071] In order to determine the target object entering the set area, based on the above embodiments, in an embodiment of the present invention, the step of determining the target object entering the set area according to the image of the entrance of the set area captured by the image acquisition device includes:

[0072] Based on the image of the entrance containing the set area captured by the image acquisition device, the facial image in the image is determined. If the facial image matches the pre-saved facial image of the gambler involved, it is determined that the target gambler involved has entered the set area.

[0073] In order to identify the target gambling person who has entered the set area, in the embodiment of the present invention, the electronic device determines the face image in the image based on the image of the entrance to the set area captured by the image acquisition device. The image acquisition device may be a bayonet camera, a face camera, a surveillance camera, or other device that can capture images.

[0074] When determining the face image in the image, the electronic device may use a face recognition model in the prior art to determine the face image of the face area in the image. The user corresponding to the face image may be a pedestrian, a driver of any vehicle, or a passenger of any vehicle, and the specific embodiment of the present invention does not limit this.

[0075] In an embodiment of the present invention, the electronic device pre-stores facial images of gambling-related persons with a criminal record of gambling and other illegal activities. In order to determine the target gambling-related person entering the set area, the electronic device matches the collected facial images with the pre-stored facial images of the gambling-related persons. If there is a facial image matching the facial image among the facial images of the gambling-related person, the user of the facial image is determined to be the target gambling-related person entering the set area; if there is no facial image matching the facial image among the facial images of the gambling-related person, it is determined that the user corresponding to the facial image is not the target gambling-related person entering the set area.

[0076] Specifically, in the embodiment of the present invention, the method of determining whether the collected facial image matches the pre-saved facial image of the gambling-related person is a prior art and will not be elaborated in the embodiment of the present invention.

[0077] Since the target gambling person entering the set area may enter by driving a vehicle or riding in a vehicle, in order to more accurately determine the relevant vehicles of the gambling person, based on the above embodiments, in an embodiment of the present invention, the target object entering the set area according to the image of the entrance of the set area captured by the image acquisition device includes:

[0078] If the target object corresponding to the facial image is located in a vehicle, it is determined that the target vehicle related to the gambler has entered the set area.

[0079] In an embodiment of the present invention, the electronic device determines that the user corresponding to the facial image of the person entering the set area is the target object entering the set area if the facial image matches the facial image of the person involved in gambling.

[0080] After determining the target object corresponding to the face image entering the set area, the electronic device determines whether the target user corresponding to the face image in the image is located in the vehicle based on the image containing the face image. Specifically, the method for the electronic device to determine whether the target user corresponding to the face image is located in the vehicle belongs to the prior art, and the embodiments of the present invention will not be described in detail.

[0081] The electronic device determines that the target object corresponding to the facial image is located in a vehicle, and then determines that the vehicle where the target object is located is a target vehicle related to the person involved in gambling.

[0082] The persons sitting in the main and co-driver seats of the vehicle are not persons involved in gambling, but when the vehicle is in the name of persons involved in gambling, the persons sitting in the back seat of the vehicle may be persons involved in gambling, so the probability value of the set area being the target gambling location will also increase. Therefore, in order to more accurately determine the vehicles related to persons involved in gambling, on the basis of the above embodiments, in an embodiment of the present invention, the image of the entrance of the set area captured by the image acquisition device to determine the target object entering the set area includes:

[0083] Based on the image of the entrance including the set area captured by the image acquisition device, the target vehicle number of the vehicle image in the image is determined. If the target vehicle number exists in the pre-saved vehicle numbers of the vehicles of the gamblers, it is determined that the target vehicle related to the gamblers has entered the set area.

[0084] According to the image of the entrance of the set area captured by the image acquisition device, the electronic device determines the vehicle image in the image. Specifically, the method of determining the vehicle image in the image belongs to the prior art and will not be described in detail in the embodiment of the present invention.

[0085] The electronic device recognizes the vehicle image based on the determined vehicle image and determines the target vehicle number of the vehicle in the vehicle image. In order to determine whether the vehicle belongs to the gambling person's related vehicle, the electronic device also stores the vehicle number of the gambling person's vehicle, which refers to the vehicle under the name of the gambling person when the vehicle is registered.

[0086] Determine whether the target vehicle number exists in the pre-saved vehicle numbers of the vehicles of the gambler involved. If the target vehicle number exists in the vehicle numbers of the vehicles of the gambler involved, determine that the vehicle corresponding to the target vehicle number is the target vehicle related to the gambler involved, and the target vehicle enters the set area; if the target vehicle number does not exist in the vehicle numbers of the vehicles of the gambler involved, determine that the vehicle corresponding to the target vehicle number is not the target vehicle related to the gambler involved.

[0087] Embodiment 4:

[0088] In order to determine the probability value of the set area being a gambling gathering place, based on the above embodiments, in an embodiment of the present invention, the probability value of determining the set area being a gambling gathering place according to the type and number of target objects entering the set area includes:

[0089] If the target objects entering the set area include target gamblers, determining the first score of the target gamblers according to the number of the target gamblers and the first probability values ​​corresponding to the gamblers stored in advance;

[0090] If the target objects entering the set area include target vehicles corresponding to target vehicle numbers in the pre-saved vehicle numbers of vehicles of gambling-related persons, then the second integral value of the target vehicle is determined according to the number of the target vehicles and the pre-saved second probability value corresponding to the vehicle;

[0091] According to the determined sum of the integral values, the sum is determined as the probability value that the set area is a gambling location.

[0092] Since the probability values ​​corresponding to the target gamblers and the target vehicles in the target objects are different, when the number of target gamblers entering the set area is different, the probability value of the set area being a gambling gathering place is also different. In an embodiment of the present invention, in order to accurately determine the probability value of the set area being a gambling gathering place, the electronic device also determines the type and number of target objects entering the set area.

[0093] If the target objects entering the set area include target gambling persons, the electronic device determines the number of target gambling persons entering the set area. In order to determine the probability value that the set area is a gambling gathering place when the target objects entering the set area include the number of target gambling persons, the electronic device pre-stores a first probability value corresponding to the gambling persons, determines the product value of the first probability value and the number of target gambling persons, and determines the product value as the first integral value corresponding to the target gambling persons.

[0094] In an embodiment of the present invention, it is detected that the target object entering the set area includes a target gambling-related person, and the target gambling-related person may enter the set area on foot or by vehicle; when the target gambling-related person enters the set area by vehicle, the target gambling-related person may be the driver or non-driver of the vehicle.

[0095] Specifically, when the target gambler enters the set area on foot, the first score value of the target gambler is determined according to the number of target gamblers who enter the set area on foot and the first probability value corresponding to the gamblers who enter the set area on foot that is saved in advance, and according to the product value of the first probability value and the number of target gamblers.

[0096] When the target gambling person enters the set area by vehicle, in an embodiment of the present invention, the number of target gambling persons in the vehicle may be ignored. Instead, when it is determined that there is a target gambling person in the vehicle, the first integral value corresponding to the target gambling person is determined directly based on the pre-saved first probability value corresponding to the gamblers entering the set area by vehicle and the number of vehicles. The product of the first probability value and the number of vehicles is used.

[0097] Among them, the pre-saved first probability value corresponding to the gamblers who enter the set area on foot and the first probability value corresponding to the gamblers who enter the set area by vehicle may be the same or different, and the embodiment of the present invention does not impose any limitation on this.

[0098] If the target objects entering the set area include target vehicles corresponding to the target vehicle numbers in the pre-stored vehicle numbers of the vehicles of the gamblers, the electronic device determines the number of target vehicles entering the set area. In order to determine the probability value that the set area is a gambling location when the target objects entering the set area include the number of target vehicles, the electronic device pre-stores a second probability value corresponding to the vehicles of the gamblers, determines the product value of the second probability value and the number of target vehicles, and determines the product value as the second integral value corresponding to the target vehicles.

[0099] After determining the first integral value corresponding to the target gambling person and the second integral value corresponding to the target vehicle, the sum of the determined first integral value and the second integral value is determined as the probability value that the set area is a gambling location.

[0100] In order to more accurately determine the first integral value of the target gambling-related person, on the basis of the above embodiments, in the embodiment of the present invention, if the target object entering the set area includes the target gambling-related person, then according to the number of the target gambling-related persons and the first probability value corresponding to the gambling-related person saved in advance, determining the first integral value of the target gambling-related person includes:

[0101] If the target objects entering the set area include target gamblers in a vehicle, the first score value of the target gamblers in the vehicle is determined based on the number of target gamblers in the vehicle and a first probability value corresponding to the number of gamblers in the vehicle that is pre-saved.

[0102] In an embodiment of the present invention, when the target gamblers involved in gambling who enter the set area enter the set area by vehicle, since there may be multiple target gamblers involved in gambling on the vehicle, the probability that the set area is a gambling gathering place increases. Therefore, in order to more accurately determine the first score value of the target gamblers involved in gambling, if the target objects entering the set area include the target gamblers involved in gambling in the vehicle, the electronic device determines the first score value of the target gamblers involved in gambling in the vehicle based on the number of target gamblers involved in gambling in the vehicle and the first probability value corresponding to the number of gamblers involved in the vehicle that is pre-saved.

[0103] The electronic device determines the first probability value corresponding to the number of target gamblers involved in the vehicle as the first integral value of the target gamblers involved in the vehicle based on the number of target gamblers involved in the vehicle and the first probability value corresponding to the number of gamblers involved in the vehicle saved in advance.

[0104] The electronic device determines the number of target gambling persons in the vehicle by using the vehicle image captured by the image acquisition device. Since the vehicle image captured by the image acquisition device only includes the face images of the persons in the main driver's seat and the co-driver's seat, the number of gambling persons in the vehicle includes three situations: 0, 1, and 2. If the number of gambling persons in the vehicle is 0, the corresponding first probability value may be 0; if the number of gambling persons in the vehicle is 1, the corresponding first probability value may be 1; if the number of gambling persons in the vehicle is 2, the corresponding first probability value is a value greater than 2.

[0105] Embodiment 5:

[0106] The following is a specific example of a method for determining a gambling location according to an embodiment of the present invention. Figure 2A schematic diagram of an architecture for determining a gambling location by a server provided in an embodiment of the present invention, such as Figure 2 As shown, the server includes a first server where a portrait big data application platform and a vehicle big data application platform are located, and a second server where a multi-dimensional big data platform is located. The information exchange between the first server and the second server is carried out through a boundary docking gateway, a video dedicated network and a preset information network, and the second server and the preset information library are exchanged through a preset information library docking gateway; wherein, the preset information network can be, for example, a public security information network, and the preset information library can be, for example, a public security information library.

[0107] The second server obtains the facial images of the gambling persons and the vehicle numbers of their related vehicles from the preset information database and sends them to the first server for storage. The facial camera sends the facial images of the gambling persons captured to the first server through the border docking gateway and saves them. The checkpoint camera sends the vehicle numbers of the gambling persons involved in the gambling to the first server through the border docking gateway and saves them.

[0108] Figure 3 A schematic diagram of a complete gambling location determination method provided by an embodiment of the present invention, wherein the electronic device used in the method is a server, and the process includes the following steps:

[0109] S301: For each set area, the first server obtains, through the video dedicated network, the facial image of the entrance including the set area captured by the facial camera, as well as the vehicle image including the entrance of the set area and the facial image in the vehicle captured by the bayonet camera, and performs S302, S303 and S304 respectively.

[0110] S302: The first server matches the facial image of the person walking into the set area captured by the facial camera with the saved facial image of the person involved in gambling. If the facial image matches the pre-saved facial image of the person involved in gambling, it is determined that the target person involved in gambling corresponding to the facial image enters the set area. According to the number of successfully matched facial images and the pre-saved first probability value corresponding to the person involved in gambling walking into the set area, the first integral value added to the set area is determined, and S305 is performed.

[0111] S303: The first server determines the target vehicle number of the vehicle image captured by the acquired bayonet camera. If the target vehicle number exists in the vehicle numbers of the first server, it is determined that the target vehicle corresponding to the vehicle number enters the set area. According to the number of target vehicles entering the set area and the second probability value corresponding to each target vehicle, the second integral value increased by the set area is determined, and S305 is performed.

[0112] S304: The first server determines the facial images of the driver and co-driver seats in the vehicle captured by the acquired checkpoint camera. If the facial image of the driver or co-driver seat matches the pre-saved facial image of the person involved in gambling; or the facial images of both the driver and co-driver seats match the pre-saved facial images of the person involved in gambling, then the first integral value added to the set area is determined based on the first probability value corresponding to the number of pre-saved persons involved in gambling in the vehicle, the number of successfully matched facial images in each vehicle image, and the number of captured vehicle images, and S305 is performed.

[0113] S305: If the sum of the integral values ​​of any set area is greater than a set threshold, the set area is determined to be a target gambling location.

[0114] S306: The server accesses the drone platform in the operator's private network through the firewall, and controls the drone through the 4G / 5G network to capture images of the target gambling location. If the number of target objects contained in the image exceeds the preset number threshold, the image is determined as an evidence image of gambling by the gambling-related personnel, and a prompt message is sent to the corresponding preset terminal.

[0115] Embodiment 6:

[0116] Based on the above embodiments, Figure 4 A schematic diagram of a device for determining a gambling location provided by an embodiment of the present invention, the device comprising:

[0117] The processing module 401 is used to determine, for each set area, target objects entering the set area according to an image of the entrance of the set area captured by the image acquisition device, wherein the target objects include gambling personnel and / or vehicles related to gambling personnel; and determine the probability value of the set area being a gambling gathering place according to the type and number of target objects entering the set area;

[0118] The determination module 402 is used to determine the set area with a probability value greater than the set threshold as a target gambling location if the probability value of any set area being a gambling location is greater than a set threshold.

[0119] Furthermore, the device also includes:

[0120] The control module is used to control the drone to capture images of the target gambling location. If the number of the target objects contained in the image exceeds a preset number threshold, the image is determined as an evidence image of gambling by people involved in gambling, and a prompt message is sent to the corresponding preset terminal.

[0121] Furthermore, the processing module is specifically used to determine a facial image in an image containing the entrance of the set area captured by an image acquisition device; if the facial image matches a pre-saved facial image of a gambler involved, it is determined that the target gambler involved has entered the set area.

[0122] Furthermore, the processing module is specifically used to determine that a target vehicle related to a gambler has entered the set area if the target object corresponding to the facial image is located in the vehicle.

[0123] Furthermore, the processing module is specifically used to determine the target vehicle number of the vehicle image in the image of the entrance including the set area captured by the image acquisition device, and if the target vehicle number exists in the pre-saved vehicle numbers of the vehicles of the gambling involved persons, it is determined that the target vehicle related to the gambling involved person enters the set area.

[0124] Furthermore, the processing module is specifically used to determine the first integral value of the target gambler involved in the set area based on the number of the target gambler involved and the first probability value corresponding to the gambler involved saved in advance if the target objects entering the set area include target gamblers involved in the set area; if the target objects entering the set area include target vehicles corresponding to the target vehicle numbers in the pre-saved vehicle numbers of the gambler involved in the set area, then determine the second integral value of the target vehicle based on the number of the target vehicles and the second probability value corresponding to the pre-saved vehicles; and based on the sum of the determined integral values, determine the sum as the probability value that the set area is a gambling gathering place.

[0125] Furthermore, the processing module is specifically used to determine the first score value of the target gamblers involved in the vehicle based on the number of target gamblers involved in the vehicle and a first probability value corresponding to the number of gamblers involved in the vehicle that is pre-saved if the target object entering the set area includes a target gambler involved in the vehicle.

[0126] Embodiment 8:

[0127] Figure 5 A schematic diagram of the structure of an electronic device provided in an embodiment of the present invention. Based on the above embodiments, an electronic device is further provided in an embodiment of the present invention, including a processor 501, a communication interface 502, a memory 503 and a communication bus 504, wherein the processor 501, the communication interface 502, and the memory 503 communicate with each other through the communication bus 504;

[0128] The memory 503 stores a computer program. When the program is executed by the processor 501, the processor 501 performs the following steps:

[0129] For each set area, based on the image of the entrance of the set area captured by the image acquisition device, the target objects entering the set area are determined, wherein the target objects include gambling personnel and / or vehicles related to gambling personnel; based on the type and number of target objects entering the set area, the probability value of the set area being a gambling gathering place is determined;

[0130] If the probability value of any set area being a gambling location is greater than a set threshold, the set area with the probability value greater than the set threshold is determined as the target gambling location.

[0131] Furthermore, the processor 501 is also used to control the drone to capture images of the target gambling location. If the number of target objects contained in the image exceeds a preset number threshold, the image is determined as an evidence image of gambling by people involved in gambling, and a prompt message is sent to the corresponding preset terminal.

[0132] Further, the processor 501 is specifically configured to determine the target object entering the set area according to the image of the entrance of the set area captured by the image acquisition device, including:

[0133] Based on the image of the entrance containing the set area captured by the image acquisition device, the facial image in the image is determined. If the facial image matches the pre-saved facial image of the gambler involved, it is determined that the target gambler involved has entered the set area.

[0134] Further, the processor 501 is specifically configured to determine the target object entering the set area according to the image of the entrance of the set area captured by the image acquisition device, including:

[0135] If the target object corresponding to the facial image is located in a vehicle, it is determined that the target vehicle related to the gambler has entered the set area.

[0136] Further, the processor 501 is specifically configured to determine the target object entering the set area according to the image of the entrance of the set area captured by the image acquisition device, including:

[0137] Based on the image of the entrance including the set area captured by the image acquisition device, the target vehicle number of the vehicle image in the image is determined. If the target vehicle number exists in the pre-saved vehicle numbers of the vehicles of the gamblers, it is determined that the target vehicle related to the gamblers has entered the set area.

[0138] Furthermore, the processor 501 is specifically configured to determine the probability value of the set area being a gambling location according to the type and number of the target objects entering the set area, including:

[0139] If the target objects entering the set area include target gamblers, determining the first score of the target gamblers according to the number of the target gamblers and the first probability values ​​corresponding to the gamblers stored in advance;

[0140] If the target objects entering the set area include target vehicles corresponding to target vehicle numbers in the pre-saved vehicle numbers of vehicles of gambling-related persons, then the second integral value of the target vehicle is determined according to the number of the target vehicles and the pre-saved second probability value corresponding to the vehicle;

[0141] According to the determined sum of the integral values, the sum is determined as the probability value that the set area is a gambling location.

[0142] Further, the processor 501 is specifically configured to determine the first integral value of the target gambler if the target object entering the set area includes a target gambler, based on the number of the target gambler and the first probability value corresponding to the gambler saved in advance, including:

[0143] If the target objects entering the set area include target gamblers in a vehicle, the first score value of the target gamblers in the vehicle is determined based on the number of target gamblers in the vehicle and a first probability value corresponding to the number of gamblers in the vehicle that is pre-saved.

[0144] The communication bus mentioned in the above electronic device can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. The communication bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, only one thick line is used in the figure, but it does not mean that there is only one bus or one type of bus.

[0145] The communication interface 502 is used for communication between the electronic device and other devices.

[0146] The memory may include a random access memory (RAM) or a non-volatile memory (NVM), such as at least one disk memory. Optionally, the memory may also be at least one storage device located away from the aforementioned processor.

[0147] The above-mentioned processor can be a general-purpose processor, including a central processing unit, a network processor (Network Processor, NP), etc.; it can also be a digital signal processing processor (Digital Signal Processing, DSP), an application-specific integrated circuit, a field programmable gate array or other programmable logic device, a discrete gate or transistor logic device, a discrete hardware component, etc.

[0148] Embodiment 9:

[0149] On the basis of the above embodiments, an embodiment of the present invention further provides a computer-readable storage medium storing a computer program, wherein the computer program is executed by a processor to perform the following steps:

[0150] For each set area, based on the image of the entrance of the set area captured by the image acquisition device, the target objects entering the set area are determined, wherein the target objects include gambling personnel and / or vehicles related to gambling personnel; based on the type and number of target objects entering the set area, the probability value of the set area being a gambling gathering place is determined;

[0151] If the probability value of any set area being a gambling location is greater than a set threshold, the set area with the probability value greater than the set threshold is determined as the target gambling location.

[0152] Furthermore, the method further comprises:

[0153] The drone is controlled to capture an image of the target gambling location. If the number of the target objects contained in the image exceeds a preset number threshold, the image is determined as an evidence image of gambling by the gambling-related personnel, and a prompt message is sent to the corresponding preset terminal.

[0154] Further, the step of determining the target object entering the set area according to the image of the entrance to the set area captured by the image acquisition device includes:

[0155] Based on the image of the entrance containing the set area captured by the image acquisition device, the facial image in the image is determined. If the facial image matches the pre-saved facial image of the gambler involved, it is determined that the target gambler involved has entered the set area.

[0156] Further, the step of determining the target object entering the set area according to the image of the entrance to the set area captured by the image acquisition device includes:

[0157] If the target object corresponding to the facial image is located in a vehicle, it is determined that the target vehicle related to the gambler has entered the set area.

[0158] Further, the step of determining the target object entering the set area according to the image of the entrance to the set area captured by the image acquisition device includes:

[0159] Based on the image of the entrance including the set area captured by the image acquisition device, the target vehicle number of the vehicle image in the image is determined. If the target vehicle number exists in the pre-saved vehicle numbers of the vehicles of the gamblers, it is determined that the target vehicle related to the gamblers has entered the set area.

[0160] Furthermore, the determining of the probability value of the set area being a gambling location according to the type and number of the target objects entering the set area includes:

[0161] If the target objects entering the set area include target gamblers, determining the first score of the target gamblers according to the number of the target gamblers and the first probability values ​​corresponding to the gamblers stored in advance;

[0162] If the target objects entering the set area include target vehicles corresponding to target vehicle numbers in the pre-saved vehicle numbers of vehicles of gambling-related persons, then the second integral value of the target vehicle is determined according to the number of the target vehicles and the pre-saved second probability value corresponding to the vehicle;

[0163] According to the determined sum of the integral values, the sum is determined as the probability value that the set area is a gambling location.

[0164] Furthermore, if the target objects entering the set area include target gambling persons, determining the first score of the target gambling persons according to the number of the target gambling persons and the first probability values ​​corresponding to the gambling persons saved in advance includes:

[0165] If the target objects entering the set area include target gamblers in a vehicle, the first score value of the target gamblers in the vehicle is determined based on the number of target gamblers in the vehicle and a first probability value corresponding to the number of gamblers in the vehicle that is pre-saved.

[0166] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.

[0167] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0168] These computer program instructions may also be stored in a computer readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer readable memory produce an article of manufacture including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0169] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0170] Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.

Claims

1. A method for determining a gambling location, characterized in that: The method comprises: For each set area, according to the image of the entrance of the set area captured by the image acquisition device, the target object entering the set area is determined, wherein the target object includes the gambling person and / or the vehicle related to the gambling person; Determine the probability value of the set area being a gambling location according to the type and number of target objects entering the set area; If the probability value of any set area being a gambling gathering place is greater than a set threshold, the set area with the probability value greater than the set threshold is determined as a target gambling gathering place; The step of determining the target object entering the set area according to the image of the entrance to the set area captured by the image acquisition device includes: Determine the target vehicle number of the vehicle image in the image according to the image captured by the image acquisition device and including the entrance of the set area, and if the target vehicle number exists in the vehicle numbers of the vehicles of the gambling personnel saved in advance, determine that the target vehicle related to the gambling personnel has entered the set area; Determining the probability value of the set area being a gambling location according to the type and number of the target objects entering the set area includes: When the target gambling-related persons enter the set area by walking, determining the first score of the target gambling-related persons according to the number of the target gambling-related persons and the first probability value corresponding to the gamblers who enter the set area by walking and stored in advance; When the target gambling-related person enters the set area by vehicle, based on the pre-saved first probability value corresponding to the gambling-related person entering the set area by vehicle and the number of vehicles, the product value of the first probability value and the number of vehicles is determined as the first integral value corresponding to the target gambling-related person; If the target objects entering the set area include target vehicles corresponding to target vehicle numbers in the pre-saved vehicle numbers of vehicles of gambling-related persons, then the second integral value of the target vehicle is determined according to the number of the target vehicles and the pre-saved second probability value corresponding to the vehicle; According to the determined sum of the integral values, the sum is determined as the probability value that the set area is a gambling location.

2. The method according to claim 1, characterized in that The method further comprises: The drone is controlled to capture an image of the target gambling location. If the number of the target objects contained in the image exceeds a preset number threshold, the image is determined as an evidence image of gambling by the gambling-related personnel, and a prompt message is sent to the corresponding preset terminal.

3. The method according to claim 1, characterized in that The step of determining the target object entering the set area according to the image of the entrance of the set area captured by the image acquisition device includes: Based on the image of the entrance containing the set area captured by the image acquisition device, the facial image in the image is determined. If the facial image matches the pre-saved facial image of the gambler involved, it is determined that the target gambler involved has entered the set area.

4. The method according to claim 3, characterized in that The step of determining the target object entering the set area according to the image of the entrance of the set area captured by the image acquisition device includes: If the target object corresponding to the facial image is located in a vehicle, it is determined that the target vehicle related to the gambler has entered the set area.

5. The method according to claim 1, characterized in that If the target objects entering the set area include target gambling persons, determining the first score of the target gambling persons according to the number of the target gambling persons and the first probability values ​​corresponding to the gambling persons stored in advance includes: If the target objects entering the set area include target gamblers in a vehicle, the first score value of the target gamblers in the vehicle is determined based on the number of target gamblers in the vehicle and a first probability value corresponding to the number of gamblers in the vehicle that is pre-saved.

6. A device for determining a gambling location, characterized in that: The device comprises: A processing module is used to determine, for each set area, target objects entering the set area based on an image of an entrance to the set area captured by an image acquisition device, wherein the target objects include gambling personnel and / or vehicles related to gambling personnel; and determine a probability value of the set area being a gambling gathering place based on the type and number of target objects entering the set area; A determination module, for determining the set area with a probability value greater than the set threshold as a target gambling location if the probability value of any set area being a gambling location is greater than a set threshold; The processing module is specifically used to determine the target vehicle number of the vehicle image in the image captured by the image acquisition device and including the entrance of the set area, and if the target vehicle number exists in the vehicle numbers of the vehicles of the gambling personnel saved in advance, it is determined that the target vehicle related to the gambling personnel has entered the set area; The processing module is specifically used to determine the first integral value of the target gambler involved in gambling when the target gambler involved in gambling enters the set area by walking, according to the number of the target gambler involved and the first probability value corresponding to the gambler involved in gambling who enters the set area by walking, which is saved in advance; when the target gambler involved in gambling enters the set area by vehicle, according to the first probability value corresponding to the gambler involved in gambling who enters the set area by vehicle, and the number of vehicles, the product value of the first probability value and the number of vehicles is determined as the first integral value corresponding to the target gambler involved; if the target object entering the set area includes a target vehicle corresponding to a target vehicle number existing in the vehicle numbers of the gambler involved in gambling who are saved in advance, then the second integral value of the target vehicle is determined according to the number of the target vehicles and the second probability value corresponding to the vehicle saved in advance; according to the sum of the determined integral values, the sum is determined as the probability value that the set area is a gambling gathering place.

7. An electronic device, characterized in that: The electronic device includes a processor and a memory, the memory is used to store program instructions, and the processor is used to implement the steps of the gambling location determination method as described in any one of claims 1-5 when executing the computer program stored in the memory.

8. A computer-readable storage medium, characterized in that: It stores a computer program, which, when executed by a processor, implements the steps of the gambling location determination method as described in any one of claims 1-5.