Display method, control method, device and equipment
By displaying the electronic map of the target site in the design interface and automatically calculating the effective coverage area of the camera, the problem of high cost and low efficiency of camera deployment is solved, and efficient and accurate camera deployment is achieved.
Patent Information
- Application Number
- CN202010599205.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-06-28
- Publication Date
- 2025-08-05
- Estimated Expiration
- 2040-06-28
AI Technical Summary
In the prior art, camera deployment design is costly, low efficiency and low accuracy, and requires manual on-site survey and empirical judgment.
Provide an electronic map of the design interface to display the target place, obtain the camera placement parameters and installation parameters provided by the user, and automatically calculate and display the effective coverage area of the camera based on these parameters and the imaging requirements of the photographing object.
It reduces labor costs and improves the efficiency and accuracy of camera deployment design, so users can complete the design without on-site survey.
Smart Images

Figure CN113849949B_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the field of computer application technology, and in particular to a display method, a control method, an apparatus, and an equipment. Background Art
[0002] In order to meet the control needs of different application scenarios such as passenger flow analysis, monitoring, or identification, so as to provide better services, many offline places currently choose to install cameras, use the cameras to capture images of the photographed objects, and use image processing and other technologies to identify the objects, and then perform analysis and processing. Taking the passenger flow analysis scenario as an example, it is necessary to identify the human body or face to determine whether there is a human body, and then perform passenger flow statistics.
[0003] When installing cameras in offline places, you need to first clearly choose the type of camera, as well as the camera's installation height and orientation, so that it can cover the key areas of interest in the offline place and meet the imaging requirements in different application scenarios.
[0004] In existing technology, technicians typically conduct on-site surveys at offline locations to determine design parameters, such as camera parameters and installation methods. Construction crews then perform installation. After installation, technicians then use the image data collected by the cameras to determine if the design is reasonable and whether adjustments should be made. This approach requires manual on-site participation and relies entirely on manual experience for deployment and design, resulting in high costs, low efficiency, and limited accuracy. Summary of the Invention
[0005] The embodiments of the present application provide a display method, a control method, an apparatus and a device to solve the technical problems in the prior art of high cost, low efficiency and low accuracy of camera deployment design.
[0006] In a first aspect, an embodiment of the present application provides a display method, comprising:
[0007] Providing a design interface and displaying an electronic map of the target location in the design interface;
[0008] Obtaining placement parameters of the camera provided by the user in the electronic map, installation parameters of the camera in the target location, and camera parameters;
[0009] Determining an effective coverage area of the camera in the target location according to the placement parameters, the installation parameters, the camera parameters, and imaging requirements of the photographed object;
[0010] The effective coverage area is displayed on the electronic map.
[0011] In a second aspect, an embodiment of the present application provides a control method, including:
[0012] Obtain an electronic map of the target location;
[0013] Obtaining placement parameters of the camera in the electronic map, installation parameters of the camera in the target location, and camera parameters;
[0014] Determining an effective coverage area of the object in the target location according to the placement parameters, the installation parameters, the camera parameters, and imaging requirements of the object;
[0015] The effective coverage area is used to determine whether coverage requirements are met.
[0016] In a third aspect, an embodiment of the present application provides a display method, including:
[0017] Providing a design interface and displaying an electronic map of the target location in the design interface;
[0018] Obtaining a user's area of interest in the electronic map;
[0019] Determining placement parameters, installation parameters, and camera parameters of a camera corresponding to the user's area of interest based on imaging requirements of the photographed object;
[0020] The placement parameters, the installation parameters, and the camera parameters are displayed.
[0021] In a fourth aspect, an embodiment of the present application provides a display interface for displaying an electronic map of a target location and displaying an effective coverage area in the electronic map;
[0022] The effective coverage area is determined based on the imaging requirements of the photographed object, the placement parameters of the camera provided by the user in the electronic map, the installation parameters of the camera in the target location, and the camera parameters.
[0023] In a fifth aspect, an embodiment of the present application provides a display interface for displaying an electronic map of a target location, as well as camera placement parameters, installation parameters, and camera parameters;
[0024] The placement parameters, installation parameters and camera parameters of the camera are determined based on the user's focus area and the imaging requirements of the photographed object in the electronic map.
[0025] In a sixth aspect, an embodiment of the present application provides a display device, including:
[0026] A first display module is used to provide a design interface and display an electronic map of the target location in the design interface;
[0027] A parameter acquisition module, configured to acquire placement parameters of the camera provided by a user in the electronic map, installation parameters of the camera in the target location, and camera parameters;
[0028] an area determination module, configured to determine an effective coverage area of the camera in the target location based on the placement parameters, the installation parameters, the camera parameters, and imaging requirements of the object;
[0029] The second display module is used to display the effective coverage area on the electronic map.
[0030] In a seventh aspect, an embodiment of the present application provides a control device, comprising:
[0031] A first acquisition module is used to obtain an electronic map of a target location;
[0032] A second acquisition module is used to acquire placement parameters of the camera in the electronic map, installation parameters of the camera in the target location, and camera parameters;
[0033] A first calculation module is configured to determine an effective coverage area of the photographed object in the target location based on the placement parameters, the installation parameters, the camera parameters, and the imaging requirements of the photographed object;
[0034] The effective coverage area is used to determine whether coverage requirements are met.
[0035] In an eighth aspect, an embodiment of the present application provides a display device, comprising:
[0036] a third display module, configured to provide a design interface and display an electronic map of the target location in the design interface;
[0037] An area acquisition module, configured to acquire an area of interest to a user in the electronic map;
[0038] A parameter generation module, configured to determine placement parameters, installation parameters, and camera parameters of the camera corresponding to the user's area of interest based on the imaging requirements of the photographed object;
[0039] The fourth display module is used to display the placement parameters, the installation parameters and the camera parameters.
[0040] In a ninth aspect, an embodiment of the present application provides an electronic device, comprising a storage component, a display component, and a processing component; the storage component stores one or more computer program instructions; the one or more computer program instructions are called and executed by the processing component;
[0041] The processing component is used to:
[0042] Providing a design interface in the display component, and displaying an electronic map of the target location in the design interface;
[0043] Obtaining placement parameters of the camera provided by the user in the electronic map, installation parameters of the camera in the target location, and camera parameters;
[0044] Determining an effective coverage area of the camera in the target location according to the placement parameters, the installation parameters, the camera parameters, and imaging requirements of the photographed object;
[0045] The effective coverage area is displayed on the electronic map by the display component.
[0046] In a tenth aspect, an embodiment of the present application provides a computing device, including a processing component and a storage component;
[0047] The storage component stores one or more computer instructions; the one or more computer instructions are used to be called and executed by the processing component;
[0048] The processing component is used to:
[0049] Obtain an electronic map of the target location;
[0050] Obtaining placement parameters of the camera in the electronic map, installation parameters of the camera in the target location, and camera parameters;
[0051] Determining an effective coverage area of the object in the target location according to the placement parameters, the installation parameters, the camera parameters, and imaging requirements of the object;
[0052] The effective coverage area is used to determine whether coverage requirements are met.
[0053] In an eleventh aspect, an embodiment of the present application provides a computer storage medium storing a computer program, which, when executed by a computer, implements the display method described in the first aspect above.
[0054] In the twelfth aspect, an embodiment of the present application provides a computer storage medium storing a computer program, which, when executed by a computer, implements the control method described in the second aspect above.
[0055] In an embodiment of the present application, a design interface is provided to the user, and an electronic map of the target location is displayed in the design interface. Based on the camera parameters, installation parameters, placement parameters and imaging requirements of the subject provided by the user, the effective coverage area of the camera in the target location can be automatically calculated, and the effective coverage area can be displayed on the electronic map for the user to view. The user can determine whether the requirements are met based on the effective coverage area presented in the electronic map, so that the user can perform camera deployment design without on-site survey, thereby reducing labor costs and improving the efficiency and accuracy of camera deployment design.
[0056] These and other aspects of the present application will become more readily apparent from the description of the following embodiments. BRIEF DESCRIPTION OF THE DRAWINGS
[0057] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, a brief introduction will be given below to the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.
[0058] Figure 1 A flow chart of an embodiment of a display method provided by the present application is shown;
[0059] Figure 2 A schematic diagram showing an interface display of a design interface in a practical application of an embodiment of the present application is shown;
[0060] Figure 3a to Figure 3d Schematic diagrams of camera imaging in the camera coordinate system are shown respectively;
[0061] Figure 4 A flow chart showing an embodiment of a control method provided by the present application is shown;
[0062] Figure 5 shows a schematic structural diagram of the design system provided by this application;
[0063] Figure 6 A schematic structural diagram of an embodiment of a display device provided by the present application is shown;
[0064] Figure 7 A schematic structural diagram of an embodiment of an electronic device provided by the present application is shown;
[0065] Figure 8 A schematic structural diagram of an embodiment of a control device provided by the present application is shown;
[0066] Figure 9 A schematic structural diagram of an embodiment of a computing device provided by the present application is shown. DETAILED DESCRIPTION
[0067] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application.
[0068] In some of the processes described in the specification and claims of this application and the above-mentioned figures, multiple operations that appear in a specific order are included, but it should be clearly understood that these operations may not be executed in the order in which they appear in this document or may be executed in parallel. The serial numbers of the operations, such as 101, 102, etc., are only used to distinguish between different operations, and the serial numbers themselves do not represent any order of execution. In addition, these processes may include more or fewer operations, and these operations may be executed in sequence or in parallel. It should be noted that the descriptions of "first", "second", etc. in this document are used to distinguish different messages, devices, modules, etc., and do not represent a sequential order, nor do they limit "first" and "second" to being different types.
[0069] The technical solution of this application is mainly used in application scenarios where camera deployment designs exist in offline places. By deploying cameras in offline places, object images can be collected, and different analysis and processing can be performed in combination with the object images, thereby achieving different control needs, such as monitoring, identification, customer flow analysis, etc. Offline places can refer to some offline stores. With the advent of the new retail era, many offline stores can also achieve intelligent management, such as customer flow analysis through pedestrian recognition, and intelligent payment and access control through face recognition technology. These application scenarios all require cameras to be deployed in offline places first. At present, camera deployment designs are all completed by manual experience, requiring on-site surveys and manual analysis of collected images to determine whether the collection range covers the area that needs to be paid attention to, whether the objects of image collection meet the requirements of the algorithm, etc., which is costly, inefficient and has low accuracy.
[0070] In order to improve the efficiency and accuracy of camera deployment design and reduce labor costs, the inventors proposed the technical solution of the present application after a series of studies. The embodiment of the present application provides a design tool, which can provide users with a visual design interface and display an electronic map of the target location in the design interface. The user only needs to provide camera parameters, installation parameters and placement parameters. Based on the camera parameters, installation parameters and placement parameters and the imaging requirements of the shooting object, the effective coverage area of the camera can be automatically calculated and displayed on the electronic map. The user can intuitively view the effective coverage area in the electronic map to determine whether it meets the actual coverage requirements, etc., so that the user can complete the camera deployment design without going to the site, and the effective coverage area of the camera can be automatically calculated to help the user judge whether the design is reasonable, etc., thereby improving design efficiency and accuracy and reducing labor costs.
[0071] The following will be combined with the drawings in the embodiments of this application to clearly and completely describe the technical solutions in the embodiments of this application. Obviously, the embodiments described are only part of the embodiments of this application, not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by those skilled in the art without making creative efforts are within the scope of protection of this application.
[0072] Figure 1 This is a flowchart of an embodiment of a display method provided in an embodiment of the present application. The technical solution of this embodiment can be implemented by a design tool. In one possible implementation, the design tool can be a design system composed of a user end and a server end. In this case, the technical solution of this embodiment can be specifically implemented by the user end. In another possible implementation, the design tool can also be a device that integrates the functions of the user end and the server end.
[0073] The method may include the following steps:
[0074] 101: Provide a design interface, and display an electronic map of the target location in the design interface.
[0075] The electronic map may be a planar map of the target location, that is, a two-dimensional map.
[0076] 102: Obtaining the placement parameters of the camera in the electronic map, the installation parameters of the camera in the target location, and the camera parameters provided by the user.
[0077] Installation parameters may include, for example, the camera's installation height and angle within the target location. Since the target location is typically a three-dimensional space, the camera is typically installed at a certain height above the ground. The installation height may refer to the camera's height above the ground, while the installation angle may refer to the angle between the camera's orientation and the horizontal. The camera orientation may refer to the direction of the camera lens's center.
[0078] Since the camera has an installation height, in order to facilitate calculation and processing, a camera coordinate system can be established. The coordinate origin of the camera coordinate system can refer to the vertical intersection of the camera and the ground. The camera coordinate system can specifically be a spatial rectangular coordinate system.
[0079] The placement parameters may include, for example, the camera's position and orientation within the electronic map. Since electronic maps are flat, the corresponding electronic map coordinate system may be a rectangular coordinate system. The position parameter may refer to the position coordinates within the electronic map coordinate system, and the orientation parameter may refer to the rotation angle corresponding to the camera's orientation within the electronic map coordinate system. Assuming that the direction perpendicular to the ground in the camera coordinate system is the Z-axis, the electronic map refers to the electronic map corresponding to the plane containing the X-axis and Y-axis.
[0080] Camera parameters may include, for example, focal length, resolution, and CCD (Charge-Coupled Device) size. They may also include field of view (FOV), which can also be calculated based on these parameters. Typically, once a camera model is determined, its corresponding focal length, resolution, and CCD size are also determined, and the camera's FOV can be further calculated.
[0081] Optionally, a parameter input control may be provided in the design interface, and placement parameters, camera parameters, and installation parameters may be provided by the user in the parameter input control.
[0082] Therefore, step 102 may be to obtain the placement parameters of the camera in the electronic map, the installation parameters of the camera in the target location, and the camera parameters provided by the user in the parameter input control.
[0083] The parameter input controls may specifically include placement parameter input controls, installation parameter input controls, and camera parameter input controls. Users can provide the placement parameters of the camera on the electronic map in the placement parameter input control, the installation parameters of the camera in the target location in the installation parameter input control, and the camera parameters in the camera parameter input control.
[0084] Different parameter input controls can provide parameter options for users to select appropriate ones or provide input boxes for users to enter, etc.
[0085] 103: Determine an effective coverage area of the camera in the target location based on placement parameters, installation parameters, camera parameters, and imaging requirements of the object.
[0086] When the technical solution of this embodiment is executed by the user end, step 103 can specifically send the placement parameters, installation parameters, and camera parameters to the server end, and the server end determines the effective coverage area of the camera in the target location based on the placement parameters, installation parameters, camera parameters and imaging requirements of the photographed object, and can feed back the effective coverage area to the user end.
[0087] Among them, the imaging requirements of the photographed object can be determined in combination with the image processing algorithms required in different application scenarios. For example, a pedestrian recognition algorithm, such as a ReID (Person Re-identification) algorithm, is performed on the camera-captured image. The ReID algorithm requires human body or face recognition, and it has certain imaging requirements for the face width or human body width in the collected human body or face image. For example, the imaging requirement stipulates the minimum face pixel width or the minimum human body pixel width. Only images that meet the imaging requirements can realize pedestrian recognition.
[0088] The effective coverage area is located within the camera acquisition range. When the photographed object is located within the effective coverage area, the image captured by the camera can include the photographed object and can meet the imaging requirements corresponding to the image processing algorithm.
[0089] In this embodiment, based on the association between placement parameters, installation parameters, camera parameters, imaging requirements and the effective coverage area, the effective coverage area can be automatically calculated by combining the placement parameters, installation parameters, camera parameters and imaging requirements.
[0090] Since the image captured by the camera meets the imaging requirements when the object is located in the effective coverage area, if the effective coverage area meets the actual coverage requirements, such as the effective coverage area is a key area of interest in the target location, the camera can be selected and deployed according to the placement parameters, installation parameters, and camera parameters.
[0091] 104: Display the effective coverage area on the electronic map.
[0092] To facilitate user judgment of whether the effective coverage area meets actual coverage requirements, the effective coverage area can be displayed on an electronic map, for example, by marking the effective coverage area with a specific identifier. Since the electronic map is a map of the target location, the effective coverage area's location on the electronic map can be combined to determine whether it meets actual coverage requirements. For example, if pedestrian recognition is required at the entrance of the target location in an actual application, if the effective coverage area includes the entrance, then the actual coverage requirements are met, and camera selection and deployment can be performed according to the placement parameters, installation parameters, and camera parameters provided by the user.
[0093] In this embodiment, a visual design interface is provided to the user, and an electronic map of the target location is displayed in the design interface. The user only needs to provide camera parameters, installation parameters, and placement parameters. Based on the camera parameters, installation parameters, placement parameters, and imaging requirements for the object being photographed, the effective coverage area of the camera can be automatically calculated and displayed on the electronic map. The user can intuitively view the effective coverage area and determine whether it meets the requirements, etc., so that the user can complete the camera deployment design without going to the site, and the effective coverage area of the camera can be automatically calculated to help the user judge whether the design is reasonable, etc., thereby improving design efficiency and accuracy and reducing labor costs.
[0094] In some embodiments, after displaying the effective coverage area on the electronic map, the method may further include:
[0095] In response to an adjustment operation on the placement parameter, the installation parameter and / or the camera parameter, adjusting the placement parameter, the installation parameter and / or the camera parameter;
[0096] Adjust the effective coverage area according to the adjusted placement parameters, installation parameters and / or camera parameters;
[0097] The adjusted effective coverage area is displayed on the electronic map.
[0098] If the effective coverage area does not meet the actual coverage requirements, the user can adjust at least one of the placement parameters, installation parameters, and camera parameters to update the effective coverage area. The user can make multiple adjustments until the effective coverage area meets the actual coverage requirements.
[0099] In some embodiments, the method may further include:
[0100] In response to a confirmation operation on the effective coverage area, determining target placement parameters, target installation parameters, and target camera parameters currently corresponding to the effective coverage area;
[0101] Send the target placement parameters, target installation parameters, and target camera parameters to relevant personnel.
[0102] If the effective coverage area generated based on the placement parameters, camera parameters, and installation parameters provided or adjusted by the user meets the actual coverage requirements, the user can confirm the effective coverage area. The target placement parameters, target installation parameters, and target camera parameters corresponding to the current effective coverage area can then be sent to relevant personnel for camera selection and deployment.
[0103] Among them, there can be many ways to send the target placement parameters, target installation parameters and camera parameters to relevant personnel. For example, based on the corresponding communication account of the relevant personnel, such as an email account, mobile communication number, or instant messaging account, etc., they are sent to the relevant personnel in the form of email, short message or voice communication, or instant messaging message. This application does not impose specific restrictions on this.
[0104] Of course, as another optional method, in response to the confirmation operation for the effective coverage area, after determining the target placement parameters, target installation parameters and target camera parameters currently corresponding to the effective coverage area, the target placement parameters, target installation parameters and target camera parameters can also be displayed in the design interface, and the user can verbally notify relevant personnel, etc.
[0105] As can be seen from the above description, parameter input controls can be provided in the design interface, and placement parameters, camera parameters, and camera parameters can be obtained by users in the parameter input controls.
[0106] The parameter input control may include a camera parameter input control, an installation parameter input control, and a placement parameter input control; obtaining the placement parameters of the camera in the electronic map, the installation parameters of the camera in the target location, and the camera parameters provided by the user in the parameter input control may include:
[0107] Obtain the placement parameters of the camera in the electronic map provided by the user in the placement parameter input control;
[0108] Obtain the installation parameters of the camera in the target location provided by the user in the installation parameter input control;
[0109] Gets the camera parameters provided by the user in the camera parameter input control.
[0110] The user may adjust the placement parameters in the placement parameter input control, the installation parameters in the installation parameter input control, or the camera parameters in the camera parameter input control.
[0111] In actual applications, placement parameters may include position parameters and direction parameters, so the placement parameter input control may include a position parameter input control and a direction parameter input control. Users may provide position parameters in the position parameter input control and direction parameters in the direction parameter input control.
[0112] The installation parameters may include an installation height and an installation angle. Therefore, the installation parameter input control may include an installation height input control and an installation angle input control. The user may provide the installation height in the installation height input control and the installation angle in the installation angle input control.
[0113] Camera parameters may be determined by different camera models. In some embodiments, the camera parameter input control may include a camera model selection control. The camera model selection control may provide multiple camera models for the user to select. Therefore, obtaining the camera parameters provided by the user in the camera parameter input control may include:
[0114] In response to a camera model selected by a user in a camera model selection control, camera parameters corresponding to the camera model are determined.
[0115] The camera parameter input control may further include a camera parameter display control for displaying the camera parameters corresponding to the camera model selected by the user.
[0116] In addition, placement parameters, installation parameters and / or camera parameters can also be adjusted.
[0117] Among them, the adjustment operation for the placement parameter includes the adjustment operation for the position parameter and / or the adjustment operation for the direction parameter. Optionally, the position parameter input control may include a position parameter display control and a position parameter adjustment control, and the position parameter can be displayed in the position parameter display control; the adjustment operation for the position parameter can specifically refer to a trigger operation for the position parameter adjustment control, and each time the position parameter adjustment control is triggered, the current position parameter value displayed in the position parameter display control can be updated. As a possible implementation method, the position parameter adjustment control may include, for example, a value increase button and a value decrease button. Each time the value increase button is triggered, a first predetermined value can be added to the current position parameter value, and each time the value decrease button is triggered, a second predetermined value can be subtracted from the current position parameter value. Of course, the position parameter adjustment control can also be implemented in other forms, such as a sliding control with a slider, and different positions of the slider in the sliding control can correspond to different position parameter values, etc. This application does not specifically limit the specific implementation form of the position parameter adjustment control.
[0118] Of course, the adjustment operation on the position parameter can also be an operation to modify the position parameter displayed in the position parameter input control. The user can directly enter the value to be adjusted in the position parameter control.
[0119] Optionally, the direction parameter input control may include a direction parameter display control and a direction parameter adjustment control. The direction parameter may be displayed in the direction parameter display control. The adjustment operation for the direction parameter may specifically refer to a triggering operation for the direction parameter adjustment control. Each time the direction parameter adjustment control is triggered, the current direction parameter value displayed in the direction parameter display control may be updated. As a possible implementation, since the direction parameter may be represented by the rotation angle of the camera orientation in the electronic map coordinate system, the direction parameter adjustment control may include a sliding control. By dragging the slider in the sliding control to different positions, different angle values may be corresponded to achieve adjustment of the rotation angle. Of course, the direction parameter adjustment control may also be implemented in other forms, such as including a value increase button and a value decrease button, etc. The triggering operation for the value increase button or the value decrease button may increase or decrease the corresponding value based on the current direction parameter value, etc. This application does not specifically limit the specific implementation form of the direction parameter adjustment control.
[0120] Of course, the adjustment operation on the direction parameter can also be an operation to modify the direction parameter displayed in the direction parameter control. The user can directly enter the value to be adjusted in the direction parameter control.
[0121] Among them, the adjustment operation for the installation parameters may include an adjustment operation for the installation height and / or an adjustment operation for the installation direction. Optionally, the installation height input control may include an installation height display control and an installation height adjustment control, and the installation height value may be displayed in the installation height display control; the adjustment operation for the installation height may specifically refer to a triggering operation on the installation height adjustment control, and each time the installation height adjustment control is triggered, the current installation height value displayed in the installation height display control may be updated. As a possible implementation method, the installation height adjustment control may, for example, include a value increase button and a value decrease button. Each triggering operation of the value increase button may increase the current installation height value by a third predetermined value, and each triggering operation of the value decrease button may decrease the current installation height value by a fourth predetermined value. Of course, the installation height adjustment control may also be implemented in other forms, such as a sliding control with a slider, and different positions of the slider in the sliding control may correspond to different installation height values, etc. This application does not specifically limit the specific implementation form of the installation height adjustment control.
[0122] Of course, the operation of adjusting the installation height may also be an operation of modifying the installation height displayed in the installation height input control, and the user may directly input the value to be adjusted in the installation height control.
[0123] Optionally, the installation angle input control may include an installation angle display control and an installation angle adjustment control, and the installation angle value may be displayed in the installation angle display control; the adjustment operation for the installation angle may refer to a triggering operation on the installation angle adjustment control, and each time the installation angle adjustment control is triggered, the current installation angle value displayed in the installation angle adjustment control may be updated. As a possible implementation method, the installation angle adjustment control may include, for example, a numerical value increase button and a numerical value decrease button, and each triggering operation of the numerical value increase button may increase the fifth predetermined value based on the current installation angle value, and each triggering operation of the numerical value decrease button may decrease the sixth predetermined value based on the current installation angle value. Of course, the installation angle adjustment control may also be implemented in other forms, such as a sliding control with a slider, and different positions of the slider in the sliding control may correspond to different installation angle values, etc. This application does not specifically limit the specific implementation form of the installation angle adjustment control.
[0124] Of course, the operation of adjusting the installation angle can also be an operation of modifying the installation angle displayed in the installation angle input control. The user can directly enter the value to be adjusted in the installation height control.
[0125] Since the camera parameter input control may include a camera model selection control and a camera parameter display control, the corresponding camera parameters may be determined based on the camera model selected by the user and displayed in the parameter display control. In some embodiments, the camera parameter adjustment operation may refer to a reselection operation on the camera model selection control, so that the adjusted camera parameters are determined based on the camera model reselected by the user and the camera parameter display control is updated.
[0126] In addition, since the placement parameters refer to the parameters of the camera in the electronic map coordinate system, in order to facilitate the user to determine the placement parameters, a camera marking function can also be provided in the electronic map. Therefore, in some embodiments, the method can also include:
[0127] In response to a camera marking operation on the electronic map, determining initial placement parameters of the camera on the electronic map;
[0128] The initial placement parameters are displayed in the placement parameter input control.
[0129] That is, the user can directly mark the electronic map, and the system determines the initial placement parameters of the camera at the marked position based on the marked position.
[0130] The user may also make appropriate adjustments based on the initial placement parameters to obtain the placement parameters. Therefore, in some embodiments, obtaining the placement parameters of the camera in the electronic map provided by the user in the placement parameter input control may include:
[0131] In response to the user's adjustment operation on the initial placement parameters, the placement parameters of the camera in the electronic map are determined.
[0132] The placement parameter input control may include corresponding adjustment controls. The specific implementation of the adjustment operation for the initial placement parameters is the same as the adjustment operation for the placement parameters described above. Please refer to the above description for details and will not be repeated here.
[0133] Among them, the adjustment operation for the initial placement parameters can be empty, that is, the initial placement parameters can be used as placement parameters to participate in the calculation of the effective coverage area.
[0134] Among them, the user can perform a camera marking operation at the corresponding position in the electronic map in combination with the area that needs to be paid attention to in the electronic map. The camera marking operation can, for example, refer to a click operation at the corresponding position on the electronic map. The click operation can, for example, be performed by a mouse, or the design interface can be displayed on a touch screen and can be performed by a finger or other touch object.
[0135] In some embodiments, the method may further include:
[0136] Provide camera markup controls in the design interface;
[0137] In response to a user's camera marking operation on the electronic map, determining initial placement parameters of the camera on the electronic map may include:
[0138] Detect the selection operation of the camera mark control and switch the electronic map to the mark state;
[0139] In response to a camera marking operation performed by a user in an electronic map in a marking state, initial placement parameters of the camera in the electronic map are determined.
[0140] That is, you can first switch the electronic map to the marking state, and then perform the camera marking operation.
[0141] For ease of understanding, the following diagram introduces the design interface. Figure 2 FIG2 shows a possible interface diagram of a design interface in an actual application. In the design interface 200, an electronic map 21 of a target location can be displayed. In actual application, the target location can be an offline store such as a shopping mall, supermarket, or convenience store. Optionally, the electronic map can be displayed in the first area of the design interface.
[0142] In addition, a second area can be provided in the design interface 200 for displaying parameter input controls. As described above, the parameter input controls can include camera parameter input controls, and the camera parameter input controls can include camera model selection controls 22, which can provide a variety of camera model options for users to choose from. Based on the camera model selected by the user, the corresponding camera parameters can be determined and displayed in the camera parameter display control 23. The camera parameters can include, for example, focal length and resolution.
[0143] The parameter input controls may also include installation parameter input controls, which may include an installation height input control 24 and an installation angle input control 25. The installation height input control 24 may, for example, include an installation height display control and an installation height adjustment control. The installation angle input control 25 may, for example, include an installation angle display control and an installation angle adjustment control.
[0144] The parameter input control may also include a position parameter input control, wherein the position parameter input control may include a position parameter input control 26 and a direction parameter input control 27. The position parameter input control 26 may include a position parameter display control and a position parameter adjustment control; the direction parameter input control 27 may include a direction parameter display control and a direction parameter adjustment control. Figure 2 It can be seen that the direction parameter adjustment control can be a sliding control.
[0145] In addition, the design interface may further include, for example, a save control 28 , and a triggering operation for the save control may, for example, implement a confirmation operation on the effective coverage area.
[0146] In addition, the design interface may further include a camera mark control 29. The selection operation of the camera mark control 29 may switch the electronic map to a mark state, thereby enabling the camera mark operation to be performed in the electronic map, such as Figure 2 In the example, the camera marker 300 can be placed at any position on the electronic map, and the initial placement parameters on the electronic map can be generated accordingly. Of course, based on the placement parameters provided or adjusted in the placement parameter input control, the position of the camera marker 300 on the electronic map 21 can also be adjusted accordingly.
[0147] In addition, an effective coverage area can be generated based on the placement parameters, installation parameters and camera parameters in the parameter input control, and the effective coverage area 30 can be displayed on the electronic map 21 to facilitate users to check whether the effective coverage area 30 meets actual coverage requirements, etc.
[0148] In order to facilitate the user to provide placement parameters, installation parameters, and camera parameters, in some embodiments, the method may further include:
[0149] Determine the user's area of interest, and determine the initial placement parameters, initial installation parameters, and initial camera parameters of the camera corresponding to the user's area of interest;
[0150] Displaying initial placement parameters in the placement parameter input control, displaying initial installation parameters in the installation input control, and displaying initial camera parameters in the camera parameter input control;
[0151] The placement parameters of the camera in the electronic map provided by the user in the placement parameter input control are:
[0152] In response to an adjustment operation on the initial placement parameters, obtaining placement parameters of the camera in the electronic map;
[0153] The installation parameters of the camera in the target location provided by the user in the installation parameter input control are obtained as follows:
[0154] In response to an adjustment operation on the initial installation parameters, obtaining installation parameters of the camera in the target location;
[0155] The camera parameters provided by the user in the camera parameter input control are:
[0156] In response to the adjustment operation on the initial parameters of the camera, installation parameters of the camera in the target location are obtained.
[0157] That is, initial placement parameters, initial installation parameters, and initial camera parameters can be automatically generated based on the user's area of interest and displayed in the corresponding input controls. The user can adjust the initial placement parameters, initial installation parameters, and initial camera parameters to obtain the desired placement parameters, installation parameters, and camera parameters. The initial placement parameters, initial installation parameters, and initial camera parameters can be generated by combining the user's area of interest and the imaging requirements of the photographed object. The user's area of interest can be considered to be the user's desired effective coverage area. Therefore, the correlation between the placement parameters, installation parameters, camera parameters, imaging requirements, and the effective coverage area can be calculated.
[0158] Among them, the parameter input control can include corresponding adjustment controls. The specific implementation of the adjustment operations for the initial placement parameters, initial installation parameters and initial camera parameters is the same as the adjustment operations for the placement parameters, installation parameters and camera parameters described above. Please refer to the above description for details and will not be repeated here.
[0159] The user's attention area may be provided in advance by the user or may be obtained by marking on an electronic map. Therefore, in some embodiments, determining the user's attention area may include:
[0160] In response to a user's area selection operation in the electronic map, a selected user-focused area is determined.
[0161] To facilitate the user in determining whether the effective coverage area meets the actual coverage requirements, in some embodiments, the method may further include:
[0162] Check whether the effective coverage area meets the coverage requirements;
[0163] If not, a parameter adjustment prompt message will be displayed in the design interface.
[0164] The coverage requirement may be preset in combination with actual coverage needs. For example, it may mean that the overlap rate between the preset area and the effective coverage area in the electronic map is greater than a preset value.
[0165] Because placement parameters, installation parameters, camera parameters, and imaging requirements are correlated with the effective coverage area, the effective coverage area can be automatically calculated by combining these parameters. For easier understanding, the following details the calculation of the effective coverage area.
[0166] In some embodiments, determining the effective coverage area of the subject in the target location based on placement parameters, installation parameters, camera parameters, and imaging requirements of the subject includes:
[0167] Determine a first shooting range corresponding to the object in the camera coordinate system according to camera parameters, installation parameters, and the height of the center of the object above the ground;
[0168] Determine the maximum effective distance between the target object and the camera based on the camera parameters and the imaging requirements of the object;
[0169] Determine the camera imaging surface based on the maximum effective distance;
[0170] Determining a second shooting range that meets the imaging requirements of the object based on the height of the center of the object from the ground and the camera imaging plane;
[0171] determining an effective shooting range based on the first shooting range and the second shooting range;
[0172] Based on the placement parameters, the effective shooting range is mapped to the effective coverage area in the electronic map.
[0173] The camera coordinate system can be defined as the vertical intersection of the camera and the ground as the coordinate origin, the direction perpendicular to the ground as the Z axis, and the direction perpendicular to the camera imaging plane as the X axis. Based on the camera parameters, installation parameters, and the height of the center of the object above the ground, the first shooting range corresponding to the object in the camera coordinate system can be determined as follows:
[0174] According to the camera parameters, the installation parameters and the height of the center of the photographed object from the ground, a first effective distance corresponding to the photographed object on the X-axis is determined.
[0175] That is, the first shooting range may refer to a first effective distance corresponding to the shooting object in the X-axis direction.
[0176] like Figure 3a As shown in the figure, it is a schematic diagram of the plane where the X-axis and Z-axis of the camera coordinate system are located, corresponding to the camera imaging cross-section. The coordinate origin O is the vertical intersection of the camera and the ground. The installation parameters can include the installation height h c And the installation angle a. The installation angle a can refer to the angle between the center direction of the lens and the horizontal line direction, which can also be called the downward tilt angle of the camera.
[0177] Camera parameters may include CCD size, such as CCD width w and CCD height h. In addition, they may also include focal length f and resolution W*H.
[0178] Based on the CCD width w and focal length f, the vertical field of view angle fov of the camera in the vertical direction can be calculated col , for example, it can be calculated according to the following vertical field of view angle calculation formula:
[0179] fov col =2*arctan(w / 2f);
[0180] Assume that the height of the subject's center from the ground is h p ,like Figure 3a The trigonometric function relationship shown in can be used to calculate the length of line segment AB according to the following first distance calculation formula, which is mapped to the plane where the X-axis is located to obtain the corresponding first effective distance EF. The first distance calculation formula is:
[0181]
[0182] The subject imaging requirement may refer to the width requirement of the subject as determined by the image processing algorithm. For example, image processing algorithms typically require a minimum pixel width for the subject. In practical applications, the subject may be a human body or a face. Therefore, the subject imaging requirement may refer to the minimum pixel width for the human body or the minimum pixel width for the face, calculated based on the average width of the subject. This subject imaging requirement may mean that the average width of the subject on the camera image must reach the minimum pixel width. Therefore, the subject imaging requirement may include at least the average width and the minimum pixel width.
[0183] Assume that the camera is shooting the subject, such as Figure 3b As shown in , it is a schematic diagram of the plane where the X-axis and Y-axis of the camera coordinate system are located, corresponding to the top view of the camera imaging.
[0184] According to the camera parameters and the imaging requirements of the object, the maximum effective distance between the target object and the camera can be determined. The horizontal field of view angle (fov) of the camera can be calculated according to the following horizontal field of view angle calculation formula. raw :
[0185] fov raw =2*arctan(h / 2f).
[0186] Combining the pinhole imaging model and the principle of similar triangles, such as Figure 3b As shown in , according to the camera resolution W*H, the average object width M face , minimum object pixel width l face , horizontal field of view fov raw , that is, the minimum effective distance l between the subject and the camera can be calculated according to the following effective distance calculation formula face .
[0187]
[0188] Based on the maximum effective distance, the camera imaging surface l can be determined far .
[0189] like Figure 3c Schematic diagram of the plane where the X-axis and Z-axis of the camera coordinate system are located, corresponding to the camera imaging cross-section diagram, showing the minimum effective distance l in the imaging cross-section diagram face The camera imaging surface l fa .
[0190] Then, based on the height of the center of the photographed object from the ground and the imaging plane of the camera, the second photographing range that meets the imaging requirements of the photographed object can be determined as follows:
[0191] Determine a second effective distance of the object on the X-axis that meets the imaging requirements of the object based on the height of the center of the object from the ground and the camera imaging plane;
[0192] Specifically, based on the height h of the center of the photographed object from the ground p , we can get the straight line z=h p ; Camera imaging surface l far Mapping to the plane where the X-axis and Z-axis are located, we can get the straight line l far , the two straight lines intersect at point P. Based on the intersection calculation formula of the two straight lines, the coordinates of the intersection point P can be calculated. The intersection point P is projected onto the X-axis to obtain the coordinates of point Q. The second effective distance refers to the length of line segment OQ, which can be calculated based on the coordinates of point Q.
[0193] The effective shooting range may be determined based on the first shooting range and the second shooting range:
[0194] Obtaining an effective distance range based on the first effective distance and the second effective distance;
[0195] Combined with the horizontal field of view of the camera, the effective distance range is mapped to the effective shooting range formed on the horizontal plane formed by the X-axis and the Y-axis.
[0196] Specifically, the effective distance range may be a distance range corresponding to an overlapping area of the first effective distance and the second effective distance, that is, Figure 3c The midline segment EQ is the effective distance range, which can be calculated according to the following intersection calculation formula:
[0197] OQ∩EF=EQ.
[0198] Since the effective distance range EQ is the distance range on the X axis, and the electronic map of the target location is a flat map, the horizontal field of view angle fov of the camera is combined with the raw , the effective distance range can be mapped to the horizontal plane formed by the X-axis and Y-axis to obtain the effective shooting range.
[0199] like Figure 3d The schematic diagram of the plane where the X-axis and Y-axis of the camera coordinate system are located is also a top view of the camera imaging, showing the effective shooting range, which is a trapezoidal shape, corresponding to the four vertices E1, E2, Q1 and Q2.
[0200] Since the effective shooting range is relative to the camera coordinate system, in order to display it on an electronic map, the effective shooting range can be mapped to the electronic map coordinate system in combination with the placement parameters to obtain the effective coverage area. Therefore, based on the placement parameters, the effective shooting range can be mapped to the effective coverage area on the electronic map as follows:
[0201] The camera coordinates of the effective shooting range are converted into map coordinates in the electronic map coordinate system by combining the position parameters and the direction parameters to obtain the corresponding effective coverage area in the electronic map.
[0202] The placement parameters may include the position parameter and direction parameter of the camera in the electronic map; the position parameter may refer to a coordinate offset, and the direction parameter may refer to a rotation angle of the camera's orientation.
[0203] Therefore, the camera coordinates corresponding to the effective shooting range can be multiplied by the rotation angle, and then added with the coordinate offset to convert them into corresponding map coordinates in the electronic map coordinate system. Based on the map coordinates corresponding to the four vertices, the effective coverage area can be drawn on the electronic map.
[0204] In addition, as another embodiment, the present application also provides a display method, which may include the following steps:
[0205] A1: Provide a design interface and display an electronic map of the target location in the design interface;
[0206] A2: Obtain the user's area of interest on the electronic map;
[0207] A3: Based on the imaging requirements of the subject, determine the camera placement parameters, installation parameters, and camera parameters corresponding to the user's area of interest;
[0208] A4: Displays placement parameters, installation parameters, and camera parameters.
[0209] The acquiring of the user's attention area in the electronic map may be determining the selected user's attention area in response to a user's area selection operation in the electronic map.
[0210] That is, the user can select a user-focused area in the electronic map, and the user-focused area can be considered as the effective coverage area of the camera desired by the user. Therefore, the camera placement parameters, installation parameters and camera parameters can be calculated based on the user-focused area, and the placement parameters, installation parameters and camera parameters can be displayed in the design interface to facilitate the user to obtain the corresponding design parameters of the camera. By simply providing the user-focused area, the camera design parameters can be automatically calculated, thereby improving design efficiency and accuracy and reducing labor costs.
[0211] Among them, the relationship between placement parameters, installation parameters, camera parameters, imaging requirements and effective coverage area can be combined with the user's focus area and imaging requirements to automatically calculate the placement parameters, installation parameters and camera parameters. Among them, the relationship between placement parameters, installation parameters, camera parameters, imaging requirements and effective coverage area can be combined with the user's focus area and imaging requirements to automatically calculate the placement parameters, installation parameters and camera parameters. Figure 3a to Figure 3d , please see the above description for details, and will not be repeated here.
[0212] Parameter input controls can be provided in the design interface, and placement parameters, installation parameters, and camera parameters can be displayed in the parameter input controls. The parameter input controls can include corresponding camera parameter input controls, installation parameter input controls, and placement parameter input controls, so that placement parameters can be displayed in the placement parameter input control, installation parameters can be displayed in the installation input control, and camera parameters can be displayed in the camera parameter input control.
[0213] In some embodiments, the method may further include:
[0214] In response to an adjustment operation on the placement parameter, the installation parameter and / or the camera parameter, adjusting the placement parameter, the installation parameter and / or the camera parameter;
[0215] Generate an effective coverage area based on the imaging requirements of the subject and the adjusted placement parameters, installation parameters, and / or camera parameters;
[0216] Display the effective coverage area on the electronic map.
[0217] That is, users can adjust placement parameters, installation parameters, and camera parameters to adjust the user's area of interest and obtain an effective coverage area. Users can then determine whether the effective coverage area meets actual coverage requirements, allowing users to complete camera deployment design without having to go on-site, helping users determine whether the design is reasonable, etc., thereby improving design efficiency and accuracy and reducing labor costs.
[0218] Of course, the effective coverage area may also be further adjusted. The specific implementation can be found in the corresponding embodiments above and will not be described in detail here.
[0219] Among them, the adjustment operations for placement parameters, installation parameters and / or camera parameters can be performed in the corresponding parameter input controls. The specific implementation form and adjustment method of the parameter input controls can be found in the above description.
[0220] In some embodiments, the method may further include:
[0221] In response to a confirmation operation on the effective coverage area, determining target placement parameters, target installation parameters, and target camera parameters currently corresponding to the effective coverage area;
[0222] Send the target placement parameters, target installation parameters, and target camera parameters to relevant personnel.
[0223] In other words, if the effective coverage area meets the actual coverage requirements, the user can confirm the effective coverage area. The target placement parameters, target installation parameters, and target camera parameters corresponding to the current effective coverage area can then be sent to relevant personnel for camera selection and deployment.
[0224] Of course, the user can also perform confirmation operations on the placement parameters, installation parameters and camera parameters corresponding to the user's area of interest, so that the placement parameters, installation parameters and camera parameters corresponding to the user's area of interest can be used as target placement parameters, target installation parameters and target camera parameters and sent to relevant personnel.
[0225] Figure 4 This is a flow chart of an embodiment of a control method provided by the present application. The method may include the following steps:
[0226] 401: Obtain an electronic map of the target location.
[0227] 402: Obtain the placement parameters of the camera in the electronic map, the installation parameters of the camera in the target location, and the camera parameters.
[0228] Among them, placement parameters, installation parameters and camera parameters can be provided by the user.
[0229] 403: Determine an effective coverage area of the subject in the target location based on placement parameters, installation parameters, camera parameters, and imaging requirements of the subject.
[0230] The effective coverage area is used to determine whether coverage requirements are met. The coverage requirements can be determined based on actual coverage needs.
[0231] In this embodiment, based on the camera parameters, installation parameters, placement parameters and imaging requirements of the subject, the effective coverage area of the camera can be automatically calculated. The effective coverage area can be used to determine whether the actual coverage requirements are met, which can help users judge whether the design is reasonable. Users can complete the camera deployment design without going to the site, thereby improving design efficiency and accuracy and reducing labor costs.
[0232] As an optional method, after determining the effective coverage area of the photographed object in the target location, the following method may also be included:
[0233] Output the effective coverage area.
[0234] Figure 4 When the technical solution shown can be executed by a server, in some embodiments, after obtaining an electronic map of the target location, the method may further include:
[0235] Display the electronic map in the client's design interface.
[0236] Then the output effective coverage area can be:
[0237] The effective coverage area is sent to the client so that the client can display the effective coverage area on an electronic map.
[0238] As another optional method, after determining the effective coverage area of the photographed object in the target location, the following method may also be included:
[0239] Check whether the effective coverage area meets the coverage requirements;
[0240] If yes, send the placement parameters, installation parameters, and camera parameters to relevant personnel;
[0241] If not, output parameter adjustment prompt information.
[0242] Figure 4When the technical solution shown can be executed by the server, the output parameter adjustment prompt information can be displayed in the design interface of the client to prompt the user to adjust the parameters, etc.
[0243] Since the parameters can be adjusted, in some embodiments, the method may further include:
[0244] Obtaining adjusted placement parameters, installation parameters, and / or camera parameters, and adjusting the effective coverage area;
[0245] Adjust the effective coverage area based on the adjusted placement parameters, installation parameters, and / or camera parameters.
[0246] In addition, the adjusted effective coverage area may be sent to the client, and the client may display the adjusted effective coverage area on an electronic map.
[0247] In some embodiments, obtaining the placement parameters of the camera in the electronic map, the installation parameters of the camera in the target location, and the camera parameters may include:
[0248] Display parameter input controls in the client's design interface;
[0249] Obtain the camera placement parameters in the electronic map, the camera installation parameters in the target location, and the camera parameters provided by the user in the parameter input control sent by the client.
[0250] In some embodiments, the method may further include:
[0251] receiving the adjusted placement parameters, installation parameters and / or camera parameters sent by the client based on the user adjustment operation,
[0252] Adjust the effective coverage area according to the adjusted placement parameters, installation parameters and / or camera parameters;
[0253] The adjusted effective coverage area is displayed on the electronic map.
[0254] The user adjustment operation may be performed on placement parameters, installation parameters and / or camera parameters in the parameter input control.
[0255] The parameter input control may include corresponding adjustment controls to facilitate the user to perform adjustment operations. The specific implementation can be found in the above description and will not be repeated here.
[0256] In some embodiments, the method may further include:
[0257] Receiving target placement parameters, target installation parameters, and target camera parameters corresponding to the effective coverage area sent by the client based on the user's confirmation operation on the effective coverage area;
[0258] Send the target placement parameters, target installation parameters, and target camera parameters to relevant personnel.
[0259] The corresponding operations performed on the client can be found in Figure 1 The above is described in the embodiment shown and will not be repeated here.
[0260] In some embodiments, determining the effective coverage area of the subject in the target location based on placement parameters, installation parameters, camera parameters, and imaging requirements of the subject may include:
[0261] Determine a first shooting range corresponding to the object in the camera coordinate system according to camera parameters, installation parameters, and the height of the center of the object above the ground;
[0262] Determine the maximum effective distance between the target object and the camera based on the camera parameters and the imaging requirements of the object;
[0263] Determine the camera imaging surface based on the maximum effective distance;
[0264] Determining a second shooting range that meets the imaging requirements of the object based on the height of the center of the object from the ground and the camera imaging plane;
[0265] determining an effective shooting range based on the first shooting range and the second shooting range;
[0266] Based on the placement parameters, the effective shooting range is mapped to the effective coverage area in the electronic map.
[0267] In some embodiments, the camera coordinate system has a coordinate origin at a perpendicular intersection of the camera and the ground, a Z-axis direction perpendicular to the ground, and an X-axis direction perpendicular to the camera imaging plane;
[0268] Therefore, according to the camera parameters, the installation parameters, and the height of the center of the photographed object from the ground, determining the first photographing range corresponding to the photographed object in the camera coordinate system may include:
[0269] Determine a first effective distance corresponding to the object on the X-axis based on camera parameters, installation parameters, and the height of the object above the ground;
[0270] Determining the second shooting range that meets the imaging requirements of the object may include:
[0271] Determine a second effective distance of the object on the X-axis that meets the imaging requirements of the object based on the height of the center of the object from the ground and the camera imaging plane;
[0272] Based on the first shooting range and the second shooting range, determining the effective shooting range may include:
[0273] Obtaining an effective distance range based on the first effective distance and the second effective distance;
[0274] Combined with the horizontal field of view of the camera, the effective distance range is determined and mapped to the effective shooting range formed on the horizontal plane formed by the X-axis and the Y-axis.
[0275] In some embodiments, the placement parameters may include position parameters and direction parameters of the camera in the electronic map;
[0276] Based on the placement parameters, mapping the effective shooting range to the effective coverage area in the electronic map may include:
[0277] The camera coordinates of the effective shooting range are converted into map coordinates in the electronic map coordinate system by combining the position parameters and the direction parameters to obtain the corresponding effective coverage area in the electronic map.
[0278] Among them, according to the placement parameters, installation parameters, camera parameters and imaging requirements of the object, the specific implementation method of determining the effective coverage area of the object in the target place can be described in detail above. Figure 3a to Figure 3d For ease of understanding, I will not go into details here.
[0279] As can be seen from the above description, the technical solution of this application can be executed by a design system composed of a client and a server, such as Figure 5 , shows a structural diagram of the design system, including a server 501 and a client 502. The server 501 can be a cloud server, and the client 502 can be configured in an electronic device such as a mobile phone or a personal computer, such as Figure 5 As shown in FIG, the client 502 uses a personal computer as an operating carrier.
[0280] In actual applications, the subject of the photo can refer to the human body or human face. For example, in some offline stores, the store customer flow is determined by detecting the number of pedestrians, so that the store operation management can be carried out according to the store customer flow. For example, if there is a lot of customer flow in certain commodity areas, it can also be determined which commodities are more popular, so that corresponding promotion strategies can be formulated. Pedestrian number detection requires pedestrian recognition, which is currently usually implemented using the ReID algorithm. The ReID algorithm needs to recognize the human body or human face, so it is necessary to install cameras in appropriate locations in offline stores so that the human body or human face images collected by the camera can meet the requirements of the ReID algorithm, and the camera collection range must also meet the actual coverage requirements. Of course, in some other scenarios, it is also necessary to install cameras in offline places to achieve, for example, face recognition, and then perform corresponding controls based on the recognition results, such as access control, payment, etc.
[0281] Adopt the technical solution of this application, Figure 5 Taking the design system shown as an example, the server 501 can provide a visual design interface to the user (designer) on the client 502, and display an electronic map of the target location on the design interface. Parameter input controls can also be provided on the design interface for the user to provide camera placement parameters, installation parameters, and camera parameters. Combining these parameters with the imaging requirements for the subject, such as a human body or face, the server 501 can calculate the effective coverage area and display the effective coverage area on the electronic map on the client 502, making it easier for the user to understand whether the effective coverage area in the target location meets the actual coverage requirements. Based on the effective coverage area displayed on the electronic map, the user can perform operations such as parameter adjustment or area confirmation. Based on the confirmation operation for the effective coverage area, the server 501 can determine the corresponding target placement parameters, target installation parameters, and target camera parameters. The server 501 can then notify relevant personnel of the target placement parameters, target installation parameters, and target camera parameters via email, short message, voice communication, or other communication methods. Relevant personnel can then directly purchase and deploy cameras without having to go on-site for deployment and design, thereby improving design efficiency and accuracy and reducing labor costs.
[0282] Figure 6 This is a schematic structural diagram of an embodiment of a display device provided in the present application. The device may include:
[0283] The first display module 601 is used to provide a design interface and display an electronic map of the target location in the design interface;
[0284] The parameter acquisition module 602 is used to acquire the placement parameters of the camera in the electronic map, the installation parameters of the camera in the target location, and the camera parameters provided by the user;
[0285] An area determination module 603 is used to determine the effective coverage area of the camera in the target location based on placement parameters, installation parameters, camera parameters, and imaging requirements of the object;
[0286] The second display module 604 is configured to display the effective coverage area on the electronic map.
[0287] In some embodiments, the first display module is further configured to provide parameter input controls in the design interface;
[0288] The parameter acquisition module can be specifically used to obtain the placement parameters of the camera in the electronic map, the installation parameters of the camera in the target location, and the camera parameters provided by the user in the parameter input control.
[0289] In some embodiments, the parameter input controls include a camera parameter input control, an installation parameter input control, and a placement parameter input control;
[0290] The parameter acquisition module can be specifically used to obtain the placement parameters of the camera in the electronic map provided by the user in the placement parameter input control; obtain the installation parameters of the camera in the target location provided by the user in the installation parameter input control; and obtain the camera parameters provided by the user in the camera parameter input control.
[0291] In some embodiments, the apparatus may further include:
[0292] A parameter adjustment module is used to adjust the placement parameters, installation parameters and / or camera parameters in response to adjustment operations on the placement parameters, installation parameters and / or camera parameters; adjust the effective coverage area according to the adjusted placement parameters, installation parameters and / or camera parameters; and display the adjusted effective coverage area on the electronic map.
[0293] In some embodiments, the apparatus may further include:
[0294] The parameter determination module is used to determine the target placement parameters, target installation parameters and target camera parameters currently corresponding to the effective coverage area in response to the confirmation operation for the effective coverage area; and send the target placement parameters, target installation parameters and target camera parameters to relevant personnel.
[0295] In some embodiments, the camera parameter input control includes a camera model selection control;
[0296] The parameter acquisition module acquires the camera parameters provided by the user in the camera parameter input control, including: determining the camera parameters corresponding to the camera model in response to the camera model selected by the user in the camera model selection control.
[0297] In some embodiments, the apparatus may further include:
[0298] A camera marking module is configured to determine initial placement parameters of the camera in the electronic map in response to a camera marking operation in the electronic map; and display the initial placement parameters in a placement parameter input control;
[0299] The parameter acquisition module acquiring the placement parameters of the camera in the electronic map provided by the user in the placement parameter input control may include: determining the placement parameters of the camera in the electronic map in response to the user's adjustment operation on the initial placement parameters.
[0300] In some embodiments, the first display module is further configured to provide a camera markup control in the design interface;
[0301] The parameter acquisition module determines the initial placement parameters of the camera in the electronic map in response to the user's camera marking operation in the electronic map, which may include: detecting a selection operation on the camera marking control, switching the electronic map to a marking state; and determining the initial placement parameters of the camera in the electronic map in response to the user's camera marking operation performed in the electronic map in the marking state.
[0302] In some embodiments, the apparatus may further include:
[0303] An initial determination module is used to determine the user's focus area and determine the initial placement parameters, initial installation parameters, and initial camera parameters of the camera corresponding to the user's focus area; display the initial placement parameters in the placement parameter input control, display the initial installation parameters in the installation input control, and display the initial camera parameters in the camera parameter input control;
[0304] The parameter acquisition module can be specifically used to: obtain the placement parameters of the camera in the electronic map in response to the adjustment operation of the initial placement parameters; obtain the installation parameters of the camera in the target place in response to the adjustment operation of the initial installation parameters; obtain the installation parameters of the camera in the target place in response to the adjustment operation of the initial camera parameters.
[0305] In some embodiments, the initial determination module determining the user focused area may include: determining the selected user focused area in response to a user selecting an area in an electronic map.
[0306] In some embodiments, the apparatus may further include:
[0307] The area detection module is used to detect whether the effective coverage area meets the coverage requirements; if not, a parameter adjustment prompt message is displayed in the design interface.
[0308] In some embodiments, the area determination module can be specifically used to determine a first shooting range corresponding to the shooting object in the camera coordinate system based on camera parameters, installation parameters and the height of the center of the shooting object from the ground; determine the maximum effective distance of the target object from the camera based on the camera parameters and the imaging requirements of the shooting object; determine the camera imaging surface based on the maximum effective distance; determine a second shooting range that meets the imaging requirements of the shooting object based on the height of the center of the shooting object from the ground and the camera imaging surface; determine an effective shooting range based on the first shooting range and the second shooting range; and map the effective shooting range to an effective coverage area in an electronic map based on the placement parameters.
[0309] In some embodiments, the camera coordinate system may have a perpendicular intersection of the camera and the ground as the coordinate origin, a direction perpendicular to the ground as the Z-axis direction, and a direction perpendicular to the camera imaging plane as the X-axis direction;
[0310] The region determination module determines the first shooting range corresponding to the shooting object in the camera coordinate system according to the camera parameters, the installation parameters, and the height of the center of the shooting object from the ground, including: determining a first effective distance corresponding to the shooting object on the X-axis according to the camera parameters, the installation parameters, and the height of the shooting object from the ground;
[0311] The region determination module determines, based on the height of the center of the photographed object from the ground and the camera imaging plane, a second photographing range that meets the imaging requirements of the photographed object, including: determining, based on the height of the center of the photographed object from the ground and the camera imaging plane, a second effective distance of the photographed object that meets the imaging requirements on the X-axis;
[0312] The area determination module determines the effective shooting range based on the first shooting range and the second shooting range, including: obtaining an effective distance range based on the first effective distance and the second effective distance; and determining that the effective distance range is mapped to the effective shooting range formed on the horizontal plane formed by the X-axis and the Y-axis in combination with the horizontal field of view of the camera.
[0313] In some embodiments, the placement parameters include position parameters and direction parameters of the camera in the electronic map; the area determination module maps the effective shooting range to the effective coverage area in the electronic map based on the placement parameters, including: combining the position parameters and the direction parameters, converting the camera coordinates of the effective shooting range into map coordinates in the electronic map coordinate system, and obtaining the corresponding effective coverage area in the electronic map.
[0314] Figure 6 The display device can perform Figure 1 The implementation principle and technical effects of the display method described in the embodiment are not described in detail. The specific manner in which each module and unit performs operations in the display device in the above embodiment has been described in detail in the embodiment of the method, and will not be elaborated here.
[0315] In one possible design, Figure 6 The display device of the embodiment shown can be implemented as an electronic device, such as Figure 7 As shown, the electronic device may include a storage component 701, a display component 702, and a processing group 703;
[0316] The storage component 701 stores one or more computer instructions, wherein the one or more computer instructions can be called and executed by the processing component 703 .
[0317] The processing component 703 is used to:
[0318] Providing a design interface in the display component 702 and displaying an electronic map of the target location in the design interface;
[0319] Obtain the placement parameters of the camera in the electronic map, the installation parameters of the camera in the target location, and the camera parameters provided by the user;
[0320] Determine the effective coverage area of the camera in the target location based on placement parameters, installation parameters, camera parameters, and imaging requirements of the subject;
[0321] The effective coverage area is displayed on the electronic map via the display component 702 .
[0322] The processing component can be specifically implemented as follows: Figure 1 The display method shown.
[0323] In practical applications, the electronic device may be, for example, a personal computer, or a mobile terminal such as a mobile phone or a tablet computer.
[0324] Of course, the electronic device may also include other components, such as input / output interfaces and communication components. The input / output interface provides an interface between the processing component and peripheral interface modules, which may be output devices, input devices, etc. The communication component is configured to facilitate wired or wireless communication between the electronic device and other devices.
[0325] In addition, the embodiment of the present application further provides a computer-readable storage medium storing a computer program, which can achieve the above-mentioned Figure 1 The display method of the illustrated embodiment.
[0326] The embodiment of the present application further provides a display interface for displaying an electronic map of a target location and displaying an effective coverage area in the electronic map;
[0327] The effective coverage area is determined based on the imaging requirements of the subject, the placement parameters of the camera in the electronic map provided by the user, the installation parameters of the camera in the target location, and the camera parameters.
[0328] Optionally, the display interface may also display parameter input controls for receiving placement parameters, installation parameters, and camera parameters provided by the user.
[0329] Optionally, the display interface can also be used to receive adjustment operations for placement parameters, installation parameters and / or camera parameters, and display the adjusted effective coverage area generated based on the adjusted placement parameters, installation parameters and / or camera parameters in the electronic map.
[0330] In addition, an embodiment of the present application also provides a display device, which may include:
[0331] A third display module is used to provide a design interface and display an electronic map of the target location in the design interface;
[0332] The area acquisition module is used to obtain the user's attention area in the electronic map;
[0333] A parameter generation module is used to determine the placement parameters, installation parameters, and camera parameters of the camera corresponding to the user's focus area based on the imaging requirements of the photographed object;
[0334] The fourth display module is used to display placement parameters, installation parameters and camera parameters.
[0335] The display device may be implemented as an electronic device in practical applications, and the electronic device may include a storage component, a display component, and a processing group;
[0336] The storage component stores one or more computer instructions, wherein the one or more computer instructions can be called and executed by the processing component.
[0337] The processing component is used to:
[0338] Providing a design interface in the display component, and displaying an electronic map of the target location in the design interface;
[0339] Obtain the user's focus area in the electronic map;
[0340] Based on the imaging requirements of the subject, determine the placement parameters, installation parameters, and camera parameters of the camera corresponding to the user's area of interest;
[0341] Display placement parameters, installation parameters, and camera parameters in the display component.
[0342] In practical applications, the electronic device may be, for example, a personal computer, or a mobile terminal such as a mobile phone or a tablet computer.
[0343] Of course, the electronic device may also include other components, such as input / output interfaces and communication components. The input / output interface provides an interface between the processing component and peripheral interface modules, which may be output devices, input devices, etc. The communication component is configured to facilitate wired or wireless communication between the electronic device and other devices.
[0344] In addition, the embodiment of the present application further provides a display interface for displaying an electronic map of a target location, as well as camera placement parameters, installation parameters, and camera parameters;
[0345] The placement parameters, installation parameters and camera parameters of the camera are determined based on the user's focus area in the electronic map and the imaging requirements of the object.
[0346] Optionally, the display interface may also be used to receive an area selection operation by the user in the electronic map to determine the selected area of interest of the user.
[0347] Optionally, the display interface may also receive adjustment operations for placement parameters, installation parameters and / or camera parameters, and display the effective coverage area on an electronic map.
[0348] The effective coverage area is generated based on the imaging requirements of the object and the adjusted placement parameters, installation parameters and / or camera parameters.
[0349] Figure 8 This is a schematic structural diagram of an embodiment of a control device provided in this application. The device may include:
[0350] A first acquisition module 801 is used to acquire an electronic map of a target location;
[0351] The second acquisition module 802 is used to obtain the placement parameters of the camera in the electronic map, the installation parameters of the camera in the target location, and the camera parameters;
[0352] A first calculation module 803 is used to determine the effective coverage area of the photographed object in the target location based on the placement parameters, installation parameters, camera parameters and imaging requirements of the photographed object;
[0353] The effective coverage area is used to determine whether the coverage requirements are met.
[0354] In some embodiments, the first acquisition module is further configured to display an electronic map in a design interface of the client;
[0355] The device may also include:
[0356] The area sending module is used to send the effective coverage area to the client so that the client can display the effective coverage area in the electronic map.
[0357] In some embodiments, the second acquisition module is specifically used to display parameter input controls in the design interface of the client; obtain the placement parameters of the camera in the electronic map, the installation parameters of the camera in the target location, and the camera parameters provided by the user in the parameter input controls sent by the client.
[0358] In some embodiments, the apparatus may further include:
[0359] The adjustment trigger module is used to receive the adjusted placement parameters, installation parameters and / or camera parameters sent by the client based on the user's adjustment operation; adjust the effective coverage area according to the adjusted placement parameters, installation parameters and / or camera parameters; and display the adjusted effective coverage area on the electronic map.
[0360] In some embodiments, the first calculation module can be specifically used to determine a first shooting range corresponding to the shooting object in the camera coordinate system based on camera parameters, installation parameters and the height of the center of the shooting object from the ground; determine the maximum effective distance of the target object from the camera based on the camera parameters and the imaging requirements of the shooting object; determine the camera imaging surface based on the maximum effective distance; determine a second shooting range that meets the imaging requirements of the shooting object based on the height of the center of the shooting object from the ground and the camera imaging surface; determine an effective shooting range based on the first shooting range and the second shooting range; and map the effective shooting range to an effective coverage area in an electronic map based on the placement parameters.
[0361] Figure 8 The display device can perform Figure 4 The implementation principle and technical effects of the control method described in the embodiment are not described in detail here. The specific manner in which each module and unit performs operations in the control device in the above embodiment has been described in detail in the embodiment of the method, and will not be elaborated here.
[0362] In one possible design, Figure 8 The control device of the illustrated embodiment may be implemented as a computing device, such as Figure 9 As shown, the computing device may include a storage component 901 and a processing group 902;
[0363] The storage component 901 stores one or more computer instructions, wherein the one or more computer instructions can be called and executed by the processing component 902 .
[0364] The processing component 902 is used to:
[0365] Obtain an electronic map of the target location;
[0366] Obtaining the placement parameters of the camera in the electronic map, the installation parameters of the camera in the target location, and the camera parameters;
[0367] Determine the effective coverage area of the subject in the target location based on placement parameters, installation parameters, camera parameters, and imaging requirements of the subject;
[0368] The effective coverage area is used to determine whether the coverage requirements are met.
[0369] The processing component 902 can be specifically implemented as follows: Figure 4 The control method shown.
[0370] Of course, a computing device may also include other components, such as input / output interfaces and communication components. The input / output interface provides an interface between the processing component and peripheral interface modules, such as output devices and input devices. The communication component is configured to facilitate wired or wireless communication between the computing device and other devices.
[0371] Among them, the computing device can be a physical device or an elastic computing host provided by a cloud computing platform. In this case, the computing device can refer to a cloud server, and the above-mentioned processing components, storage components, etc. can be basic server resources rented or purchased from the cloud computing platform.
[0372] In addition, the embodiment of the present application further provides a computer-readable storage medium storing a computer program, which can achieve the above-mentioned Figure 4 The control method of the illustrated embodiment.
[0373] The processing components described in the above embodiments may include one or more processors to execute computer instructions to perform all or part of the steps in the above methods. Of course, the processing components may also be implemented as one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to perform the above methods.
[0374] The memory component is configured to store various types of data to support the operation of the device. The memory component can be implemented by any type of volatile or non-volatile memory device, or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk, or optical disk.
[0375] The display component may be an electroluminescent (EL) element, a liquid crystal display or a micro display having a similar structure, or a direct retinal display or a similar laser scanning display.
[0376] It should be noted that those skilled in the art will clearly understand that for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0377] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, i.e., they may be located in one location or distributed across multiple network units. Some or all of the modules may be selected based on actual needs to achieve the objectives of the present embodiment. Persons of ordinary skill in the art will be able to understand and implement the present invention without inventive effort.
[0378] Through the description of the above embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus a necessary general hardware platform, or of course, by hardware. Based on this understanding, the essence of the above technical solution or the part that contributes to the existing technology can be embodied in the form of a software product. The computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a magnetic disk, an optical disk, etc., and includes a number of instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or certain parts of the embodiments.
[0379] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application.
Claims
1. A display method, characterized in that: include: Providing a design interface and displaying an electronic map of the target location in the design interface; Obtaining placement parameters of the camera provided by the user in the electronic map, installation parameters of the camera in the target location, and camera parameters; Determining an effective coverage area of the camera in the target location according to the placement parameters, the installation parameters, the camera parameters, and imaging requirements of the photographed object; Displaying the effective coverage area on the electronic map; Wherein, determining the effective coverage area of the camera in the target location according to the placement parameters, the installation parameters, the camera parameters and the imaging requirements of the photographed object includes: determining a first shooting range corresponding to the camera in the camera coordinate system according to the camera parameters, the installation parameters and the height of the center of the photographed object from the ground; determining a maximum effective distance of the target object from the camera according to the camera parameters and the imaging requirements of the photographed object; determining a camera imaging surface based on the maximum effective distance; determining a second shooting range that meets the imaging requirements of the photographed object according to the height of the center of the photographed object from the ground and the camera imaging surface; determining an effective shooting range based on the first shooting range and the second shooting range; and mapping the effective shooting range to an effective coverage area in the electronic map based on the placement parameters.
2. The method according to claim 1, characterized in that The acquiring of the placement parameters of the camera provided by the user in the electronic map, the installation parameters of the camera in the target location, and the camera parameters includes: Providing parameter input controls in the design interface; Acquire the placement parameters of the camera in the electronic map, the installation parameters of the camera in the target location, and the camera parameters provided by the user in the parameter input control.
3. The method according to claim 2, characterized in that The parameter input controls include camera parameter input controls, installation parameter input controls, and placement parameter input controls; The acquiring of the placement parameters of the camera in the electronic map, the installation parameters of the camera in the target location, and the camera parameters provided by the user in the parameter input control includes: Obtaining placement parameters of the camera in the electronic map provided by the user in the placement parameter input control; Obtaining installation parameters of the camera in the target location provided by the user in the installation parameter input control; Get the camera parameters provided by the user in the camera parameter input control.
4. The method according to any one of claims 1 to 3, characterized in that Also includes: In response to an adjustment operation on the placement parameter, the installation parameter, and / or the camera parameter, adjusting the placement parameter, the installation parameter, and / or the camera parameter; Adjusting the effective coverage area according to the adjusted placement parameters, the installation parameters and / or the camera parameters; The adjusted effective coverage area is displayed on the electronic map.
5. The method according to claim 1, wherein Also includes: In response to a confirmation operation on the effective coverage area, determining target placement parameters, target installation parameters, and target camera parameters currently corresponding to the effective coverage area; The target placement parameters, the target installation parameters and the target camera parameters are sent to relevant personnel.
6. The method according to claim 3, characterized in that The camera parameter input control includes a camera model selection control; The acquiring of the camera parameters provided by the user in the camera parameter input control includes: In response to a camera model selected by a user in the camera model selection control, camera parameters corresponding to the camera model are determined.
7. The method according to claim 3, characterized in that Also includes: In response to a camera marking operation in the electronic map, determining initial placement parameters of the camera in the electronic map; Displaying the initial placement parameters in the placement parameter input control; The obtaining of the placement parameters of the camera in the electronic map provided by the user in the placement parameter input control includes: In response to a user's adjustment operation on the initial placement parameters, the placement parameters of the camera in the electronic map are determined.
8. The method according to claim 7, characterized in that Also includes: Providing a camera markup control in the design interface; In response to the user's camera marking operation on the electronic map, determining initial placement parameters of the camera on the electronic map includes: detecting a selection operation on the camera mark control and switching the electronic map to a marked state; In response to a camera marking operation performed by a user in the electronic map in the marking state, initial placement parameters of the camera in the electronic map are determined.
9. The method according to claim 3, characterized in that Also includes: Determine a user focus area, and determine initial placement parameters, initial installation parameters, and initial camera parameters of the camera corresponding to the user focus area; Displaying the initial placement parameters in the placement parameter input control, displaying the initial installation parameters in the installation parameter input control, and displaying the initial camera parameters in the camera parameter input control; The obtaining of the placement parameters of the camera in the electronic map provided by the user in the placement parameter input control includes: In response to an adjustment operation on the initial placement parameters, obtaining placement parameters of the camera in the electronic map; The obtaining of the installation parameters of the camera in the target location provided by the user in the installation parameter input control includes: In response to an adjustment operation on the initial installation parameters, obtaining installation parameters of the camera in the target location; The acquiring of the camera parameters provided by the user in the camera parameter input control includes: In response to the adjustment operation on the initial parameters of the camera, installation parameters of the camera in the target location are obtained.
10. The method according to claim 9, characterized in that Determining the user's focus area includes: In response to a user's area selection operation in the electronic map, a selected user-focused area is determined.
11. The method according to claim 1, wherein Also includes: Detecting whether the effective coverage area meets the coverage requirements; If not, a parameter adjustment prompt message is displayed in the design interface.
12. The method according to claim 1, characterized in that The camera coordinate system has a vertical intersection of the camera and the ground as the coordinate origin, a direction perpendicular to the ground as the Z-axis direction, and a direction perpendicular to the camera imaging surface as the X-axis direction; Determining a first shooting range corresponding to the camera in a camera coordinate system according to the camera parameters, the installation parameters, and the height of the center of the shooting object from the ground includes: Determine a first effective distance corresponding to the X-axis according to the camera parameters, the installation parameters, and the height of the photographed object from the ground; Determining, based on the height of the center of the photographed object from the ground and the camera imaging plane, a second photographing range that meets the imaging requirements of the photographed object includes: Determining, based on the height of the center of the photographed object from the ground and the camera imaging plane, a second effective distance corresponding to the X-axis that meets the imaging requirements of the photographed object; The determining of the effective shooting range based on the first shooting range and the second shooting range includes: Obtaining an effective distance range based on the first effective distance and the second effective distance; In combination with the horizontal field of view of the camera, the effective distance range is determined to be mapped to an effective shooting range formed on a horizontal plane formed by the X-axis and the Y-axis.
13. The method according to claim 1, wherein The placement parameters include the position parameters and direction parameters of the camera in the electronic map; Mapping the effective shooting range to an effective coverage area in the electronic map based on the placement parameters includes: The camera coordinates of the effective shooting range are converted into map coordinates in an electronic map coordinate system in combination with the position parameter and the direction parameter to obtain a corresponding effective coverage area in the electronic map.
14. A control method, characterized in that: include: Obtain an electronic map of the target location; Obtaining placement parameters of the camera in the electronic map, installation parameters of the camera in the target location, and camera parameters; Determining an effective coverage area of the camera in the target location according to the placement parameters, the installation parameters, the camera parameters, and imaging requirements of the photographed object; Wherein, the effective coverage area is used to determine whether the coverage requirements are met; The determining of the effective coverage area of the camera in the target location based on the placement parameters, the installation parameters, the camera parameters, and the imaging requirements of the photographed object includes: determining a first shooting range corresponding to the camera in the camera coordinate system based on the camera parameters, the installation parameters, and the height of the center of the photographed object from the ground; determining a maximum effective distance of the target object from the camera based on the camera parameters and the imaging requirements of the photographed object; determining a camera imaging surface based on the maximum effective distance; determining a second shooting range that meets the imaging requirements of the photographed object based on the height of the center of the photographed object from the ground and the camera imaging surface; determining an effective shooting range based on the first shooting range and the second shooting range; and mapping the effective shooting range to an effective coverage area in the electronic map based on the placement parameters.
15. The method according to claim 14, characterized in that Also includes: Detecting whether the effective coverage area meets the coverage requirements; If so, sending the placement parameters, the installation parameters, and the camera parameters to relevant personnel; If not, output parameter adjustment prompt information.
16. The method according to claim 15, characterized in that Also includes: Obtaining the adjusted placement parameters, installation parameters, and / or camera parameters, and adjusting the effective coverage area; The effective coverage area is adjusted according to the adjusted placement parameters, the installation parameters and / or the camera parameters.
17. The method according to claim 14, characterized in that After obtaining the electronic map of the target location, the method further includes: Displaying the electronic map in a design interface of a client; After determining the effective coverage area of the camera in the target location, the method further includes: The effective coverage area is sent to the client, so that the client displays the effective coverage area in the electronic map.
18. The method according to claim 17, characterized in that The acquiring of the placement parameters of the camera in the electronic map, the installation parameters of the camera in the target location, and the camera parameters includes: Displaying parameter input controls in the design interface of the client; Acquire the placement parameters of the camera in the electronic map, the installation parameters of the camera in the target location, and the camera parameters provided by the user in the parameter input control and sent by the client.
19. The method according to claim 17, wherein Also includes: receiving the adjusted placement parameters, the installation parameters, and / or the camera parameters sent by the client based on the user adjustment operation; Adjusting the effective coverage area according to the adjusted placement parameters, the installation parameters and / or the camera parameters; The adjusted effective coverage area is displayed on the electronic map.
20. The method according to claim 17 or 19, characterized in that Also includes: receiving target placement parameters, target installation parameters, and target camera parameters currently corresponding to the effective coverage area, which are sent by the client based on a user's confirmation operation on the effective coverage area; The target placement parameters, the target installation parameters and the target camera parameters are sent to relevant personnel.
21. A display method, characterized in that: include: Providing a design interface and displaying an electronic map of the target location in the design interface; Obtaining a user's area of interest in the electronic map; Determining placement parameters, installation parameters, and camera parameters of a camera corresponding to the user's area of interest based on imaging requirements of the photographed object; Displaying the placement parameters, the installation parameters, and the camera parameters; The placement parameters, the installation parameters, the camera parameters and the imaging requirements of the photographed object are used to determine the effective coverage area of the camera in the target location, and the effective coverage area is used to be displayed in the electronic map; the effective coverage area is specifically obtained in the following manner: determining the first shooting range corresponding to the camera in the camera coordinate system according to the camera parameters, the installation parameters and the height of the center of the photographed object from the ground; determining the maximum effective distance of the target object from the camera according to the camera parameters and the imaging requirements of the photographed object; determining the camera imaging surface based on the maximum effective distance; determining the second shooting range that meets the imaging requirements of the photographed object according to the height of the center of the photographed object from the ground and the camera imaging surface; determining the effective shooting range based on the first shooting range and the second shooting range; and mapping the effective shooting range to the effective coverage area in the electronic map based on the placement parameters.
22. The method according to claim 21, characterized in that The acquiring of the user's attention area in the electronic map includes: In response to a user's area selection operation in the electronic map, a selected user-focused area is determined.
23. The method according to claim 21, characterized in that Also includes: In response to an adjustment operation on the placement parameter, the installation parameter, and / or the camera parameter, adjusting the placement parameter, the installation parameter, and / or the camera parameter; Generate an effective coverage area according to the imaging requirements of the photographed object and the adjusted placement parameters, the installation parameters and / or the camera parameters; The effective coverage area is displayed on the electronic map.
24. The method according to claim 23, wherein Also includes: In response to a confirmation operation on the effective coverage area, determining target placement parameters, target installation parameters, and target camera parameters currently corresponding to the effective coverage area; The target placement parameters, the target installation parameters and the target camera parameters are sent to relevant personnel.
25. A display interface, characterized in that: for displaying an electronic map of a target location, and displaying an effective coverage area on the electronic map; The effective coverage area is determined based on the imaging requirements of the subject, the placement parameters of the camera provided by the user in the electronic map, the installation parameters of the camera in the target location, and the camera parameters; The effective coverage area is specifically obtained in the following manner: determining the first shooting range corresponding to the camera in the camera coordinate system according to the camera parameters, installation parameters and the height of the center of the shooting object from the ground; determining the maximum effective distance of the target object from the camera according to the camera parameters and the imaging requirements of the shooting object; determining the camera imaging surface based on the maximum effective distance; determining the second shooting range that meets the imaging requirements of the shooting object according to the height of the center of the shooting object from the ground and the camera imaging surface; determining the effective shooting range based on the first shooting range and the second shooting range; and mapping the effective shooting range to the effective coverage area in the electronic map based on the placement parameters.
26. The display interface according to claim 25, characterized in that: It is also used to display parameter input controls for receiving the placement parameters, the installation parameters, and the camera parameters provided by the user.
27. The display interface according to claim 25, characterized in that: It is also used to receive adjustment operations for the placement parameters, the installation parameters and / or the camera parameters, and display the adjusted effective coverage area generated based on the adjusted placement parameters, the installation parameters and / or the camera parameters in the electronic map.
28. A display interface, characterized in that: An electronic map of the target location, as well as camera placement parameters, installation parameters, and camera parameters; The placement parameters, installation parameters and camera parameters of the camera are determined based on the user's focus area in the electronic map and the imaging requirements of the photographed object; The placement parameters, the installation parameters, the camera parameters and the imaging requirements of the photographed object are used to determine the effective coverage area of the camera in the target location, and the effective coverage area is used to be displayed in the electronic map; the effective coverage area is specifically obtained in the following manner: determining the first shooting range corresponding to the camera in the camera coordinate system according to the camera parameters, the installation parameters and the height of the center of the photographed object from the ground; determining the maximum effective distance of the target object from the camera according to the camera parameters and the imaging requirements of the photographed object; determining the camera imaging surface based on the maximum effective distance; determining the second shooting range that meets the imaging requirements of the photographed object according to the height of the center of the photographed object from the ground and the camera imaging surface; determining the effective shooting range based on the first shooting range and the second shooting range; and mapping the effective shooting range to the effective coverage area in the electronic map based on the placement parameters.
29. A display device, characterized in that: include: A first display module is used to provide a design interface and display an electronic map of the target location in the design interface; A parameter acquisition module, configured to acquire placement parameters of the camera provided by a user in the electronic map, installation parameters of the camera in the target location, and camera parameters; an area determination module, configured to determine an effective coverage area of the camera in the target location based on the placement parameters, the installation parameters, the camera parameters, and imaging requirements of the object; a second display module, configured to display the effective coverage area on the electronic map; Among them, the area determination module determines the effective coverage area of the camera in the target place according to the placement parameters, the installation parameters, the camera parameters and the imaging requirements of the shooting object, including: determining the first shooting range corresponding to the camera in the camera coordinate system according to the camera parameters, the installation parameters and the height of the center of the shooting object from the ground; determining the maximum effective distance of the target object from the camera according to the camera parameters and the imaging requirements of the shooting object; determining the camera imaging surface based on the maximum effective distance; determining the second shooting range that meets the imaging requirements of the shooting object according to the height of the center of the shooting object from the ground and the camera imaging surface; determining the effective shooting range based on the first shooting range and the second shooting range; and mapping the effective shooting range to the effective coverage area in the electronic map based on the placement parameters.
30. A control device, characterized in that: include: A first acquisition module is used to obtain an electronic map of a target location; A second acquisition module is used to acquire placement parameters of the camera in the electronic map, installation parameters of the camera in the target location, and camera parameters; a first calculation module, configured to determine an effective coverage area of the camera in the target location based on the placement parameters, the installation parameters, the camera parameters, and imaging requirements of the photographed object; Wherein, the effective coverage area is used to determine whether the coverage requirements are met; The determining of the effective coverage area of the camera in the target location based on the placement parameters, the installation parameters, the camera parameters, and the imaging requirements of the photographed object includes: determining a first shooting range corresponding to the camera in the camera coordinate system based on the camera parameters, the installation parameters, and the height of the center of the photographed object from the ground; determining a maximum effective distance of the target object from the camera based on the camera parameters and the imaging requirements of the photographed object; determining a camera imaging surface based on the maximum effective distance; determining a second shooting range that meets the imaging requirements of the photographed object based on the height of the center of the photographed object from the ground and the camera imaging surface; determining an effective shooting range based on the first shooting range and the second shooting range; and mapping the effective shooting range to an effective coverage area in the electronic map based on the placement parameters.
31. A display device, characterized in that: include: a third display module, configured to provide a design interface and display an electronic map of the target location in the design interface; An area acquisition module, configured to acquire an area of interest to a user in the electronic map; A parameter generation module, configured to determine placement parameters, installation parameters, and camera parameters of the camera corresponding to the user's area of interest based on the imaging requirements of the photographed object; a fourth display module, configured to display the placement parameters, the installation parameters, and the camera parameters; Among them, the placement parameters, the installation parameters, the camera parameters and the imaging requirements of the photographed object are used to determine the effective coverage area of the camera in the target location, and the effective coverage area is used to be displayed in the electronic map; the effective coverage area is specifically obtained in the following manner: according to the camera parameters, the installation parameters and the height of the center of the photographed object from the ground, determining the first shooting range corresponding to the camera in the camera coordinate system; according to the camera parameters and the imaging requirements of the photographed object, determining the maximum effective distance of the target object from the camera; based on the maximum effective distance, determining the camera imaging surface; according to the height of the center of the photographed object from the ground and the camera imaging surface, determining the second shooting range that meets the imaging requirements of the photographed object; based on the first shooting range and the second shooting range, determining the effective shooting range; based on the placement parameters, mapping the effective shooting range to the effective coverage area in the electronic map.
32. An electronic device, characterized in that: The system comprises a storage component, a display component and a processing component; the storage component stores one or more computer program instructions; the one or more computer program instructions are called and executed by the processing component; The processing component is used to: Providing a design interface in the display component, and displaying an electronic map of the target location in the design interface; Obtaining placement parameters of the camera provided by the user in the electronic map, installation parameters of the camera in the target location, and camera parameters; Determining an effective coverage area of the camera in the target location according to the placement parameters, the installation parameters, the camera parameters, and imaging requirements of the photographed object; displaying the effective coverage area on the electronic map by the display component; Wherein, determining the effective coverage area of the camera in the target location according to the placement parameters, the installation parameters, the camera parameters and the imaging requirements of the photographed object includes: determining a first shooting range corresponding to the camera in the camera coordinate system according to the camera parameters, the installation parameters and the height of the center of the photographed object from the ground; determining a maximum effective distance of the target object from the camera according to the camera parameters and the imaging requirements of the photographed object; determining a camera imaging surface based on the maximum effective distance; determining a second shooting range that meets the imaging requirements of the photographed object according to the height of the center of the photographed object from the ground and the camera imaging surface; determining an effective shooting range based on the first shooting range and the second shooting range; and mapping the effective shooting range to an effective coverage area in the electronic map based on the placement parameters.
33. A computing device, characterized in that including processing components and storage components; The storage component stores one or more computer instructions; the one or more computer instructions are used to be called and executed by the processing component; The processing component is used to: Obtain an electronic map of the target location; Obtaining placement parameters of the camera in the electronic map, installation parameters of the camera in the target location, and camera parameters; Determining an effective coverage area of the camera in the target location according to the placement parameters, the installation parameters, the camera parameters, and imaging requirements of the photographed object; Wherein, the effective coverage area is used to determine whether the coverage requirements are met; The determining of the effective coverage area of the camera in the target location based on the placement parameters, the installation parameters, the camera parameters, and the imaging requirements of the photographed object includes: determining a first shooting range corresponding to the camera in the camera coordinate system based on the camera parameters, the installation parameters, and the height of the center of the photographed object from the ground; determining a maximum effective distance of the target object from the camera based on the camera parameters and the imaging requirements of the photographed object; determining a camera imaging surface based on the maximum effective distance; determining a second shooting range that meets the imaging requirements of the photographed object based on the height of the center of the photographed object from the ground and the camera imaging surface; determining an effective shooting range based on the first shooting range and the second shooting range; and mapping the effective shooting range to an effective coverage area in the electronic map based on the placement parameters.
34. A computer storage medium, characterized in that A computer program is stored, and when the computer program is executed by a computer, the display method according to any one of claims 1 to 13 is implemented.
35. A computer storage medium, characterized in that A computer program is stored, and when the computer program is executed by a computer, the control method according to any one of claims 14 to 20 is implemented.
Citation Information
Patent Citations
3D (three-dimensional) visualization method for coverage range based on quick estimation of attitude of camera
CN103400409A
Video acquisition method, video acquisition equipment and video acquisition system
CN103491339A
Display method and system for video monitoring image
CN103841374A
Shooting method and mobile terminal
CN105872385A