A method, device, electronic equipment and program product for safe use of open flame gas source
Through the image segmentation algorithm, the safe placement posture and distance of the gas source bottle are judged, and the safe use signal of the open flame source is generated, which solves the safety hazards and cumbersome approval process in the use of acetylene-oxygen flame, and realizes efficient and safe use of open flame source .
Patent Information
- Application Number
- CN202410909713.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-09
- Publication Date
- 2024-11-08
- Estimated Expiration
- 2044-07-09
AI Technical Summary
The prior art poses safety risks when using acetylene-oxygen flame, especially the placement distance and posture of oxygen cylinders and acetylene cylinders are difficult to effectively ensure, and the fire approval procedures are cumbersome, which reduces production efficiency.
By obtaining the top view image of the site, using the image segmentation algorithm to identify the gas source bottle and calculate its floor size and distance, we can judge whether the gas source bottle meets the safe placement attitude and distance threshold, and generate a safe use signal of the open flame source to simplify the fire approval process And improve safety.
Effectively ensure the safe use of open ignition gas sources in different operating environments, reduce the demand for special equipment, simplify the fire approval process, improve production efficiency, and ensure the safe placement posture and distance of the air source bottle during fire.
Smart Images

Figure CN118469518B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of image processing, and more specifically to a method, device, electronic equipment and program product for safe use of an open flame gas source. Background Art
[0002] Acetylene-oxygen flame is widely used in many scenarios such as engineering construction, especially in engineering operations such as metal welding and cutting, which has a greater risk of fire and explosion. Therefore, fire and explosion prevention measures are particularly important.
[0003] There are many regulations for the use of acetylene-oxygen flames. For example, according to safety regulations such as GB9448-1999 "Welding and Cutting Safety" and "Gas Welding (Cutting) Fire Safety Operation Procedures", the oxygen cylinder and acetylene cylinder should be kept at least 5 meters apart, and the distance from the open flame should not be less than 10 meters. In addition, oxygen cylinders and acetylene cylinders should be placed and fixed vertically to avoid safety problems caused by tilting or horizontal placement.
[0004] In order to ensure safety management, open flame operations usually require the implementation of fire approval procedures to ensure that safety precautions are in place at the work site. However, such fire approval procedures are relatively cumbersome, which reduces the production efficiency of construction operations. Relevant personnel may evade or omit the implementation of fire approval procedures due to cumbersome operations.
[0005] CN103625531A discloses a vehicle for placing oxygen cylinders and acetylene cylinders, and particularly relates to a safe use device for oxygen and acetylene, which aims to solve the problem in the prior art that oxygen cylinders and acetylene cylinders are placed on the same transport vehicle and are too close to each other, which poses a major safety hazard. The safe use device for oxygen and acetylene comprises an oxygen vehicle and an acetylene vehicle with a spacing S of not less than 5m, an oxygen cylinder is placed on the oxygen vehicle, an acetylene cylinder is placed on the acetylene vehicle, the oxygen vehicle is provided with a fastening ring for fixing the oxygen cylinder, and the acetylene vehicle is provided with a fastening ring for fixing the acetylene cylinder.
[0006] However, the existing solution requires the use of a modified special trolley, which lacks flexibility and responsiveness and cannot adapt to the needs of different working environments and sites. Although the existing solution proposes a safe use device for acetylene cylinders and oxygen cylinders, it may still not be able to effectively ensure the safe placement of oxygen cylinders and acetylene cylinders when using (open) fire, and there are still potential safety hazards. Furthermore, the existing solution cannot be well implemented in conjunction with the hot work approval procedures, nor can it simplify the operating procedures of the hot work approval procedures.
[0007] For this reason, there is currently a need to use open flame gas sources (such as acetylene-oxygen flames) more safely and efficiently.
[0008] The content of this background technology description is only for facilitating understanding of the relevant technology in this field and is not regarded as an admission of the prior art. Summary of the invention
[0009] Therefore, the purpose of an embodiment of the present invention is to provide a solution for the safe use of open flame gas sources, which can effectively and efficiently ensure the safe use of open flame gas sources (such as acetylene-oxygen flame) in different working environments and sites, reduce the need for special equipment, and greatly simplify the hot work approval process.
[0010] In a first aspect, a method for safe use of an open flame gas source is provided, comprising: obtaining an overhead image of a site where an open flame is used; identifying a first gas source bottle and a second gas source bottle used for the open flame in the overhead image of the site using an image segmentation algorithm, wherein a gas source type of the second gas source bottle is different from a gas source type of the first gas source bottle; determining a first footprint of the identified first gas source bottle; determining a second footprint of the identified second gas source bottle; judging whether the first gas source bottle meets a predetermined safe placement posture based on the first footprint and a given first nominal size, and judging whether the second gas source bottle meets a predetermined safe placement posture based on the second footprint and a given second nominal size; generating a signal for safe use of an open flame gas source at least when the first gas source bottle and the second gas source bottle meet the predetermined safe placement posture.
[0011] Optionally, the method also includes: obtaining geographic location information of a spray gun used to spray the open flame; determining a first image position corresponding to the identified first gas source bottle in the site overhead image; determining a second image position corresponding to the identified second gas source bottle in the site overhead image; determining a third image position corresponding to the spray gun in the site overhead image based on the geographic location information of the spray gun; determining a first distance between the first image position and the second image position; determining a second distance between the first image position and the third image position; determining a third distance between the second image position and the third image position; judging whether the first distance satisfies a first safety distance threshold, and judging whether the second distance and the third distance meet a second safety distance threshold; wherein, generating an open flame gas source safety use signal at least when the first gas source bottle and the second gas source bottle meet the predetermined safety placement posture includes: generating the open flame gas source safety use signal when the first distance satisfies the first safety distance threshold, the second distance and the third distance meet the second safety distance threshold, and the first gas source bottle and the second gas source bottle meet the predetermined safety placement posture.
[0012] Optionally, determining a first footprint of the identified first gas source bottle includes: calculating a first number of pixels contained in a segmented area corresponding to the identified first gas source bottle as an equivalent first footprint.
[0013] Optionally, determining a second footprint of the identified second gas source bottle includes: calculating a second number of pixels contained in a segmented area corresponding to the identified second gas source bottle as an equivalent second footprint.
[0014] Optionally, judging whether the first gas source bottle meets a predetermined safe placement posture based on the first footprint and a given first nominal size, and judging whether the second gas source bottle meets a predetermined safe placement posture based on the second footprint and a given second nominal size, includes: determining whether the ratio of the first number of pixels to a given first standard number of pixels is less than or equal to a predetermined ratio, and determining whether the ratio of the second number of pixels to a given second standard number of pixels is less than or equal to a predetermined ratio, wherein the first standard number of pixels corresponds to the floor area of the first gas source bottle in a predetermined posture, and the second standard number of pixels corresponds to the floor area of the second gas source bottle in a predetermined posture.
[0015] Optionally, determining a first footprint of the identified first gas source bottle includes: generating a first envelope circle of a segmented area corresponding to the identified first gas source bottle, and determining a first radial dimension of the first envelope circle as the first footprint.
[0016] Optionally, determining a second footprint of the identified second gas source bottle includes: generating a second enveloping circle of the segmented area corresponding to the identified second gas source bottle, and determining a second radial dimension of the second enveloping circle as the second footprint.
[0017] Optionally, judging whether the first gas source bottle meets a predetermined safe placement posture based on the first footprint and a given first nominal dimension, and judging whether the second gas source bottle meets a predetermined safe placement posture based on the second footprint and a given second nominal dimension, includes: determining whether the ratio of the first radial dimension to the radial dimension of the first gas source bottle is less than or equal to a predetermined ratio, and determining whether the ratio of the second radial dimension to the radial dimension of the second gas source bottle is less than or equal to a predetermined ratio.
[0018] Optionally, determining the first distance between the first image position and the second image position includes: determining a first shortest pixel path from the first image position to the second image position, and determining a third number of pixels of the first minimum pixel path as an equivalent first distance.
[0019] Optionally, determining the second distance between the first image position and the third image position includes: determining a second shortest pixel path from the first image position to the third image position, and determining a fourth number of pixels of the second shortest pixel path as an equivalent second distance.
[0020] Optionally, determining the third distance between the second image position and the third image position includes: determining a third shortest pixel path from the second image position to the third image position, and determining a fifth number of pixels of the third shortest pixel path as an equivalent third distance.
[0021] In a second aspect, a method for safe use of an open flame gas source is provided, comprising: obtaining an overhead image of a site where an open flame is used; obtaining geographic location information of a spray gun used to spray the open flame; identifying a first gas source bottle and a second gas source bottle used for the open flame in the overhead image of the site using an image segmentation algorithm, wherein the gas source type of the second gas source bottle is different from the gas source type of the first gas source bottle; determining a first image position corresponding to the identified first gas source bottle in the overhead image of the site; determining a second image position corresponding to the identified second gas source bottle in the overhead image of the site; determining a third image position corresponding to the spray gun in the overhead image of the site according to the geographic location information of the spray gun; determining a first distance between the first image position and the second image position; determining a second distance between the first image position and the third image position; determining a third distance between the second image position and the third image position; determining whether the first distance meets a first safety distance threshold, and determining whether the second distance and the third distance meet a second safety distance threshold; generating an open flame gas source safe use signal at least when the first distance meets the first safety distance threshold and the second distance and the third distance meet the second safety distance threshold.
[0022] In a third aspect, a device for safe use of an open flame gas source is provided, comprising: a first acquisition unit, configured to acquire an overhead image of a site where an open flame is used; an identification unit, configured to identify a first gas source bottle and a second gas source bottle used for the open flame in the overhead image of the site using an image segmentation algorithm, wherein a gas source type of the second gas source bottle is different from a gas source type of the first gas source bottle; a first size determination unit, configured to determine a first footprint of the identified first gas source bottle; a second size determination unit, configured to determine a second footprint of the identified second gas source bottle; a first judgment unit, configured to judge whether the first gas source bottle meets a predetermined safe placement posture based on the first footprint and a given first nominal size; a second judgment unit, configured to judge whether the second gas source bottle meets a predetermined safe placement posture based on the second footprint and a given second nominal size; a signal generation unit, configured to generate a signal for safe use of an open flame gas source at least when the first gas source bottle and the second gas source bottle meet the predetermined safe placement posture.
[0023] In a fourth aspect, a device for safe use of an open flame gas source is provided, comprising: a first acquisition unit, configured to acquire an overhead image of a site where an open flame is used; a second acquisition unit, configured to acquire geographic location information of a spray gun used to spray the open flame; an identification unit, configured to identify a first gas source bottle and a second gas source bottle used for the open flame in the overhead image of the site using an image segmentation algorithm, wherein a gas source type of the second gas source bottle is different from a gas source type of the first gas source bottle; a first position determination unit, configured to determine a first image position corresponding to the identified first gas source bottle in the overhead image of the site; a second position determination unit, configured to determine a second image position corresponding to the identified second gas source bottle in the overhead image of the site; and a third position determination unit, configured to determine a first position corresponding to the identified second gas source bottle in the overhead image of the site based on the geographic location information of the spray gun. A third image position corresponding to the spray gun is determined in the site overhead image; a first distance determination unit is configured to determine a first distance between the first image position and the second image position; a second distance determination unit is configured to determine a second distance between the first image position and the third image position; a third distance determination unit is configured to determine a third distance between the second image position and the third image position; a third judgment unit is configured to judge whether the first distance meets a first safety distance threshold; a fourth judgment unit is configured to judge whether the second distance and the third distance meet a second safety distance threshold; a signal generation unit is configured to allow the generation of an open flame gas source safety use signal when the first distance meets the first safety distance threshold and the second distance and the third distance meet the second safety distance threshold. The signal generation unit is configured to generate an open flame gas source safety use signal at least when the first distance meets the first safety distance threshold and the second distance and the third distance meet the second safety distance threshold.
[0024] In a fifth aspect, an electronic device is provided, comprising a processor and a memory storing a computer program, wherein the processor is configured to execute the method described in the embodiment of the present invention when running the computer program.
[0025] In a sixth aspect, a program product is provided, the program product comprising a computer program, wherein the computer program is executed by a processor to implement the method described in the embodiment of the present invention.
[0026] According to the scheme proposed in the embodiment of the present invention, it is possible to universally provide a guarantee for the safe use of open flame gas sources (such as acetylene-oxygen flame) for different working environments and sites. The scheme of the embodiment of the present invention can be responsive and can be implemented when a hot flame is required to perform a safe use verification of the open flame gas source (such as acetylene-oxygen flame). Furthermore, the scheme of the embodiment of the present invention can be incorporated into the hot flame approval procedures prescribed for the use of open flame gas sources with minimal changes, and greatly simplify the operational process of the hot flame approval procedures, and it is even possible to perform the hot flame approval procedures almost without feeling or intervention.
[0027] Furthermore, the solutions proposed in some embodiments of the present invention can effectively ensure the safe placement posture of the gas source bottle when starting a fire. The solutions proposed in other embodiments of the present invention can effectively ensure the safe placement distance of the gas source bottle when starting a fire. In addition, the solutions proposed in still other embodiments of the present invention can simultaneously ensure the safe placement posture and safe placement distance of the gas source bottle.
[0028] Other optional features and technical effects of the embodiments of the present invention are partially described below, and partially can be understood by reading this document. BRIEF DESCRIPTION OF THE DRAWINGS
[0029] Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings. The elements shown are not limited to the proportions shown in the accompanying drawings. The same or similar reference numerals in the accompanying drawings represent the same or similar elements, wherein:
[0030] Figure 1 One of the exemplary flow charts showing the method for safely using an open flame gas source according to an embodiment of the present invention;
[0031] Figure 2 A second exemplary flow chart showing a method for safely using an open flame gas source according to an embodiment of the present invention;
[0032] Figure 3 A schematic diagram showing a site using an open flame according to an embodiment of the present invention;
[0033] Figure 4 A schematic diagram showing a top view image of a site using an open flame according to an embodiment of the present invention;
[0034] Figure 5 One of the schematic diagrams showing the footprint of the gas source bottle in the method for safe use of an open flame gas source according to an embodiment of the present invention is shown, wherein (a) is a schematic diagram showing the footprint of the gas source bottle in a substantially vertical state, (b) is a schematic diagram showing the footprint of the gas source bottle in a slightly tilted state, and (c) is a schematic diagram showing the footprint of the gas source bottle in a significantly tilted state;
[0035] Figure 6 The second schematic diagram shows the footprint of the gas source bottle in the method for safe use of an open flame gas source according to an embodiment of the present invention, wherein (a) is a schematic diagram of the footprint of the gas source bottle in a substantially vertical state, (b) is a schematic diagram of the footprint of the gas source bottle in a slightly tilted state, and (c) is a schematic diagram of the footprint of the gas source bottle in a significantly tilted state;
[0036] Figure 7 A schematic diagram showing the shortest pixel path between image positions in a method for safe use of an open flame gas source according to an embodiment of the present invention;
[0037] Figure 8 A third exemplary flow chart showing a method for safely using an open flame gas source according to an embodiment of the present invention;
[0038] Fig. 9 One of the module schematic diagrams of the open flame gas source safe use device according to an embodiment of the present invention is shown;
[0039] Fig.10 A second schematic diagram of a module showing a device for safe use of an open flame gas source according to an embodiment of the present invention; and
[0040] Fig.11 A schematic diagram showing the structure of an electronic device capable of implementing the method according to an embodiment of the present invention is shown. DETAILED DESCRIPTION
[0041] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with specific implementation methods and drawings. Here, the exemplary implementation methods of the present invention and their descriptions are used to explain the present invention, but are not intended to limit the present invention.
[0042] As used herein, the term "including" and its variations mean open inclusion, i.e., "including but not limited to". Unless otherwise stated, the term "or" means "and / or". The term "based on" means "based at least in part on". The terms "an example embodiment" and "an embodiment" mean "at least one example embodiment". The term "another embodiment" means "at least one additional embodiment". The terms "first", "second", etc. may refer to different or the same objects. Other explicit and implicit definitions may also be included below.
[0043] The present invention will be further described below in conjunction with the accompanying drawings.
[0044] refer to Figure 1 , shows a method for safely using an open flame gas source according to an embodiment of the present invention. In the embodiment of the present invention, the open flame includes, for example, an acetylene-oxygen flame, but the present invention is not limited thereto.
[0045] In the embodiments of the present invention, the method for safely using an open flame gas source can be implemented in various suitable engineering sites. In some exemplary embodiments, the method for safely using an open flame gas source can be implemented in a road reconstruction and expansion scenario. Figure 1 and Figure 3 In the case of open flames, open flame generating devices (such as acetylene-oxygen flame devices) need to be placed in the area where open flames are used in accordance with certain safety regulations. Figure 3 As shown, the open flame generating device (such as an acetylene-oxygen flame device) may include a spray gun 301 for spraying open flames, a first gas source bottle 302 (such as an acetylene bottle), and a second gas source bottle 303 (such as an oxygen bottle). The first gas source bottle 302 and the second gas source bottle 303 are connected to the spray gun 301 through their own supply lines. Figure 1 and Figure 3 The invention describes a method for safely using an open flame gas source according to an embodiment of the invention.
[0046] like Figure 1 As shown, the method for safely using the open flame gas source may include:
[0047] S101: Acquire a bird's-eye view image of a site where open flames are used.
[0048] In some embodiments, the site top view image can be acquired by any suitable image acquisition device. In some embodiments, for example, in a road reconstruction and expansion scenario, the site top view image can be acquired by a camera of a patrol robot, especially a camera of a patrol robot walking along a guardrail. In a specific example, the camera can be connected to a telescopic device installed on the top of the patrol robot to acquire a top view of a site, such as a road reconstruction and expansion site.
[0049] Figure 3 A camera 304 located at the top is schematically shown, which is used to obtain an overhead image of the site where an open fire is used. Figure 4 A schematic diagram of a top view image of a site using an open fire is schematically shown, and in order to clearly illustrate the main points of the embodiment of the present invention, the supply line is not shown.
[0050] In some embodiments, step S101 may include: in response to a received request for using an open fire, acquiring an overhead image of a site where an open fire is used.
[0051] In these embodiments, the acquisition of the image may be responsive, for example, in response to receiving a request for open fire use, the site overhead image is acquired.
[0052] In such a further embodiment, for example, the open flame use request can be triggered by a trigger mechanism on the spray gun 301. For example, the operator using the open flame can perform a trigger operation, such as pressing or toggling the trigger mechanism, so that the trigger mechanism sends the open flame use request. In some embodiments, the trigger operation can also simultaneously trigger the open flame approval request, or the open flame use request and the open flame approval request are integrated into one. In other embodiments, it is conceivable to operate a related terminal device to send a request. For example, when the operator using the open flame is about to start a fire (at this time, near the spray gun), the operator can send the open flame use request by operating a terminal device, which is, for example, a dedicated terminal device or a terminal device with a related application installed.
[0053] However, it is conceivable that in other embodiments, the acquisition of images may not necessarily be responsive, for example, it may be acquired regularly according to a predetermined time period. In such an embodiment, for example, when a hot work permit is issued, the site overhead image is selected from a plurality of images that have been periodically acquired, which falls within the scope of the present invention.
[0054] S102: Using an image segmentation algorithm, identify a first gas source bottle and a second gas source bottle for an open flame in the site overhead image, wherein a gas source type of the second gas source bottle is different from a gas source type of the first gas source bottle.
[0055] In an embodiment of the present invention, any suitable image segmentation algorithm may be used to identify the first gas source bottle 302 (such as an acetylene bottle) and the second gas source bottle 303 (such as an oxygen bottle) in the site overhead image.
[0056] In an embodiment of the present invention, the image segmentation algorithm includes an image segmentation algorithm based on deep learning, including but not limited to the YOLO algorithm. The YOLO (You Only Look Once) algorithm is an image segmentation algorithm widely used in real-time detection and image segmentation. It combines convolutional neural networks (CNNs) and feature pyramid structures, can accurately identify and segment target objects of different scales, and adopts a lightweight design, so that the model has a faster reasoning speed while maintaining high accuracy.
[0057] In a specific embodiment of the present invention, for example, in the above step 102, the YOLO algorithm / model is used to process the acquired site overhead image. Specifically, the site overhead image, especially the feature layer at different scales, i.e., different resolutions, is extracted from the site overhead image; then the overhead image is divided into grids, and multiple bounding boxes are generated for each grid for target recognition, and each bounding box predicts a confidence score and a category probability, wherein the confidence score represents the probability of containing an object in the bounding box and the accuracy of positioning, and the category probability (e.g., classification loss cls_loss) represents the probability that the object belongs to a certain category, and the gas source bottle in the overhead image can be distinguished based on the above prediction parameters; and at the same time as the target recognition or after the target recognition is completed, a fine-grained segmentation technique is used and the difference between the bounding box predicted by the model and the real bounding box is measured by, for example, calculating the bounding box loss (box_loss), so as to adjust and accurately segment the boundary of each gas source bottle, and generate the corresponding segmented area for subsequent processing.
[0058] However, it is understood that the above description of the specific steps of the specific segmentation algorithm is only an example and is not considered to be a limitation of the present invention. Those skilled in the art can identify the gas source bottle according to the segmentation algorithm suitable for the needs, such as identifying the gas source bottle and segmenting the segmentation area corresponding to the gas source bottle.
[0059] In some embodiments, step S102 may include the following steps A1 to A3: A1: using an image segmentation algorithm to identify at least two gas source bottles in the overhead image of the site and respectively segment out at least two segmented areas corresponding to the at least two gas source bottles; A2: extracting the grayscale value or color value of the at least two segmented areas; A3: determining the first gas source bottle and the second gas source bottle among the at least two identified gas source bottles based on the extracted grayscale value or color value.
[0060] In this embodiment, when the image segmentation algorithm is used for identification, only the gas source bottle is identified and the segmented area corresponding to the gas source bottle is segmented accordingly, but its gas source type is not distinguished. Further, after identification (identification and segmentation), the gray value (or optional color value) in the segmented area can be extracted, and the gas source type of the gas source bottle can be determined according to the extracted gray value, that is, whether it belongs to the first gas source bottle (such as an acetylene bottle) or the second gas source bottle (such as an oxygen bottle). In some embodiments, the gas source bottle with a gray value greater than (>) or greater than or equal to (≥) a preset threshold can be determined as the first gas source bottle (such as an acetylene bottle), and the gas source bottle with a gray value less than or equal to (≤) or less than (<) a preset threshold can be determined as the second gas source bottle (such as an oxygen bottle). In other embodiments, the gray values can be compared, and the gas source bottle with a larger gray value can be determined as the first gas source bottle (such as an acetylene bottle), and vice versa.
[0061] In this embodiment, preferably, two gas source bottles are identified (recognized and segmented) in step A1, for example, the two gas source bottles closest to the spray gun 301. In other embodiments, all gas source bottles in the site overhead image may be identified, and the following described determination of the footprint and distance determination are also applicable.
[0062] S103: Determine a first floor space of the identified first gas source cylinder.
[0063] S104: Determine a second floor space of the identified second gas source cylinder.
[0064] S105: judging whether the first gas source bottle meets the predetermined safe placement posture according to the first floor space and the given first nominal size, and judging whether the second gas source bottle meets the predetermined safe placement posture according to the second floor space and the given second nominal size.
[0065] In the embodiments of the present invention, the footprint is interpreted broadly. In some embodiments, the footprint includes both the literal footprint and the equivalent footprint, as further described below. In some embodiments, the footprint includes various dimensions, such as but not limited to the footprint length (one-dimensional dimension) and the footprint area (two-dimensional dimension), as further described below.
[0066] In some embodiments, Figure 5 As shown, the number of pixels occupied by the gas source bottle in the overhead view image of the site can be used as the equivalent floor space, more specifically, as the equivalent floor area.
[0067] In some embodiments, step S103 may include: calculating the number of first pixels contained in the segmented area corresponding to the identified first gas source bottle as the equivalent first occupied area.
[0068] In these embodiments, step S104 may include: calculating the number of second pixels contained in the segmented area corresponding to the identified second gas source bottle as the equivalent second occupied area.
[0069] In these embodiments, step S105 may include: determining whether the ratio of the first pixel number to a given first standard pixel number is less than or equal to a predetermined ratio, and determining whether the ratio of the second pixel number to a given second standard pixel number is less than or equal to a predetermined ratio.
[0070] exist Figure 5 In the illustrated embodiment, the first gas source bottle 302 (such as an acetylene bottle) is taken as an example to describe its (equivalent) floor space, that is, the equivalent floor space. Figure 5The (equivalent) footprint of a gas source bottle, such as the first gas source bottle 302 (such as an acetylene bottle), in different placement postures is schematically shown, where the footprint is the number of pixels covered, such as the first number of pixels. Figure 5 (a) in the figure shows, by way of example, that when a gas source bottle, such as the first gas source bottle 302 (such as an acetylene bottle), is in a substantially vertical state, the area occupied by the gas source bottle, such as the first gas source bottle 302 (such as an acetylene bottle) (such as the number of pixels N covered in the corresponding segmented area) S1 ) will be roughly equal to the area of the circular end face of the gas source bottle; Figure 5 (b) in the figure shows, by way of example, that when a gas source bottle, such as the first gas source bottle 302 (such as an acetylene bottle), is slightly tilted, the floor space (such as the number of pixels covered N) occupied by the gas source bottle, such as the first gas source bottle 302 (such as an acetylene bottle) is S2 ) will be slightly larger than the area of the circular end surface of the gas source bottle; as shown in Figure 5(c), when the gas source bottle, such as the first gas source bottle 302 (such as an acetylene bottle), is significantly tilted, the area occupied by the gas source bottle, such as the first gas source bottle 302 (such as an acetylene bottle) (such as the number of pixels covered N) S3 ) will be significantly larger than the area of the circular end face of the gas source bottle.
[0071] To this end, it can be determined whether the first gas source bottle meets the predetermined safe placement posture by determining whether the ratio of the first number of pixels to the given first standard number of pixels is less than or equal to the predetermined ratio. In some embodiments, the first standard number of pixels may correspond to the number of pixels that the circular end face of the gas source bottle can cover in a plane (i.e., the gas source bottle is in a vertical state). However, the present invention is not limited to this. In some embodiments, the predetermined ratio may be a proportional coefficient greater than 1. In an embodiment of the present invention, the above-mentioned predetermined ratio may cover the situation of directly comparing the ratio of the first number of pixels to the given first standard number of pixels, where the first standard number of pixels is, for example, the number of pixels corresponding to the end face of the gas source bottle in the plane multiplied by a certain coefficient. In some embodiments of the present invention, it is also possible to adjust the given standard number of pixels according to factors such as the image size and / or the height of the acquisition device from the ground, which falls within the scope of the present invention.
[0072] For the relevant features of the equivalent floor space (such as the number of pixels covered) of the second gas source bottle, please refer to the above description and will not be repeated here.
[0073] In these embodiments, the first standard number of pixels corresponds to the area occupied by the first gas source bottle in a predetermined posture, and the second standard number of pixels corresponds to the area occupied by the second gas source bottle in a predetermined posture.
[0074] In other embodiments, Figure 6 As shown, the size of the enveloping circle of the projection of the gas source bottle in the site bird's-eye view image, such as the radial size, such as the radius or the diameter, can be used as the (equivalent) floor space size.
[0075] In some other embodiments, step S103 may include: generating a first envelope circle of the segmented area corresponding to the identified first gas source bottle, and determining a first radial dimension of the first envelope circle as the first floor space.
[0076] In these embodiments, step S104 may include: generating a second envelope circle of the segmented area corresponding to the identified second gas source bottle, and determining a second radial dimension of the second envelope circle as the second footprint;
[0077] In these embodiments, step S105 may include: determining whether the ratio of the first radial dimension to the radial dimension of the first gas source bottle is less than or equal to a predetermined ratio, and determining whether the ratio of the second radial dimension to the radial dimension of the second gas source bottle is less than or equal to a predetermined ratio.
[0078] exist Figure 6 In the illustrated embodiment, the second gas source bottle 303 (such as an oxygen bottle) is taken as an example to describe the envelope circle of its projection and the radial size (such as the radius) of the envelope circle as the (equivalent) floor space. Figure 6 The enveloping circle and radial dimensions (such as radius) of a gas source bottle, such as the second gas source bottle 303 (such as an oxygen bottle), in different placement postures are schematically shown as (equivalent) floor space dimensions. Figure 6 (a) in the figure shows by way of example that when the gas source bottle, such as the second gas source bottle 303 (such as an oxygen bottle), is in a substantially vertical state, the radial dimension (such as the radius R1) of the envelope circle of the gas source bottle, such as the second gas source bottle 303 (such as an oxygen bottle) will be substantially equal to the radial dimension (such as the radius) of the circular end face of the gas source bottle; Figure 6 (b) in the figure shows by way of example that when the gas source bottle, such as the second gas source bottle 303 (such as an oxygen bottle), is slightly tilted, the radial dimension (such as the radius R2) of the envelope circle (shown by a dotted line) of the gas source bottle, such as the second gas source bottle 303 (such as an oxygen bottle) will be slightly larger than the radial dimension (such as the radius) of the circular end surface of the gas source bottle; Figure 6 (c) in the figure exemplifies that when a gas source bottle, such as the second gas source bottle 303 (such as an oxygen bottle), is significantly tilted, the radial dimension (such as radius R3) of the gas source bottle, such as the second gas source bottle 303 (such as an oxygen bottle) will be significantly larger than the radial dimension (such as radius) of the circular end face of the gas source bottle.
[0079] To this end, it is possible to determine whether the gas source bottle meets the predetermined safe placement posture by determining whether the ratio of the radial dimension of the envelope circle to the radial dimension of the given gas source bottle (end face) is less than or equal to the predetermined ratio. It will be understood that the radial dimension refers to the dimension in the top view image. Accordingly, in some embodiments of the present invention, it is also possible to adjust the radial dimension of the given gas source bottle (end face) according to factors such as the image size and / or the height of the acquisition device from the ground, which falls within the scope of the present invention.
[0080] For the relevant features of the envelope circle of the first gas source bottle and its radial dimension, please refer to the above description and will not be repeated here.
[0081] S114: Generate an open flame gas source safety use signal at least when the first gas source bottle and the second gas source bottle meet the predetermined safe placement posture.
[0082] In an embodiment of the present invention, a signal for safe use of an open flame gas source may be generated when at least the first gas source bottle and the second gas source bottle meet the predetermined safe placement posture. In some embodiments, a signal for safe use of an open flame gas source may be generated when the above-mentioned safe placement posture is met. In other embodiments, other safety specification conditions (such as Figure 2 In the case of the safety distance described in the illustrated embodiment), a signal for safe use of an open flame gas source is regenerated.
[0083] In an embodiment of the present invention, the open flame gas source safe use signal generated in step S114 can facilitate the execution of fire approval procedures with almost no perception or intervention. For example, the open flame gas source safe use signal can directly trigger the opening of the safety valve integrated in the spray gun or the safety valves integrated in the first and second gas source bottles respectively.
[0084] The method for using open flames in the embodiment of the present invention, especially the open flame gas source safe use signal generated in step S114, can also be combined with the operation of the approver, for example, the approval operation of the approver can be performed before and / or after and / or synchronously with the generation of the open flame gas source safe use signal. In a specific example, the method for using open flame gas source safely can be performed after or at the same time as the approval operation of the approver. In another specific example, the generated open flame gas source safe use signal can be pushed to the approver's terminal device, and the start of the fire can be performed with the approval of the approver.
[0085] In a further embodiment, as described above, the safety distance between the spray gun and the gas source bottle and between the gas source bottles are additionally checked.
[0086] In this further embodiment, reference is made to Figure 2 , the safe use of open flame gas source may also include:
[0087] S106: Acquire the geographical location information of the spray gun used to spray the open flame.
[0088] In some embodiments, the geographical location information of the spray gun can be obtained by various means. In some embodiments, the geographical location information of the spray gun can be generated independently or synchronously with the request to use an open flame. In a preferred embodiment, for example, a location generating device can be integrated in the spray gun to send the geographical location information of the spray gun. In another preferred embodiment, especially when the operator generates a request to use an open flame by operating a terminal device, the geographical location of the terminal device can also be sent to characterize the geographical location of the spray gun (the operator is often located at the position of the spray gun 301 at this time). However, the present invention is not limited to this.
[0089] S107: Determine a first image position corresponding to the identified first gas source bottle in the site bird's-eye view image.
[0090] S108: Determine a second image position corresponding to the identified second gas source bottle in the site bird's-eye view image.
[0091] In the embodiment of the present invention, when the gas source bottle is identified in step S102, the image position of the gas source bottle in the site overhead image may be determined in the above steps S107 and S108.
[0092] In the embodiment of the present invention, the image position may be a single point or multiple image positions. Figure 4 In the exemplary embodiment shown, the first and second image positions of the first and second gas source bottles are respectively represented by single-point image positions, such as the midpoints of the first and second gas source bottles (segmented regions). Figure 7 In the embodiment shown, there are multiple first image positions of the first gas source bottle, more specifically, the outer contour of the first gas source bottle (segmented area); there may also be multiple second image positions of the second gas source bottle. In an embodiment not shown, it is also conceivable to use the contour of the envelope circle or a feature point (such as the midpoint / center of the circle) as the image position.
[0093] S109: Determine a third image position corresponding to the spray gun in the site overhead image according to the geographical location information of the spray gun.
[0094] In an embodiment of the present invention, the third image position of the spray gun can be determined in the site overhead image by using appropriate means according to the geographical location information of the spray gun. In some embodiments, the geographical location of the spray gun can be converted into an image position by the correspondence between the geographical location of a site marker (such as a multi-point marker 401 or a ruler marker 402) and the image position.
[0095] In a preferred embodiment, the third image position of the spray gun is a single point.
[0096] S110: Determine a first distance D1 between the first image position and the second image position.
[0097] S111: Determine a second distance D2 between the first image position and the third image position.
[0098] S112: Determine a third distance D3 between the second image position and the third image position.
[0099] S113: Determine whether the first distance satisfies a first safety distance threshold, and determine whether the second distance and the third distance satisfy a second safety distance threshold.
[0100] In some embodiments of the present invention, Figure 7 As shown, the first, second and third distances in steps S110 to S112 can be determined by determining the shortest pixel distance in the image. In this embodiment, when determining the first and second distances (shortest pixel distances), they are determined based on multiple image positions of the gas source bottle (such as the outline described above) and a single point image position of the spray gun, but the present invention is not limited thereto.
[0101] In these embodiments, step S110 may include: determining a first shortest pixel path from the first image position to the second image position, and determining a third number of pixels of the first shortest pixel path as the equivalent first distance 701 .
[0102] In these embodiments, step S111 may include: determining a second shortest pixel path 702 between the first image position and the third image position, and determining a fourth number of pixels of the second shortest pixel path as the equivalent second distance.
[0103] In these embodiments, step S112 may include: determining a third shortest pixel path 703 from the second image position to the third image position, and determining a fifth number of pixels of the third shortest pixel path as the equivalent third distance.
[0104] In the embodiment of the present invention, any suitable shortest pixel path searching method can be considered to determine the shortest pixel path.
[0105] In a preferred embodiment, accordingly, in step S113, it can be directly determined whether the number of pixels in the shortest pixel path meets a given safety distance threshold (i.e., the number of safety distance pixels). Figure 2In the illustrated embodiment, step S114 of the method for safe use of an open flame gas source may specifically include step S114': generating an open flame gas source safe use signal when the first distance satisfies a first safety distance threshold, the second distance and the third distance satisfy a second safety distance threshold, and the first gas source bottle and the second gas source bottle meet a predetermined safe placement posture.
[0106] In an alternative embodiment, if Figure 8 As shown, a method for safely using an open flame gas source is also provided, and the method may include steps S801 to S811:
[0107] S801: In response to a received request for use of an open fire, obtain an overhead image of a site where the open fire is used.
[0108] S802: Acquire geographic location information of a spray gun used to spray the open flame.
[0109] S803: Using an image segmentation algorithm to identify a first gas source bottle and a second gas source bottle for an open flame in the site overhead image, wherein a gas source type of the second gas source bottle is different from a gas source type of the first gas source bottle.
[0110] S804: Determine a first image position corresponding to the identified first gas source bottle in the site overhead image.
[0111] S805: Determine a second image position corresponding to the identified second gas source bottle in the site bird's-eye view image.
[0112] S806: Determine a third image position corresponding to the spray gun in the site overhead image according to the geographical location information of the spray gun.
[0113] S807: Determine a first distance between the first image position and the second image position.
[0114] S808: Determine a second distance between the first image position and the third image position.
[0115] S809: Determine a third distance between the second image position and the third image position.
[0116] S810: Determine whether the first distance satisfies a first safety distance threshold, and determine whether the second distance and the third distance satisfy a second safety distance threshold.
[0117] S811: Generate an open flame gas source safe use signal at least when the first distance satisfies the first safety distance threshold and the second distance and the third distance satisfy the second safety distance threshold.
[0118] In an embodiment of the present invention, a signal for safe use of an open flame gas source may be generated when at least the distances between the spray gun and the first gas source bottle and the second gas source bottle meet the predetermined safety distance thresholds. In some embodiments, a signal for safe use of an open flame gas source may be generated when the above safety distance thresholds are met. In other embodiments, other safety specification conditions (such as Figure 1 In the case of the safe placement posture of the gas source bottle described in the illustrated embodiment), a signal for safe use of the open flame gas source is generated.
[0119] In the embodiment of the present invention, the specific contents of the above steps S801 to S810 can refer to the description of the relevant steps in the above embodiments of the present invention, for example, refer to the sub-steps of the above steps S106 to S113 and the contents of the relevant embodiments, which will not be repeated here. In a further embodiment of the present application, the above steps S801 to S810 can also be combined with the above steps S101 to S105 of the embodiment of the present application.
[0120] In the embodiment of the present invention, Fig. 9 As shown, a device 900 for safely using an open flame gas source is shown. Fig. 9 In the embodiment of the invention, the open flame gas source safe use device 900 includes a first acquisition unit 901, an identification unit 902, a first size determination unit 903, a second size determination unit 904, a first judgment unit 905, a second judgment unit 906 and a signal generation unit 907, wherein:
[0121] The first acquisition unit 901 is configured to acquire a bird's-eye view image of a site where an open fire is used in response to a received request for using an open fire.
[0122] The identification unit 902 is configured to identify a first gas source bottle and a second gas source bottle for an open flame in the site bird's-eye view image using an image segmentation algorithm, wherein the gas source type of the second gas source bottle is different from the gas source type of the first gas source bottle.
[0123] The first size determination unit 903 is configured to determine a first footprint of the identified first gas source cylinder.
[0124] The second size determination unit 904 is configured to determine a second footprint of the identified second gas source cylinder.
[0125] The first judgment unit 905 is configured to judge whether the first gas source bottle meets the predetermined safe placement posture according to the first floor space and the given first nominal size.
[0126] The second judgment unit 906 is configured to judge whether the second gas source cylinder meets the predetermined safe placement posture according to the second floor space and the given second nominal size.
[0127] The signal generating unit 907 is configured to generate an open flame gas source safe use signal at least when the first gas source bottle and the second gas source bottle meet the predetermined safe placement posture.
[0128] Fig. 9 Only some components of the device 900 are schematically shown, which does not mean that the open flame gas source safe use device 900 only includes Fig. 9 The units shown, the open flame gas source safe use device 900 can also be combined with the units in the open flame gas source safe use device 1000 described below in a non-contradictory manner.
[0129] In the embodiment of the present invention, Fig.10 , and also shows a device 1000 for safely using an open flame gas source. Fig.10 In the embodiment of the invention, the open flame gas source safe use device 1000 includes a first acquisition unit 1001, a second acquisition unit 1002, an identification unit 1003, a first position determination unit, a second position determination unit 1004, a third position determination unit 1005, a first distance determination unit 1006, a second distance determination unit 1007, a third distance determination unit 1008, a third judgment unit 1009, a fourth judgment unit 1010 and a signal generation unit 1011, wherein:
[0130] The first acquisition unit 1001 is configured to acquire a bird's-eye view image of a site where an open fire is used in response to a received request for using an open fire.
[0131] The second acquisition unit 1002 is configured to acquire geographical location information of a spray gun used to spray open flames.
[0132] The identification unit 1003 is configured to identify a first gas source bottle and a second gas source bottle for an open flame in the site overhead image using an image segmentation algorithm, wherein the gas source type of the second gas source bottle is different from the gas source type of the first gas source bottle.
[0133] The second position determination unit 1004 is configured to determine a second image position corresponding to the identified second gas source bottle in the site bird's-eye view image.
[0134] The third position determination unit 1005 is configured to determine a third image position corresponding to the spray gun in the site overhead image according to the geographical location information of the spray gun.
[0135] The first distance determination unit 1006 is configured to determine a first distance between a first image position and a second image position.
[0136] The second distance determination unit 1007 is configured to determine a second distance between the first image position and the third image position.
[0137] The third distance determination unit 1008 is configured to determine a third distance between the second image position and the third image position.
[0138] The third determination unit 1009 is configured to determine whether the first distance meets a first safety distance threshold.
[0139] The fourth determination unit 1010 is configured to determine whether the second distance and the third distance satisfy a second safety distance threshold.
[0140] The signal generating unit 1011 is configured to generate an open flame gas source safe use signal at least when the first distance satisfies a first safety distance threshold and the second distance and the third distance satisfy a second safety distance threshold.
[0141] Fig.10 The diagram only schematically shows some components of the device 1000, which does not mean that the open flame gas source safe use device 1000 only includes Fig.10 Unit shown.
[0142] In a further embodiment of the present invention, Fig.10 The device 1000 or its components shown in the figure may also be combined with the related devices in the aforementioned embodiments of the present application in a non-contradictory manner, such as the aforementioned open flame gas source safe use device 900 or its components, which falls within the scope of the present invention.
[0143] In some embodiments of the present invention, an electronic device is provided, which includes a processor and a memory storing a computer program, wherein the processor is configured to implement a method of any embodiment of the present invention when running the computer program.
[0144] Fig.11 A schematic diagram of an electronic device 1100 that can be used to implement a method or implement an embodiment of the present invention is shown. In some embodiments, the number of electronic devices may be more or less than the number shown. In some embodiments, a single or multiple electronic devices may be used for implementation. In some embodiments, cloud or distributed electronic devices may also be used for implementation.
[0145] like Fig.11As shown, the electronic device 1100 includes a processor 1101 and a memory 1102. The processor is used to execute programs stored in the memory, which can implement the methods, steps or functions described in the above embodiments when executed by a computer. The processor 1101 may include various types of processors, such as a central processing unit (CPU), a graphics processing unit (GPU), a neural network processor (NPU), a digital signal processor (DSP), etc. The processor 1101 and the memory 1102 are interconnected via a bus 1103. The bus 1103 can also be connected to an input / output (I / O) interface, etc.
[0146] Although not shown in the figures, an embodiment of the present invention further provides a storage medium storing computer programs, which are configured to execute a method related to any embodiment when running.
[0147] Although not shown, in an embodiment of the present invention, a program product is provided. The program product includes a computer program. When the computer program is executed by a processor, the method of any embodiment of the present invention is implemented.
[0148] Although not shown, in an embodiment of the present invention, a system for safe use of an open flame gas source is also provided. The system may include a first gas source bottle, a second gas source bottle, a spray gun, a safety valve for controlling the gas output from the first gas source bottle or the second gas source bottle, an image acquisition device, and a signal processing device. The signal processing device may include the open flame gas source safe use device or some of its components as described in any of the above embodiments of the present invention.
[0149] The above-mentioned open flame gas source safe use system of the present invention can implement the open flame gas source safe use method as described in any of the above embodiments of the present invention when receiving an open flame use request, thereby generating an open flame gas source safe use signal and controlling the corresponding gas control mechanism to control the use of the open flame gas source under compliance with regulations.
[0150] The methods, programs, systems, devices, etc. of the embodiments of the present invention may be executed or implemented in a single or multiple networked computers, or may be practiced in a distributed computing environment. In the embodiments of this specification, in these distributed computing environments, tasks may be performed by remote processing devices connected via a communication network.
[0151] Those skilled in the art should understand that the embodiments of the present specification may be provided as methods, systems or computer program products. Therefore, those skilled in the art may imagine that the functional modules / units or controllers and related method steps described in the above embodiments may be implemented in software, hardware or a combination of software / hardware.
[0152] Unless explicitly stated, the actions or steps of the methods, programs, and embodiments of the present invention do not have to be performed in a specific order and can still achieve the desired results. In some implementations, multitasking and parallel processing are also possible or may be advantageous.
[0153] In this article, multiple embodiments of the present invention are described, but for the sake of brevity, the description of each embodiment is not exhaustive, and the same or similar features or parts between the embodiments may be omitted. In this article, "one embodiment", "some embodiments", "examples", "specific examples", or "some examples" are meant to be applicable to at least one embodiment or example according to the present invention, but not all embodiments. The above terms do not necessarily mean to refer to the same embodiment or example. In the absence of contradiction, those skilled in the art can combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples.
[0154] The exemplary systems and methods of the present invention have been specifically shown and described with reference to the above embodiments, which are merely examples of the best modes for implementing the present systems and methods. It will be appreciated by those skilled in the art that various changes may be made to the embodiments of the systems and methods described herein when implementing the present systems and / or methods without departing from the spirit and scope of the present invention as defined in the appended claims.
Claims
1. A method for safe use of an open flame gas source, characterized in that: include: Obtain overhead imagery of sites where open flames are used; Using an image segmentation algorithm to identify a first gas source bottle and a second gas source bottle for the open flame in the overhead image of the site, and segmenting the boundaries corresponding to the first gas source bottle and the second gas source bottle to generate segmented areas corresponding to the first gas source bottle and the second gas source bottle, wherein the gas source type of the second gas source bottle is different from the gas source type of the first gas source bottle; Determine a first floor space dimension of the identified first gas source cylinder; Determine a second floor space dimension of the identified second gas source cylinder; Determine whether the first gas source cylinder meets a predetermined safe placement posture according to the first floor space and a given first nominal size, and determine whether the second gas source cylinder meets a predetermined safe placement posture according to the second floor space and a given second nominal size; At least when the first gas source bottle and the second gas source bottle meet the predetermined safe placement posture, a signal for safe use of open flame gas source is generated, wherein: The determining of the first footprint of the identified first gas source bottle includes: calculating the number of first pixels contained in the segmented area corresponding to the identified first gas source bottle as an equivalent first footprint; The determining of the second footprint of the identified second gas source bottle includes: calculating the number of second pixels contained in the segmented area corresponding to the identified second gas source bottle as an equivalent second footprint; The method of judging whether the first gas source bottle meets a predetermined safe placement posture based on the first footprint and a given first nominal size, and judging whether the second gas source bottle meets a predetermined safe placement posture based on the second footprint and a given second nominal size, includes: determining whether the ratio of the first number of pixels to a given first standard number of pixels is less than or equal to a predetermined ratio, and determining whether the ratio of the second number of pixels to a given second standard number of pixels is less than or equal to a predetermined ratio, wherein the first standard number of pixels corresponds to the footprint of the first gas source bottle in a predetermined posture, and the second standard number of pixels corresponds to the footprint of the second gas source bottle in a predetermined posture.
2. The method for safe use of an open flame gas source as claimed in claim 1, characterized in that: The method further comprises: Obtaining geographic location information of a spray gun used to spray the open flame; Determining a first image position corresponding to the identified first gas source bottle in the site overhead image; Determining a second image position corresponding to the identified second gas source bottle in the site overhead image; Determining a third image position corresponding to the spray gun in the site overhead image according to the geographical location information of the spray gun; determining a first distance between the first image location and the second image location; determining a second distance between the first image location and the third image location; determining a third distance between the second image position and the third image position; Determine whether the first distance satisfies a first safety distance threshold, and determine whether the second distance and the third distance satisfy a second safety distance threshold; Among them, the open flame gas source safety use signal is generated at least when the first gas source bottle and the second gas source bottle meet the predetermined safe placement posture, including: when the first distance meets the first safety distance threshold, the second distance and the third distance meet the second safety distance threshold and the first gas source bottle and the second gas source bottle meet the predetermined safe placement posture, the open flame gas source safety use signal is generated.
3. The method for safe use of an open flame gas source as claimed in claim 2, characterized in that: The determining the first distance between the first image position and the second image position comprises: determining a first shortest pixel path from the first image position to the second image position, and determining a third number of pixels of the first shortest pixel path as the equivalent first distance; The determining the second distance between the first image position and the third image position comprises: determining a second shortest pixel path from the first image position to the third image position, and determining a fourth number of pixels of the second shortest pixel path as the equivalent second distance; Determining the third distance between the second image position and the third image position includes: determining a third shortest pixel path from the second image position to the third image position, and determining a fifth number of pixels of the third shortest pixel path as the equivalent third distance.
4. A method for safe use of an open flame gas source, characterized in that: include: Obtain overhead imagery of sites where open flames are used; Using an image segmentation algorithm to identify a first gas source bottle and a second gas source bottle for the open flame in the overhead image of the site, and segmenting the boundaries corresponding to the first gas source bottle and the second gas source bottle to generate segmented areas corresponding to the first gas source bottle and the second gas source bottle, wherein the gas source type of the second gas source bottle is different from the gas source type of the first gas source bottle; Determine a first floor space dimension of the identified first gas source cylinder; Determine a second floor space dimension of the identified second gas source cylinder; Determine whether the first gas source cylinder meets a predetermined safe placement posture according to the first floor space and a given first nominal size, and determine whether the second gas source cylinder meets a predetermined safe placement posture according to the second floor space and a given second nominal size; At least when the first gas source bottle and the second gas source bottle meet the predetermined safe placement posture, a signal for safe use of open flame gas source is generated, wherein: The determining of the first floor space of the identified first gas source bottle comprises: generating a first envelope circle of the segmented area corresponding to the identified first gas source bottle, and determining a first radial dimension of the first envelope circle as the first floor space; The determining of the second floor space of the identified second gas source bottle comprises: generating a second envelope circle of the segmented area corresponding to the identified second gas source bottle, and determining a second radial dimension of the second envelope circle as the second floor space; The method of judging whether the first gas source bottle meets a predetermined safe placement posture based on the first floor space and a given first nominal size, and judging whether the second gas source bottle meets a predetermined safe placement posture based on the second floor space and a given second nominal size, includes: determining whether the ratio of the first radial dimension to the radial dimension of the first gas source bottle is less than or equal to a predetermined ratio, and determining whether the ratio of the second radial dimension to the radial dimension of the second gas source bottle is less than or equal to a predetermined ratio.
5. The method for safe use of an open flame gas source as claimed in claim 4, characterized in that: The method further comprises: Obtaining geographic location information of a spray gun used to spray the open flame; Determining a first image position corresponding to the identified first gas source bottle in the site overhead image; Determining a second image position corresponding to the identified second gas source bottle in the site overhead image; Determining a third image position corresponding to the spray gun in the site overhead image according to the geographical location information of the spray gun; determining a first distance between the first image location and the second image location; determining a second distance between the first image location and the third image location; determining a third distance between the second image position and the third image position; Determine whether the first distance satisfies a first safety distance threshold, and determine whether the second distance and the third distance satisfy a second safety distance threshold; Among them, the open flame gas source safety use signal is generated at least when the first gas source bottle and the second gas source bottle meet the predetermined safe placement posture, including: when the first distance meets the first safety distance threshold, the second distance and the third distance meet the second safety distance threshold and the first gas source bottle and the second gas source bottle meet the predetermined safe placement posture, the open flame gas source safety use signal is generated.
6. A method for safe use of an open flame gas source, characterized in that: include: Obtain overhead imagery of sites where open flames are used; Obtaining geographic location information of a spray gun used to spray the open flame; Using an image segmentation algorithm to identify a first gas source bottle and a second gas source bottle for the open flame in the overhead image of the site, and correspondingly segmenting the boundaries of the first gas source bottle and the second gas source bottle to generate segmented areas corresponding to the first gas source bottle and the second gas source bottle, wherein the gas source type of the second gas source bottle is different from the gas source type of the first gas source bottle; Determining a first image position corresponding to the identified first gas source bottle in the site overhead image; Determining a second image position corresponding to the identified second gas source bottle in the site overhead image; Determining a third image position corresponding to the spray gun in the site overhead image according to the geographical location information of the spray gun; determining a first distance between the first image location and the second image location; determining a second distance between the first image location and the third image location; determining a third distance between the second image position and the third image position; Determine whether the first distance satisfies a first safety distance threshold, and determine whether the second distance and the third distance satisfy a second safety distance threshold; At least when the first distance satisfies a first safety distance threshold and the second distance and the third distance satisfy a second safety distance threshold, a fire gas source safety use signal is generated, wherein: The determining of the first distance between the first image position and the second image position comprises: determining a first shortest pixel path between the segmented area corresponding to the first gas source bottle and the segmented area corresponding to the second gas source bottle, and determining a third number of pixels of the first minimum pixel path as the equivalent first distance; The determining of the second distance between the first image position and the third image position comprises: determining a second shortest pixel path between the segmented area corresponding to the first gas source bottle and the third image position, and determining a fourth number of pixels of the second shortest pixel path as an equivalent second distance; Determining the third distance between the second image position and the third image position includes: determining a third shortest pixel path between the segmented area corresponding to the second gas source bottle and the third image position, and determining the fifth number of pixels of the third shortest pixel path as the equivalent third distance.
7. A device for safe use of open flame gas source, characterized in that: include: A first acquisition unit is configured to acquire an overhead image of a site where an open fire is used; an identification unit configured to identify a first gas source bottle and a second gas source bottle for the open flame in the site overhead image using an image segmentation algorithm, and segment the boundaries corresponding to the first gas source bottle and the second gas source bottle to generate segmented areas corresponding to the first gas source bottle and the second gas source bottle, wherein the gas source type of the second gas source bottle is different from the gas source type of the first gas source bottle; A first size determination unit is configured to determine a first footprint of the identified first gas source bottle, and further configured to calculate a first number of pixels contained in a segmented area corresponding to the identified first gas source bottle as an equivalent first footprint; A second size determination unit is configured to determine a second footprint of the identified second gas source bottle, and further configured to calculate the number of second pixels contained in the segmented area corresponding to the identified second gas source bottle as an equivalent second footprint; a first judgment unit, configured to judge whether the first gas source bottle meets a predetermined safe placement posture according to the first footprint and a given first nominal size, and further configured to determine whether a ratio of the first number of pixels to a given first standard number of pixels is less than or equal to a predetermined ratio, wherein the first standard number of pixels corresponds to an area occupied by the first gas source bottle in a predetermined posture; a second judgment unit, configured to judge whether the second gas source bottle meets a predetermined safe placement posture according to the second footprint and a given second nominal size, and further configured to determine whether a ratio of the second number of pixels to a given second standard number of pixels is less than or equal to a predetermined ratio, wherein the second standard number of pixels corresponds to an area occupied by the second gas source bottle in a predetermined posture; The signal generating unit is configured to generate a signal for safe use of an open flame gas source at least when the first gas source bottle and the second gas source bottle meet the predetermined safe placement posture.
8. A device for safe use of open flame gas source, characterized in that: include: A first acquisition unit is configured to acquire an overhead image of a site where an open fire is used; A second acquisition unit is configured to acquire geographical location information of a spray gun used to spray the open flame; an identification unit configured to identify a first gas source bottle and a second gas source bottle for the open flame in the site overhead image by using an image segmentation algorithm, and segment the boundaries corresponding to the first gas source bottle and the second gas source bottle to generate segmented areas corresponding to the first gas source bottle and the second gas source bottle, wherein the gas source type of the second gas source bottle is different from the gas source type of the first gas source bottle; A first position determination unit is configured to determine a first image position corresponding to the identified first gas source bottle in the site overhead image; A second position determination unit is configured to determine a second image position corresponding to the identified second gas source bottle in the site overhead image; A third position determination unit is configured to determine a third image position corresponding to the spray gun in the site overhead image according to the geographical location information of the spray gun; a first distance determination unit, configured to determine a first distance between the first image position and the second image position, further configured to determine a first shortest pixel path between the segmented area corresponding to the first gas source bottle and the segmented area corresponding to the second gas source bottle, and determine a third number of pixels of the first minimum pixel path as an equivalent first distance; A second distance determination unit is configured to determine a second distance between the first image position and the third image position, and is further configured to determine a second shortest pixel path between the segmented area corresponding to the first gas source bottle and the third image position, and determine a fourth number of pixels of the second shortest pixel path as an equivalent second distance; A third distance determination unit is configured to determine a third distance between the second image position and the third image position, and is further configured to determine a third shortest pixel path between the segmented area corresponding to the second gas source bottle and the third image position, and determine a fifth number of pixels of the third shortest pixel path as an equivalent third distance; a third judging unit, configured to judge whether the first distance satisfies a first safety distance threshold; A fourth judgment unit, configured to judge whether the second distance and the third distance meet a second safety distance threshold; The signal generating unit is configured to generate an open flame gas source safe use signal at least when the first distance satisfies a first safety distance threshold and the second distance and the third distance satisfy a second safety distance threshold.
9. An electronic device, characterized in that: The method comprises a processor and a memory storing a computer program, wherein the processor is configured to execute the method according to any one of claims 1 to 6 when running the computer program.
10. A program product, characterized in that The program product comprises a computer program, and when the computer program is executed by a processor, the method according to any one of claims 1 to 6 is implemented.
