Method and system for configuring camera preset positions in substation inspection system

Automatically identifying and configuring substation camera presets through image recognition algorithms solves the problem of tedious manual settings and achieves efficient preset configuration.

CN119342170BActive Publication Date: 2025-09-30ZHUHAI UNITECH POWER TECHNOLOGY CO LTD +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411325824.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-09-23
Publication Date
2025-09-30
Estimated Expiration
2044-09-23

AI Technical Summary

Technical Problem

In the prior art, the setting of camera preset positions in a substation video surveillance system requires manual operation, which results in cumbersome and inefficient operation in large-scale and multi-preset position scenarios.

Method used

The preset position in the target image captured by the camera is identified through the image recognition algorithm, and the coordinate frame of the preset position is automatically selected to determine the corresponding shooting control parameters, so that the camera can automatically configure the preset position.

Benefits of technology

No manual settings are required, which simplifies the preset operation and improves the setting efficiency, especially in large-scale and multi-preset scenarios.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119342170B_ABST
    Figure CN119342170B_ABST
Patent Text Reader

Abstract

The present disclosure provides a method and system for configuring camera preset positions in a substation patrol system. The method includes: determining a target camera to be configured based on the distribution position within the target monitoring area in a substation site map; controlling the target camera to capture a target image at a patrol point in the substation patrol system; using an image recognition algorithm to identify the preset position contained in the target image and automatically selecting a coordinate frame of the preset position on the target image; determining the shooting control parameters corresponding to the coordinate frame of the preset position; and associating, saving, and binding the preset position and the shooting control parameters corresponding to the coordinate frame of the preset position to form a patrol preset information for the patrol point. This method can automatically identify the preset position from the image and determine the shooting control parameters of the preset position, eliminating the need for manual setting, making the operation convenient and improving setting efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of image processing technology, and in particular to a method and system for configuring camera preset positions in a substation patrol system. Background Art

[0002] Video surveillance systems are typically used to monitor specific areas. For example, in a substation, a video surveillance system can monitor the status of equipment within the substation by capturing images or recording videos with a camera. To facilitate monitoring of specific locations within an area, camera presets need to be set. Conventional technology requires manual control of camera rotation and setting presets. This is cumbersome and inefficient for large areas with numerous presets. Summary of the Invention

[0003] In view of this, the object of the present disclosure is to provide a method and system for configuring camera preset positions in a substation patrol system, so as to simplify the operation of setting preset positions for cameras and improve setting efficiency.

[0004] In a first aspect, an embodiment of the present disclosure provides a method for configuring camera preset positions in a substation patrol system, the method comprising: determining a target camera to be configured according to a distribution position in a target monitoring area in a substation site map, wherein the target camera has several preset positions to be configured; controlling the target camera to capture a target image at a patrol point in the substation patrol system, wherein the target image is a typical scene image containing a target to be patrolled; utilizing an image recognition algorithm to identify the preset positions contained in the target image, and automatically selecting a coordinate frame of the preset position on the target image; determining a shooting control parameter corresponding to the coordinate frame of the preset position; wherein the shooting control parameter is used to: control the target camera to capture a monitoring image containing the preset position, and the preset position meets a preset condition in the monitoring image; associating, saving and binding the preset position and the shooting control parameters corresponding to the coordinate frame of the preset position to form a patrol preset information of the patrol point.

[0005] The step of determining the target camera to be configured based on the distribution position within the target monitoring area in the substation site map includes: selecting a target interval from the substation site map; and determining the target camera to be configured from cameras within a specified range of the target interval.

[0006] The above-mentioned steps of controlling the target camera to capture the target image at the patrol point in the substation patrol system include: controlling the target camera to rotate, and controlling the target camera to capture multiple alternative images during the rotation process; identifying the target to be patrolled from the multiple alternative images, and determining the alternative image containing the target to be patrolled as the target image.

[0007] The above-mentioned step of using an image recognition algorithm to identify the preset positions contained in the target image includes: based on a preset preset position type, using an image recognition algorithm to identify the preset positions contained in the target image; wherein the preset position type includes: at least one of a position status preset position, a meter type preset position, and a device appearance preset position.

[0008] When the above-mentioned preset position type includes position status preset position, the position status preset position includes: at least one preset position of pressure plate status, air switch status, and indicator light status; when the above-mentioned preset position type includes meter type preset position, the meter type preset position includes: at least one preset position of pressure gauge, oil temperature gauge, and leakage current meter; when the above-mentioned preset position type includes equipment appearance preset position, the equipment appearance preset position includes: at least one preset position of bird's nest, oil stain, and damaged dial.

[0009] The above-mentioned steps of using an image recognition algorithm to identify the preset positions contained in the target image and automatically selecting a coordinate box of the preset positions on the target image include: inputting the target image into a pre-trained image recognition model, identifying the preset positions contained in the target image through the image recognition model, and selecting a coordinate box of the preset positions on the target image.

[0010] The above step of determining the shooting control parameters corresponding to the preset coordinate frame includes: determining the shooting control parameters corresponding to the preset coordinate frame based on the shooting control parameters corresponding to the target image, the position information of the preset coordinate frame in the target image and the physical parameters of the target camera.

[0011] The above-mentioned preset conditions include: the area ratio of the display area of ​​the preset position in the monitoring image; the shooting control parameters include: translation parameters, tilt parameters and zoom parameters; the above-mentioned step of determining the shooting control parameters corresponding to the coordinate frame of the preset position based on the shooting control parameters corresponding to the target image, the position information of the coordinate frame of the preset position in the target image and the physical parameters of the target camera includes: determining the translation parameters and tilt parameters among the shooting control parameters corresponding to the coordinate frame of the preset position based on the position information of the coordinate frame of the preset position in the target image, the physical parameters of the target camera, and the shooting control parameters corresponding to the target image; determining the zoom parameters among the shooting control parameters corresponding to the coordinate frame of the preset position based on the shooting control parameters corresponding to the target image, the physical parameters of the target camera and the area ratio.

[0012] The position information of the above-mentioned preset coordinate frame in the target image includes: the first coordinate of the first vertex of the rectangular frame corresponding to the preset coordinate frame in the target image, and the second coordinate of the second vertex in the target image; the first vertex and the second vertex are diagonal vertices to each other; the above-mentioned step of determining the translation parameter and tilt parameter in the shooting control parameters corresponding to the preset coordinate frame based on the position information of the preset coordinate frame in the target image, the physical parameters of the target camera, and the shooting control parameters corresponding to the target image includes: determining the coordinate offset based on the first coordinate and the second coordinate; determining the offset coefficient based on the physical parameters of the target camera and the scaling parameter in the shooting control parameters corresponding to the target image; determining the translation parameter in the shooting control parameters corresponding to the preset coordinate frame based on the translation parameter, coordinate offset and offset coefficient in the shooting control parameters corresponding to the target image; determining the tilt parameter in the shooting control parameters corresponding to the preset coordinate frame based on the tilt parameter, coordinate offset and offset coefficient in the shooting control parameters corresponding to the target image.

