Monitoring equipment installation and positioning method, device, electronic equipment, and storage medium

By calculating the recognition resolution of the recognition display frame and adjusting the installation parameters, the problem of insufficient installation accuracy of monitoring equipment is solved, achieving higher installation accuracy and effective use of equipment in different scenarios.

CN113505685BActive Publication Date: 2024-09-06ZHEJIANG DAHUA TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202110763925.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-07-06
Publication Date
2024-09-06
Estimated Expiration
2041-07-06

AI Technical Summary

Technical Problem

During the installation of monitoring equipment, the target is not on site, resulting in insufficient installation accuracy. It relies on the professional experience of construction personnel, making it difficult to achieve accurate installation.

Method used

By obtaining the pixel size and resolution when the intelligent algorithm recognizes the target, combined with the display resolution and code stream resolution of the device to be installed, the recognition resolution of the recognition display frame is calculated, and based on this, the installation parameters of the monitoring device are adjusted to achieve Precise installation.

Benefits of technology

It improves the installation accuracy of monitoring equipment, reduces dependence on professionals, and ensures effective installation of equipment in different scenarios.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113505685B
    Figure CN113505685B
Patent Text Reader

Abstract

The present invention provides a monitoring equipment installation and positioning method, device, electronic device, and storage medium. The monitoring equipment installation and positioning method includes: obtaining the pixel size of the target screen required when the intelligent algorithm identifies the target, the first resolution of the image identified by the intelligent algorithm, and obtaining the display resolution and code stream resolution of the monitoring equipment to be installed; in response to the first resolution being an absolute resolution, obtaining a second resolution based on the code stream resolution, the pixel size, and the display resolution; processing the first resolution based on the second resolution to obtain an identification resolution for identifying a display frame; adjusting the installation parameters of the monitoring equipment to be installed using the identification resolution, and installing the monitoring equipment to be installed based on the installation parameters. In this way, the installation accuracy of the monitoring equipment can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of video image processing, and in particular to a monitoring equipment installation and positioning method, device, electronic equipment, and storage medium. Background Art

[0002] Currently, most monitoring devices are equipped with intelligent algorithms, such as behavior analysis, target recognition, object tracking, etc. These intelligent algorithms are trained and developed for specific scenarios (installation height, lens angle, target distance). Different types of intelligent algorithms have different installation requirements due to different usage scenarios.

[0003] In the actual construction and installation process, it is unlikely that there will be a target on site during installation. For example, if an object is thrown from a high altitude, it is impossible to adjust the installation position and lens magnification by asking a resident to throw a few objects on site. Therefore, the installation of monitoring equipment is completely dependent on the professional experience of the construction personnel, and the installation accuracy is insufficient. Summary of the invention

[0004] The present invention provides a monitoring equipment installation and positioning method, device, electronic equipment, and storage medium, which can improve the installation accuracy of the monitoring equipment.

[0005] To solve the above technical problems, the first technical solution provided by the present invention is: to provide a monitoring equipment installation and positioning method, including: obtaining the pixel size of the target picture required by the intelligent algorithm to identify the target, the first resolution of the image identified by the intelligent algorithm, and obtaining the display resolution and the code stream resolution of the monitoring equipment to be installed; in response to the first resolution being an absolute resolution, obtaining a second resolution based on the code stream resolution, the pixel size and the display resolution; processing the first resolution based on the second resolution to obtain an identification resolution for identifying a display frame; adjusting the installation parameters of the monitoring equipment to be installed using the identification resolution, and installing the monitoring equipment to be installed based on the installation parameters.

[0006] The method further includes: in response to the first resolution being a relative resolution, obtaining a second resolution based on the relative resolution, the pixel size and the display resolution.

[0007] Among them, the step of obtaining the second resolution based on the code stream resolution, the pixel size and the display resolution includes: obtaining the size of the first direction of the second resolution based on the size of the first direction of the code stream resolution, the size of the first direction of the pixel size, and the size of the first direction of the display resolution.

