Method and device for generating point location
By determining the target task point in the virtual scene and generating corresponding copy task points, the problem of inefficient setting of multiple task points in the prior art is solved, and more efficient task point settings are achieved.
Patent Information
- Application Number
- CN202510238448.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-28
- Publication Date
- 2025-05-23
AI Technical Summary
The prior art is less efficient in setting multiple task points in a virtual scene, and needs to be set one by one, which is time-consuming and labor-consuming.
By determining the target task point in the target scenario and generating the replication task point corresponding to the reference point based on the target task point and the reference point of the target scenario, the position relationship of the replication task point is consistent with the position relationship of the target task point relative to the reference point.
It improves the efficiency of setting task points in the target scenario, and can set task points in the target scenario faster, reducing operation time and energy.
Smart Images

Figure CN120032084A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of setting task points, and in particular to a method and device for generating points. Background Art
[0002] With the development of automation technology, various automation equipment including surveillance cameras, sensor equipment, and robotic equipment have been widely used in various occasions.
[0003] For example, users can set several points in a specific virtual scene, and then control the automated equipment to operate at the actual geographical locations corresponding to these points.
[0004] At present, the above solution needs to set multiple points one by one in the virtual scene, and the efficiency of setting the points is low. Summary of the invention
[0005] To this end, this application discloses the following technical solutions:
[0006] The first aspect of the present application provides a method for generating a point, comprising:
[0007] Determine the target mission point in the target scene;
[0008] Based on the target task point and the reference point of the target scene, a copy task point corresponding to the reference point of the target scene is generated in the target scene, wherein the positional relationship of the target task point relative to the reference point is consistent with the positional relationship of the copy task point relative to the corresponding reference point.
[0009] Optionally, also include:
[0010] determining a reference line in the target scene;
[0011] determining a reference point on the reference line;
[0012] At least one reference point is determined on the reference line according to the reference point.
[0013] Optionally, determining a reference line in the target scene includes:
[0014] Identifying multiple regions in the target scene that meet similar conditions;
[0015] A reference line parallel to the arrangement direction of the plurality of regions is determined.
[0016] Optionally, also include:
[0017] determining a reference point in the target scene;
[0018] Determine a reference orientation and a reference focal length according to the reference point;
[0019] a first preview image of the target scene obtained at the reference point based on the reference orientation and the reference focal length, the reference orientation representing the orientation of a virtual camera used to obtain the first preview image, and the reference focal length representing the focal length of the virtual camera;
[0020] A point in the target scene at which a preview image similar to the first preview image can be obtained is determined as a reference point.
[0021] Optionally, determining a reference orientation and a reference focal length according to the reference point includes:
[0022] A reference orientation and a reference focal length are determined according to the positional relationship of the target task point relative to the reference point.
[0023] Optionally, also include:
[0024] a second preview image of the target scene obtained at the reference point based on the reference orientation and the reference focal length;
[0025] The position of the reference point is adjusted according to the first preview image and the second preview image.
[0026] Optionally, determining the target task point in the target scene includes:
[0027] Identifying multiple regions in the target scene that meet similar conditions;
[0028] Creating multiple mission locations in any of the areas;
[0029] A target task point is determined among the multiple task points.
[0030] Optionally, determining a target task point from the multiple task points includes at least one of the following:
[0031] Based on the selection instructions for multiple task points of the target scene, determine the target task point among the multiple task points of the target scene;
[0032] The multiple task points located in the same area in the target scene are determined as target task points.
[0033] Optionally, also include:
[0034] When it is determined that the position of the target task point has changed, the position of the copy task point is adjusted according to the moving direction and moving distance of the target task point.
[0035] A second aspect of the present application provides a device for generating a point, comprising:
[0036] Determine the unit, determine the target task point in the target scene;
[0037] A generation unit generates, in the target scene, a copy task point corresponding to the reference point of the target scene based on the target task point and the reference point of the target scene, wherein the positional relationship of the target task point relative to the reference point is consistent with the positional relationship of the copy task point relative to the corresponding reference point. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying any creative work.
[0039] Figure 1 is a flow chart of a method for generating points provided in an embodiment of the present application;
[0040] Figure 2 is a partial schematic diagram of a three-dimensional virtual scene of a power station provided in an embodiment of the present application;
[0041] Figure 3 It is a schematic diagram of a replication task point provided in an embodiment of the present application;
[0042] Figure 4 is a schematic diagram of another replication task point provided in an embodiment of the present application;
[0043] Figure 5 It is a schematic diagram of multiple task points in any area provided by an embodiment of the present application;
[0044] Figure 6 is a schematic diagram of a target task point provided in an embodiment of the present application;
[0045] Figure 7 is a schematic diagram of determining a datum point and a reference point provided in an embodiment of the present application;
[0046] Figure 8 is a schematic diagram of displaying a first preview image and a second preview image provided by an embodiment of the present application;
[0047] Fig. 9 It is a structural schematic diagram of a device for generating points provided in an embodiment of the present application;
[0048] Fig.10It is a structural schematic diagram of another device for generating point positions provided in an embodiment of the present application. DETAILED DESCRIPTION
[0049] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0050] This embodiment provides a method for generating points. Figure 1 , is a flow chart of the method, and the method may include the following steps.
[0051] S101, determining a target task point in a target scene.
[0052] The method for generating points provided in this embodiment may be executed by any application program that can load a target scene and set task points in the target scene.
[0053] The target scene may be a three-dimensional virtual scene. In this embodiment, a specific real scene may be three-dimensionally modeled to obtain three-dimensional models of each object in the real scene, and a virtual scene formed by combining these three-dimensional models according to the positional relationship of the objects in the real scene may be used as the target scene.
[0054] Exemplarily, the target scene may be a three-dimensional virtual scene of a power station, which may include three-dimensional models of equipment and buildings in the power station; the target scene may be a virtual scene of a large warehouse, which may include three-dimensional models of shelves and goods in the warehouse; the target scene may be a virtual scene of a residential community, which may include three-dimensional models of buildings, public facilities, and green plants in the community.
[0055] As an example, see Figure 2 , which is a partial schematic diagram of a three-dimensional virtual scene of a power station. Figure 2 Each blue dot represents a mission point.
[0056] In a target scene, one or more task points can be determined, and each point in the target scene can be mapped to a specific geographical location in the real scene. After a task point is determined, the automation equipment can be controlled based on the task point to perform a specific task at the corresponding geographical location in the real scene.
[0057] As an example, after a mission point is determined in the target scene of the community, the unmanned vehicles in the community can be controlled to transport the items they carry to the geographical location corresponding to the mission point.
[0058] As another example, see Figure 2 After determining the task point in the target scene of the power station, the automatic inspection equipment in the power station can be controlled to drive to the geographical location corresponding to the task point, and take images or videos of the surrounding environment at the geographical location corresponding to the task point, thereby realizing automatic inspection of the power station.
[0059] Optionally, in S101, the application may create multiple task points in the target scene based on the user's operation, and then select a target task point from these task points in response to the user's selection instruction; or, the application may create multiple task points in the target scene based on the user's operation, and determine each task point created based on the operation as a target task point.
[0060] S102, based on the target task point and the reference point of the target scene, generate a duplicate task point in the target scene corresponding to the reference point of the target scene, and the positional relationship of the target task point relative to the reference point is consistent with the positional relationship of the duplicate task point relative to the corresponding reference point.
[0061] In step S102, the application can select one or more reference points based on the user's operation, and then generate a copy task point corresponding to the reference point of the target scene in the target scene for each selected reference point in response to an instruction to create a copy task point.
[0062] The instruction to create a copy task point can be triggered by clicking a specific control. For example, the application can display a control with the word "Paste". After the user clicks the control, the application will recognize the click instruction of the control as an instruction to create a copy task point.
[0063] The datum point and reference point of the target scene can be pre-set in the target scene when the target scene is created, or can be set in the target scene by the application before executing S102. The application can set the datum point and reference point based on the user's operation, for example, determining the position where the cursor clicks in the target scene as the datum point or reference point. The application can also automatically set the datum point and reference point in the target scene, and can adjust the automatically set datum point and reference point based on the user's operation.
[0064] In step S102, the application may first obtain the positional relationship of each target task point relative to the reference point, and then, for each reference point, determine a point having the same positional relationship with the reference point as a copy task point.
[0065] As an example, see Figure 3 , Figure 3The two black dots in the figure represent the two target task points P1 and P2 determined in the target scene, and the two triangles represent the benchmark point F1 and the reference point F2 respectively.
[0066] In S102, the application can determine that the position relationship of P1 relative to F1 is (x1, y1), and the position relationship of P2 relative to F1 is (x2, y2). x1, y1, x2 and y2 are all greater than 0. The above position relationship indicates that P1 is at the upper right of F1, and the two are separated by x1 in the horizontal direction and y1 in the vertical direction. P2 is at the upper right of F1, and the two are separated by x2 in the horizontal direction and y2 in the vertical direction.
[0067] Then, based on the above position relationship, the application can generate a position at the upper right corner of F2 with a horizontal distance of x1 and a vertical distance of y1. Figure 2 The copy task point P1' shown by the white dot in the middle is generated at the upper right of F2, with a horizontal distance of x2 and a vertical distance of y2. Figure 2 The replication task point P2' is shown as the white dot in the middle.
[0068] As another example, see Figure 4 , Figure 4 The yellow dot in the middle represents the target task point, and the blue dot in the red rectangle represents the copy task point created based on the target task point and the benchmark point.
[0069] The beneficial effects of this embodiment are:
[0070] After determining a small number of target task points in the target scene, the present embodiment can generate duplicate task points corresponding to the reference points in the target scene based on the positional relationship between the target task points and the reference points of the target scene. Thus, the present embodiment can set the task points in the target scene more quickly and improve the efficiency of setting the task points.
[0071] Optionally, the method of determining the target task point in the target scene may be:
[0072] Identify multiple regions in the target scene that meet similar conditions;
[0073] Create multiple mission points in any area;
[0074] Determine the target mission point among multiple mission points.
[0075] The similarity condition may include that the similarity between any two regions among the multiple regions is greater than or equal to a certain threshold.
[0076] When identifying multiple areas that meet similar conditions, the application can first determine an initial area in the target scene based on the user's operation, and then search for other areas in the target scene whose similarity with the initial area is greater than or equal to a threshold. After the search is successful, the initial area and the other searched areas are determined as multiple areas that meet the similar conditions.
[0077] After identifying multiple areas that meet similar conditions, the application can prompt the user to perform a click operation in any area and create a task point at each clicked location.
[0078] As an example, see Figure 5 , is a schematic diagram of multiple task points in any area provided in this embodiment, Figure 5 The background is equivalent to a top view of any area that meets similar conditions. The blue dots in the figure are equivalent to multiple task points created based on the user's click operations.
[0079] After creating multiple mission locations, you can determine the target mission location in at least one of the following ways:
[0080] First, multiple mission points in the same area in the target scene are determined as target mission points. All mission points in the target area can be determined as target mission points.
[0081] Second, based on the selection instructions for multiple task points of the target scene, a target task point is determined from the multiple task points of the target scene.
[0082] In the first determination method, the application can determine which area among multiple areas that meet similar conditions contains multiple task points, and then determine each task point in the determined area as a target task point.
[0083] Alternatively, in the first determination method, the application may select an area from multiple areas that meet similar conditions based on the user's operation, and determine all task points in the selected area as target task points.
[0084] In the second determination method, the application may prompt the user to select a target task point, and then respond to a selection instruction input by the user to select a target task point, and determine each selected task point as a target task point.
[0085] The selection instruction for selecting the target task point can be a click instruction, and the application can determine the clicked task location as the target task point; the selection instruction for selecting the target task point can also be a drag instruction, and the application can respond to the drag instruction of the cursor to determine a rectangular area in the target scene, and determine the task location within the rectangular area as the target task point.
[0086] In the second determination method, after creating multiple task points, the application can display a control for selecting a target task point, such as displaying a control with the word "Copy". After the user clicks the control, the application can prompt the user to select the target task point and determine the target task point according to the second method mentioned above.
[0087] Optionally, after determining the target task points, the application can display these target task points in a manner different from non-target task points, for example, highlighting the target task points, or displaying the target task points and non-target task points in different colors. For example, see Figure 5 and Figure 6 , Figure 5 Before each mission point is determined as the target mission point, it is represented by a blue dot. Figure 6 After each task point is determined as the target task point, it is represented by a yellow dot.
[0088] Optionally, before executing S102, the datum point and the reference point may be determined as follows:
[0089] Identify reference lines in the target scene;
[0090] Determine the reference point on the reference line;
[0091] At least one reference point is determined on the reference line based on the reference point.
[0092] The reference line may be generated by an application based on multiple areas that meet similar conditions, or may be generated based on a user's operation of drawing the reference line.
[0093] After obtaining the reference line, the application may determine the starting point or the end point of the reference line as the reference point, or may prompt the user to select any position on the reference line and determine the selected position as the reference point.
[0094] After determining the reference point, you can determine multiple reference points on the reference line at equal intervals according to the preset distance. Figure 7 For example, after determining the reference point, multiple reference points can be determined at equal intervals on the right side of the reference point on the reference line.
[0095] Optionally, when the reference point is determined in the above manner, the application may create a copy task point for each reference point on the reference line in the manner of step S102.
[0096] For example, the application may select a reference line in response to a user operation, and then respond to an instruction to create a copy task point, and create a copy task point for each reference point on the reference line in the manner of step S102.
[0097] Optionally, a method for determining the reference line may be:
[0098] Identify multiple regions in the target scene that meet similar conditions;
[0099] A reference line parallel to the arrangement direction of the plurality of regions is determined.
[0100] For example, if multiple areas that meet similar conditions are Figure 7 If multiple areas that meet similar conditions are arranged horizontally in the same way as shown, a horizontal reference line can be determined. Figure 5 If the components are arranged vertically in the manner shown, a vertical reference line can be determined.
[0101] The position of the reference line may be determined based on the positions of the plurality of regions satisfying the similarity condition. For example, the reference line may be determined at the edges of the plurality of regions satisfying the similarity condition.
[0102] For example, for multiple horizontally arranged regions satisfying similar conditions, a horizontal reference line may be determined at the lower edge of these regions, and for multiple vertically arranged regions satisfying similar conditions, a vertical reference line may be determined at the right edge of these regions.
[0103] When determining the reference line in the above manner, the starting point and the end point of the reference line can be set near multiple areas that meet similar conditions, that is, the distance from the starting point to the above area and the distance from the end point to the above area can be set to be less than a certain threshold. Figure 7 For example, for multiple horizontally arranged areas that meet similar conditions, the starting point of the reference line can be set near the lower left corner vertex of the first area on the left, and the end point of the reference line can be set near the lower right corner vertex of the first area on the right.
[0104] In some embodiments, the application may also determine the fiducial and reference points as follows:
[0105] Identify reference points in the target scene;
[0106] Determine a reference orientation and a reference focal length according to the reference point;
[0107] A first preview image of the target scene obtained at a reference point based on a reference orientation and a reference focal length, wherein the reference orientation represents an orientation of a virtual camera used to obtain the first preview image, and the reference focal length represents a focal length of the virtual camera;
[0108] A point in the target scene at which a preview image similar to the first preview image can be obtained is determined as a reference point.
[0109] In this embodiment, the reference point can be determined based on the user's operation. For example, the user can be prompted to click any position in the target scene, and the reference point is determined at the clicked position.
[0110] After the reference point is determined, a reference orientation and a reference focal length corresponding to the reference point may be further determined, and then a first preview image of the target scene is obtained at the reference point based on the reference orientation and the reference focal length.
[0111] For any position of the target scene, a virtual camera can be set at that position, and the three-dimensional model in the target scene can be photographed with the virtual camera to obtain a preview image of the target scene at that position. At the same position, different preview images can be obtained depending on the orientation and focal length of the virtual camera during shooting.
[0112] After obtaining the first preview image, other positions in the target scene can be searched at certain intervals in the target scene. Every time a position is searched, a preview image is obtained at the position with a reference orientation and a reference focal length. The obtained preview image is compared with the first preview image. If the similarity between the two is greater than a certain threshold, a reference point is determined at this position, thereby obtaining multiple reference points in the target scene.
[0113] Optionally, the datum point and the reference point may be determined in combination with the above two methods. That is, the application may first determine a reference line and determine a datum point on the reference line, then obtain a first preview image at the datum point according to a datum orientation and a datum focal length, and finally search along the reference line for a point that can obtain a preview image similar to the first preview image, and determine the point searched on the reference line as a reference point.
[0114] In some embodiments, after determining the reference point in any of the above-mentioned ways, the user may also be prompted to confirm or adjust the position of the reference point, and then the position of the reference point may be adjusted based on the adjustment operation to obtain a new reference point.
[0115] In some embodiments, multiple recommended positions can also be determined in the manner of determining reference points as described above, and the user can be prompted to set the reference point by clicking on the reference line. When the cursor moves near the recommended position on the reference line, the recommended position can be highlighted to prompt the user to set the reference point at this position.
[0116] In some embodiments, the reference orientation and reference focal length may be determined by:
[0117] Determine the reference orientation and reference focal length based on the positional relationship of the target mission point relative to the reference point.
[0118] If there is only one target task point, the direction of the target task point relative to the reference point can be determined as the reference direction, and the distance of the target task point relative to the reference point can be determined as the reference focal length. For example, if the target task point is 20 degrees north-east of the reference point and 10 meters away, the reference direction is set to 20 degrees north-east, and the reference focal length is set to 10 meters.
[0119] If there are multiple target task points, the orientations of the multiple target task points relative to the reference point can be merged to obtain the reference orientation, and the distances of the multiple target task points relative to the reference point can be used to obtain the reference focal length. For example, assuming that there are three target task points, which are 20 degrees, 40 degrees and 72 degrees north of the reference point, and the distances are 10 meters, 15 meters and 23 meters respectively, then the reference orientation is set to the average of the three orientations, i.e., 44 degrees north of the reference point, and the reference focal length is set to the average of the three distances, i.e., 16 meters.
[0120] Optionally, the method of this embodiment may further include the following steps:
[0121] a second preview image of the target scene obtained at the reference point based on the reference orientation and the reference focal length;
[0122] The position of the reference point is adjusted according to the first preview image and the second preview image.
[0123] In this embodiment, after determining multiple reference points, if the user selects any of the reference points, the application can display a first preview image obtained at the reference point and a second preview image obtained at the reference point based on a reference orientation and a reference focal length, so as to compare the first preview image and the second preview image.
[0124] After displaying the first preview image and the second preview image, the application can adjust the position of any reference point in response to the user's operation of adjusting the position of the reference point. For example, the user can select any reference point and drag the reference point, and the application adjusts the position of the reference point in response to the dragging operation.
[0125] After adjusting the position, the application may continue to obtain and display the second preview image based on the reference point after the adjustment of the position.
[0126] After displaying the first preview image and the second preview image, the application may also adjust the orientation and focal length corresponding to the reference point in response to the user's operation of configuring the orientation and focal length, and then obtain and display a new second preview image based on the adjusted orientation and focal length.
[0127] For example, see Figure 8 After selecting reference point P2, the application can display Figure 8 The first preview image and the second preview image corresponding to the reference point P2 are shown.
[0128] Optionally, the method of this embodiment may further include the following steps:
[0129] When it is determined that the position of the target task point has changed, the position of the copied task point is adjusted according to the moving direction and moving distance of the target task point.
[0130] In this embodiment, the application can adjust the position of the target task point in response to the user's dragging operation on any target task point, and after the position of the target task point is changed, determine the copy task point corresponding to the target task point among multiple copy task points.
[0131] For any replication task point, if the positional relationship of the replication task point relative to the reference point is the same as the positional relationship of the target task point relative to the reference point, then the replication task point can be regarded as the replication task point corresponding to the target task point.
[0132] Combination Figure 3 In the example, the copy task point P2' can be regarded as the copy task point corresponding to the target task point P2. After the application moves P2 horizontally to the left by 1 meter based on the user's operation, P2' can also be moved horizontally to the left by 1 meter. Thus, this embodiment can conveniently adjust the positions of multiple task points in the target scene.
[0133] This embodiment also provides a device for generating points, see Fig. 9 , the device may include the following units.
[0134] The determination unit 901 determines a target task point in a target scene.
[0135] The generation unit 902 generates a copy task point corresponding to the reference point of the target scene in the target scene according to the target task point and the reference point of the target scene, wherein the positional relationship of the target task point relative to the reference point is consistent with the positional relationship of the copy task point relative to the corresponding reference point.
[0136] Optionally, when determining the target task point in the target scene, the determining unit 901 may be used to:
[0137] Identify multiple regions in the target scene that meet similar conditions;
[0138] Create multiple mission points in any area;
[0139] Determine the target mission point among multiple mission points.
[0140] Optionally, when the determination unit 901 determines the target task point from multiple task points, it can be used for at least one of the following:
[0141] Based on the selection instructions for multiple task points of the target scene, determine the target task point among the multiple task points of the target scene;
[0142] Multiple task points located in the same area in the target scene are determined as target task points.
[0143] Optionally, the generating unit 902 is further configured to:
[0144] When it is determined that the position of the target task point has changed, the position of the copied task point is adjusted according to the moving direction and moving distance of the target task point.
[0145] Optional, see Fig.10 , the apparatus may further include a reference unit 1001, configured to:
[0146] Identify reference lines in the target scene;
[0147] Determine the reference point on the reference line;
[0148] At least one reference point is determined on the reference line based on the reference point.
[0149] Optionally, when the reference unit 1001 determines the reference line in the target scene, it can be used to:
[0150] Identify multiple regions in the target scene that meet similar conditions;
[0151] A reference line parallel to the arrangement direction of the plurality of regions is determined.
[0152] Optionally, the reference unit 1001 may also be used for:
[0153] Identify reference points in the target scene;
[0154] Determine a reference orientation and a reference focal length according to the reference point;
[0155] A first preview image of the target scene obtained at a reference point based on a reference orientation and a reference focal length, wherein the reference orientation represents an orientation of a virtual camera used to obtain the first preview image, and the reference focal length represents a focal length of the virtual camera;
[0156] A point in the target scene at which a preview image similar to the first preview image can be obtained is determined as a reference point.
[0157] Optionally, when the reference unit 1001 determines the reference orientation and the reference focal length according to the reference point, it can be used to:
[0158] According to the positional relationship of multiple task points relative to the reference point, the reference orientation and reference focal length are determined.
[0159] Optionally, the reference unit 1001 may also be used for:
[0160] a second preview image of the target scene obtained at the reference point based on the reference orientation and the reference focal length;
[0161] The position of the reference point is adjusted according to the first preview image and the second preview image.
[0162] The working principle of the above-mentioned device for generating point positions can be found in the relevant steps of the method for generating point positions provided in any embodiment of the present application, and will not be described in detail.
[0163] It should be noted that the various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referenced to each other.
[0164] For the convenience of description, the above system or device is described by dividing it into various modules or units according to its functions. Of course, when implementing the present application, the functions of each unit can be implemented in the same or multiple software and / or hardware.
[0165] It can be known from the description of the above implementation methods that those skilled in the art can clearly understand that the present application can be implemented by means of software plus a necessary general hardware platform. Based on such an understanding, the technical solution of the present application can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product can be stored in a storage medium such as ROM / RAM, a magnetic disk, an optical disk, etc., and includes several 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 the various embodiments of the present application or certain parts of the embodiments.
[0166] Finally, it should be noted that, in this article, relational terms such as first, second, third and fourth are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the statement "comprise a ..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.
[0167] The above is only a preferred implementation of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present application. These improvements and modifications should also be regarded as the scope of protection of the present application.
Claims
1. A method for generating a point, comprising: Determine the target mission point in the target scene; Based on the target task point and the reference point of the target scene, a copy task point corresponding to the reference point of the target scene is generated in the target scene, wherein the positional relationship of the target task point relative to the reference point is consistent with the positional relationship of the copy task point relative to the corresponding reference point.
2. The method according to claim 1, further comprising: determining a reference line in the target scene; determining a reference point on the reference line; At least one reference point is determined on the reference line according to the reference point.
3. The method according to claim 2, wherein determining a reference line in the target scene comprises: Identifying multiple regions in the target scene that meet similar conditions; A reference line parallel to the arrangement direction of the plurality of regions is determined.
4. The method according to claim 1, further comprising: determining a reference point in the target scene; Determine a reference orientation and a reference focal length according to the reference point; a first preview image of the target scene obtained at the reference point based on the reference orientation and the reference focal length, the reference orientation representing the orientation of a virtual camera used to obtain the first preview image, and the reference focal length representing the focal length of the virtual camera; A point in the target scene at which a preview image similar to the first preview image can be obtained is determined as a reference point.
5. The method according to claim 4, wherein determining a reference orientation and a reference focal length according to the reference point comprises: A reference orientation and a reference focal length are determined according to the positional relationship of the target task point relative to the reference point.
6. The method according to claim 4, further comprising: a second preview image of the target scene obtained at the reference point based on the reference orientation and the reference focal length; The position of the reference point is adjusted according to the first preview image and the second preview image.
7. According to the method of claim 1, determining the target task point in the target scene comprises: Identifying multiple regions in the target scene that meet similar conditions; Creating multiple mission locations in any of the areas; A target task point is determined among the multiple task points.
8. The method according to claim 7, wherein determining a target task point among the plurality of task points comprises at least one of the following: Based on the selection instructions for multiple task points of the target scene, determine the target task point among the multiple task points of the target scene; The multiple task points located in the same area in the target scene are determined as target task points.
9. The method according to claim 1, further comprising: When it is determined that the position of the target task point has changed, the position of the copy task point is adjusted according to the moving direction and moving distance of the target task point.
10. A device for generating a point position, comprising: Determine the unit, determine the target task point in the target scene; A generation unit generates, in the target scene, a copy task point corresponding to the reference point of the target scene based on the target task point and the reference point of the target scene, wherein the positional relationship of the target task point relative to the reference point is consistent with the positional relationship of the copy task point relative to the corresponding reference point.