[0013] The above-mentioned step of determining the scaling parameter in the shooting control parameters corresponding to the preset position coordinate frame based on the shooting control parameters corresponding to the target image, the physical parameters of the target camera and the area ratio includes: determining the picture scaling factor based on the area ratio and the offset coefficient of the target camera; when the scaling parameter in the shooting control parameters corresponding to the target image is equal to one, determining the scaling parameter in the shooting control parameters corresponding to the preset position coordinate frame based on the picture scaling factor and the physical parameters of the target camera.

[0014] The above method also includes: when the zoom parameter in the shooting control parameters corresponding to the target image is not equal to one, determining the real-time zoom coefficient based on the physical parameters of the target camera and the zoom parameter in the shooting control parameters corresponding to the target image; determining the updated picture zoom coefficient based on the real-time zoom coefficient and the picture zoom coefficient; determining the zoom parameter in the shooting control parameters corresponding to the coordinate frame of the preset position based on the updated picture zoom coefficient and the physical parameters of the target camera.

[0015] The above-mentioned step of determining the shooting control parameters corresponding to the coordinate frame of the preset position includes: controlling the operation of the target camera according to the shooting control parameters corresponding to the target image so that the current picture of the target camera matches the target image; obtaining the position information of the coordinate frame of the preset position in the target image, and controlling the target camera to adjust the shooting control parameters so that the preset position is displayed in the monitoring image and meets the preset conditions; and associating and saving the preset position and the shooting control parameters of the target camera when the preset position is displayed in the target display area.

[0016] After the step of controlling the target camera to adjust the shooting control parameters so that the preset position is displayed in the monitoring image and the preset conditions are met, the method further includes: saving the monitoring image when the preset position is displayed in the preset target display area.

[0017] In a second aspect, an embodiment of the present disclosure provides a configuration system for camera preset positions in a substation patrol system, the system comprising: a camera determination module, for determining a target camera to be configured according to a distribution position in a target monitoring area in a substation site map, wherein the target camera has several preset positions to be configured; a target image shooting module, for controlling a target camera to shoot a target image at a patrol point in the substation patrol system, wherein the target image is a typical scene image containing a target to be patrolled; a preset position identification module, for identifying the preset position contained in the target image using an image recognition algorithm, and automatically selecting a coordinate frame of the preset position on the target image; a parameter determination module, for determining shooting control parameters corresponding to the coordinate frame of the preset position; wherein the shooting control parameters are used to: control the target camera to shoot a monitoring image containing the preset position, and the preset position meets preset conditions in the monitoring image; an association saving module, for associating, saving and binding the preset position and the shooting control parameters corresponding to the coordinate frame of the preset position to form a patrol preset information of the patrol point.

[0018] The embodiments of the present disclosure bring the following beneficial effects:

[0019] The above provides a method and system for configuring camera preset positions in a substation patrol system, wherein the method includes: determining a target camera to be configured based on the distribution position in the target monitoring area in the substation site map, wherein the target camera has several preset positions to be configured; controlling the target camera to shoot a target image at a patrol point in the substation patrol system, wherein the target image is a typical scene image containing the target to be patrolled; using an image recognition algorithm to identify the preset positions contained in the target image, and automatically selecting a coordinate frame of the preset position on the target image; determining a shooting control parameter corresponding to the coordinate frame of the preset position; wherein the shooting control parameter is used to: control the target camera to shoot a monitoring image containing the preset position, and the preset position meets a preset condition in the monitoring image; associating, saving and binding the preset position and the shooting control parameter corresponding to the coordinate frame of the preset position to form a patrol preset information of the patrol point. In this method, the target camera is first controlled to capture the target image, and then the preset position contained in the target image is identified, and the shooting control parameters corresponding to the coordinate frame of the preset position are determined, and then the preset position and the shooting control parameters are associated and saved. This method can automatically identify the preset position from the image and determine the shooting control parameters of the preset position without manual setting, which is convenient to operate and improves the setting efficiency.

[0020] Other features and advantages of the present disclosure will be described in the following description, and in part will become apparent from the description, or understood by practicing the present disclosure. The objectives and other advantages of the present disclosure are realized and obtained by the structures particularly pointed out in the description, claims and drawings.

[0021] In order to make the above-mentioned objectives, features and advantages of the present disclosure more obvious and easy to understand, preferred embodiments are given below and described in detail with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] In order to more clearly illustrate the specific embodiments of the present disclosure or the technical solutions in the prior art, the drawings required for use in the specific embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present disclosure. For those skilled in the art, other drawings can be obtained based on these drawings without paying any creative work.

[0023] Figure 1 A schematic diagram of a method for configuring camera preset positions in a substation patrol system provided by an embodiment of the present disclosure;

[0024] Figure 2 A schematic diagram of fitting the physical parameters of a target camera provided in an embodiment of the present disclosure;

[0025] Figure 3 A schematic diagram of a preset position displayed in a target image during a process of adjusting a shooting control parameter provided by an embodiment of the present disclosure;

[0026] Figure 4 A logic flow chart for saving preset positions provided in an embodiment of the present disclosure;

[0027] Figure 5 A logic flow chart of a preset position configuration provided in an embodiment of the present disclosure;

[0028] Figure 6 A schematic diagram of a system for configuring camera preset positions in a substation patrol system provided by an embodiment of the present disclosure. DETAILED DESCRIPTION

[0029] To make the purpose, technical solutions, and advantages of the embodiments of the present disclosure more clear, the technical solutions of the present disclosure will be clearly and completely described below in conjunction with the accompanying drawings. Obviously, the embodiments described are only part of the embodiments of the present disclosure, not all of them. Based on the embodiments of the present disclosure, all other embodiments obtained by those skilled in the art without making any creative efforts shall fall within the scope of protection of the present disclosure.

[0030] Currently, video surveillance systems are commonly used to monitor specific scene areas. Taking substations as an example, video surveillance systems can monitor the status of equipment within the substation by capturing images or recording videos with cameras. In order to facilitate monitoring of specific locations within an area, it is necessary to set camera presets. In related technologies, manual operation is required to control camera rotation and set presets. When the area is large and there are many presets, manual operation is cumbersome and inefficient. For example, a 500 kV substation has tens of thousands of presets. In the substation's video surveillance system, it is necessary to manually set the presets for each camera one by one. It would take one person approximately three months to complete the preset setting for a substation.