[0008] Among them, the step of obtaining the second resolution based on the relative resolution, the pixel size and the display resolution includes: obtaining the size of the first direction of the second resolution based on the size of the first direction of the relative resolution, the size of the first direction of the pixel size and the size of the first direction of the display resolution.

[0009] The step of processing the first resolution based on the second resolution to obtain the size of the identification display frame includes: processing the first resolution based on the size of the first direction of the second resolution to obtain the identification resolution of the identification display frame.

[0010] The first direction is the width direction.

[0011] The method also includes: in response to the failure to obtain the pixel size of the target image required by the intelligent algorithm to identify the target and the first resolution of the image identified by the intelligent algorithm, setting the pixel size and the first resolution that match the code stream resolution of the monitoring device to be installed based on the sample image in the image library.

[0012] Among them, the intelligent algorithm includes: at least one of: face recognition algorithm, vehicle recognition algorithm, license plate recognition algorithm, human body recognition algorithm, and head and shoulder recognition algorithm.

[0013] Among them, after the step of processing the first resolution based on the second resolution to obtain the identification resolution of the identification display frame, it also includes: receiving an adjustment instruction, adjusting the processed first resolution based on the adjustment instruction, and obtaining the identification resolution of the identification display frame.

[0014] In order to solve the above technical problems, the second technical solution provided by the present invention is: to provide a monitoring equipment installation and positioning device, including: an acquisition module, used to acquire the pixel size of the target picture required when the intelligent algorithm identifies the target, and the first resolution of the image recognized by the intelligent algorithm; a conversion module, used to respond to the first resolution as an absolute resolution, and obtain the second resolution based on the code stream resolution, the pixel size and the display resolution; a processing module, used to process the first resolution based on the second resolution, and then obtain the recognition resolution of the recognition display frame; an adjustment module, used to adjust the installation parameters of the monitoring equipment to be installed based on the recognition resolution, and install the monitoring equipment to be installed based on the installation parameters.

[0015] To solve the above technical problems, the third technical solution provided by the present invention is: to provide an electronic device, comprising: a memory and a processor, wherein the memory stores program instructions, and the processor calls the program instructions from the memory to execute any of the above methods.

[0016] In order to solve the above technical problems, the fourth technical solution provided by the present invention is: providing a computer-readable storage medium storing a program file, and the program file can be executed to implement any of the above methods.

[0017] The beneficial effects of the present invention are different from those of the prior art. The pixel size of the target screen required by the intelligent algorithm to identify the target, the first resolution of the image identified by the intelligent algorithm, and the display resolution and code stream resolution of the monitoring device to be installed are obtained; in response to the first resolution being an absolute resolution, a second resolution is obtained based on the code stream resolution, the pixel size, and the display resolution; the first resolution is processed based on the second resolution to obtain the recognition resolution of the recognition display frame; the installation parameters of the monitoring device to be installed are adjusted based on the recognition resolution, and the monitoring device to be installed is installed based on the installation parameters. In this way, the installation accuracy of the monitoring device can be improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required for describing the embodiments are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative work, among which:

[0019] Figure 1 A schematic diagram of a flow chart of a first embodiment of a monitoring device installation and positioning method of the present invention;

[0020] Figure 2 A schematic diagram of the structure of the identification display frame;

[0021] Figure 3 A schematic diagram of a flow chart of a second embodiment of a monitoring device installation and positioning method of the present invention;

[0022] Figure 4 A schematic diagram of the structure of the identification display box and input box;

[0023] Figure 5 A schematic diagram of the structure of an embodiment of a positioning device installed in a monitoring device of the present invention;

[0024] Figure 6 It is a structural schematic diagram of an embodiment of an electronic device of the present invention;

[0025] Figure 7 It is a schematic diagram of the structure of an embodiment of a computer-readable storage medium of the present invention. DETAILED DESCRIPTION

[0026] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0027] See also Figure 1 , which is a flow chart of a first embodiment of a monitoring device installation and positioning method of the present invention, specifically comprising:

[0028] Step S11: obtaining the pixel size of the target image required by the intelligent algorithm to identify the target, the first resolution of the image identified by the intelligent algorithm, and the display resolution and bit stream resolution of the monitoring device to be installed.

[0029] Specifically, the pixel size is the pixel size of the target image required when the intelligent algorithm identifies the target. There are various types of intelligent algorithms. Generally, when the monitoring device is installed, the corresponding intelligent algorithm is set for the monitoring device based on the usage scenario of the monitoring device. For example, if the monitoring device to be installed is used for target detection, the corresponding intelligent algorithm selected is a target detection algorithm, such as at least one of a face recognition algorithm, a vehicle recognition algorithm, a license plate recognition algorithm, a human body recognition algorithm, and a head and shoulder recognition algorithm. In order to maximize the advantages of the algorithm of the intelligent device, the installation position and angle of the monitoring device need to be accurate.

[0030] In this embodiment, the pixel size Ra and the first resolution P of the image recognized by the intelligent algorithm are obtained. Specifically, the image recognized by the intelligent algorithm can be found from the historical images stored in the memory, and the first resolution P corresponding to the image can be obtained. In a picture, the target pixel width and height (or only the width) must reach a certain value to be recognized by the algorithm, such as 80*80 pixels. It is divided into two types: one is the absolute pixel size, that is, regardless of the picture resolution, the required pixel size is fixed; the other is the relative pixel size, that is, the required pixel size at a specific resolution, for example, the pixel width is 90 when the bitstream resolution is 1920*1080.

[0031] In one embodiment, if the pixel size Ra and the first resolution p of the image recognized by the intelligent algorithm fail to be obtained, the pixel size Ra and the first resolution P that match the code stream resolution of the monitoring device to be installed are set based on sample images in the image library.

[0032] Further, the display resolution R of the monitoring device to be installed and the bitstream resolution Rv of the monitoring device to be installed when performing video encoding are obtained. Specifically, the bitstream resolution of the historical encoding of the monitoring device to be installed can be found from the memory. The display resolution R is not the bitstream resolution, but the display resolution of the interactive interface (such as a web window page) after adapting to the operating system dialog window.

[0033] Step S12: In response to the first resolution being an absolute resolution, a second resolution is obtained based on the code stream resolution, the pixel size, and the display resolution.

[0034] In a specific embodiment, the first resolution is an absolute resolution, that is, if the value of the relative resolution Ro is 0, it is represented as an absolute resolution. At this time, the second resolution Rc is obtained based on the code stream resolution Rv, the pixel size Ra and the display resolution R. In a specific embodiment, the size of the first direction of the second resolution Rc is obtained based on the size of the first direction of the code stream resolution Rv, the size of the first direction of the pixel size Ra, and the size of the first direction of the display resolution P. The first direction is the width direction. For example, the size of the first direction of the second resolution Rc is (Ra1*R1) / Rv1, where Ra1 is the size of the first direction of the pixel size Ra, R1 is the size of the first direction of the display resolution R, and Rv1 is the size of the first direction of the code stream resolution Rv. For example, if the pixel size Ra is (80*80), the code stream resolution Rv is (1920*1080), and the display resolution R is (800*800), the calculated size of the first direction of the second resolution Rc is (80*800) / 1920=33.

[0035] If the value Ro of the relative resolution is not 0, it means that the first resolution is a relative resolution. The relative resolution Ro is obtained, and the second resolution (Rc) is obtained based on the relative resolution Ro, the pixel size Ra and the display resolution R. Specifically, the size of the first direction of the second resolution is obtained based on the size of the first direction of the relative resolution Ro, the size of the first direction of the pixel size Ra and the size of the first direction of the display resolution R. For example, the size of the first direction of the second resolution Rc is (Ra1*R1) / Ro1. Among them, Ra1 is the size of the first direction of the pixel size Ra, R1 is the size of the first direction of the display resolution R, and Ro1 is the size of the first direction of the relative resolution Ro. For example, if the pixel size Ra is (80*80), the relative resolution Ro is (1920*1080), and the display resolution R is (800*800), the calculated size of the first direction of the second resolution Rc is (80*800) / 1920=33.

