Broadcasting method and system, electronic equipment, computer readable storage medium and computer program product
By integrating object detection equipment and power amplifier equipment in the broadcast system, and using the image acquisition module for object detection and audio playback, the problem of insufficient directional broadcasting for specific objects is solved, and the low-cost directional broadcasting effect is achieved.
Patent Information
- Application Number
- CN202510207456.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-25
- Publication Date
- 2025-07-11
AI Technical Summary
Directed broadcasting has poor orientation capabilities for specific objects in a specific area and cannot effectively broadcast specific objects.
In the broadcast system, each broadcast device is equipped with a target detection device and a power amplifier device, and the target detection is performed through the image acquisition module, the position of the target object is determined, and the power amplifier device is controlled to play audio associated with the target object, so as to realize directional broadcast of the target object.
The directional broadcasting capability for specific objects in the area is improved, noise interference to the surrounding environment is reduced, and directional broadcasting is realized through ordinary power amplifier devices, reducing costs.
Smart Images

Figure CN120302210A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of broadcasting technology, and in particular, to a broadcasting method, system, electronic device, computer-readable storage medium, and computer program product. Background Art
[0002] Directional broadcasting is a technology that can accurately project broadcast sounds to a specific area. The broadcast sounds of directional broadcasting have superior directivity, accuracy, and penetration, and can reduce noise interference to the surroundings.
[0003] However, directional broadcasting can only broadcast to a specific area, and its directional broadcasting ability is poor for specific objects in the area. Summary of the Invention
[0004] Based on this, in view of the above technical problem that the directional broadcasting ability is poor for specific objects in the area, it is necessary to provide a broadcasting method, system, electronic device, computer-readable storage medium, and computer program product that can improve the directional broadcasting ability for specific objects in the area.
[0005] In a first aspect, the present application provides a broadcasting method applied to a broadcasting system. The broadcasting system includes a plurality of broadcasting devices, each of which is equipped with a target detection device and a power amplifier device. An image acquisition module is integrated on each target detection device, and each broadcasting device has a target area it faces. The method includes:
[0006] When it is determined that there is a target object in the first target area through image acquisition and target detection of the first target area by the target detection device of the first broadcasting device, at least one target broadcasting device is determined from the plurality of broadcasting devices based on the position of the target object in the first target area; the first broadcasting device is any one of the plurality of broadcasting devices, and the first target area is the target area faced by the first broadcasting device;
[0007] Control the power amplifier devices of each of the target broadcasting devices to play the audio associated with the target object.
[0008] In one embodiment, there is an overlapping area between the target areas faced by two adjacent broadcasting devices;
[0009] The determining at least one target broadcasting device from the plurality of broadcasting devices based on the position of the target object in the first target area includes:
[0010] When the target object is within the overlapping area in the first target area, determine the moving direction of the target object, and among the adjacent broadcast devices of the first broadcast device, determine the adjacent broadcast device whose overlapping area between the target area it faces and the first target area is the overlapping area where the target object is located as the second broadcast device;
[0011] According to the moving direction, determine at least one target broadcast device among the first broadcast device and the second broadcast device.
[0012] In one embodiment, each target area further includes a non-overlapping area other than the overlapping area in the target area;
[0013] The determining at least one target broadcast device among the first broadcast device and the second broadcast device according to the moving direction of the target object includes:
[0014] When the moving direction is towards the first non-overlapping area in the first target area, determine the first broadcast device as the target broadcast device;
[0015] When the moving direction is towards the second non-overlapping area in the second target area and the distance between the target object and the second non-overlapping area is greater than a preset distance threshold, determine the first broadcast device as the target broadcast device; the second target area is the target area faced by the second broadcast device;
[0016] When the moving direction is towards the second non-overlapping area and the distance between the target object and the second non-overlapping area is less than the preset distance threshold, determine both the first broadcast device and the second broadcast device as the target broadcast devices.
[0017] In one embodiment, the determining at least one target broadcast device among the multiple broadcast devices based on the position of the target object in the first target area further includes:
[0018] When the target object is outside the overlapping area in the first target area, determine the first broadcast device as the target broadcast device.
[0019] In one embodiment, each target detection device is used to collect an image of the corresponding target area through an integrated image acquisition module; perform target detection on the image; and when it is confirmed through target detection of the image that the target object exists in the target area corresponding to the image acquisition module, send the target detection result of the target object to the broadcast system;
[0020] The method further includes:
[0021] When receiving the target detection result sent by any one of the target detection devices, it is determined that there is the target object in the target area corresponding to the any one of the target detection devices;
[0022] According to the received target detection result, determine the position of the target object in the target area corresponding to the any one of the target detection devices.
[0023] In a second aspect, the present application further provides a broadcast system, the broadcast system includes a plurality of broadcast devices, each broadcast device is equipped with a target detection device and a power amplifier device, an image acquisition module is integrated on each target detection device, and each broadcast device has a target area it faces;
[0024] Each target detection device is used for image acquisition and target detection of the corresponding target area;
[0025] The broadcast system is further used for, when it is determined that there is a target object in the first target area through the image acquisition and target detection of the first target area by the target detection device of the first broadcast device, based on the position of the target object in the first target area, determine at least one target broadcast device among the plurality of broadcast devices; control the power amplifier devices of each of the target broadcast devices to play the audio associated with the target object; the first broadcast device is any one of the plurality of broadcast devices, and the first target area is the target area that the first broadcast device faces;
[0026] Each power amplifier device is further used for, in response to the control of the broadcast system, playing the audio associated with the target object.
[0027] In one of the embodiments, the plurality of broadcast devices are arranged in a ring.
[0028] In a third aspect, the present application further provides an electronic device, including a memory and a processor, the memory stores a computer program, and when the processor executes the computer program, the following steps are implemented:
[0029] When the image acquisition and target detection of the first target area are performed by the target detection device of the first broadcast device in the broadcast system, and it is determined that there is a target object in the first target area, at least one target broadcast device is determined from the multiple broadcast devices based on the position of the target object in the first target area; the broadcast system includes multiple broadcast devices, each broadcast device is equipped with a target detection device and a power amplifier device, each target detection device is integrated with an image acquisition module, and each broadcast device has a target area it faces; the first broadcast device is any one of the multiple broadcast devices, and the first target area is the target area faced by the first broadcast device;
[0030] Control the power amplifier devices of each of the target broadcast devices to play the audio associated with the target object.
[0031] In a fourth aspect, the present application also provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the following steps are implemented:
[0032] When the image acquisition and target detection of the first target area are performed by the target detection device of the first broadcast device in the broadcast system, and it is determined that there is a target object in the first target area, at least one target broadcast device is determined from the multiple broadcast devices based on the position of the target object in the first target area; the broadcast system includes multiple broadcast devices, each broadcast device is equipped with a target detection device and a power amplifier device, each target detection device is integrated with an image acquisition module, and each broadcast device has a target area it faces; the first broadcast device is any one of the multiple broadcast devices, and the first target area is the target area faced by the first broadcast device;
[0033] Control the power amplifier devices of each of the target broadcast devices to play the audio associated with the target object.
[0034] In a fifth aspect, the present application also provides a computer program product, including a computer program. When the computer program is executed by a processor, the following steps are implemented:
[0035] When the target detection device of the first broadcast device in the broadcast system performs image acquisition and target detection on the first target area and determines that there is a target object in the first target area, at least one target broadcast device is determined from the multiple broadcast devices based on the position of the target object in the first target area; the broadcast system includes multiple broadcast devices, each broadcast device is equipped with a target detection device and a power amplifier device, each target detection device is integrated with an image acquisition module, and each broadcast device has a target area it faces; the first broadcast device is any one of the multiple broadcast devices, and the first target area is the target area that the first broadcast device faces.
[0036] Control the power amplifier device of each target broadcast device to play the audio associated with the target object.
[0037] For the above-mentioned broadcast method, system, electronic device, computer-readable storage medium, and computer program product, first, when the target detection device of the first broadcast device in the broadcast system performs image acquisition and target detection on the first target area and determines that there is a target object in the first target area, at least one target broadcast device is determined from the multiple broadcast devices based on the position of the target object in the first target area; wherein, the broadcast system includes multiple broadcast devices, each broadcast device is equipped with a target detection device and a power amplifier device, each target detection device is integrated with an image acquisition module, and each broadcast device has a target area it faces; the first broadcast device is any one of the multiple broadcast devices, and the first target area is the target area that the first broadcast device faces; then, control the power amplifier device of each target broadcast device to play the audio associated with the target object. In this way, by configuring a target area for each broadcast device and the power amplifier device carried on each broadcast device, directional broadcasting can be achieved for each target area through the corresponding broadcast device; the broadcast system can perform target detection on the corresponding target area through the target detection device to determine the presence of the target object; the broadcast system can determine the target broadcast device that needs to be controlled for playback among the multiple broadcast devices based on the position of the target object in the corresponding target area, and then can control the playback of the power amplifier devices of each broadcast device according to the position change of the target object, thereby realizing directional broadcasting for the target object; therefore, the broadcast method based on the above process improves the directional ability for specific objects in the area. Description of the Drawings
[0038] To more clearly illustrate the technical solutions in the embodiments of the present application or related technologies, the following will briefly introduce the drawings required for describing the embodiments of the present application or related technologies. Obviously, the drawings in the following description are only some embodiments of the present application. For those of ordinary skill in the art, without creative efforts, other related drawings can also be obtained based on these drawings.
[0039] Figure 1 Schematic diagram of a broadcast system in one embodiment;
[0040] Figure 2 Schematic diagram of a broadcast system in another embodiment;
[0041] Figure 3 Schematic diagram of a broadcast system in yet another embodiment;
[0042] Figure 4 Schematic flowchart of a broadcast method in one embodiment;
[0043] Figure 5 Schematic diagram of each target area in one embodiment;
[0044] Figure 6 Schematic flowchart of the step of determining at least one target broadcast device among multiple broadcast devices based on the position of the target object in the first target area in one embodiment;
[0045] Figure 7 Schematic diagram of the position of the target object in the first target area in one embodiment;
[0046] Figure 8 Schematic flowchart of the step of determining at least one target broadcast device between the first broadcast device and the second broadcast device according to the moving direction of the target object in one embodiment;
[0047] Figure 9 Schematic diagram of the position of the target object in the first target area in yet another embodiment;
[0048] Figure 10 Schematic flowchart of a broadcast method in another embodiment;
[0049] Figure 11 Schematic diagram of a broadcast system in yet another embodiment;
[0050] Figure 12 Internal structure diagram of an electronic device in one embodiment.
[0051] Explanation of reference numerals: 100, broadcast device; 200, target detection device; 300, power amplifier device. Detailed implementation manners
[0052] In order to make the objectives, technical solutions and advantages of this application more clear and understandable, the following further elaborates on this application in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely used to explain this application and are not used to limit this application.
[0053] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use, and processing of relevant data need to comply with relevant regulations.
[0054] The broadcast method provided by the embodiments of this application can be applied to a broadcast system as Figure 1 shown. Referring to Figure 1 , this broadcast system includes multiple broadcast devices 100, and each broadcast device 100 is equipped with a target detection device 200 and a power amplifier device 300. An image acquisition module is integrated on each target detection device.
[0055] Among them, a processor of this broadcast system is also installed on any one of the multiple broadcast devices 100, which is used to implement the broadcast method applied to this broadcast system.
[0056] Among them, each broadcast device has a target area it faces.
[0057] Among them, the target detection device is used to collect images of the corresponding target area and perform target detection on the images.
[0058] Among them, the power amplifier device is used to play pre-recorded audio in response to the control of the broadcast system. In specific applications, the power amplifier device is an ordinary power amplifier device and is not a professional directional power amplifier device with a directional broadcast function.
[0059] As Figure 2 shown is another schematic diagram of this broadcast system; referring to Figure 2 , each target detection device and each power amplifier device in the broadcast system are communicatively connected to the processor.
[0060] In specific applications, the multiple broadcast devices can be arranged in sequence or in a ring.
[0061] As Figure 3 shown is yet another schematic diagram of this broadcast system. Taking this schematic diagram as an example, the broadcast system is installed on a lamp post, and three broadcast devices in the broadcast system are arranged in a ring along the lamp post.
[0062] It should be noted that Figure 1 、 Figure 2 and Figure 3It is only used to illustrate the broadcast system and does not limit the number and arrangement of broadcast devices in the broadcast system provided by this application, nor the installation of the broadcast system.
[0063] In an exemplary embodiment, as Figure 4 shown, a broadcast method is provided. Taking the method applied to the broadcast system shown as an example, it includes the following steps S402 to S404: Figure 1 shown, a broadcast method is provided. Taking the method applied to the broadcast system shown as an example, it includes the following steps S402 to S404:
[0064] Step S402, when the target detection device of the first broadcast device acquires the image of the first target area and conducts target detection, and determines that there is a target object in the first target area, based on the position of the target object in the first target area, at least one target broadcast device is determined among multiple broadcast devices.
[0065] Among them, the first broadcast device is any one of the multiple broadcast devices.
[0066] Among them, the first target area is the target area faced by the first broadcast device.
[0067] Among them, the target object is an object with a preset behavior. In specific applications, the target behavior can be crossing the road, spitting everywhere, littering, etc.
[0068] Among them, the target broadcast device can be the first target broadcast device and / or the adjacent broadcast devices of the first target broadcast device.
[0069] Specifically, each target detection device acquires the image of the corresponding target area at a preset time interval through the integrated image acquisition module, then conducts target detection on the acquired image to determine whether there is an object with a preset behavior in the corresponding target area. If so, it is determined as the target object, and then the target detection result of the target object (the presence situation of the target object and the position of the target object) is sent to the broadcast system; when the broadcast system detects a target object by any one target detection device (the first target detection device), based on the position of the target object in the first target area faced by the first broadcast device to which the first target detection device belongs, at least one target broadcast device to be controlled for playback is determined among multiple broadcast devices.
[0070] It should be noted that through this step, the target broadcast device is determined according to the position of the target object. Furthermore, when the position of the target object changes, the determined target broadcast device may also change, thus realizing the directional playback of specific objects in the area and improving the directional ability for specific objects in the area.
[0071] Step S404: Control the power amplifier devices of each target broadcasting device to play the audio associated with the target object.
[0072] Wherein, the audio is pre-recorded audio, and the audio is stored in the memory of the power amplifier device.
[0073] Wherein, the audio associated with the target object refers to the audio associated with the preset behavior corresponding to the target object. In specific applications, the audio is used to warn the target object not to perform the preset behavior. For example, warning the target object not to cross the road, not to spit everywhere, not to litter, etc.
[0074] Specifically, the broadcast system determines the power amplifier devices of each target broadcasting device as the target power amplifier devices to be controlled, and controls each target power amplifier device to play the audio used to warn the target object not to perform the preset behavior.
[0075] In specific applications, the preset behavior corresponding to the target object can be one or more. Correspondingly, the audio stored in the power amplifier device can also be one or more; in the case where the preset behavior is multiple, when the broadcast system controls the target power amplifier device, according to the type of the preset behavior of the target object, the audio corresponding to the type of the preset behavior is determined from multiple audios as the audio associated with the target object.
[0076] For example, the preset behaviors include crossing the road, spitting everywhere, and littering. The target power amplifier device stores the audio for warning the target object not to cross the road, the audio for warning the target object not to spit everywhere, and the audio for warning the target object not to litter; if the preset behavior corresponding to the currently detected target object is crossing the road, the broadcast system controls the target power amplifier device to play the audio for warning the target object not to cross the road.
[0077] In the above broadcast method, first, when the target detection device of the first broadcast device in the broadcast system performs image acquisition and target detection on the first target area and determines that there is a target object in the first target area, at least one target broadcast device is determined from multiple broadcast devices based on the position of the target object in the first target area. The broadcast system includes multiple broadcast devices, each of which is equipped with a target detection device and a power amplifier device. Each target detection device is integrated with an image acquisition module. Each broadcast device has a target area it faces. The first broadcast device is any one of the multiple broadcast devices, and the first target area is the target area that the first broadcast device faces. Then, the power amplifier devices of each target broadcast device are controlled to play the audio associated with the target object. In this way, by configuring a target area for each broadcast device and the power amplifier devices carried on each broadcast device, directional broadcasting can be achieved through the corresponding broadcast device for each target area, thereby reducing the noise interference to the surrounding environment. The broadcast system can perform target detection on the corresponding target area through the target detection device to determine the presence of the target object. The broadcast system can determine the target broadcast device that needs to be controlled for playback from multiple broadcast devices based on the position of the target object in the corresponding target area, and then can control the playback of the power amplifier devices of each broadcast device according to the position change of the target object, thereby achieving directional broadcasting for the target object. Therefore, the broadcast method based on the above process improves the directional ability for specific objects in the area.
[0078] It should be noted that in the related art, directional broadcasting is usually achieved based on professional directional power amplifier devices with directional broadcasting functions. However, the cost of professional directional power amplifier devices is often relatively high, while in this embodiment, directional broadcasting is achieved through ordinary power amplifier devices, which can greatly reduce the cost of directional broadcasting.
[0079] In an exemplary embodiment, there is an overlapping area between the target areas faced by two adjacent broadcast devices; as Figure 5 shown in the schematic diagram of each target area, refer to Figure 5 , the shaded part in the target area is the overlapping area.
[0080] As Figure 6 shown, the steps in step S402 above, based on the position of the target object in the first target area, determine at least one target broadcast device from multiple broadcast devices, specifically include the following steps:
[0081] Step S602: When the target object is within the overlapping area in the first target area, determine the moving direction of the target object, and among the adjacent broadcasting devices of the first broadcasting device, determine the adjacent broadcasting device whose overlapping area between the facing target area and the first target area is the overlapping area where the target object is located as the second broadcasting device.
[0082] Step S604: Determine at least one target broadcasting device from the first broadcasting device and the second broadcasting device according to the moving direction.
[0083] Specifically, first, the broadcasting system determines whether the target object is within the overlapping area in the first target area; if the target object is within the overlapping area in the first target area, the broadcasting system further determines the moving direction of the target object based on at least two target detections of the target object by the first target detection device, and among the adjacent broadcasting devices of the first broadcasting device, determines the adjacent broadcasting device whose overlapping area between the facing target area and the first target area is the overlapping area where the target object is located as the second broadcasting device; then, the broadcasting system determines at least one target broadcasting device to be controlled for playback from the first broadcasting device and the second broadcasting device according to the moving direction of the target object.
[0084] As Figure 7 shown is a schematic diagram of the position of the target object in the first target area; refer to Figure 7 , assuming that broadcasting device 2 is the first broadcasting device and the broadcasting system determines that the target object is within the overlapping area in target area 2, then the broadcasting system determines the corresponding second broadcasting device among the adjacent broadcasting devices of broadcasting device 2, namely broadcasting device 1 and broadcasting device 2; assuming that the target object is within the overlapping area corresponding to broadcasting device 2 and broadcasting device 3, then the broadcasting system determines broadcasting device 3 as the second broadcasting device; then, the broadcasting system determines at least one target broadcasting device from broadcasting device 2 and broadcasting device 3 according to the moving direction of the target object.
[0085] In a specific application, the target detection device performs target detection at a preset time interval and sends the target detection results (the presence situation of the target object and the position of the target object) of the detected target object to the broadcasting system; since the target detection results include the position of the target object, the broadcasting system can determine the moving direction of the target object based on at least two target detections of the target object by the first target detection device.
[0086] In this embodiment, the broadcast system can determine whether it is necessary to warn the target object through at least one target broadcast device by whether the target object is located in the overlapping area, so as to determine the second broadcast device that may also be used as the target broadcast device; determining the target broadcast device according to the moving direction of the target object can achieve directional broadcasting to the target object based on the dynamic movement of the target object; therefore, the broadcast method based on the above process improves the directional ability for specific objects in the area.
[0087] In an exemplary embodiment, each target area further includes a non-overlapping area except the overlapping area in the target area; the blank part in the target area is the non-overlapping area.
[0088] As Figure 8 shown, the above step S604, determining at least one target broadcast device from the first broadcast device and the second broadcast device according to the moving direction of the target object, specifically includes the following steps:
[0089] Step S802, when the moving direction is towards the first non-overlapping area in the first target area, determining the first broadcast device as the target broadcast device.
[0090] Step S804, when the moving direction is towards the second non-overlapping area in the second target area and the distance between the target object and the second non-overlapping area is greater than the preset distance threshold, determining the first broadcast device as the target broadcast device.
[0091] Step S806, when the moving direction is towards the second non-overlapping area and the distance between the target object and the second non-overlapping area is less than the preset distance threshold, determining both the first broadcast device and the second broadcast device as the target broadcast devices.
[0092] Wherein, the second target area is the target area faced by the second broadcast device.
[0093] Wherein, the first non-overlapping area is the non-overlapping area in the first target area, and the second non-overlapping area is the non-overlapping area in the second target area.
[0094] Wherein, the distance between the target object and the second non-overlapping area is the distance between the target object and the junction of the overlapping area where the target object is located and the second non-overlapping area.
[0095] Specifically, if the moving direction of the target object is the first non-overlapping area in the first target area, it means that the target object is currently moving towards the first non-overlapping area. Therefore, the broadcast system only needs to warn the target object through the first broadcast device, and then only determines the first broadcast device as the target broadcast device.
[0096] If the moving direction of the target object is the second non-overlapping area in the second target area, and the distance between the target object and the second non-overlapping area is greater than the preset distance, it indicates that the target object is currently moving towards the second non-overlapping area, but is still far from the second non-overlapping area. Therefore, the broadcast system only needs to give a warning to the target object through the first broadcast device, and then only determines the first broadcast device as the target broadcast device.
[0097] If the moving direction of the target object is the second non-overlapping area, and the distance between the target object and the second non-overlapping area is less than or equal to the preset distance, it indicates that the target object is currently moving towards the second non-overlapping area and is already close to the second non-overlapping area. Therefore, the broadcast system needs to give a warning to the target object through the first broadcast device and the second broadcast device, and then determines both the first broadcast device and the second broadcast device as the target broadcast devices.
[0098] For example, refer to Figure 7 , assuming that the target object is located in the overlapping area corresponding to broadcast device 2 and broadcast device 3, if the target object moves towards the non-overlapping area of target area 2, then the broadcast system determines broadcast device 2 as the target broadcast device.
[0099] If the target object moves towards the non-overlapping area of target area 3, but is still far from the non-overlapping area of target area 3, then the broadcast system determines both broadcast device 2 and broadcast device 3 as the target broadcast devices.
[0100] If the target object moves towards the non-overlapping area of target area 3, but is already close to the non-overlapping area of target area 3, then the broadcast system determines broadcast device 3 as the target broadcast device.
[0101] In this embodiment, determining the target broadcast device based on the moving direction of the target object can achieve directional broadcasting to the target object based on the dynamic moving situation of the target object; therefore, the broadcast method based on the above process improves the directional ability for specific objects in the area.
[0102] In an exemplary embodiment, if the moving direction of the target object is neither the first non-overlapping area nor the second non-overlapping area, then the broadcast system compares the first distance between the target object and the first non-overlapping area and the second distance between the target object and the second non-overlapping area, and determines the broadcast device corresponding to the target area to which the non-overlapping area with the smaller distance value belongs as the target broadcast device; for example, if the first distance is less than the second distance, then the broadcast system determines the first broadcast device as the target broadcast device.
[0103] In an exemplary embodiment, the steps in step S402 above, based on the position of the target object in the first target area, determine at least one target broadcasting device among multiple broadcasting devices, and specifically further include the following: When the target object is outside the overlapping area in the first target area, determine the first broadcasting device as the target broadcasting device.
[0104] Specifically, if the target object is outside the overlapping area in the first target area, that is, within the first non-overlapping area in the first target area, it means that the broadcasting system only needs to warn the target object through the first broadcasting device. Therefore, only the first broadcasting device is determined as the target broadcasting device.
[0105] Such as Figure 9 shown is another schematic diagram of the position of the target object in the first target area; referring to Figure 9 , assuming that the target object is in the non-overlapping area of target area 2, then the broadcasting system determines broadcasting device 2 as the target broadcasting device.
[0106] In this embodiment, the broadcasting system can determine the target broadcasting device that needs to be controlled for playback among multiple broadcasting devices based on the position of the target object in the corresponding target area, and then can control the power amplifier devices of each broadcasting device for playback according to the position change of the target object, so as to achieve directional broadcasting to the target object; therefore, the broadcasting method based on the above process improves the directional ability for specific objects in the area.
[0107] In an exemplary embodiment, each target detection device is used to collect an image of the corresponding target area through the integrated image acquisition module; perform target detection on the image; and when it is confirmed through target detection of the image that there is a target object in the target area corresponding to the image acquisition module, send the target detection result of the target object to the broadcasting system.
[0108] Among them, the target detection result at least includes the presence situation and position of the target object.
[0109] The broadcasting method provided by this application specifically further includes the following: When receiving the target detection result sent by any one of the target detection devices, determine that there is a target object in the target area corresponding to any one of the target detection devices; and determine the position of the target object in the target area corresponding to any one of the target detection devices according to the received target detection result.
[0110] Among them, the target area corresponding to the target detection device refers to the target area faced by the broadcasting device to which the target detection device belongs.
[0111] Specifically, each target detection device collects images of the corresponding target area at a preset time interval through the integrated image acquisition module, then performs target detection on the collected images to determine whether there is an object with a preset behavior in the corresponding target area. If so, it is determined as the target object, and then the existence situation and position of the target object are sent to the broadcast system as the target detection result to alert the broadcast system that there is an object with a preset behavior in the corresponding target area; when the broadcast system receives the target detection result sent by any target detection device, it determines that there is a target object in the target area corresponding to the target detection device; since the target detection result includes the position of the target object, the broadcast system can determine the position of the target object in the target area corresponding to the target detection device that sends the target detection result according to the received target detection result, that is, determine whether the target object is located in the overlapping area in the target area.
[0112] In this embodiment, the broadcast system can detect the target object with a preset behavior through the target detection device and determine the position of the target object in the corresponding target area.
[0113] In an exemplary embodiment, as Figure 10 shown, another broadcast method is provided. Taking the method applied to the broadcast system as Figure 1 shown as an example, it includes the following steps:
[0114] Step S1002, when receiving the target detection result sent by the target detection device of the first broadcast device, determine that there is a target object in the target area faced by the first broadcast device.
[0115] Step S1004, determine the position of the target object in the first target area according to the received target detection result.
[0116] Step S1006, when the target object is located in the overlapping area in the first target area, determine the moving direction of the target object, and determine the adjacent broadcast device of the first broadcast device whose target area faced is the overlapping area between the target area and the first target area and is the adjacent broadcast device of the overlapping area where the target object is located as the second broadcast device.
[0117] Step S1008, when the moving direction is towards the first non-overlapping area in the first target area, determine the first broadcast device as the target broadcast device.
[0118] Step S1010, when the moving direction is towards the second non-overlapping area in the second target area and the distance between the target object and the second non-overlapping area is greater than the preset distance threshold, determine the first broadcast device as the target broadcast device.
[0119] In step S1012, when the moving direction is towards the second non-overlapping area and the distance between the target object and the second non-overlapping area is less than a preset distance threshold, both the first broadcast device and the second broadcast device are determined as target broadcast devices.
[0120] In step S1014, when the target object is outside the overlapping area in the first target area, the first broadcast device is determined as the target broadcast device.
[0121] In step S1016, control the power amplifier devices of each target broadcast device to play the audio associated with the target object.
[0122] In this embodiment, by configuring the target area faced by each broadcast device and the power amplifier device carried on each broadcast device, directional broadcasting can be realized for each target area through the corresponding broadcast device; through the target detection device, the broadcast system can detect the target in the corresponding target area to determine the presence of the target object; based on the position of the target object in the corresponding target area, the broadcast system can determine the target broadcast device that needs to be controlled for playback among multiple broadcast devices, and then can control the playback of the power amplifier devices of each broadcast device according to the position change of the target object, thereby realizing directional broadcasting for the target object; therefore, the broadcast method based on the above process improves the directional ability for specific objects in the area.
[0123] It should be understood that although the steps in the flowcharts involved in the above-described embodiments are shown in sequence according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless there is a clear description in this article, the execution of these steps is not strictly limited in order, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-described embodiments may include multiple steps or multiple stages. These steps or stages are not necessarily executed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be executed alternately or in turn with at least a part of other steps or steps or stages in other steps.
[0124] Based on the same inventive concept, an embodiment of the present application also provides a broadcast system for implementing the above-mentioned broadcast method. The implementation solutions provided by this system to solve problems are similar to the implementation solutions described in the above method. Therefore, the specific limitations in one or more embodiments of the following broadcast system can refer to the limitations on the broadcast method in the above text, and will not be repeated here.
[0125] In an exemplary embodiment, as Figure 1As shown in the figure, an embodiment of the present application further provides a broadcast system, which includes a plurality of broadcast devices 100. Each broadcast device 100 is equipped with a target detection device 200 and a power amplifier device 300. An image acquisition module is integrated on each target detection device, and each broadcast device has a target area it faces.
[0126] Each target detection device 200 is used to collect images and detect targets in the corresponding target area.
[0127] The broadcast system is further used to, when it is determined that there is a target object in the first target area through the image acquisition and target detection of the first target area by the target detection device 200 of the first broadcast device, determine at least one target broadcast device among the plurality of broadcast devices based on the position of the target object in the first target area; control the power amplifier devices of each target broadcast device to play the audio associated with the target object; the first broadcast device is any one of the plurality of broadcast devices 100, and the first target area is the target area faced by the first broadcast device.
[0128] Each power amplifier device 300 is further used to play the audio associated with the target object in response to the control of the broadcast system.
[0129] In the above broadcast system, by configuring a target area faced by each broadcast device and a power amplifier device mounted on each broadcast device, it is possible to achieve directional broadcasting for each target area through the respective corresponding broadcast devices, thereby reducing the noise interference to the surrounding environment; the broadcast system can detect targets in the corresponding target area through the target detection device to determine the presence of target objects; the broadcast system can determine the target broadcast devices that need to be controlled for playback among the plurality of broadcast devices based on the position of the target object in the corresponding target area, and then can control the playback of the power amplifier devices of each broadcast device according to the position change of the target object, so as to achieve directional broadcasting for the target object; therefore, based on the above broadcast system, the directional ability for specific objects in the area is improved.
[0130] In an exemplary embodiment, the plurality of broadcast devices are arranged in a ring.
[0131] Specifically, the plurality of broadcast devices are arranged in a ring to achieve 360° directional broadcasting.
[0132] In practical applications, refer to Figure 3 , the broadcast system is installed on a lamp post, and the number of broadcast devices in the broadcast system is three, and the three broadcast devices are arranged in a ring along the lamp post.
[0133] In an exemplary embodiment, there is an overlapping area between the target areas faced by two adjacent broadcast devices.
[0134] The broadcast system is further configured to determine the moving direction of the target object when the target object is located in the overlapping area of the first target area, and determine, among the adjacent broadcast devices of the first broadcast device, the adjacent broadcast device whose overlapping area between the target area it faces and the first target area is the overlapping area where the target object is located as the second broadcast device; determine at least one target broadcast device from the first broadcast device and the second broadcast device according to the moving direction.
[0135] In an exemplary embodiment, each target area further includes a non-overlapping area other than the overlapping area in the target area.
[0136] The broadcast system is further configured to determine the first broadcast device as the target broadcast device when the moving direction is towards the first non-overlapping area in the first target area; determine the first broadcast device as the target broadcast device when the moving direction is towards the second non-overlapping area in the second target area and the distance between the target object and the second non-overlapping area is greater than a preset distance threshold; the second target area is the target area faced by the second broadcast device; determine both the first broadcast device and the second broadcast device as the target broadcast devices when the moving direction is towards the second non-overlapping area and the distance between the target object and the second non-overlapping area is less than the preset distance threshold.
[0137] In an exemplary embodiment, the broadcast system is further configured to determine the first broadcast device as the target broadcast device when the target object is located outside the overlapping area of the first target area.
[0138] In an exemplary embodiment, each target detection device is further configured to collect an image of the corresponding target area through the integrated image acquisition module; perform target detection on the image; and send the target detection result of the target object to the broadcast system when it is confirmed through the target detection of the image that there is a target object in the target area corresponding to the image acquisition module.
[0139] The broadcast system is further configured to determine that there is a target object in the target area corresponding to any one of the target detection devices when receiving the target detection result sent by any one of the target detection devices; and determine the position of the target object in the target area corresponding to any one of the target detection devices according to the received target detection result.
[0140] To more clearly illustrate the broadcast method and broadcast provided by the embodiments of the present application, the following uses a specific embodiment to specifically describe the broadcast method and broadcast, but it should be understood that the embodiments of the present application are not limited thereto. In one exemplary embodiment, the present application further provides a low-cost 360-degree directional tracking broadcast system based on a three-way power amplifier, which specifically includes the following:
[0141] Such asFigure 3 The broadcast system provided by this embodiment is shown. The broadcast system surrounds the lamp post and consists of three broadcast devices, with one broadcast device every 120 degrees, forming a 360-degree whole. Each broadcast device is equipped with a camera and a power amplifier device.
[0142] Refer to Figure 11 Another schematic diagram of the broadcast system provided by this embodiment, where one of the broadcast devices is equipped with a processor.
[0143] Among them, the camera is used to detect and track moving targets, the power amplifier is used for broadcasting, and the processor is used to execute the broadcast method of the broadcast system.
[0144] The specific implementation process is mainly divided into three steps. Taking the specific scenario of "Don't litter randomly" as an example, the first step is that the camera continuously detects whether there are pedestrians littering in the picture. When a pedestrian littering is detected, a notification message indicating the recognition of a pedestrian littering is generated and sent to the processor. The second step is that when the processor detects the received notification message, it determines which camera sent the notification message, and then notifies the power amplifier device on the corresponding broadcast device to play the pre-recorded content to warn pedestrians not to litter randomly. The third step is that when a pedestrian moves between the areas corresponding to each camera, it will trigger other cameras to send notification messages. The processor makes a decision to determine which power amplifier devices need to play the pre-recorded content.
[0145] In this embodiment, first, the function of directional broadcasting is realized in a low-cost way, greatly reducing the problem of disturbing residents with broadcasts; second, based on the target detection and tracking of the camera, the function of directional broadcasting for the target is realized, achieving precise broadcasting for moving targets.
[0146] In an exemplary embodiment, an electronic device is provided. The electronic device can be a terminal, and its internal structure diagram can be as Figure 12As shown in the figure. The electronic device includes a processor, a memory, an input / output interface, and a communication interface. Among them, the processor, the memory, and the input / output interface are connected through a system bus, and the communication interface is connected to the system bus through the input / output interface. Among them, the processor of the electronic device is used to provide computing and control capabilities. The memory of the electronic device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and computer programs. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage medium. The input / output interface of the electronic device is used to exchange information between the processor and external devices. The communication interface of the electronic device is used to communicate with external terminals in a wired or wireless manner, and the wireless manner can be implemented through WIFI, a mobile cellular network, near field communication (NFC), or other technologies. When the computer program is executed by the processor, it implements a broadcast method.
[0147] Those skilled in the art can understand that Figure 12 the structure shown in the figure is only a block diagram of some structures related to the solution of this application, and does not constitute a limitation on the electronic device to which the solution of this application is applied. The specific electronic device may include more or fewer components than those shown in the figure, or combine some components, or have different component arrangements.
[0148] In an exemplary embodiment, an electronic device is further provided, including a memory and a processor. A computer program is stored in the memory, and when the processor executes the computer program, the steps in the above method embodiments are implemented.
[0149] In an exemplary embodiment, a computer-readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by the processor, the steps in the above method embodiments are implemented.
[0150] In an exemplary embodiment, a computer program product is provided, including a computer program, and when the computer program is executed by the processor, the steps in the above method embodiments are implemented.
[0151] Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be completed by instructing relevant hardware through a computer program. The computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above methods. Among them, any reference to a memory, database, or other medium used in the embodiments provided in the present application can include at least one of non-volatile memory and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM), etc. The databases involved in the embodiments provided in the present application can include at least one of relational databases and non-relational databases. Non-relational databases can include distributed databases based on blockchain, etc., without limitation. The processors involved in the embodiments provided in the present application can be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, data processing logics based on quantum computing, artificial intelligence (AI) processors, etc., without limitation.
[0152] The technical features of the above embodiments can be combined arbitrarily. For the sake of concise description, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, it should be considered to be within the scope recorded in the present application.
[0153] The above-described embodiments merely represent several implementation manners of the present application. The description thereof is relatively specific and detailed, but it should not be construed as a limitation on the patent scope of the present application. It should be noted that for those of ordinary skill in the art, without departing from the concept of the present application, several modifications and improvements can still be made, and these all fall within the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the appended claims.
Claims
1. A broadcasting method, characterized in that, Applied to a broadcast system, the broadcast system includes a plurality of broadcast devices, each of which is equipped with a target detection device and a power amplifier device. An image acquisition module is integrated on each target detection device. Each broadcast device has a target area it faces. The method includes: When, through the target detection device of the first broadcast device, image acquisition and target detection of the first target area are performed and it is determined that there is a target object in the first target area, based on the position of the target object in the first target area, at least one target broadcast device is determined among the plurality of broadcast devices; the first broadcast device is any one of the plurality of broadcast devices, and the first target area is the target area that the first broadcast device faces; Control the power amplifier devices of each of the target broadcast devices to play the audio associated with the target object.
2. The method according to claim 1, characterized in that There is an overlapping area between the target areas faced by two adjacent broadcast devices; The determining of at least one target broadcast device among the plurality of broadcast devices based on the position of the target object in the first target area includes: When the target object is located in the overlapping area in the first target area, determine the moving direction of the target object, and among the adjacent broadcast devices of the first broadcast device, the broadcast device whose target area facing is the adjacent broadcast device of the overlapping area where the target object is located and the overlapping area between the target area facing and the first target area is determined as the second broadcast device; Determine at least one target broadcast device among the first broadcast device and the second broadcast device according to the moving direction.
3. The method according to claim 2, wherein Each target area further includes a non-overlapping area other than the overlapping area in the target area; The determining of at least one target broadcast device among the first broadcast device and the second broadcast device according to the moving direction of the target object includes: When the moving direction is towards the first non-overlapping area in the first target area, determine the first broadcast device as the target broadcast device; When the moving direction is towards the second non-overlapping area in the second target area and the distance between the target object and the second non-overlapping area is greater than a preset distance threshold, determine the first broadcast device as the target broadcast device; the second target area is the target area that the second broadcast device faces; When the moving direction is towards the second non-overlapping area and the distance between the target object and the second non-overlapping area is less than the preset distance threshold, determine both the first broadcast device and the second broadcast device as the target broadcast devices.
4. The method according to claim 1, wherein The determining of at least one target broadcast device among the plurality of broadcast devices based on the position of the target object in the first target area further includes: When the target object is located outside the overlapping area in the first target area, determine the first broadcast device as the target broadcast device.
5. The method according to any one of claims 1 to 4, characterized in that Each target detection device is used to collect images of the corresponding target area through the integrated image acquisition module; Perform object detection on the said image; when it is confirmed through object detection of the said image that there is the said target object in the target area corresponding to the said image acquisition module, send the object detection result of the said target object to the said broadcast system; The said method further includes: When receiving the object detection result sent by any one of the target detection devices, determine that there is the said target object in the target area corresponding to the said any one target detection device; According to the received object detection result, determine the position of the said target object in the target area corresponding to the said any one target detection device.
6. A broadcast system, characterized in that, The said broadcast system includes multiple broadcast devices, each of which is equipped with a target detection device and a power amplifier device, each target detection device is integrated with an image acquisition module, and each broadcast device has a target area it faces; Each target detection device is used to perform image acquisition and object detection on the corresponding target area; The said broadcast system is further used to, when it is determined through image acquisition and object detection of the first target area by the target detection device of the first broadcast device that there is a target object in the first target area, based on the position of the said target object in the first target area, determine at least one target broadcast device among the said multiple broadcast devices; control the power amplifier devices of each said target broadcast device to play the audio associated with the said target object; the first broadcast device is any one of the said multiple broadcast devices, and the first target area is the target area faced by the first broadcast device; Each power amplifier device is further used to, in response to the control of the said broadcast system, play the audio associated with the said target object.
7. The system according to claim 6, wherein The said multiple broadcast devices are arranged in a ring.
8. An electronic device, comprising a memory and a processor, the memory storing a computer program, characterized in that, When the said processor executes the said computer program, it implements the steps of the method described in any one of claims 1 to 5.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the said computer program is executed by the processor, it implements the steps of the method described in any one of claims 1 to 5.
10. A computer program product comprising a computer program, characterized in that, When the said computer program is executed by the processor, it implements the steps of the method described in any one of claims 1 to 5.