[0031] Based on the above, the embodiments of the present disclosure provide a method and system for configuring camera preset positions in a substation patrol system. This technology can also be applied to the configuration of camera preset positions in scenes such as petrochemicals and coal mines.

[0032] To facilitate understanding of this embodiment, a specific process of the embodiment of the present disclosure is described below. Figure 1 An embodiment of a method for configuring camera preset positions in a substation patrol system according to an embodiment of the present disclosure includes:

[0033] Step S101, determining a target camera to be configured according to the distribution position within the target monitoring area in the substation site map, wherein the target camera has a plurality of preset positions to be configured;

[0034] The execution subject of the present disclosure may be a terminal or a server, which runs an intelligent patrol system. The intelligent patrol system can set preset positions in large quantities by controlling functions such as automatic camera rotation and preset position recognition. The following execution subject is described using a terminal as an example, and the terminal is generally an intelligent management terminal.

[0035] Here, the target camera is usually a preset position to be configured, which refers to a selected camera that needs to capture images or record videos.

[0036] Taking a substation as an example, a 2D or 3D image of the target monitoring area in the substation site map is pre-drawn. The target interval is selected within the image, and the target camera to be configured is selected within a certain range corresponding to the target interval. Typically, a camera has 200 to 300 preset positions, some of which are used by the camera manufacturer, such as 30 preset positions. The remaining preset positions are the ones to be configured. In actual application scenarios, some of these preset positions can be selected from the preset positions to be configured for application.

[0037] Step S102, controlling a target camera to capture a target image at a patrol point in the substation patrol system, wherein the target image is a typical scene image including the target to be patrolled;

[0038] The target to be inspected may generally be target identification information contained in a target image, such as terminology for commonly used equipment identification plates in a substation.

[0039] Specifically, the terminal can control the target camera to automatically rotate and capture multiple images at patrol points within the substation patrol system as candidate locations. The terminal can then automatically filter the candidate images based on the patrol target, obtaining a target image containing the patrol target, thereby automatically generating a typical scene image required for the pre-position configuration.

[0040] Step S103, using an image recognition algorithm to identify the preset position contained in the target image, and automatically frame the coordinate box of the preset position on the target image;

[0041] Here, the preset position can be displayed as a rectangular box. The preset position usually corresponds to multiple preset position types. Taking the substation as an example, the preset position types can specifically include location status type, meter type, equipment appearance type, etc. Different preset position types include at least one preset position.

[0042] Specifically, the terminal can use the image recognition algorithm in the intelligent patrol system to identify the preset position contained in the target image and obtain the preset position type of the preset position. The terminal can also use the image recognition algorithm to automatically select the coordinate box of the preset position on the target image to obtain the position information of the preset position in the target image, such as the position coordinates of multiple target points of the preset position.

[0043] Step S104, determining the shooting control parameters corresponding to the coordinate frame of the preset position; wherein the shooting control parameters are used to control the target camera to shoot a surveillance image containing the preset position, and the preset position meets a preset condition in the surveillance image;

[0044] The shooting control parameters may specifically include a translation parameter, a tilt parameter, and a zoom parameter.

[0045] Specifically, the terminal can obtain the shooting control parameters corresponding to the preset position's coordinate frame based on the shooting control parameters corresponding to the target image, the position information of the preset position's coordinate frame in the target image, and the physical parameters of the target camera, so as to control the target camera to capture the surveillance image containing the preset position when the preset position meets a preset condition. The preset condition may include the proportion of the display area of ​​the preset position in the surveillance image.

[0046] For example, the terminal can determine the translation parameter and tilt parameter of the shooting control parameters corresponding to the preset coordinate frame based on the shooting control parameters corresponding to the target image, the physical parameters of the target camera, and the position information of the preset coordinate frame in the target image. In addition, the terminal can determine the zoom parameter of the shooting control parameters corresponding to the preset coordinate frame based on the shooting control parameters corresponding to the target image, the physical parameters of the target camera, and preset conditions.

[0047] Step S105 , associating, saving and binding the preset position and the shooting control parameters corresponding to the coordinate frame of the preset position to form a patrol preset information of the patrol point.

[0048] Specifically, in the intelligent patrol system, the terminal associates and saves the preset position and the shooting control parameters corresponding to the preset position's coordinate frame, and binds it to the target camera, forming a patrol preset for the patrol point. By calling the patrol preset information, the system can control the target camera to capture images and analyze and identify the images.

[0049] The method for configuring camera preset positions in the above-mentioned substation patrol system determines the target camera to be configured according to the distribution position in the target monitoring area in the substation site map, wherein the target camera has several preset positions to be configured; controls the target camera to capture the target image at the patrol point in the substation patrol system, wherein the target image is a typical scene image containing the target to be patrolled; utilizes the image recognition algorithm to identify the preset positions contained in the target image, and automatically selects the coordinate frame of the preset position on the target image; determines the shooting control parameters corresponding to the coordinate frame of the preset position; wherein the shooting control parameters are used to: control the target camera to capture the monitoring image containing the preset position, and the preset position meets the preset conditions in the monitoring image; associates, saves and binds the preset position and the shooting control parameters corresponding to the coordinate frame of the preset position to form a patrol preset information for the patrol point.

[0050] In this method, the target camera is first controlled to capture the target image, and then the preset position contained in the target image is identified, and the shooting control parameters corresponding to the coordinate frame of the preset position are determined, and then the preset position and the shooting control parameters are associated and saved. This method can automatically identify the preset position from the image and determine the shooting control parameters of the preset position without manual setting, which is convenient to operate and improves the setting efficiency.

[0051] In one method, a target interval is selected from a substation site map; and a target camera to be configured is determined from cameras within a specified range of the target interval.

[0052] Typically, there are multiple intervals in a substation site map. Workers can select at least one target interval from the multiple intervals by operating the terminal device. Based on the specified range of each target interval, such as a circle with a radius of 5 meters, all cameras within the specified range are obtained, and then the staff can select the target camera to be configured.

[0053] In one method, the target camera is controlled to rotate and capture multiple candidate images during the rotation; the target to be inspected is identified from the multiple candidate images, and the candidate image containing the target to be inspected is determined as the target image.

[0054] Specifically, the system automatically controls the target camera to rotate according to the step size, displays the camera feed on the terminal screen through a multi-channel video splicing, and controls the target camera to capture images in real time during the rotation process, generating multiple candidate images. The camera step size indicates the horizontal and vertical movement distance of the pan / tilt head, usually expressed in degrees.