[0036] Step S13: Processing the first resolution based on the second resolution to obtain an identification resolution for identifying a display frame.

[0037] Specifically, the first resolution P is processed using the size of the second resolution Rc in the first direction to obtain the recognition resolution of the recognition display frame. In one embodiment, the width of the first resolution P can be set equal to the width of the second resolution Rc, for example, the size of the recognition resolution Pc of the recognition display frame in the first direction is the same as the size of the second resolution Rc in the first direction. In another embodiment, the size of the recognition resolution Pc of the recognition display frame in the second direction can be set equal to the size in the first direction, for example, the recognition resolution Pc of the recognition display frame is (33*33). Specifically, Figure 2 As shown in the figure, if the intelligent algorithm is a license plate recognition algorithm, the final recognition display box is Figure 2 As shown in the middle mark 1, when the vehicle license plate needs to be recognized, the license plate is enlarged to the size corresponding to the recognition display frame 1. The recognition resolution reflects the size of the recognition display frame. If the intelligent algorithm is a face recognition algorithm, the final recognition display frame is Figure 2 As shown in the middle label 2, when it is necessary to recognize a face, the face is enlarged to the size corresponding to the recognition display frame 2. If the intelligent algorithm is a shoulder recognition algorithm, the recognition display frame finally obtained is Figure 2 As shown in the middle label 3, when it is necessary to identify the shoulder of a person, the face is enlarged to the size corresponding to the identification display frame 3. If the intelligent algorithm is a human body recognition algorithm, the identification display frame finally obtained is Figure 2 As shown by the middle label 4, when the human body needs to be identified, the human body is enlarged to a size corresponding to the identification display frame 4.

[0038] Step S14: adjusting installation parameters of the monitoring device to be installed based on the recognition resolution, and installing the monitoring device to be installed based on the installation parameters.

[0039] Specifically, the installation parameters of the monitoring equipment to be installed are adjusted based on the recognition resolution. Specifically, based on the size of the recognition resolution, it is compared with the reference objects around the monitoring scene so that the size of the recognition resolution and the reference object are coordinated in proportion. In this way, after the monitoring equipment to be installed is installed, when the intelligent algorithm corresponding to the monitoring equipment to be installed is a license plate recognition algorithm, the license plate can be enlarged so that the size of the license plate in the display screen is larger than the size of the recognition resolution, or equal to the size of the recognition resolution. If the intelligent algorithm corresponding to the monitoring equipment to be installed is a human body recognition algorithm, the human body can be enlarged so that the size of the human body in the display screen is larger than the size of the recognition resolution, or equal to the size of the recognition resolution. In this way, the dependence on professionals can be reduced and the installation accuracy of the monitoring equipment can be improved.

[0040] See also Figure 3 , is a flow chart of a second embodiment of the monitoring device installation and positioning method of the present invention, wherein step S31, step S32, and step S35 are the same as those described above. Figure 1 The step S11, step S12 and step S14 in the first embodiment shown are the same, except that, after step S32, the present embodiment further includes:

[0041] Step S33: Processing the first resolution based on the second resolution.

[0042] Specifically, the size of the second resolution Rc in the first direction is used to process the first resolution P. In one embodiment, the width of the first resolution P may be set equal to the width of the second resolution Rc.

[0043] In another embodiment, if it is a relative resolution, the first resolution P is processed using the size of the second resolution Rc in the first direction to obtain the recognition resolution of the recognition display frame. In one embodiment, the width of the first resolution P can be set equal to the width of the second resolution Rc.

[0044] Step S34: receiving an adjustment instruction, and adjusting the processed first resolution based on the adjustment instruction, thereby obtaining a recognition resolution of the recognition display frame.

[0045] Specifically, if the processed first resolution cannot meet the requirement, the user can manually adjust it by inputting an adjustment instruction, and adjust the processed first resolution based on the adjustment instruction to obtain the recognition resolution of the recognition display frame.

