Monitoring method and device based on electronic fence, computer equipment and storage medium
By combining location information and image information processing in the electronic fence monitoring system, the alarm information carrying tags is generated, which solves the problem of insufficient monitoring in traditional monitoring methods, and achieves more efficient electronic fence monitoring.
Patent Information
- Application Number
- CN202411227188.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-03
- Publication Date
- 2024-12-31
AI Technical Summary
Traditional electronic fence-based monitoring methods are difficult to achieve comprehensive and multi-dimensional information evaluation and judgment of monitoring objects, resulting in insufficient accuracy and efficiency.
By determining the electronic fence area, obtaining the location information of the object to be detected and determining whether the fence rule conditions are met, generating a trigger event; at the same time, obtaining the image information of the target object, marking it according to the entity characteristics and generating alarm information carrying tags to achieve multi-dimensionality monitoring evaluation.
It improves the efficiency of handling violations of monitoring objects and achieves more accurate and efficient electronic fence monitoring.
Smart Images

Figure CN119229578A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of electronic fences, and in particular to a monitoring method, device, computer equipment and storage medium based on electronic fences. Background Art
[0002] In the field of electronic fence technology, electronic fence is used as an important security protection method to achieve control over designated areas.
[0003] However, in traditional monitoring methods based on electronic fences, whether to trigger an alarm is directly determined only based on the positional relationship between the monitored object and the electronic fence, making it difficult to comprehensively and multi-dimensionally evaluate and determine the monitoring information of the monitored object, and thus making it difficult to accurately and efficiently monitor based on electronic fences. Summary of the invention
[0004] Based on this, it is necessary to provide a monitoring method, device, computer equipment, computer-readable storage medium and computer program product based on electronic fence to address the above-mentioned technical problems, which can realize comprehensive and multi-dimensional evaluation and judgment of the monitoring information of the monitored object, so as to accurately and efficiently perform monitoring based on electronic fence.
[0005] In a first aspect, the present application provides a monitoring method based on an electronic fence, comprising:
[0006] Determine the electronic fence area;
[0007] Acquire the location information corresponding to the object to be detected. If the location information satisfies the electronic fence rule conditions set based on the electronic fence area, the object to be detected is taken as the target object, and a trigger event corresponding to the target object is generated;
[0008] Obtain image information corresponding to the target object, and mark the target object according to the entity features of the target object in the image information to obtain label information corresponding to the target object;
[0009] Generates alarm information corresponding to the trigger event, and the alarm information carries label information corresponding to the target object.
[0010] In a second aspect, the present application provides a monitoring device based on an electronic fence, comprising:
[0011] A determination module, used to determine the electronic fence area;
[0012] The first processing module is used to obtain the location information corresponding to the object to be detected, and if the location information meets the electronic fence rule conditions set based on the electronic fence area, the object to be detected is used as a target object, and a trigger event corresponding to the target object is generated;
[0013] The second processing module is used to obtain image information corresponding to the target object, and mark the target object according to the entity features of the target object in the image information to obtain label information corresponding to the target object;
[0014] The generation module is used to generate alarm information corresponding to the trigger event, and the alarm information carries label information corresponding to the target object.
[0015] In a third aspect, the present application provides a computer device, the computer device comprising a memory and a processor, the memory storing a computer program, and the processor implementing the steps in the above method when executing the computer program.
[0016] In a fourth aspect, the present application provides a computer-readable storage medium having a computer program stored thereon, which implements the steps in the above method when executed by a processor.
[0017] In a fifth aspect, the present application provides a computer program product, which includes a computer program, and when the computer program is executed by a processor, it implements the steps in the above method.
[0018] The above-mentioned monitoring method, device, computer equipment, computer-readable storage medium and computer program product based on electronic fence, first, at the level of position information processing, according to the positional relationship between the object to be detected and the electronic fence area, and combined with the electronic fence rule conditions, the object to be detected with illegal behavior is efficiently and accurately regarded as the target object; secondly, at the level of image information processing, the target object is marked according to the entity characteristics of the target object in the image information, so as to adaptively obtain the label information of the target object; finally, the generated alarm information is associated with the illegal behavior and entity characteristics of the target object, thereby improving the efficiency of processing the illegal behavior of the target object based on the complete and multi-dimensional alarm information; based on this, the monitoring information of the monitored object is comprehensively and multi-dimensionally evaluated and judged, so as to accurately and efficiently monitor based on the electronic fence. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] FIG1 is a diagram of an application environment of a monitoring method based on an electronic fence provided in an embodiment of the present application;
[0020] FIG2 is a schematic diagram of a flow chart of a monitoring method based on an electronic fence provided in an embodiment of the present application;
[0021] FIG3 (a) is a schematic diagram of a pixel coordinate system provided in an embodiment of the present application;
[0022] FIG3( b ) is a schematic diagram of a physical coordinate system provided in an embodiment of the present application;
[0023] FIG3 (c) is a schematic diagram of another physical coordinate system provided in an embodiment of the present application;
[0024] Figure 4 A structural block diagram of a monitoring device based on an electronic fence provided in an embodiment of the present application;
[0025] Figure 5 An internal structure diagram of a computer device provided in an embodiment of the present application;
[0026] Figure 6 An internal structure diagram of another computer device provided in an embodiment of the present application;
[0027] Figure 7 An internal structure diagram of a computer-readable storage medium provided in an embodiment of the present application. DETAILED DESCRIPTION
[0028] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0029] The electronic fence-based monitoring method provided in the embodiment of the present application can be applied in the application environment shown in Figure 1. Among them, the terminal 102 communicates with the server 104 through a communication network. The data storage system can store the data that the server 104 needs to process. The data storage system can be integrated on the server 104, or it can be placed on the cloud or other network servers. Among them, the terminal 102 can be, but is not limited to, various personal computers, laptops, smart phones, tablet computers, Internet of Things devices and portable wearable devices. The Internet of Things devices can be smart speakers, smart TVs, smart air conditioners, smart car-mounted devices, etc. Portable wearable devices can be smart watches, smart bracelets, head-mounted devices, etc. The server 104 can be implemented with an independent server or a server cluster consisting of multiple servers.
[0030] As shown in FIG2 , the embodiment of the present application provides a monitoring method based on an electronic fence, and the method is applied to the terminal 102 or the server 104 in FIG1 as an example for explanation. It is understandable that the computer device may include at least one of a terminal and a server. The method includes the following steps:
[0031] S202: Determine the electronic fence area.
[0032] Among them, the electronic fence area represents a virtual geographical boundary in the physical space, which is used to monitor the entry and exit of people or the flow of objects in a specified area, or to monitor the activity range of a specified person or a specified object.
[0033] In some embodiments, determining an electronic fence area may represent constructing an electronic fence area: for example, an electronic fence area in a virtual space may be drawn on a display interface, and the electronic fence area in the virtual space may be mapped to a physical space to obtain an electronic fence area in the physical space; for another example, an electronic fence area may be obtained by directly dividing the physical space according to a specified geographic location in the physical space, or according to a specified cell in a grid-like physical space, or according to specified address information.
[0034] In some embodiments, determining an electronic fence area may also represent calling information on an already constructed electronic fence area; wherein the called information may represent the physical location of the electronic fence area in physical space, or may represent the electronic fence rule conditions corresponding to the electronic fence area, or may represent information such as the name or identification of the electronic fence area, creation time or modification time, activation status or disablement status, etc.
[0035] S204, obtaining location information corresponding to the object to be detected, and if the location information satisfies the electronic fence rule conditions set based on the electronic fence area, taking the object to be detected as a target object, and generating a trigger event corresponding to the target object.
[0036] Among them, the object to be detected may represent the person or object that needs to be detected whether there is any violation, that is, the activity and position of the object to be detected are monitored, and it is detected whether the object to be detected has any violation based on the electronic fence area; the target object may represent the object that has any violation based on the electronic fence area.
[0037] Among them, the position information corresponding to the object to be detected can represent the physical position information of the object to be detected in the physical space, such as the geographical coordinates, altitude, address information, relative position to a known landmark and other physical position information corresponding to the object to be detected, and can also represent movement direction, movement speed, movement trajectory corresponding to a specified time period and other motion state information.
[0038] The electronic fence rule condition represents a condition for determining whether the object to be detected has any illegal behavior based on the electronic fence area.
[0039] In some embodiments, the electronic fence rule condition may indicate that when the electronic fence area is a prohibited entry or exit area, based on the positional relationship between the object to be detected and the electronic fence area, it is judged whether the object to be detected enters the electronic fence area set as prohibited entry, or leaves the electronic fence area set as prohibited exit.
[0040] In some embodiments, the electronic fence rule condition may also indicate that when the electronic fence area is an area where entry or exit is allowed during a limited time period, or when the electronic fence area is an area where a stay time is limited, based on the positional relationship between the object to be detected and the electronic fence area within a specified time period, it is determined that the object to be detected has not entered the electronic fence area set as an area where entry is allowed during a limited time period within the limited time period, or has not left the electronic fence area set as an area where exit is allowed during a limited time period within the limited time period, or has stayed in the electronic fence area set as an area where a stay time is limited for more than the limited time.
[0041] In some embodiments, the electronic fence rule condition may also indicate that, when the electronic fence area is an area with a limited number of entries or exits, based on the number of times the position of the object to be detected switches inside and outside the electronic fence area, it is judged that the number of times the object to be detected has entered the electronic fence area set as a limited number of entries exceeds the limited number of entries, or the number of times the object to be detected has left the electronic fence area set as a limited number of exits exceeds the limited number of exits.
[0042] In some embodiments, first, the position information of the object to be detected and the position information of the electronic fence area can be obtained respectively, and the position information of the two can be compared to preliminarily determine the positional relationship between the object to be detected and the electronic fence area, that is, determine whether the object to be detected is within the electronic fence area; secondly, after determining the positional relationship between the object to be detected and the electronic fence area, combined with the electronic fence rule conditions, further determine whether the object to be detected has any violation based on the electronic fence area, and if so, determine the violation type corresponding to the violation, that is, determine the rule type corresponding to the satisfied electronic fence rule conditions, such as the rule type prohibiting entry, the rule type prohibiting leaving, the rule type limiting the stay time, etc.
[0043] In some embodiments, the same object to be detected may correspond to different electronic fence rule conditions in different electronic fence areas; different objects to be detected may correspond to different electronic fence rule conditions in the same electronic fence area.
[0044] In some embodiments, a trigger event represents an event generated after determining that the object to be detected has violated the regulations based on the electronic fence area; wherein the trigger event may record the identification information of the target object, the identification information of the electronic fence area, the violation type of the target object, the time and location of event generation, and the response actions that have been performed or are to be performed.
[0045] In some embodiments, the location information of the object to be detected can be obtained through UWB (Ultra-Wideband) technology, that is, a UWB receiver is arranged in the physical space, and when there is an object carrying a UWB transmitter in the physical space, the UWB receiver receives the UWB signal from the UWB transmitter to calculate the location information of the object to which the UWB transmitter belongs based on the received UWB signal.
[0046] In some embodiments, the signal reception range corresponding to the UWB receiver arranged in the physical space needs to fully cover the monitored area; furthermore, the parameters of the UWB receiver in terms of transceiver signal sensitivity, transceiver signal delay, power consumption, data processing algorithm, etc. need to be configured and calibrated to ensure the stability of the working state of the UWB receiver and the reliability of data processing; furthermore, the location information received by the UWB receiver can be sent to a server or terminal through a specified communication protocol, such as TCP / IP, WebSocket and other communication protocols, so as to execute subsequent location information processing steps through the server or terminal.
[0047] In some embodiments, the location information of the object to be detected can also be obtained through communication positioning methods such as GPS, Wi-Fi, Bluetooth, RFID (radio frequency identification), etc.
[0048] S206: Obtain image information corresponding to the target object, and mark the target object according to entity features of the target object in the image information to obtain label information corresponding to the target object.
[0049] The image information may represent image information and / or video information, that is, the image information contains entity features of the target object; the entity features of the target object are obtained by capturing the external features of the target object through the image information.
[0050] Among them, the label information can represent, when the entity features of the target object in the image information are identified, the labels for describing or annotating the entity features in the form of text, voice, image, etc., or the labels for circling or marking the entity features in the form of boxes, lines, arrows, etc.
[0051] In some embodiments, when the target object is a person, the entity characteristics of the target object may represent the person's physiological characteristics such as age, gender, height, weight, and facial features; may also represent behavioral characteristics such as gait, gesture, way of speaking, habitual movements; may also represent clothing characteristics such as clothing type, accessories, and work badges; may also represent emotional characteristics such as facial expressions and emotional reactions.
[0052] In some embodiments, when the target object is an object, the entity characteristics of the target object may represent physical characteristics such as size and shape of the object, visual characteristics such as color, texture, transparency, material characteristics such as material type, hardness, elasticity, functional characteristics such as purpose, operation method, performance parameters, and structural characteristics such as components, internal structure, and connection methods.
[0053] In some embodiments, the tag information may be stored in association with the image information, or may be integrated into the image information so as to be arranged adjacent to the corresponding entity feature in the image information.
[0054] In some embodiments, among multiple entity features of the same type, such as age entity features, gender entity features, and height entity features, which are all physiological feature types, label information corresponding to each entity feature can be obtained based on the multiple entity features; the label information corresponding to each entity feature can also be integrated to obtain comprehensive label information of the type to which the multiple entity features belong.
[0055] In some embodiments, image information can be collected in real time through monitoring equipment such as cameras and sensors, for example, video information can be recorded and image information can be captured. The image information corresponding to the target object may represent image information obtained by different monitoring devices taking pictures of the target object from different perspectives, or may represent image information obtained by the same monitoring device continuously tracking and photographing the target object.
[0056] In some embodiments, when the image information is image information, entity feature recognition and analysis can be performed on the image information separately; when the image information is video information, entity feature recognition and analysis can be performed on each frame of data corresponding to the video information separately.
[0057] S208: Generate alarm information corresponding to the triggering event, where the alarm information carries label information corresponding to the target object.
[0058] Among them, the alarm information can represent information that prompts management personnel through sound, light, text message, email, etc., or it can represent information displayed on the display interface in the form of text, animation, notification message, color change effect, flashing effect, etc., to prompt management personnel to immediately intervene and deal with the violation of the target object.
[0059] In some embodiments, on the one hand, the alarm information matches the trigger event corresponding to the target object, thereby associating the alarm information with the violation of the target object; on the other hand, the alarm information carries the label information corresponding to the target object, thereby associating the alarm information with the entity characteristics of the target object.
[0060] In some embodiments, the violation behavior of the target object may be prioritized based on factors such as the importance of the electronic fence area, the violation type of the target object, and the tag information of the target object. For violations with higher priority, the alarm information may be provided in the form of sound, light, or other prompts with higher urgency. For violations with lower priority, the alarm information may be provided in the form of text messages, emails, or other prompts with lower urgency.
[0061] In some embodiments, after a trigger event is generated, alarm information corresponding to the trigger event may be directly generated without marking the entity features of the target object.
[0062] In some embodiments, the computer device includes a presentation layer, a communication layer, a logic layer, and a storage layer, wherein: the presentation layer is used to implement user interaction, such as building a user-visible and interactive interface through frameworks such as HTML, CANVAS, and VUE; the communication layer is used to implement data transmission, such as ensuring secure data transmission and efficient communication through communication protocols such as HTTPS and TCP; the logic layer is used to process core business logic, such as processing core business logic through business components such as LOGIC SERVER, SERVICE MESH, and AI SERVER; the storage layer is used to manage and store data, such as storing data through databases (such as MYSQL), memory data structure storage systems (such as REDIS), cloud storage services (such as OSS), etc.
[0063] It can be seen that in the embodiments of the present application, firstly, at the level of position information processing, according to the positional relationship between the object to be detected and the electronic fence area, and combined with the electronic fence rule conditions, the object to be detected with illegal behavior is efficiently and accurately regarded as the target object; secondly, at the level of image information processing, the target object is marked according to the entity characteristics of the target object in the image information, so as to adaptively obtain the label information of the target object; finally, the generated alarm information is associated with the illegal behavior and entity characteristics of the target object, thereby improving the efficiency of processing the illegal behavior of the target object based on the complete and multi-dimensional alarm information; based on this, the monitoring information of the monitored object is comprehensively and multi-dimensionally evaluated and judged, so as to accurately and efficiently monitor based on the electronic fence.
[0064] In some embodiments, determining an electronic fence area includes:
[0065] S302: Display the acquired electronic map through the display interface of the terminal.
[0066] Among them, electronic map is a form of map that digitally represents geographic information in physical space.
[0067] In some embodiments, the source of the obtained electronic map can be specified by setting the map data source; the accuracy of the obtained electronic map can be specified by setting the resolution, data collection accuracy, etc.; the geographical scope displayed by the obtained electronic map can be specified by setting the scale, coverage, etc.
[0068] In some embodiments, the electronic map may be acquired by the terminal and displayed in a display interface; the electronic map may also be acquired by the server and sent to the terminal so that the electronic map can be displayed through the display interface of the terminal.
[0069] S304: Acquire an edit request input through the display interface, and perform an edit operation on the electronic map according to the edit request, so as to obtain a reference electronic fence area displayed in the display interface, and attribute information corresponding to the reference electronic fence area.
[0070] The reference electronic fence area represents a graphic boundary in the virtual space, which corresponds to the electronic fence area in the physical space, so as to intuitively display the area monitored or restricted by the electronic fence area through the visualization of the reference electronic fence area.
[0071] The edit request is used to request the generation of a reference electronic fence area and to request the setting of attribute information of the reference electronic fence area.
[0072] In some embodiments, the editing request can be used to request editing operations such as clicking, dragging, zooming or panning of the electronic map, and can also be used to request drawing a graphic on the electronic map to circle a reference electronic fence area, and can also be used to request to specify, clear or save attribute information of the circled reference electronic fence area.
[0073] In some embodiments, after receiving an editing request input by the user through the display interface, the terminal performs an editing operation on the electronic map on the display interface, thereby visually generating a reference electronic fence area corresponding to the editing request on the display interface, and visually setting the attribute information of the reference electronic fence area according to the editing request on the display interface.
[0074] In some embodiments, after receiving an editing request input by a user through a display interface, the terminal sends the editing request to a server; after receiving the editing request, the server performs an editing operation on the electronic map stored on the server, thereby generating a reference electronic fence area corresponding to the editing request, and setting the attribute information of the reference electronic fence area according to the editing request, and sending the reference electronic fence area and attribute information obtained according to each editing request to the terminal, so as to visually display the editing process and editing results through the display interface of the terminal.
[0075] In some embodiments, the attribute information of the reference electronic fence area may represent the position information such as the pixel coordinates of the reference electronic fence area, and may also represent the geometric information such as the shape, area, and size of the reference electronic fence area, and may also represent the style information such as the color and line type of the reference electronic fence area, and may also represent the rule conditions of the reference electronic fence area.
[0076] In some embodiments, the reference electronic fence area in the display interface can be visually drawn through Canvas technology, that is, a canvas containing an electronic map is created in the display interface, and a preset parameter calling method is used to define the location, shape, boundary line, color, electronic fence rule conditions and other attribute information of the reference electronic fence area.
[0077] S306: Map the attribute information corresponding to the reference electronic fence area to the physical space to obtain the attribute information corresponding to the electronic fence area, and determine the electronic fence area according to the attribute information corresponding to the electronic fence area.
[0078] In some embodiments, the pixel position of the reference electronic fence area in the electronic map can be mapped to the physical space according to the association between the pixel position in the electronic map and the physical position in the physical space to obtain the physical position of the electronic fence area in the physical space.
[0079] In some embodiments, the shape, area, size and other geometric information of the reference electronic fence area can be proportionally mapped to the physical space based on the proportional relationship between the electronic map and the physical space to obtain the shape, area, size and other geometric information of the electronic fence area in the physical space.
[0080] In some embodiments, based on the correspondence between the reference electronic fence area and the electronic fence area, the rule conditions of the reference electronic fence area can be used as the rule conditions of the electronic fence area, and the color, line type and other style information of the reference electronic fence area can be used as the visual features reflected by the electronic fence area in the virtual space.
[0081] In some embodiments, easily identifiable key points, such as fixed road signs, buildings, terrain features, etc., can be selected in the physical space, and an image containing the above-mentioned key points can be captured by an imaging device. According to the pixel positions of the key points in the image and the physical positions of the key points in the physical space, a mapping relationship between the pixel positions and physical positions corresponding to the same key points is constructed in a visual calibration manner, thereby establishing a mapping relationship between the image coordinate system in the image and the physical coordinate system in the physical space, so as to obtain the corresponding electronic fence area by mapping the reference electronic fence area into the physical space.
[0082] In some embodiments, a twin electronic fence system can be obtained based on the electronic fence area and the reference electronic fence area, that is, an electronic fence system that exists simultaneously in physical space and virtual space; the twin electronic fence system can establish an accurate correspondence between physical space and virtual space, which combines the actual layout of the physical space and the configuration function of the virtual space, thereby realizing accurate monitoring and management of specific areas.
[0083] It can be seen that in this embodiment, on the one hand, the visual editing of the electronic map through editing requests improves the scalability and flexibility of editing operations on the reference electronic fence area; on the other hand, by mapping the attribute information corresponding to the reference electronic fence area to the physical space, the attribute information corresponding to the electronic fence area is obtained, thereby accurately and reliably determining the electronic fence area in the physical space.
[0084] In some embodiments, mapping the attribute information corresponding to the reference electronic fence area to the physical space to obtain the attribute information corresponding to the electronic fence area, and determining the electronic fence area according to the attribute information corresponding to the electronic fence area includes:
[0085] S402: Determine the physical position information to be calibrated of the electronic fence area in the physical space according to the pixel position information of the reference electronic fence area in the electronic map.
[0086] In some embodiments, in the electronic map on the display interface, each pixel position on the electronic map is described by using a pixel coordinate system, and each pixel coordinate in the pixel coordinate system corresponds to a specific pixel position; the pixel position information of the reference electronic fence area in the electronic map can represent a series of connected pixel coordinates corresponding to the graphic boundary of the reference electronic fence area in the pixel coordinate system.
[0087] In some embodiments, in physical space, each physical location in the physical space is described by using a physical coordinate system, and each physical coordinate in the physical coordinate system corresponds to a specific physical location; the physical location information of the electronic fence area in the physical space can represent a series of connected physical coordinates corresponding to the virtual boundary of the electronic fence area in the physical coordinate system.
[0088] In some embodiments, the process of determining the physical position information to be calibrated of the electronic fence area in the physical space based on the pixel position information of the reference electronic fence area in the electronic map can be represented by converting the pixel coordinates of the reference electronic fence area in the pixel coordinate system into the physical coordinates to be calibrated of the electronic fence area in the physical coordinate system based on the map position association relationship between the electronic map in the display interface and the actual map in the physical space.
[0089] In some embodiments, the process of determining the physical position information to be calibrated of the electronic fence area in the physical space based on the pixel position information of the reference electronic fence area in the electronic map can also be represented by determining the proportional relationship of the electronic fence area in the physical space based on the proportional relationship of the reference electronic fence area in the electronic map, that is, determining the shape of the virtual boundary of the electronic fence area in the physical space, and the various physical coordinates to be calibrated in the physical coordinate system.
[0090] S404: Acquire a reference point of the physical space, and determine the calibrated physical position information of the electronic fence area according to the offset relationship between the reference point and the physical position information to be calibrated.
[0091] The reference point of the physical space represents a reference position determined in the physical space, which is used to calculate and calibrate the physical position information of the electronic fence area.
[0092] In some embodiments, the reference points can be surveyed on-site by personnel using equipment such as laser rangefinders, or measured in physical space using high-precision positioning equipment such as GPS devices, or the known accurate positions corresponding to fixed objects in the environment can be used as reference points.
[0093] In some embodiments, based on the reference point position, the distance deviation between each physical coordinate to be calibrated in the electronic fence area and the actual physical coordinate is determined, and the each physical coordinate to be calibrated in the electronic fence area is calibrated based on the distance deviation to obtain the calibrated physical coordinates of the electronic fence area in the physical space.
[0094] As shown in Figure 3(a), a length of , width is A rectangular canvas is drawn; wherein the vertex at the upper left position of the canvas is taken as the origin (0, 0), the direction of one of the long sides of the canvas is taken as the A axis direction, and the direction of one of the short sides of the canvas is taken as the B axis direction to establish a pixel coordinate system. In the canvas, a reference electronic fence area is drawn, and the reference electronic fence area is a rectangular area obtained by connecting (A1, B1), (A2, B2), (A3, B3), and (A4, B4) in sequence.
[0095] As shown in Figure 3(b), a space with a length of , width is A physical coordinate system is established with the vertex at the upper left position of the actual venue as the origin (0,0), the direction of one of the long sides of the actual venue as the X-axis direction, and the direction of one of the short sides of the actual venue as the Y-axis direction.
[0096] When the physical coordinate system corresponding to the actual site has been calibrated, the proportional relationship of the electronic fence area in the physical space and the physical coordinates of the electronic fence area in the physical coordinate system can be directly determined based on the proportional relationship of the reference electronic fence area in the canvas. For example, take (A1, B1) in the canvas as an example: the proportional relationship between the length from (0, B1) to (A1, B1) and the canvas length is , the ratio of the length from (A1, 0) to (A1, B1) to the canvas length is ; If (A1, B1) in the pixel coordinate system corresponds to (X1, Y1) when mapped to the physical coordinate system, then the above proportional relationship is mapped to the physical coordinate system corresponding to the actual venue, that is, the proportional relationship between the length from (0, Y1) to (X1, Y1) and the actual venue length is , the ratio between the length from (X1, 0) to (X1, Y1) and the actual length of the site is , so the physical coordinate value of X1 is , the physical coordinate value of Y1 is , to calculate the physical coordinate value of (X1, Y1); correspondingly, calculate the physical coordinates of the electronic fence area in the physical coordinate system, that is, calculate the electronic fence area as a rectangular area obtained by connecting (X1, Y1), (X2, Y2), (X3, Y3), and (X4, Y4) in sequence.
[0097] When the physical coordinate system corresponding to the actual site in FIG3 (b) is not calibrated, as shown in FIG3 (c), the calibration point (X0, Y0) corresponding to the actual site is obtained, and the calibration point (X0, Y0) is taken as the origin and the direction of one of the long sides of the actual site is taken as Axis direction, with the direction of one of the short sides of the actual site as The calibrated physical coordinate system is established in the axis direction.
[0098] Refer to the above steps to calculate the physical coordinate value of (X1, Y1), and calculate The uncalibrated physical coordinate value is , The uncalibrated physical coordinate value is ; Based on the calibration point (X0, Y0), and Calibrate and calculate The calibrated physical coordinate values are , The calibrated physical coordinate values are , in order to calculate Correspondingly, the calibrated physical coordinates of the electronic fence area in the physical coordinate system are calculated, that is, the electronic fence area is calculated as , , , The rectangular area obtained by connecting the ends in sequence.
[0099] It can be seen that in this embodiment, on the one hand, based on the pixel position information of the reference electronic fence area in the electronic map, the physical position information to be calibrated of the electronic fence area in the physical space is adaptively converted; on the other hand, based on the offset relationship between the reference point position in the physical space and the physical position information to be calibrated, the physical position information of the electronic fence area is efficiently calibrated.
[0100] In some embodiments, obtaining the position information corresponding to the object to be detected includes:
[0101] S502: According to the current position information of the object to be detected, obtain target pixel position information matching the current position information in the electronic map on the display interface of the terminal.
[0102] In some embodiments, referring to the method of constructing the association relationship between the physical location information of the above-mentioned electronic fence area and the pixel location information of the reference electronic fence area, correspondingly, an association relationship is constructed between the physical location information of the object to be detected in the physical space and the pixel location information in the electronic map.
[0103] In some embodiments, the current position information of the object to be detected represents the position information of the object to be detected at the current moment; the target pixel position information represents the pixel position information in the electronic map associated with the current position information of the object to be detected based on the association relationship between the physical position information of the object to be detected in the physical space and the pixel position information in the electronic map.
[0104] S504: Determine a target object identifier corresponding to the object to be detected, so that the target object identifier is displayed in a display interface according to the target pixel position information.
[0105] The object identifier may be used to distinguish different objects on the electronic map, such as uniquely identifying each object on the display interface through visual elements such as different patterns, different colors, and different line styles. The target object identifier is the object identifier corresponding to the object to be detected on the display interface.
[0106] In some embodiments, the terminal can determine the target object identifier and target pixel position information corresponding to the object to be detected, and display the target object identifier at the pixel position to which the target pixel position information belongs in the display interface; the server can also determine the target object identifier and target pixel position information corresponding to the object to be detected, and send the target object identifier and target pixel position information to the terminal, so that the target object identifier can be displayed at the pixel position to which the target pixel position information belongs through the display interface of the terminal.
[0107] S506: Determine the position information corresponding to the object to be detected at different times, so that the target object identifier is displayed in the display interface according to the matched pixel position information at different times.
[0108] In some embodiments, at different moments, the position information of the object to be detected is acquired in real time, thereby correspondingly updating the pixel position information of the target object identification in the display interface in real time, and then the motion state information of the object to be detected in the physical space is reflected in real time and completely as the motion state information of the target object identification in the electronic map; wherein, the motion state information of the object to be detected may represent the physical position, speed, motion direction, motion trajectory and other information of the object to be detected.
[0109] In some embodiments, the pixel position information of the target object identifier at the current moment can be displayed in real time in the display interface, and the change of the pixel position information of the target object identifier in the current time period can also be fully displayed in the display interface, that is, the movement trajectory of the target object identifier in the electronic map.
[0110] In some embodiments, the motion state information of the object to be detected in the physical space can be calculated based on the motion state information of the target object identifier in the electronic map, and the motion state information of the object to be detected in the physical space can be displayed in the display interface.
[0111] In some embodiments, the movement paths of people or objects can be analyzed and tracked through traffic line monitoring, that is, through various sensors and analysis tools, the real-time position, movement trajectory and behavior pattern of people or objects in a specific space can be collected and analyzed, and the collected or analyzed data can be visually displayed.
[0112] It can be seen that in this embodiment, by determining the target object identifier and target pixel position information of the object to be detected in the electronic map, the position information of the object to be detected in the physical space is dynamically and adaptively converted into the pixel position information of the target object identifier in the display interface, so as to realize efficient and visual monitoring of the position information of the object to be detected.
[0113] In some embodiments, determining a target object identifier corresponding to the object to be detected so that the target object identifier is displayed in a display interface according to the target pixel position information includes:
[0114] S602: Obtain an image display request corresponding to the target object identifier.
[0115] The image display request is used to request to display the image information of the object to be detected to which the target object identifier belongs in the display interface.
[0116] In some embodiments, an image display request corresponding to a target object identifier can be generated by performing a selection operation such as clicking, boxing, long pressing, hovering, etc. on a target object identifier in a display interface. Further, a designated object identifier of image information to be displayed can be determined from among multiple object identifiers in the display interface by performing a selection operation such as clicking, boxing, long pressing, hovering, etc. on any object identifier in the display interface, and an image display request corresponding to the designated object identifier can be generated.
[0117] S604: Acquire image information corresponding to the object to be detected according to the image display request, so that the image information corresponding to the object to be detected is displayed in a display interface in association with the target object identifier according to a preset display mode.
[0118] In some embodiments, the image information of the object to be detected can be displayed through floating window display, full screen display, side display and other display methods, and the image information can be displayed in a position adjacent to the target object identifier, or the image information can be marked with a label that matches the target object identifier, thereby realizing the associated display of the image information of the object to be detected and the target object identifier.
[0119] In some embodiments, the terminal can obtain an image display request input through the display interface, obtain image information corresponding to the object to be detected to which the target object identifier corresponds based on the target object identifier, and then display the image information in the display interface according to a preset display method.
[0120] In some embodiments, the terminal can obtain an image display request input through the display interface and send it to the server; after receiving the image display request, the server obtains the image information corresponding to the object to be detected to which the target object identifier corresponds according to the target object identifier corresponding to the image display request, and sends the image information to the terminal, so that the terminal displays the image information in the display interface according to the preset display method.
[0121] It can be seen that in this embodiment, according to the image display request corresponding to the target object identification, the image information corresponding to the object to be detected is obtained, so that the image information and the target object identification are displayed in a targeted manner in association in the display interface according to the preset display method, so that the management personnel can perform multi-dimensional synchronous monitoring of the object to be detected through the marking type data and image type data in the display interface.
[0122] In some embodiments, obtaining image information corresponding to the target object includes:
[0123] S702: Acquire current image information of the target object at the current moment, so that the current image information is displayed through a display interface of the terminal.
[0124] In some embodiments, the current image information of the target object at the current moment may represent the image information corresponding to the target object to be detected acquired at any moment before the trigger event corresponding to the target object is generated; or may represent the image information corresponding to the target object to be detected acquired at any moment after the trigger event corresponding to the target object is generated. That is, the image information corresponding to the target object to be detected or the target object is displayed in real time in the display interface.
[0125] In some embodiments, the terminal can obtain the current image information of the target object at the current moment and display it through the display interface; the server can also obtain the current image information of the target object at the current moment and send the current image information to the terminal for display through the display interface of the terminal.
[0126] S704 . According to the target time period corresponding to the triggering event, obtain target image information corresponding to the target object in the target time period, and use the target image information as image information for marking the target object.
[0127] Among them, the target time period corresponding to the triggering event is used to select the image information to be processed in the specified time period; the target time period corresponding to the triggering event also represents a fixed duration, and can also represent a duration adaptively determined according to the duration and impact scope corresponding to the violation of the target object.
[0128] The target image information represents the image information of the target object in the target time period. The target object is marked based on the processing of the target image information, that is, the label information corresponding to the target object corresponds to the entity features of the target object in the target image information.
[0129] In some embodiments, the target image information corresponding to the target object may represent the image information of the target object corresponding to a preset time length and / or a preset time length in the future, based on the time when the trigger event is generated. For example, the 20th second before the trigger event is generated is used as the starting time corresponding to the target image information, and the 20th second after the trigger event is generated is used as the ending time corresponding to the target image information.
[0130] In some embodiments, the target image information can be stored, and the alarm information includes the storage address of the target image information, so that when the management personnel obtain the alarm information, they can obtain the stored target image information according to the storage address in the alarm information, so as to visualize the illegal behavior of the target object at the image information level. The stored target image information can represent image information without label information added, or image information with label information added.
[0131] It can be seen that in this embodiment, on the one hand, the current image information of the target object at the current moment is displayed in real time in the display interface, so that the designated object can be visually monitored in the dimension of image information; on the other hand, according to the target time period corresponding to the trigger event, the target image information corresponding to the target object in the target time period is completely obtained, so that the target object can be accurately marked according to the complete target image information.
[0132] In some embodiments, if the location information satisfies the electronic fence rule conditions set based on the electronic fence area, the object to be detected is taken as the target object, including:
[0133] S802: Obtain image information of the object to be detected and preset entity feature rule conditions.
[0134] The entity feature rule condition represents a condition for determining whether an object to be detected has any illegal behavior based on entity features.
[0135] In some embodiments, when the object to be detected is a person, the entity feature rule condition may indicate the conditions for judging whether the physiological characteristics of the object to be detected, such as age, gender, height, weight, and face, meet specific violation standards; the entity feature rule condition may also indicate the conditions for judging whether the behavioral characteristics, such as gait, gesture, way of speaking, and habitual movements, meet specific violation standards; the entity feature rule condition may also indicate the conditions for judging whether the clothing characteristics, such as clothing type, accessories, and work badges, meet specific violation standards; the entity feature rule condition may also indicate the conditions for judging whether the emotional characteristics, such as facial expressions and emotional reactions, meet specific violation standards.
[0136] In some embodiments, when the object to be detected is an object, the entity feature rule condition may represent the conditions for judging whether the physical features such as size and shape of the object to be detected meet specific violation standards; the entity feature rule condition may represent the conditions for judging whether the visual features such as color, texture, and transparency meet specific violation standards; the entity feature rule condition may represent the conditions for judging whether the material features such as material type, hardness, and elasticity meet specific violation standards; the entity feature rule condition may represent the conditions for judging whether the functional features such as purpose, operation mode, and performance parameters meet specific violation standards; the entity feature rule condition may represent the conditions for judging whether the structural features such as components, internal structure, and connection mode meet specific violation standards.
[0137] S804: If the location information of the object to be detected meets the electronic fence rule conditions set based on the electronic fence, then according to the preset entity feature index, the target entity feature of the object to be detected corresponding to the entity feature index is obtained in the image information.
[0138] S806: If the target entity feature satisfies the entity feature rule condition, the object to be detected is taken as the target object.
[0139] The entity feature index is used to specify the entity features that need to be identified and obtained in the image information from the various entity features corresponding to the object to be detected, that is, the target entity features.
[0140] In some embodiments, if there are multiple target entity features, and the multiple target entity features all satisfy the corresponding entity feature rule conditions, it means that the target entity feature corresponding to the object to be detected satisfies the entity feature rule conditions; if there are multiple target entity features, and any one of the target entity features satisfies the corresponding entity feature rule conditions, it means that the target entity feature corresponding to the object to be detected satisfies the entity feature rule conditions.
[0141] In some embodiments, if there are multiple target entity features, the scores of each target entity feature determined based on the corresponding matching results are obtained according to the matching results between each target entity feature and the corresponding entity feature rule conditions. The comprehensive score corresponding to the object to be detected is obtained according to the scores corresponding to each target entity feature. If the comprehensive score is greater than or equal to a preset threshold, it is judged that the target entity feature corresponding to the object to be detected meets the entity feature rule conditions.
[0142] In some embodiments, if the location information of the object to be detected meets the electronic fence rule conditions, and the target entity feature meets the entity feature rule conditions, it means that the object to be detected has both violations at the location level and violations at the entity feature level. Further, the violation of the object to be detected can be judged at the location level first, and then at the entity feature level; the violation of the object to be detected can be judged at the entity feature level first, and then at the location level; the violation of the object to be detected can also be judged at both the location level and the entity feature level.
[0143] It can be seen that in this embodiment, the violation of the object to be detected is preliminarily judged at the position level, and then further judged at the entity feature level, thereby judging the violation of the object to be detected in a multi-dimensional and hierarchical manner.
[0144] It should be understood that, although the steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indications of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear description in this article, there is no strict order restriction on the execution of these steps, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments may include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.
[0145] Based on the same inventive concept, the embodiment of the present application also provides a monitoring device based on an electronic fence. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations of one or more embodiments of the monitoring device based on an electronic fence provided below can refer to the limitations of the monitoring method based on an electronic fence above, and will not be repeated here.
[0146] like Figure 4 As shown, the embodiment of the present application provides a device 400, including:
[0147] A determination module 402 is used to determine an electronic fence area;
[0148] The first processing module 404 is used to obtain the location information corresponding to the object to be detected, and if the location information meets the electronic fence rule conditions set based on the electronic fence area, the object to be detected is used as a target object, and a trigger event corresponding to the target object is generated;
[0149] The second processing module 406 is used to obtain image information corresponding to the target object, and mark the target object according to the entity features of the target object in the image information to obtain label information corresponding to the target object;
[0150] The generating module 408 is used to generate alarm information corresponding to the triggering event, and the alarm information carries the label information corresponding to the target object.
[0151] In some embodiments, in determining the electronic fence area, the determination module 402 is specifically used to:
[0152] Displaying the acquired electronic map through the display interface of the terminal;
[0153] Acquire an edit request input through the display interface, and perform an edit operation on the electronic map according to the edit request, so as to obtain a reference electronic fence area displayed in the display interface, and attribute information corresponding to the reference electronic fence area;
[0154] The attribute information corresponding to the reference electronic fence area is mapped to the physical space to obtain the attribute information corresponding to the electronic fence area, and the electronic fence area is determined according to the attribute information corresponding to the electronic fence area.
[0155] In some embodiments, in mapping the attribute information corresponding to the reference electronic fence area to the physical space, obtaining the attribute information corresponding to the electronic fence area, and determining the electronic fence area according to the attribute information corresponding to the electronic fence area, the determination module 402 is specifically used to:
[0156] Determine the physical position information to be calibrated of the electronic fence area in the physical space according to the pixel position information of the reference electronic fence area in the electronic map;
[0157] The reference point of the physical space is obtained, and the calibrated physical position information of the electronic fence area is determined according to the offset relationship between the reference point and the physical position information to be calibrated.
[0158] In some embodiments, in terms of obtaining the position information corresponding to the object to be detected, the first processing module 404 is specifically used to:
[0159] According to the current position information of the object to be detected, the target pixel position information matching the current position information is obtained in the electronic map of the display interface of the terminal;
[0160] Determine a target object identifier corresponding to the object to be detected, so that the target object identifier is displayed in a display interface according to the target pixel position information;
[0161] The position information corresponding to the object to be detected at different times is determined, so that the target object identification is displayed in the display interface according to the matched pixel position information at different times.
[0162] In some embodiments, in determining the target object identifier corresponding to the object to be detected so that the target object identifier is displayed in the display interface according to the target pixel position information, the first processing module 404 is specifically used to:
[0163] Obtain an image display request corresponding to the target object identifier;
[0164] According to the image display request, the image information corresponding to the object to be detected is obtained, so that the image information corresponding to the object to be detected is displayed in a display interface in association with the target object identifier according to a preset display mode.
[0165] In some embodiments, in terms of acquiring image information corresponding to the target object, the second processing module 406 is specifically used to:
[0166] Acquire the current image information of the target object at the current moment, so that the current image information is displayed through the display interface of the terminal;
[0167] According to the target time period corresponding to the trigger event, the target image information corresponding to the target object in the target time period is obtained, and the target image information is used as image information for marking the target object.
[0168] In some embodiments, if the location information satisfies the electronic fence rule conditions set based on the electronic fence area, the object to be detected is taken as the target object, the second processing module 406 is specifically used to:
[0169] Obtaining image information of the object to be detected and preset entity feature rule conditions;
[0170] If the location information of the object to be detected meets the electronic fence rule conditions set based on the electronic fence, then according to the preset entity feature index, the target entity feature of the object to be detected corresponding to the entity feature index is obtained in the image information;
[0171] If the target entity feature meets the entity feature rule conditions, the object to be detected is taken as the target object.
[0172] Each module in the above-mentioned electronic fence-based monitoring device can be implemented in whole or in part by software, hardware, or a combination thereof. Each of the above-mentioned modules can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute operations corresponding to each of the above modules.
[0173] In some embodiments, a computer device is provided, which may be a server, and its internal structure diagram may be as follows: Figure 5As shown. The computer device includes a processor, a memory, an input / output interface (Input / Output, referred to as I / O) and a communication interface. 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. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store monitoring data based on an electronic fence. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, the steps in the above-mentioned monitoring method based on an electronic fence are implemented.
[0174] In some embodiments, a computer device is provided. The computer device may be a terminal, and its internal structure diagram may be as follows: Figure 6 As shown. The computer device includes a processor, a memory, an input / output interface, a communication interface, a display unit and an input device. The processor, the memory and the input / output interface are connected through a system bus, and the communication interface, the display unit and the input device are connected to the system bus through the input / output interface. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The input / output interface of the computer device is used to exchange information between the processor and the external device. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be realized through WIFI, a mobile cellular network, NFC (near field communication) or other technologies. When the computer program is executed by the processor, the steps in the monitoring method based on the electronic fence are implemented. The display unit of the computer device is used to form a visually visible picture, which can be a display screen, a projection device or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen; the input device of the computer device can be a touch layer covering the display screen, or a key, trackball or touchpad provided on the computer device housing, or an external keyboard, touchpad or mouse, etc.
[0175] Those skilled in the art will understand that Figure 5 or Figure 6The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0176] In some embodiments, a computer device is provided. The computer device includes a memory and a processor. The memory stores a computer program. When the processor executes the computer program, the steps in the above method embodiments are implemented.
[0177] In some embodiments, Figure 7 The figure shows an internal structure diagram of a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, the steps in the above-mentioned method embodiments are implemented.
[0178] In some embodiments, a computer program product is provided. The computer program product includes a computer program. When the computer program is executed by a processor, the steps in the above method embodiments are implemented.
[0179] 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 used 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 must comply with relevant laws, regulations and standards of relevant countries and regions.
[0180] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be completed by instructing the relevant hardware through a computer program, and 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-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in this application can include at least one of non-volatile 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. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited to this.
[0181] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, 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, they should be considered to be within the scope of this specification.
[0182] The above embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. A monitoring method based on electronic fence, characterized in that: include: Determine the electronic fence area; Acquire location information corresponding to the object to be detected, and if the location information satisfies the electronic fence rule conditions set based on the electronic fence area, take the object to be detected as a target object, and generate a trigger event corresponding to the target object; Acquire image information corresponding to the target object, and mark the target object according to entity features of the target object in the image information to obtain label information corresponding to the target object; Generate alarm information corresponding to the trigger event, where the alarm information carries label information corresponding to the target object.
2. The method according to claim 1, characterized in that Determining the electronic fence area includes: Displaying the acquired electronic map through the display interface of the terminal; Acquire an edit request input through the display interface, and perform an edit operation on the electronic map according to the edit request, so as to obtain a reference electronic fence area displayed in the display interface, and attribute information corresponding to the reference electronic fence area; The attribute information corresponding to the reference electronic fence area is mapped to the physical space to obtain the attribute information corresponding to the electronic fence area, and the electronic fence area is determined according to the attribute information corresponding to the electronic fence area.
3. The method according to claim 2, characterized in that The mapping of the attribute information corresponding to the reference electronic fence area to the physical space to obtain the attribute information corresponding to the electronic fence area, and determining the electronic fence area according to the attribute information corresponding to the electronic fence area, includes: Determining the physical position information to be calibrated of the electronic fence area in the physical space according to the pixel position information of the reference electronic fence area in the electronic map; A reference point of the physical space is acquired, and the calibrated physical position information of the electronic fence area is determined according to an offset relationship between the reference point and the physical position information to be calibrated.
4. The method according to claim 1, characterized in that The obtaining of the position information corresponding to the object to be detected includes: According to the current position information of the object to be detected, obtaining the target pixel position information matching the current position information in the electronic map of the display interface of the terminal; Determine a target object identifier corresponding to the object to be detected, so that the target object identifier is displayed in the display interface according to the target pixel position information; The position information corresponding to the object to be detected at different times is determined, so that the target object identifier is displayed in the display interface according to the matched pixel position information at different times.
5. The method according to claim 4, characterized in that The determining the target object identifier corresponding to the object to be detected so that the target object identifier is displayed in the display interface according to the target pixel position information includes: Obtaining an image display request corresponding to the target object identifier; According to the image display request, image information corresponding to the object to be detected is obtained, so that the image information corresponding to the object to be detected is displayed in the display interface in association with the target object identifier according to a preset display mode.
6. The method according to claim 1, characterized in that The obtaining of image information corresponding to the target object includes: Acquiring current image information of the target object at a current moment, so that the current image information is displayed through a display interface of a terminal; According to the target time period corresponding to the trigger event, target image information corresponding to the target object in the target time period is acquired, and the target image information is used as image information for marking the target object.
7. The method according to claim 1, characterized in that If the location information satisfies the electronic fence rule condition set based on the electronic fence area, the object to be detected is taken as the target object, including: Acquire the image information of the object to be detected and the preset entity feature rule conditions; If the location information of the object to be detected meets the electronic fence rule conditions set based on the electronic fence, then according to the preset entity feature index, in the image information, the target entity feature of the object to be detected corresponding to the entity feature index is obtained; If the target entity feature satisfies the entity feature rule condition, the object to be detected is taken as the target object.
8. A monitoring device based on an electronic fence, characterized in that: include: A determination module, used to determine the electronic fence area; A first processing module is used to obtain location information corresponding to the object to be detected, and if the location information satisfies the electronic fence rule conditions set based on the electronic fence area, the object to be detected is used as a target object, and a trigger event corresponding to the target object is generated; A second processing module is used to obtain image information corresponding to the target object, and mark the target object according to the entity features of the target object in the image information to obtain label information corresponding to the target object; The generating module is used to generate the alarm information corresponding to the triggering event, and the alarm information carries the label information corresponding to the target object.
9. A computer device, comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 7 are implemented.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.
Citation Information
Cited By
Fume hood window height intelligent monitoring and alarming system and method based on visual target detection
CN121505507A
A spatial boundary calibration method, apparatus and measuring device
CN122708709A