[0055] Next, taking the substation as an example, the system can input multiple alternative images into the artificial intelligence analysis model, automatically identify the target to be inspected from the multiple alternative images, and output the alternative image containing the target to be inspected, which is the target image.

[0056] Optionally, each time multiple candidate images taken by the target camera are obtained, they are input into an artificial intelligence analysis model, and artificial intelligence deep learning is used to screen images that meet the requirements.

[0057] In one method, based on a preset preset position type, an image recognition algorithm is used to identify the preset position contained in the target image; wherein the preset position type includes: at least one of: a position status preset position, a meter type preset position, and a device appearance preset position.

[0058] Specifically, the system can identify the preset positions contained in the target image using the image recognition algorithm in the artificial intelligence analysis model according to the preset position type that is preset.

[0059] Further, when the preset position type includes a position status preset position, the position status preset position includes: at least one preset position of pressure plate status, air switch status, and indicator light status; when the preset position type includes a meter type preset position, the meter type preset position includes: at least one preset position of pressure gauge, oil temperature gauge, and leakage current meter; when the preset position type includes a device appearance preset position, the device appearance preset position includes: at least one preset position of bird's nest, oil stain, and damaged dial.

[0060] In one method, the target image is input into a pre-trained image recognition module, the preset position contained in the target image is identified by the image recognition model, and a coordinate box of the preset position is selected on the target image.

[0061] The image recognition module can be obtained by training the YOLOv8 object detection model. For example, the equipment identification plates in the substation and the commonly used identification terms in the substation are input into the YOLOv8 object detection model for training to obtain the substation identification plate positioning and content recognition algorithm.

[0062] Specifically, if the target image is input into a pre-trained image recognition module, then in the output target image, a rectangular frame can be used to select the position of the preset position, and the coordinates of the target point corresponding to the preset position coordinate frame can be displayed.

[0063] The following provides an embodiment of determining the shooting control parameters corresponding to the coordinate frame of the preset position.

[0064] In one approach, the shooting control parameters corresponding to the preset coordinate frame are determined based on the shooting control parameters corresponding to the target image, position information of the preset coordinate frame in the target image, and physical parameters of the target camera.

[0065] The shooting control parameters corresponding to the target image are typically the camera's initial state data. The shooting control parameters corresponding to the preset coordinate frame are typically the camera's final state data. The shooting control parameters can be PTZ data, where P represents horizontal movement, also known as the translation parameter; T represents vertical movement, also known as the tilt parameter; and Z represents the camera lens's zoom capability, also known as the scale parameter.

[0066] The position information of the preset coordinate frame in the target image is usually the coordinates of the diagonal vertices of the rectangular frame corresponding to the preset coordinate frame, such as the vertex coordinates of the upper left corner and lower right corner of the rectangular frame, or the vertex coordinates of the upper right corner and lower left corner.

[0067] The physical parameters of the target camera may include a horizontal axis fixed coefficient, a horizontal axis fixed step, a vertical axis fixed coefficient, a vertical axis fixed step, a zoom fixed coefficient, and a zoom fixed step.

[0068] For example, in Figure 2 In (a), (b), and (c), fitting calculations reveal the functional relationship between the dependent variable y and the independent variable x, such as the direct proportional function y = kx + b in (c) and the inverse proportional function y = k / x + b in (a) and (b). The physical parameters of the target camera are obtained by fitting calculations on multiple samples.

[0069] Specifically, the terminal can obtain the physical parameters of the target camera based on the shooting control parameters corresponding to the target image and the position information of the preset position coordinate frame in the target image. Then, combined with the proportion of the preset position in the monitoring image, the shooting control parameters corresponding to the preset position coordinate frame can be reversely deduced.

[0070] The above-mentioned preset conditions include: the area ratio of the display area of ​​the preset position in the monitoring image; the above-mentioned shooting control parameters include: translation parameters, tilt parameters and zoom parameters; in one method, based on the position information of the coordinate frame of the preset position in the target image, the physical parameters of the target camera, and the shooting control parameters corresponding to the target image, the translation parameters and tilt parameters in the shooting control parameters corresponding to the coordinate frame of the preset position are determined; based on the shooting control parameters corresponding to the target image, the physical parameters of the target camera and the area ratio, the zoom parameters in the shooting control parameters corresponding to the coordinate frame of the preset position are determined.

[0071] Specifically, an offset value is calculated based on the position information of the preset coordinate frame in the target image, the physical parameters of the target camera, and the zoom parameter in the shooting control parameters corresponding to the target image. Based on the offset value and the translation parameter or tilt parameter in the shooting control parameters corresponding to the target image, the translation parameter or tilt parameter in the shooting control parameters corresponding to the preset coordinate frame is calculated.

[0072] In one example, Figure 3 The initial state of (a) in the figure represents the initial position information of the preset coordinate frame in the target image, that is, the preset coordinate frame; the initial state is transformed horizontally and vertically according to the translation parameter or tilt parameter to obtain Figure 3 The intermediate state of (b) in FIG. 1 represents the position information of the display area of ​​the preset position after it moves in the horizontal and vertical directions. This process transforms the position of the coordinate frame in the horizontal and vertical directions, that is, the horizontal and vertical transformation coordinate frame.

[0073] Furthermore, a camera image zoom value is calculated based on the area ratio of the preset position's display area in the surveillance image and the offset value of the target camera. When the camera image zoom value is equal to one, or when the camera image zoom value is not equal to one, a zoom parameter in the shooting control parameters corresponding to the preset position's coordinate frame is determined based on the camera image zoom value and the physical parameters of the target camera.

[0074] In one example, Figure 3 Based on the intermediate state of (b) in the figure, the length and width of the intermediate state are scaled according to the scaling parameters to obtain Figure 3 The final state of (c) in FIG. 1 represents the area ratio of the display area of ​​the preset position in the monitoring image, that is, the target object ratio frame.

[0075] The position information of the above-mentioned preset coordinate frame in the target image includes: the first coordinate of the first vertex of the rectangular frame corresponding to the preset coordinate frame in the target image, and the second coordinate of the second vertex in the target image; the first vertex and the second vertex are diagonal vertices to each other; in one method, based on the first coordinate and the second coordinate, the coordinate offset is determined; based on the physical parameters of the target camera and the zoom parameter in the shooting control parameters corresponding to the target image, the offset coefficient is determined; based on the translation parameter, coordinate offset and offset coefficient in the shooting control parameters corresponding to the target image, the translation parameter in the shooting control parameters corresponding to the preset coordinate frame is determined; based on the tilt parameter, coordinate offset and offset coefficient in the shooting control parameters corresponding to the target image, the tilt parameter in the shooting control parameters corresponding to the preset coordinate frame is determined.