[0046] Specifically, Figure 4 As shown, after the first resolution is processed by the second resolution, an adjustment instruction may be input in the input box 5 to adjust the processed first resolution based on the adjustment instruction. Specifically, the adjustment instruction may adjust the size of the identification display box.

[0047] Specifically, the installation parameters of the monitoring equipment to be installed are adjusted based on the recognition resolution. Specifically, based on the size of the recognition resolution, it is compared with the reference objects around the monitoring scene so that the size of the recognition resolution and the reference object are coordinated in proportion. In this way, after the monitoring equipment to be installed is installed, when the intelligent algorithm corresponding to the monitoring equipment to be installed is a license plate recognition algorithm, the license plate can be enlarged so that the size of the license plate in the display screen is larger than the size of the recognition resolution, or equal to the size of the recognition resolution. If the intelligent algorithm corresponding to the monitoring equipment to be installed is a human body recognition algorithm, the human body can be enlarged so that the size of the human body in the display screen is larger than the size of the recognition resolution, or equal to the size of the recognition resolution. In this way, the dependence on professionals can be reduced and the installation accuracy of the monitoring equipment can be improved.

[0048] See also Figure 5 , is a structural diagram of an embodiment of a monitoring device installation positioning device of the present invention. Specifically, the monitoring device installation positioning device includes: an acquisition module 61, a conversion module 62, a processing module 63 and an adjustment module 64.

[0049] Among them, the acquisition module 61 is used to obtain the pixel size of the target image required when the intelligent algorithm recognizes the target, the first resolution of the image recognized by the intelligent algorithm, and the display resolution and code stream resolution of the monitoring device to be installed.

[0050] Specifically, there are various types of intelligent algorithms. Generally, when monitoring equipment is installed, corresponding intelligent algorithms are set for the monitoring equipment based on the usage scenario of the monitoring equipment. For example, if the monitoring equipment to be installed is used for target detection, the corresponding intelligent algorithm selected is a target detection algorithm, such as at least one of a face recognition algorithm, a vehicle recognition algorithm, a license plate recognition algorithm, a human recognition algorithm, and a head and shoulder recognition algorithm. In order to maximize the advantages of the algorithm of the intelligent device, the installation position and angle of the monitoring equipment need to be accurate.

[0051] In this embodiment, the pixel size Ra and the first resolution P of the image recognized by the intelligent algorithm are obtained. Specifically, the image recognized by the intelligent algorithm can be found from the historical images stored in the memory, and the first resolution P corresponding to the image can be obtained. In a picture, the target pixel width and height (or only the width) must reach a certain value to be recognized by the algorithm, such as 80*80 pixels. It is divided into two types: one is the absolute pixel size, that is, regardless of the picture resolution, the required pixel size is fixed; the other is the relative pixel size, that is, the required pixel size at a specific resolution, for example, the pixel width is 90 when the bitstream resolution is 1920*1080.

[0052] In one embodiment, if the pixel size Ra and the first resolution p of the image recognized by the intelligent algorithm fail to be obtained, the pixel size Ra and the first resolution P that match the code stream resolution of the monitoring device to be installed are set based on sample images in the image library.

[0053] Further, the display resolution R of the monitoring device to be installed and the bitstream resolution Rv of the monitoring device to be installed when performing video encoding are obtained. Specifically, the bitstream resolution of the historical encoding of the monitoring device to be installed can be found from the memory. The display resolution R is not the bitstream resolution, but the display resolution of the interactive interface (such as a web window page) after adapting to the operating system dialog window.

[0054] The conversion module 62 is configured to obtain a second resolution based on the bitstream resolution, the pixel size and the display resolution when the first resolution is an absolute resolution.