[0076] Here, the first vertex may be the vertex at the upper left corner of the rectangular frame, and the second vertex may be the vertex at the lower right corner of the rectangular frame. Assume that the first coordinate in the target image is (x1, y1) and the second coordinate in the target image is (x2, y2).

[0077] Specifically, the offset can be divided into a horizontal axis offset and a vertical axis offset. The horizontal axis offset of the rectangular frame is calculated by the formula change_x=0.5-(x1+x2) / 2, and the vertical axis offset of the rectangular frame is calculated by the formula change_y=0.5-(y1+y2) / 2.

[0078] The offset coefficient can be divided into the horizontal axis offset coefficient and the vertical axis offset coefficient, which is expressed by the formula x_rate=

[0079] The target camera's horizontal offset coefficient is calculated using the formula k_x_rate / z + b_x_rate, and the target camera's vertical offset coefficient is calculated using the formula y_rate = k_y_rate / z + b_y_rate. Here, z is the zoom parameter in the capture control parameters corresponding to the target image, k_x_rate and b_x_rate are the target camera's horizontal fixed coefficient and horizontal fixed step size, respectively, and k_y_rate and b_y_rate are the target camera's vertical fixed coefficient and vertical fixed step size, respectively.

[0080] Next, the translation parameter of the shooting control parameters corresponding to the preset coordinate frame is calculated using the formula new_p = p + x_rate * change_x. Here, p is the translation parameter of the shooting control parameters corresponding to the target image, change_x is the horizontal axis offset of the rectangular frame, and x_rate is the horizontal axis offset coefficient of the target camera.

[0081] Furthermore, the tilt parameter in the shooting control parameters corresponding to the preset coordinate frame is calculated using the formula new_t = t + y_rate * change_y. Here, t is the tilt parameter in the shooting control parameters corresponding to the target image, change_y is the vertical axis offset of the rectangular frame, and y_rate is the vertical axis offset coefficient of the target camera.

[0082] In one method, the picture zoom coefficient is determined based on the area ratio and the offset coefficient of the target camera; when the zoom parameter in the shooting control parameters corresponding to the target image is equal to one, the zoom parameter in the shooting control parameters corresponding to the coordinate frame of the preset position is determined based on the picture zoom coefficient and the physical parameters of the target camera.

[0083] Specifically, the image scaling factor is calculated using the formula scale = tp / max(x, y). Here, max(x, y) is the maximum value of the target camera's offset coefficients x_rate and y_rate, and tp is the area ratio of the preset position's display area in the surveillance image.

[0084] When the zoom parameter z in the shooting control parameters corresponding to the target image is equal to 1, the zoom parameter in the shooting control parameters corresponding to the preset coordinate frame is calculated using the formula new_z = (scale - b_scale) / k_scale. Here, k_scale and b_scale are the fixed zoom coefficient and fixed zoom step size in the physical parameters of the target camera, respectively.

[0085] In another method, when the zoom parameter in the shooting control parameters corresponding to the target image is not equal to one, the real-time zoom coefficient is determined according to the physical parameters of the target camera and the zoom parameter in the shooting control parameters corresponding to the target image; the updated picture zoom coefficient is determined based on the real-time zoom coefficient and the picture zoom coefficient; and the zoom parameter in the shooting control parameters corresponding to the coordinate frame of the preset position is determined based on the updated picture zoom coefficient and the physical parameters of the target camera.

[0086] Specifically, when the zoom parameter z in the shooting control parameters corresponding to the target image is not equal to 1, the real-time zoom factor is calculated using the formula current_scale = k_scale * z + b_scale. Next, the updated image zoom factor is calculated using the formula new_scale = current_scale * scale. Finally, the zoom parameter in the shooting control parameters corresponding to the preset coordinate frame is calculated using the formula new_z = (new_scale - b_scale) / k_scale.

[0087] In one method, the target camera is controlled to operate according to the shooting control parameters corresponding to the target image, so that the current image of the target camera matches the target image; the position information of the coordinate frame of the preset position in the target image is obtained, and the target camera is controlled to adjust the shooting control parameters so that the preset position is displayed in the monitoring image and meets the preset conditions; the preset position and the shooting control parameters of the target camera when the preset position is displayed in the target display area are associated and saved.

[0088] Specifically, after the terminal controls the target camera to start, it operates according to the shooting control parameters corresponding to the stored target image, so that the current image displayed in the target camera is consistent with the target image.

[0089] Next, the IPC (Inter-Process Communication) interface is called to obtain the position information of the preset coordinate frame in the target image. Through the input preset vertex coordinates, the target camera is controlled to adjust the shooting control parameters, so that the target camera changes the zoom factor and focuses on the local position of the pre-selected target device, and displays the preset position in the monitoring image according to the preset conditions.

[0090] Finally, the preset position and the target camera's shooting control parameters are associated and saved when the preset position is displayed locally on the target device, completing the addition of a preset position to the system. Optionally, if there are multiple preset positions, the information for the multiple preset positions can be batch-encapsulated into a standard preset position format based on TCP (Transmission Control Protocol) and stored in the target camera.

[0091] In one method, a surveillance image is saved when the preset position is displayed in a preset target display area.

[0092] Specifically, if the preset position is displayed in a preset target display area in the monitoring image, the terminal can take a screenshot of the screen and save the monitoring image at the current moment to the system.

[0093] Figure 4 Taking a substation as an example, this paper introduces the specific implementation method of saving preset positions.

[0094] Step S401, scanning the target image in sequence and generating a task queue;

[0095] Specifically, the system generates a task and places it in a queue of tasks to be executed, and the terminal executes the tasks in the queue in the order in which they were added.

[0096] Step S402, query the task queue;

[0097] Specifically, during the process of the terminal executing the task, the shooting control parameters associated with the target image are called to make the target camera return to the center position, and the current image of the target camera remains consistent with the target image.

[0098] Step S403: whether there are any tasks left;

[0099] If there are tasks in the queue, then execute step S404; if there are no tasks in the queue, then execute step S407.

[0100] Step S404, controlling the target camera to adjust shooting control parameters according to the position information of the preset coordinate frame in the target image;

[0101] Specifically, the terminal calls the IPC interface and controls the target camera to adjust the zoom ratio and focus on the pre-selected local position of the target device through the incoming position information.