[0055] The second resolution Rc is obtained based on the code stream resolution Rv, the pixel size Ra and the display resolution R. In a specific embodiment, the size of the first direction of the second resolution Rc is obtained based on the size of the first direction of the code stream resolution Rv, the size of the first direction of the pixel size Ra, and the size of the first direction of the display resolution P. The first direction is the width direction. For example, the size of the first direction of the second resolution Rc is (Ra1*R1) / Rv1, wherein Ra1 is the size of the first direction of the pixel size Ra, R1 is the size of the first direction of the display resolution R, and Rv1 is the size of the first direction of the code stream resolution Rv. For example, if the pixel size Ra is (80*80), the code stream resolution Rv is (1920*1080), and the display resolution R is (800*800), the calculated size of the first direction of the second resolution Rc is (80*800) / 1920=33.

[0056] In one embodiment, the conversion module 62 is further used to obtain a second resolution (Rc) based on the relative resolution Ro, the pixel size Ra and the display resolution R when the first resolution is a relative resolution. Specifically, the size of the first direction of the second resolution is obtained based on the size of the first direction of the relative resolution Ro, the size of the first direction of the pixel size Ra and the size of the first direction of the display resolution R. For example, the size of the first direction of the second resolution Rc is (Ra1*R1) / Ro1. Among them, Ra1 is the size of the first direction of the pixel size Ra, R1 is the size of the first direction of the display resolution R, and Ro1 is the size of the first direction of the relative resolution Ro. For example, if the pixel size Ra is (80*80), the relative resolution Ro is (1920*1080), and the display resolution R is (800*800), the calculated size of the first direction of the second resolution Rc is (80*800) / 1920=33.

[0057] The processing module 63 is used for processing the first resolution based on the second resolution to obtain the recognition resolution of the recognition display frame.

[0058] Specifically, the first resolution P is processed using the size of the second resolution Rc in the first direction, thereby obtaining the recognition resolution of the recognition display frame. In one embodiment, the first resolution P and the second resolution Rc may be set to have the same width, for example, the size of the recognition resolution Pc of the recognition display frame in the first direction may be the same as the size of the second resolution Rc in the first direction. In another embodiment, the size of the recognition resolution Pc of the recognition display frame in the second direction may be set to be the same as the size in the first direction, for example, the recognition resolution Pc of the recognition display frame is (33*33). Specifically, Figure 2As shown in the figure, if the intelligent algorithm is a license plate recognition algorithm, the final recognition display box is Figure 2 As shown in the middle mark 1, when the vehicle license plate needs to be recognized, the license plate is enlarged to the size corresponding to the recognition display frame 1. The recognition resolution reflects the size of the recognition display frame. If the intelligent algorithm is a face recognition algorithm, the final recognition display frame is Figure 2 As shown in the middle label 2, when it is necessary to recognize a face, the face is enlarged to the size corresponding to the recognition display frame 2. If the intelligent algorithm is a shoulder recognition algorithm, the recognition display frame finally obtained is Figure 2 As shown in the middle label 3, when it is necessary to identify the shoulder of a person, the face is enlarged to the size corresponding to the identification display frame 3. If the intelligent algorithm is a human body recognition algorithm, the identification display frame finally obtained is Figure 2 As shown by the middle label 4, when the human body needs to be identified, the human body is enlarged to a size corresponding to the identification display frame 4.

[0059] The adjustment module 64 is used to adjust the installation parameters of the monitoring device to be installed based on the recognition resolution, and install the monitoring device to be installed based on the installation parameters.

[0060] Specifically, the installation parameters of the monitoring equipment to be installed are adjusted based on the recognition resolution. Specifically, based on the size of the recognition resolution, it is compared with the reference objects around the monitoring scene so that the size of the recognition resolution and the reference object are coordinated in proportion. In this way, after the monitoring equipment to be installed is installed, when the intelligent algorithm corresponding to the monitoring equipment to be installed is a license plate recognition algorithm, the license plate can be enlarged so that the size of the license plate in the display screen is larger than the size of the recognition resolution, or equal to the size of the recognition resolution. If the intelligent algorithm corresponding to the monitoring equipment to be installed is a human body recognition algorithm, the human body can be enlarged so that the size of the human body in the display screen is larger than the size of the recognition resolution, or equal to the size of the recognition resolution. In this way, the dependence on professionals can be reduced and the installation accuracy of the monitoring equipment can be improved.

[0061] In one embodiment, the adjustment module 64 is further configured to receive an adjustment instruction, and adjust the processed first resolution based on the adjustment instruction, so as to obtain the recognition resolution of the recognition display frame.

[0062] Specifically, if the processed first resolution cannot meet the requirement, the user can manually adjust it by inputting an adjustment instruction, and adjust the processed first resolution based on the adjustment instruction to obtain the recognition resolution of the recognition display frame.

[0063] Specifically, Figure 4As shown, after using the second resolution or processing the first resolution with the second resolution, an adjustment instruction can also be entered in the input box 5 to adjust the processed first resolution based on the adjustment instruction. Specifically, the adjustment instruction can adjust the size of the identification display box.

[0064] Adjust the installation parameters of the monitoring equipment to be installed based on the recognition resolution. Specifically, based on the size of the recognition resolution, compare it with the reference objects around the monitoring scene so that the size of the recognition resolution and the proportion of the reference objects are coordinated. In this way, after the monitoring equipment to be installed is installed, when the intelligent algorithm corresponding to the monitoring equipment to be installed is a license plate recognition algorithm, the license plate can be enlarged so that the size of the license plate in the display screen is larger than the size of the recognition resolution, or equal to the size of the recognition resolution. If the intelligent algorithm corresponding to the monitoring equipment to be installed is a human body recognition algorithm, the human body can be enlarged so that the size of the human body in the display screen is larger than the size of the recognition resolution, or equal to the size of the recognition resolution. In this way, the dependence on professionals can be reduced and the installation accuracy of the monitoring equipment can be improved.

[0065] See also Figure 6 , is a schematic diagram of the structure of an electronic device according to an embodiment of the present invention, the electronic device includes a memory 202 and a processor 201 connected to each other.

[0066] The memory 202 is used to store program instructions for implementing any one of the above methods.

[0067] The processor 201 is used to execute program instructions stored in the memory 202 .

[0068] The processor 201 may also be referred to as a CPU (Central Processing Unit). The processor 201 may be an integrated circuit chip having signal processing capabilities. The processor 201 may also be a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components. The general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.

[0069] The memory 202 can be a memory stick, a TF card, etc., which can store all the information in the electronic device of the device, including the input raw data, computer programs, intermediate operation results and final operation results are all stored in the memory. It stores and retrieves information based on the location specified by the controller. With the memory, the electronic device has a memory function to ensure normal operation. The memory of the electronic device can be divided into main memory (internal memory) and auxiliary memory (external memory) according to its use, and there is also a classification method of dividing it into external memory and internal memory. External memory is usually a magnetic medium or an optical disk, etc., which can store information for a long time. Memory refers to the storage component on the motherboard, which is used to store the data and programs currently being executed, but is only used to temporarily store programs and data. If the power is turned off or the power is cut off, the data will be lost.

[0070] In the several embodiments provided in the present application, it should be understood that the disclosed methods and devices can be implemented in other ways. For example, the device implementation described above is only schematic. For example, the division of modules or units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0071] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected based on actual needs to achieve the purpose of the present embodiment.

[0072] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0073] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or all or 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 a computer device (which can be a personal computer, a system server, or a network device, etc.) or a processor to execute all or part of the steps of the various implementation methods of the present application.

[0074] See also Figure 7 , which is a schematic diagram of the structure of the computer-readable storage medium of the present invention. The storage medium of the present application stores a program file 203 that can implement all the above methods, wherein the program file 203 can be stored in the above storage medium in the form of a software product, including a number of instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) or a processor (processor) to execute all or part of the steps of each implementation method of the present application. The aforementioned storage device includes: a U disk, a mobile hard disk, a read-only memory (ROM, Read-Only Memory), a random access memory (RAM, Random Access Memory), a disk or an optical disk, etc., which can store program codes, or terminal devices such as computers, servers, mobile phones, and tablets.