[0102] Step S405: associate, save, and bind the preset position and its corresponding shooting control parameters to the coordinate frame;

[0103] Specifically, the terminal obtains the position information of the coordinate frame of the current preset position in the target image, and simultaneously takes a screenshot of the current screen of the target camera and stores it in the system, that is, adding a preset position.

[0104] Step S406, resetting the camera;

[0105] The terminal calls the shooting control parameters associated with the target image to control the target camera to return to the normal position, and then returns to step S402.

[0106] Step S407, end.

[0107] Figure 5 Taking the substation as an example, the specific implementation of the preset position configuration is introduced.

[0108] Step S501, obtaining the distribution position within the target monitoring area and determining the target camera;

[0109] Specifically, according to the substation plant, bay and site plan, at least one bay is selected as the target bay, all cameras within a specified range around the target bay are acquired on the plan, and then the target camera is determined.

[0110] Step S502, taking multiple candidate images;

[0111] Specifically, the system activates the target camera and controls the target camera to rotate and capture images according to a specific step size. After obtaining multiple alternative images, the multiple alternative images are transmitted to a preset algorithm model.

[0112] Step S503, confirming whether the candidate image contains the target to be inspected;

[0113] The algorithm model receives multiple candidate images and performs recognition analysis on the multiple candidate images. If a sign is recognized, it is saved as the target image and step S505 is executed. If no sign is recognized, the candidate images are filtered out and step S504 is executed.

[0114] Step S504, calling the next target camera;

[0115] Return to step S502.

[0116] Step S505, identifying the preset positions contained in the target image;

[0117] Specifically, the system automatically selects a preset position using a rectangular frame on the target image.

[0118] Step S506: whether the recognition is successful;

[0119] If the recognition is successful, step S507 is executed; if the recognition is not successful, step S510 is executed.

[0120] Step S507, outputting the position information of the preset coordinate frame in the target image;

[0121] Based on the AI ​​analysis algorithm, multiple preset positions are selected using rectangular frames in the target image.

[0122] Step S508, determining the shooting control parameters corresponding to the coordinate frame of the preset position;

[0123] Specifically, the terminal transmits the position information, area ratio, and shooting control parameters corresponding to the target image of the preset coordinate frame to the algorithm model. The algorithm model is combined with the physical parameters of the target camera to calculate the shooting control parameters corresponding to the preset coordinate frame.

[0124] Step S509: associate, save, and bind the preset position and its corresponding shooting control parameters to the coordinate frame;

[0125] Step S510, end.

[0126] Corresponding to the above method embodiment, see Figure 6 The diagram of a configuration system for camera preset positions in a substation patrol system is shown, and the system includes:

[0127] The camera determination module 601 is used to determine the target camera to be configured according to the distribution position in the target monitoring area in the substation site map, wherein the target camera has a plurality of preset positions to be configured;

[0128] The target image shooting module 602 is used to control the target camera to shoot a target image at the patrol point in the substation patrol system, wherein the target image is a typical scene image containing the target to be patrolled;

[0129] The preset position recognition module 603 is used to recognize the preset position contained in the target image using an image recognition algorithm and automatically select a coordinate frame of the preset position on the target image;

[0130] The parameter determination module 604 is used to determine the shooting control parameters corresponding to the coordinate frame of the preset position; wherein the shooting control parameters are used to control the target camera to shoot the monitoring image containing the preset position, and the preset position meets the preset conditions in the monitoring image;

[0131] The association and storage module 605 is used to associate, store and bind the preset position and the shooting control parameters corresponding to the coordinate frame of the preset position to form a patrol preset information of the patrol point.

[0132] The configuration system of camera preset positions in the above-mentioned substation patrol system determines the target camera to be configured according to the distribution position in the target monitoring area in the substation site map, wherein the target camera has several preset positions to be configured; controls the target camera to shoot the target image at the patrol point in the substation patrol system, wherein the target image is a typical scene image containing the target to be patrolled; utilizes the image recognition algorithm to identify the preset positions contained in the target image, and automatically selects the coordinate frame of the preset position on the target image; determines the shooting control parameters corresponding to the coordinate frame of the preset position; wherein the shooting control parameters are used to: control the target camera to shoot the monitoring image containing the preset position, and the preset position meets the preset conditions in the monitoring image; associate, save and bind the preset position and the shooting control parameters corresponding to the coordinate frame of the preset position to form a patrol preset information of the patrol point.

[0133] In this method, the target camera to be configured is first controlled to capture the target image, and then the preset positions contained in the target image are identified, and the shooting control parameters corresponding to the coordinate frame of the preset positions are determined. The preset positions and shooting control parameters are then associated and saved, which promotes the application of intelligent patrol, simplifies the operation of setting preset positions for the camera, and improves the setting efficiency.

[0134] The camera determination module is further configured to select a target interval from the substation site map; and determine a target camera to be configured from cameras within a specified range of the target interval.

[0135] The target image shooting module is also used to control the target camera to rotate and control the target camera to shoot multiple candidate images during the rotation process; identify the target to be inspected from the multiple candidate images, and determine the candidate image containing the target to be inspected as the target image.

[0136] The above-mentioned preset position recognition module is also used to use an image recognition algorithm to identify the preset positions contained in the target image based on a preset preset position type; wherein the preset position type includes: at least one of: position status preset position, meter type preset position, and equipment appearance preset position.

[0137] When the above-mentioned preset position type includes position status preset position, the position status preset position includes: at least one preset position of pressure plate status, air switch status, and indicator light status; when the above-mentioned preset position type includes meter type preset position, the meter type preset position includes: at least one preset position of pressure gauge, oil temperature gauge, and leakage current meter; when the above-mentioned preset position type includes equipment appearance preset position, the equipment appearance preset position includes: at least one preset position of bird's nest, oil stain, and damaged dial.

[0138] The preset position recognition module is further used to input the target image into a pre-trained image recognition model, identify the preset positions contained in the target image through the image recognition model, and select a coordinate frame of the preset position on the target image.

[0139] The parameter determination module is further configured to determine the shooting control parameters corresponding to the preset coordinate frame based on the shooting control parameters corresponding to the target image, the position information of the preset coordinate frame in the target image, and the physical parameters of the target camera.

[0140] The above-mentioned preset conditions include: the area ratio of the display area of ​​the preset position in the monitoring image; the shooting control parameters include: translation parameters, tilt parameters and zoom parameters; the above-mentioned parameter determination module is also used to determine the translation parameters and tilt parameters in the shooting control parameters corresponding to the coordinate frame of the preset position based on the position information of the coordinate frame of the preset position in the target image, the physical parameters of the target camera, and the shooting control parameters corresponding to the target image; based on the shooting control parameters corresponding to the target image, the physical parameters of the target camera and the area ratio, determine the zoom parameters in the shooting control parameters corresponding to the coordinate frame of the preset position.