[0075] The above are only implementation modes of the present invention, and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.

Claims

1. A monitoring equipment installation and positioning method, It is characterized in that include: Obtain the pixel size of the target image required by the intelligent algorithm to identify the target, the first resolution of the image identified by the intelligent algorithm, and the display resolution and bitstream resolution of the monitoring device to be installed; In response to the first resolution being an absolute resolution, obtaining a second resolution based on the code stream resolution, the pixel size, and the display resolution, wherein a size of the second resolution in a first direction is equal to a ratio of a preset product to a size of the code stream resolution in the first direction, and the preset product is equal to a product of a size of the pixel size in the first direction and a size of the display resolution in the first direction; The first resolution is processed based on the second resolution to obtain an identification resolution of the identification display frame, wherein a size of the first resolution in the first direction after the processing is the same as a size of the second resolution in the first direction; The installation parameters of the monitoring device to be installed are adjusted using the recognition resolution, and the monitoring device to be installed is installed based on the installation parameters.

2. The method according to claim 1, It is characterized in that The method further comprises: In response to the first resolution being a relative resolution, a second resolution is obtained based on the relative resolution, the pixel size, and the display resolution.

3. The method according to claim 1, It is characterized in that The step of obtaining the second resolution based on the code stream resolution, the pixel size and the display resolution comprises: The size of the second resolution in the first direction is obtained based on the size of the code stream resolution in the first direction, the size of the pixel size in the first direction, and the size of the display resolution in the first direction.

4. The method according to claim 2, It is characterized in that The step of obtaining the second resolution based on the relative resolution, the pixel size and the display resolution comprises: The size of the first direction of the second resolution is obtained based on the size of the first direction of the relative resolution, the size of the first direction of the pixel size, and the size of the first direction of the display resolution.

5. The method according to claim 1, It is characterized in that The first direction is a width direction.

6. The method according to claim 1, It is characterized in that The method further comprises: In response to the failure to obtain the pixel size of the target image required by the intelligent algorithm to identify the target and the first resolution of the image already identified by the intelligent algorithm, the pixel size and the first resolution that match the code stream resolution of the monitoring device to be installed are set based on the sample images in the image library.

7. The method according to claim 1, It is characterized in that The intelligent algorithm includes: at least one of a face recognition algorithm, a vehicle recognition algorithm, a license plate recognition algorithm, a human body recognition algorithm, and a head and shoulder recognition algorithm.

8. The method according to claim 1, It is characterized in that After the step of processing the first resolution based on the second resolution to obtain the identification resolution of the identification display frame, the method further includes: An adjustment instruction is received, and the processed first resolution is adjusted based on the adjustment instruction, so as to obtain a recognition resolution of the recognition display frame.

9. A monitoring equipment installation and positioning device, It is characterized in that include: An acquisition module, used to acquire the pixel size of the target image required by the intelligent algorithm to identify the target and the first resolution of the image identified by the intelligent algorithm; a conversion module, in response to the first resolution being an absolute resolution, configured to obtain a second resolution based on a code stream resolution, the pixel size, and a display resolution, wherein a size of the second resolution in a first direction is equal to a ratio of a preset product to a size of the code stream resolution in the first direction, and the preset product is equal to a product of a size of the pixel size in the first direction and a size of the display resolution in the first direction; a processing module, configured to process the first resolution based on the second resolution to obtain an identification resolution for identifying a display frame, wherein a size of the first resolution in a first direction after the processing is the same as a size of the second resolution in the first direction; An adjustment module is used to adjust installation parameters of the monitoring device to be installed using the recognition resolution, and install the monitoring device to be installed based on the installation parameters.

10. An electronic device, It is characterized in that include: A memory and a processor, wherein the memory stores program instructions, and the processor retrieves the program instructions from the memory to execute the method according to any one of claims 1 to 8.

11. A computer-readable storage medium, It is characterized in that A program file is stored, and the program file can be executed to implement the method according to any one of claims 1 to 8.