[0141] The position information of the above-mentioned preset coordinate frame in the target image includes: the first coordinate of the first vertex of the rectangular frame corresponding to the preset coordinate frame in the target image, and the second coordinate of the second vertex in the target image; the first vertex and the second vertex are diagonal vertices to each other; the above-mentioned parameter determination module is also used to determine the coordinate offset based on the first coordinate and the second coordinate; determine the offset coefficient based on the physical parameters of the target camera and the zoom parameter in the shooting control parameters corresponding to the target image; determine the translation parameter in the shooting control parameters corresponding to the preset coordinate frame based on the translation parameter, coordinate offset and offset coefficient in the shooting control parameters corresponding to the target image; determine the tilt parameter in the shooting control parameters corresponding to the preset coordinate frame based on the tilt parameter, coordinate offset and offset coefficient in the shooting control parameters corresponding to the target image.

[0142] The above-mentioned parameter determination module is also used to determine the picture zoom coefficient based on the area ratio and the offset coefficient of the target camera; when the zoom parameter in the shooting control parameters corresponding to the target image is equal to one, the zoom parameter in the shooting control parameters corresponding to the coordinate frame of the preset position is determined based on the picture zoom coefficient and the physical parameters of the target camera.

[0143] The above-mentioned system also includes a second parameter determination module, which is used to determine the real-time zoom coefficient based on the physical parameters of the target camera and the zoom parameter in the shooting control parameters corresponding to the target image when the zoom parameter in the shooting control parameters corresponding to the target image is not equal to one; determine the updated picture zoom coefficient based on the real-time zoom coefficient and the picture zoom coefficient; and determine the zoom parameter in the shooting control parameters corresponding to the coordinate frame of the preset position based on the updated picture zoom coefficient and the physical parameters of the target camera.

[0144] The above-mentioned parameter determination module is also used to control the operation of the target camera according to the shooting control parameters corresponding to the target image, so that the current picture of the target camera matches the target image; obtain the position information of the coordinate frame of the preset position in the target image, and control the target camera to adjust the shooting control parameters so that the preset position is displayed in the monitoring image and meets the preset conditions; the preset position and the shooting control parameters of the target camera when the preset position is displayed in the target display area are associated and saved.

[0145] The above system also includes a monitoring image saving module, which is used to save the monitoring image when the preset position is displayed in the preset target display area.

[0146] The above embodiments of the present disclosure have the following advantages:

[0147] This embodiment uses AI algorithms to identify substation interval identification equipment, control the camera to automatically rotate, capture typical scene images, and then Figure 1The system automatically selects the coordinate frame of the preset position, calculates the shooting control parameters corresponding to the coordinate frame of the preset position based on the self-developed algorithm, and then cyclically calls the camera shooting control parameters according to the position information of the coordinate frame to quickly generate the preset position, which greatly improves the efficiency of preset position configuration.

[0148] This embodiment uses target images to batch configure preset positions and synchronizes them to the standard pan-tilt head through the TCP protocol; it solves the technical problems in the existing technology that the preset position configuration in substation cameras is complex, inefficient, and has poor versatility, thereby achieving a technical effect of simple and easy operation, high efficiency, and strong versatility, greatly improving the efficiency of substation preset position configuration and promoting the engineering application of intelligent patrol.

[0149] Those skilled in the art will clearly understand that, for the convenience and brevity of description, the specific working processes of the above-described systems and devices can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0150] In addition, in the description of the embodiments of the present disclosure, unless otherwise expressly specified or limited, the terms "installed," "connected," and "connected" should be understood in a broad sense. For example, they can refer to fixed connections, detachable connections, or integral connections; they can refer to mechanical connections or electrical connections; they can refer to direct connections or indirect connections through an intermediate medium; and they can refer to internal connections between two components. Those skilled in the art will understand the specific meanings of the above terms in the present disclosure based on the specific circumstances.

[0151] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present disclosure, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the method described in each embodiment of the present disclosure. The aforementioned storage medium includes various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0152] In the description of this disclosure, it should be noted that the terms "center," "upper," "lower," "left," "right," "vertical," "horizontal," "inner," and "outer," etc., indicating orientations or positional relationships, are based on the orientations or positional relationships shown in the accompanying drawings and are intended solely to facilitate the description of this disclosure and simplify the description. They do not indicate or imply that the devices or components referred to must have a specific orientation, be constructed, or operate in a specific orientation. Therefore, they should not be construed as limitations on this disclosure. Furthermore, the terms "first," "second," and "third" are used for descriptive purposes only and should not be construed as indicating or implying relative importance.

[0153] Finally, it should be noted that the above embodiments are only specific implementation methods of the present disclosure, which are used to illustrate the technical solutions of the present disclosure, rather than to limit them. The protection scope of the present disclosure is not limited thereto. Although the present disclosure has been described in detail with reference to the above embodiments, those skilled in the art should understand that any person skilled in the art can modify or easily conceive of changes to the technical solutions described in the above embodiments within the technical scope disclosed in the present disclosure, or replace some of the technical features therein with equivalents. Such modifications, changes, or replacements do not deviate from the spirit and scope of the technical solutions of the embodiments of the present disclosure, and should be included in the protection scope of the present disclosure. Therefore, the protection scope of the present disclosure should be based on the protection scope of the claims.

Claims

1. A method for configuring camera preset positions in a substation patrol system, characterized in that: The method comprises: Determine a target camera to be configured according to a distribution position within a target monitoring area in a substation site map, wherein the target camera has a plurality of preset positions to be configured; Controlling the target camera to capture a target image at a patrol point in the substation patrol system, wherein the target image is a typical scene image containing the target to be patrolled; Identifying the preset position contained in the target image using an image recognition algorithm, and automatically selecting a coordinate frame of the preset position on the target image; Determining a shooting control parameter corresponding to the coordinate frame of the preset position; wherein the shooting control parameter is used to control the target camera to shoot a surveillance image containing the preset position, and the preset position satisfies a preset condition in the surveillance image; The preset position and the shooting control parameters corresponding to the coordinate frame of the preset position are associated, saved and bound to form a patrol preset information of the patrol point.

2. The method according to claim 1, characterized in that The steps of determining the target cameras to be configured based on the distribution locations within the target monitoring area in the substation site map include: Select the target bay from the substation site map; A target camera to be configured is determined from cameras within a specified range of the target interval.

3. The method according to claim 1, characterized in that The step of controlling the target camera to capture the target image at the patrol point in the substation patrol system includes: Controlling the target camera to rotate, and controlling the target camera to capture multiple candidate images during the rotation process; The target to be inspected is identified from the multiple candidate images, and the candidate image containing the target to be inspected is determined as the target image.

4. The method according to claim 1, wherein The step of identifying the preset position contained in the target image by using an image recognition algorithm includes: Based on a preset preset position type, an image recognition algorithm is used to identify the preset position contained in the target image; wherein the preset position type includes: at least one of a position status preset position, a meter type preset position, and a device appearance preset position.

5. The method according to claim 4, characterized in that When the preset position type includes a position state preset position, the position state preset position includes: at least one preset position of a pressure plate state, an air switch state, and an indicator light state; When the preset position type includes a meter type preset position, the meter type preset position includes: at least one preset position of a pressure gauge, an oil temperature gauge, and a leakage current meter; When the preset position type includes a device appearance preset position, the device appearance preset position includes at least one of a bird's nest, oil stains, and a damaged dial.

6. The method according to claim 1, characterized in that The step of using an image recognition algorithm to identify the preset position contained in the target image and automatically selecting a coordinate frame of the preset position on the target image includes: The target image is input into a pre-trained image recognition model, the preset position contained in the target image is identified by the image recognition model, and a coordinate frame of the preset position is selected on the target image.

7. The method according to claim 1, characterized in that The step of determining the shooting control parameters corresponding to the coordinate frame of the preset position includes: The shooting control parameters corresponding to the preset position coordinate frame are determined based on the shooting control parameters corresponding to the target image, the position information of the preset position coordinate frame in the target image, and the physical parameters of the target camera.

8. The method according to claim 7, characterized in that The preset conditions include: the area ratio of the display area of ​​the preset position in the monitoring image; the shooting control parameters include: translation parameters, tilt parameters and zoom parameters; The step of determining the shooting control parameters corresponding to the preset position coordinate frame based on the shooting control parameters corresponding to the target image, the position information of the preset position coordinate frame in the target image, and the physical parameters of the target camera includes: Determining, based on position information of the preset position coordinate frame in the target image, physical parameters of the target camera, and shooting control parameters corresponding to the target image, a translation parameter and a tilt parameter in the shooting control parameters corresponding to the preset position coordinate frame; Based on the shooting control parameters corresponding to the target image, the physical parameters of the target camera, and the area ratio, a scaling parameter in the shooting control parameters corresponding to the coordinate frame of the preset position is determined.

9. The method according to claim 8, characterized in that The position information of the preset coordinate frame in the target image includes: the first coordinate of the first vertex of the rectangular frame corresponding to the preset coordinate frame in the target image, and the second coordinate of the second vertex in the target image; the first vertex and the second vertex are diagonal vertices to each other; The step of determining the translation parameter and the tilt parameter in the shooting control parameters corresponding to the preset position coordinate frame based on the position information of the preset position coordinate frame in the target image, the physical parameters of the target camera, and the shooting control parameters corresponding to the target image includes: determining a coordinate offset based on the first coordinate and the second coordinate; Determining an offset coefficient based on physical parameters of the target camera and a scaling parameter in the shooting control parameters corresponding to the target image; Determining the translation parameter in the shooting control parameters corresponding to the coordinate frame of the preset position based on the translation parameter in the shooting control parameters corresponding to the target image, the coordinate offset and the offset coefficient; The tilt parameter in the shooting control parameters corresponding to the coordinate frame of the preset position is determined based on the tilt parameter in the shooting control parameters corresponding to the target image, the coordinate offset, and the offset coefficient.

10. The method according to claim 8, characterized in that The step of determining a scaling parameter in the shooting control parameters corresponding to the coordinate frame of the preset position based on the shooting control parameters corresponding to the target image, the physical parameters of the target camera, and the area ratio includes: Determining a picture zoom factor based on the area ratio and the offset coefficient of the target camera; When the scaling parameter in the shooting control parameters corresponding to the target image is equal to one, the scaling parameter in the shooting control parameters corresponding to the coordinate frame of the preset position is determined based on the image scaling coefficient and the physical parameters of the target camera.

11. The method according to claim 10, characterized in that The method further comprises: When the scaling parameter in the shooting control parameters corresponding to the target image is not equal to one, determining a real-time scaling factor according to the physical parameters of the target camera and the scaling parameter in the shooting control parameters corresponding to the target image; Determining an updated picture zoom coefficient based on the real-time zoom coefficient and the picture zoom coefficient; Based on the updated picture zoom coefficient and the physical parameters of the target camera, a zoom parameter in the shooting control parameters corresponding to the coordinate frame of the preset position is determined.

12. The method according to claim 1, characterized in that The step of determining the shooting control parameters corresponding to the coordinate frame of the preset position includes: Controlling the target camera to operate according to the shooting control parameters corresponding to the target image so that the current image of the target camera matches the target image; Acquiring position information of the coordinate frame of the preset position in the target image, and controlling the target camera to adjust shooting control parameters so that the preset position is displayed in the monitoring image and meets the preset conditions; The preset position and the shooting control parameters of the target camera when the preset position is displayed in the target display area are associated and saved.

13. The method according to claim 12, characterized in that After the step of controlling the target camera to adjust shooting control parameters so that the preset position is displayed in the monitoring image and the preset condition is met, the method further includes: The monitoring image when the preset position is displayed in the preset target display area is saved.

14. The camera preset position configuration system in the substation patrol system is characterized by: The system comprises: A camera determination module is used to determine a target camera to be configured according to the distribution position within the target monitoring area in the substation site map, wherein the target camera has a plurality of preset positions to be configured; A target image shooting module is used to control the target camera to shoot a target image at a patrol point in the substation patrol system, wherein the target image is a typical scene image containing the target to be patrolled; A preset position recognition module, configured to recognize the preset position contained in the target image using an image recognition algorithm, and automatically frame a coordinate frame of the preset position on the target image; A parameter determination module is used to determine the shooting control parameters corresponding to the coordinate frame of the preset position; wherein the shooting control parameters are used to control the target camera to shoot a monitoring image containing the preset position, and the preset position satisfies a preset condition in the monitoring image; The association and saving module is used to associate, save and bind the preset position and the shooting control parameters corresponding to the coordinate frame of the preset position to form a patrol preset information of the patrol point.

Citation Information

Patent Citations

  • Target positioning method, device and facility of inspection operation robot and storage medium

    CN113733100A

  • Patrol route generation method and equipment based on pan-tilt camera, and medium

    CN114785961A