CN109933642B - Method and device for generating guide picture, electronic equipment and storage medium - Google Patents

Method and device for generating guide picture, electronic equipment and storage medium Download PDF

Info

Publication number
CN109933642B
CN109933642B CN201910270651.5A CN201910270651A CN109933642B CN 109933642 B CN109933642 B CN 109933642B CN 201910270651 A CN201910270651 A CN 201910270651A CN 109933642 B CN109933642 B CN 109933642B
Authority
CN
China
Prior art keywords
picture
guide
information
control
parameters
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910270651.5A
Other languages
Chinese (zh)
Other versions
CN109933642A (en
Inventor
田有臻
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Sankuai Online Technology Co Ltd
Original Assignee
Beijing Sankuai Online Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Sankuai Online Technology Co Ltd filed Critical Beijing Sankuai Online Technology Co Ltd
Priority to CN201910270651.5A priority Critical patent/CN109933642B/en
Publication of CN109933642A publication Critical patent/CN109933642A/en
Application granted granted Critical
Publication of CN109933642B publication Critical patent/CN109933642B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Navigation (AREA)

Abstract

The application discloses a method and a device for generating a guide picture, electronic equipment and a storage medium. The method comprises the following steps: taking a picture shot by the first electronic equipment in a specified posture as a basic picture; receiving the submitted guide information; editing the basic picture according to the guide information to generate a guide picture; uploading the guide picture to a server, so that the server sends the guide picture to a second electronic device. According to the technical scheme, the guide picture which is easy to understand is output by the method of combining the basic picture and the guide information to form the position guide information, so that the identifiability and readability of the address information are improved, the designated position of a user is simply and clearly displayed, the place searching difficulty is reduced, and the service efficiency is improved.

Description

Method and device for generating guide picture, electronic equipment and storage medium
Technical Field
The application relates to the field of map navigation, in particular to a method and a device for generating a guide picture, electronic equipment and a storage medium.
Background
With the rise of emerging industries such as network appointment vehicles, take-out and express delivery, electronic map navigation software becomes an indispensable use tool for the industry. In general, a taxi appointment driver or a delivery person needs to arrive at a place designated by a user to start order service or complete order delivery, and in order to ensure efficient completion of the service, the user is required to provide high-quality address information, and the delivery person and the driver have high comprehension capability. Most of existing electronic map navigation tools are two-dimensional line abstract expression or three-dimensional building simulation expression geographical position information, but when an actual address is complex, the navigation tools cannot express the geographical information clearly, so that a driver and a distributor cannot find the actual distribution address within a specified time easily, and order service cannot be completed within expectation.
Disclosure of Invention
In view of the above, the present application is proposed to provide a method, an apparatus, an electronic device and a storage medium for generating a guidance picture that overcome or at least partially solve the above problems.
According to an aspect of the present application, there is provided a method for generating a guidance picture, including:
taking a picture shot by the first electronic equipment in a specified posture as a basic picture;
receiving the submitted guide information;
editing the basic picture according to the guide information to generate a guide picture;
and uploading the guide picture to a server so that the server sends the guide picture to the second electronic equipment.
Optionally, taking a picture taken by the first electronic device in the specified posture as a base picture includes:
acquiring parameters of a gravity sensor in first electronic equipment;
and taking the picture shot when the parameters fall into the specified range as a basic picture.
Optionally, taking a picture taken when the parameter falls within the specified range as the base picture includes:
providing a shooting interface;
adjusting the availability of a shooting control in the shooting interface according to the parameters; if the acquired parameters of the gravity sensor are out of the specified range, the shooting control is forbidden; and if the acquired parameters of the gravity sensor are within the specified range, the shooting control is enabled.
Optionally, the specified range includes a specified range of Y-axis parameters and a specified range of X-axis parameters;
the specified range of the Y-axis parameter is a set of the following intervals: { [80 °,100 ° ], [ -100 °, -80 ° ] };
the specified range of the X-axis parameter is a set of the following intervals: { [350 °,360 ° ], [0 °,10 ° ], [170 °,190 ° ] }.
Optionally, the method further comprises:
and if the acquired parameters are out of the specified range, generating and displaying corresponding posture adjustment information according to the acquired parameters.
Optionally, the guidance information comprises one or more of:
text information, voice information and configuration information of the guide control.
Optionally, the configuration information of the guidance control includes:
the type of the guide control, the coordinates of the guide control in the picture, and the rotation angle of the guide control.
Optionally, the guidance control comprises one or more of:
turning control, advancing control and marking control.
Optionally, the guidance picture corresponds to a designated geographic area;
the second electronic device is used to guide a trip involving a designated geographic area.
Optionally, the sending, by the server, the guidance picture to the second electronic device includes:
if the distance between the geographic position of the second electronic equipment and the designated geographic area is within a preset threshold value, the server sends the guide picture to the second electronic equipment;
and/or the presence of a gas in the gas,
and the server sends the guide picture to the second electronic equipment after receiving the guide picture acquisition request of the second electronic equipment.
According to another aspect of the present invention, there is provided a guidance picture generation apparatus including:
the basic picture unit is used for taking a picture shot by the first electronic equipment in a specified posture as a basic picture;
a guidance information unit for receiving the submitted guidance information;
the generating unit is used for editing the basic picture according to the guide information to generate a guide picture;
and the uploading unit is used for uploading the guide picture to the server so that the server sends the guide picture to the second electronic equipment which has an association relation with the first electronic equipment.
Optionally, the basic picture unit is configured to obtain a parameter of a gravity sensor in the first electronic device; and taking the picture shot when the parameters fall into the specified range as a basic picture.
Optionally, a basic picture unit for providing a shooting interface; adjusting the availability of a shooting control in the shooting interface according to the parameters; if the acquired parameters of the gravity sensor are out of the specified range, the shooting control is forbidden; and if the acquired parameters of the gravity sensor are within the specified range, the shooting control is enabled.
Optionally, the specified range includes a specified range of the Y-axis parameter and a specified range of the X-axis parameter;
the specified range of the Y-axis parameter is a set of the following intervals: { [80 °,100 ° ], [ -100 °, -80 ° ] };
the specified range of the X-axis parameter is a set of the following intervals: { [350 °,360 ° ], [0 °,10 ° ], [170 °,190 ° ] }.
Optionally, the apparatus further comprises:
and the prompting unit is used for generating and displaying corresponding posture adjustment information according to the acquired parameters if the acquired parameters are out of the specified range.
Optionally, the guidance information comprises one or more of:
text information, voice information and configuration information of the guide control.
Optionally, the configuration information of the guidance control includes:
the type of the guide control, the coordinates of the guide control in the picture, and the rotation angle of the guide control.
Optionally, the guidance control comprises one or more of:
turning control, advancing control and marking control.
Optionally, the guidance picture corresponds to a designated geographic area;
the second electronic device is used to guide a trip involving a designated geographic area.
Optionally, the sending, by the server, the guidance picture to the second electronic device includes:
if the distance between the geographic position of the second electronic equipment and the designated geographic area is within a preset threshold value, the server sends the guide picture to the second electronic equipment;
and/or the presence of a gas in the gas,
and the server sends the guide picture to the second electronic equipment after receiving the guide picture acquisition request of the second electronic equipment.
In accordance with yet another aspect of the present application, there is provided an electronic device including: a processor; and a memory arranged to store computer executable instructions that, when executed, cause the processor to perform a method as any one of the above.
According to yet another aspect of the application, a computer readable storage medium is provided, wherein the computer readable storage medium stores one or more programs which, when executed by a processor, implement the method as described in any of the above.
According to the technical scheme, the picture shot by the first electronic device in the specified posture is used as the basic picture, the basic picture is edited according to the received guiding information, the guiding picture is generated, and then the guiding picture is uploaded to the server so that the server sends the guiding picture to the second electronic device. The method has the advantages that the guide picture which is easy to understand is output by the method of combining the basic picture and the guide information to form the guide picture, and the identifiability and readability of the address information are improved, so that the designated position of a user is simply and clearly displayed, the difficulty in finding a place is reduced, and the service efficiency is improved.
The above description is only an overview of the technical solutions of the present application, and the present application may be implemented in accordance with the content of the description so as to make the technical means of the present application more clearly understood, and the detailed description of the present application will be given below in order to make the above and other objects, features, and advantages of the present application more clearly understood.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the application. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
fig. 1 shows a flow chart diagram of a method for generating a guidance picture according to an embodiment of the present application;
fig. 2 is a schematic structural diagram of a device for generating a guide picture according to an embodiment of the present application;
FIG. 3 shows a schematic structural diagram of an electronic device according to an embodiment of the present application;
FIG. 4 shows a schematic structural diagram of a computer-readable storage medium according to an embodiment of the present application.
Detailed Description
Exemplary embodiments of the present application will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present application are shown in the drawings, it should be understood that the present application may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
The existing electronic map navigation tool can not guide a user to reach an appointed place by adopting a real-scene picture and guide information mode, the method and the device for generating the guide picture, the electronic equipment and the storage medium are provided, the base picture and the method for generating the guide picture are used for outputting the guide picture which is easy to understand by loading the guide information, the easy identifiability and readability of address information are improved, the place searching difficulty is reduced, and the service efficiency is improved.
Fig. 1 is a flowchart illustrating a method for generating a guidance picture according to an embodiment of the present application, where the method includes:
and step S110, taking the picture shot by the first electronic equipment in the specified posture as a basic picture.
The first electronic device can be a mobile phone, a tablet computer or a notebook computer. The picture information acquired by the first electronic device must meet certain requirements to be available as a base picture, in order to ensure the quality of the generated guide picture. For example, if a user takes a picture of the ground of a road and takes the picture as a base picture, the amount of information of a guidance picture generated on the basis of the base picture is not very high, because the ground has few features with identification, the ground of the road is often similar, and the quality of the guidance picture is poor.
And step S120, receiving the submitted guide information.
Specifically, the guiding information is used for explaining the geographical position information in more detail, and the guiding information can be input through voice, text and specific controls.
Step S130, editing the basic picture according to the guidance information, and generating a guidance picture.
For example, the base picture is edited by the guide information, and the live-action picture and the prompt information can be combined to generate a guide picture which is easy to understand and distinguish. For example, the user may input guidance information of "please go straight along the street, turn right at the first intersection, go straight to the entrance of the parking lot" by voice entry or text, and may also mark in the basic picture in combination with an icon: marking straight arrows at streets, turning icons at intersections, destination icons at parking lot entrances. Therefore, a guide picture is generated for guiding the user to quickly understand the designated geographical location information and accurately arrive at the designated place.
And step S140, uploading the guide picture to a server, so that the server sends the guide picture to the second electronic equipment.
The guide picture is uploaded to the server, the server serves as a storage party or a forwarding party of the guide picture, and the guide picture can be sent out more conveniently by utilizing the characteristic that the server can be communicated with a plurality of electronic devices. This also further broadens the usage scenarios, the server may be embodied as a service server, e.g. a service related to map navigation, order distribution, etc.
Therefore, the method shown in fig. 1 outputs the easily understandable guide picture by combining the basic picture and the guide information to form the guide picture, so that the identifiability and readability of the address information are improved, the designated position of the user is simply and clearly displayed, the difficulty in searching the place is reduced, and the service efficiency is improved.
In an embodiment of the application, the method, in which taking a picture taken by the first electronic device in a specified posture as a base picture, includes: acquiring parameters of a gravity sensor in first electronic equipment; and taking the picture shot when the parameters fall into the specified range as a basic picture.
For example, when a user uses a mobile electronic device such as a mobile phone or a tablet computer to take a picture, the shooting angle of the user is limited to be parallel to the ground, and whether the picture can be taken as a basic picture or not is determined by acquiring the gravity sensor parameter of the mobile electronic device such as the mobile phone or the tablet computer of the user and comparing whether the parameter is within a preset parameter range or not. This is because, in the internet era, users generally use such electronic devices in life, and the characteristics of such electronic devices that they are easy to carry and have many functions are utilized, but because of this, users can use such electronic devices in different postures, so that the basic pictures do not always meet the requirements. The designated posture is determined by utilizing the gravity sensor in the electronic equipment, the limitation on the basic picture can be realized without additionally adding devices, the method is simple and convenient, and the resource consumption is low.
In an embodiment of the present application, the method, in which the picture taken when the parameter falls within the specified range is taken as a base picture, includes: providing a shooting interface; adjusting the availability of a shooting control in the shooting interface according to the parameters; if the acquired parameters of the gravity sensor are out of the specified range, forbidding the shooting control; and if the acquired parameters of the gravity sensor are within the specified range, the shooting control is enabled.
Specifically, the shooting interface of the first electronic device may be integrated with a camera function in a mobile electronic device such as a mobile phone or a tablet computer of a user, or may be implemented by using an independent application program. When a user shoots by using the shooting interface, if the shooting visual angle is parallel to the ground, namely the parameters of the gravity sensor are in a specified range, the shooting control can be called to shoot; if the shooting visual angle is not parallel to the ground or exceeds the allowable operation error range, namely the parameters of the gravity sensor are out of the specified range, the shooting control is forbidden, shooting cannot be performed at the moment, and the user needs to adjust the shooting visual angle. In the embodiment, the starting and the disabling of the shooting control are limited by specifying the parameter range, so that compared with the situation that the shooting control is not limited, the processing amount of the shot picture is reduced, and the operation accuracy of a user is improved.
In one embodiment of the present application, in the above method, the specified range includes a specified range of the Y-axis parameter and a specified range of the X-axis parameter; the specified range of the Y-axis parameter is a set of the following intervals: { [80 °,100 ° ], [ -100 °, -80 ° ] }; the specified range of the X-axis parameter is a set of the following intervals: { [350 °,360 ° ], [0 °,10 ° ], [170 °,190 ° ] }.
The application layer acting on the first electronic device determines whether the shooting angle of the electronic device is parallel to the ground or not by acquiring the parameters of the gravity sensor of the electronic device, namely the angle of the X, Y, Z axis of the electronic device, and under the normal condition, the shooting angle of the electronic device is completely parallel to the ground when the Y axis is 0 degree (or 180 degrees) and the X axis is 90 degrees (or-90 degrees), and the operation error within 10 degrees is allowed in consideration of the habit of using the electronic device by an actual user, so that the designated range of the Y axis parameters is a set of the following intervals: { [80 °,100 ° ], [ -100 °, -80 ° ] }, the specified range of X-axis parameters is a set of the following intervals: { [350 °,360 ° ], [0 °,10 ° ], [170 °,190 ° ] } it can be determined that the user photographing view angle is parallel to the floor.
When a user needs to guide a picture to navigate, the user also needs to observe the periphery, and the visual angle is often parallel to the ground, so that the basic picture shot by the electronic device with the gravity sensor parameter in the specified range is selected, the information amount provided by the basic picture is full, and the function of the guide picture generated on the basis is excellent.
In an embodiment of the present application, the method further includes: and if the acquired parameters are out of the specified range, generating and displaying corresponding posture adjustment information according to the acquired parameters.
For example, when the acquired parameters are out of the specified parameter range, the user is prompted to adjust the shooting angle, fine adjustment can be performed in the modes of angle, direction, distance and the like, and the posture adjustment information can be displayed on a shooting interface or in a multimedia mode. For example, the angle difference and the displacement difference between the current shooting visual angle and the standard shooting visual angle of the shooting interface display device are prompted in the modes of pictures, voice, characters and the like, and a user can move or rotate the first electronic device, so that guidance for the user is achieved.
In an embodiment of the application, in the above method, the guidance information includes one or more of: text information, voice information and configuration information of the guide control.
The guidance information can be used as supplementary description of the basic picture, and can adopt text information or voice information, such as "turn left at the current intersection by 100 meters", and the like, and can also adopt configuration information of the guidance control as supplementary description. In this embodiment, the geographic information can be more accurately expressed and the geographic position can be more intuitively shown through the combination of the basic picture and the guide information compared with the traditional navigation tool.
In an embodiment of the present application, in the method, the guiding configuration information of the control includes: the type of the guide control, the coordinates of the guide control in the picture, and the rotation angle of the guide control. Specifically, in an embodiment of the present application, in the method, the guidance control includes one or more of the following: turning control, advancing control and marking control.
The guide control corresponds to a corresponding position in the picture through the coordinates; the guiding control can make corresponding angle rotation according to a specific route and be applied to the basic picture. Considering that the base pictures taken by the users are difficult to ensure to be ideal, for example, the forward control can be arranged along the direction of a road, but the road in the base pictures is not straight but inclined, and the forward control can be placed by rotating a certain angle. In addition, the position of the guiding control in the base picture is related to the picture resolution and the actual scene, and in order to be able to adapt to more scenes, the coordinates may specifically be obtained by pre-establishing a coordinate system corresponding to the base picture and referring to the position of the coordinates in the base picture, and specifically may be a proportional value.
In an embodiment of the present application, in the method, the guidance picture corresponds to a designated geographic area; the second electronic device is used to guide a trip involving a designated geographic area.
In a specific example, the displayed geographic position of the guide picture should be within a specified geographic area, that is, the displayed position of the guide picture should be the position of the user or a position specified by the user; and the user holds the second electronic equipment to realize navigation according to the guide picture. Here, the travel of the designated geographical area includes the case where the start point is the designated geographical position, the end point is the designated geographical position, the travel track passes through the designated geographical position, and the like. For example, the delivery address of the user is an X-way X-yard X-building, but a yard entrance of the X-way X-yard is not easy to find, the designated geographic position can be the yard entrance of the X-way X-yard, the user takes an image of the yard entrance as a basic picture, and a guide picture is generated on the basis to guide a delivery person to reach the yard entrance and further find the X-way X-yard X-building in the yard.
In an embodiment of the application, the method, in which sending, by the server, the guidance picture to the second electronic device includes: if the distance between the geographic position of the second electronic equipment and the designated geographic area is within a preset threshold value, the server sends the guide picture to the second electronic equipment; and/or the server sends the guide picture to the second electronic equipment after receiving the guide picture acquisition request of the second electronic equipment.
For example, the driver or the dispatcher takes the second electronic device to go to the designated geographical area, and if the driver or the dispatcher is close to the designated position and is within a certain threshold range of the designated area, the server actively sends the guidance picture to the driver or the dispatcher. In other cases, the driver or the dispenser may actively request the guidance picture to be sent, and the server directly sends the guidance picture to the driver or the dispenser. That is, the server may actively issue the guidance picture, or may send the guidance picture again in response to the guidance picture acquisition request, and the server may support both or one of the two modes.
The following description will be given with reference to a specific example. When a user places an order by using a mobile phone, the user needs to designate an order service address, at the moment, the user uses the mobile phone to shoot a designated order service place, and receives voice, character or picture prompt information to prompt the user to adjust a shooting posture in the shooting process until a shooting visual angle is approximately parallel to the ground, and the shot picture can be used as a basic picture. And editing the basic picture meeting the requirements by the user, editing the basic picture into a guide picture which is easy to understand and strong in guidance through adding icons, supplementing voice, character description and the like, and sending the guide picture to the server. After the delivery personnel receive the order, the server can judge whether to send the guide picture output by the user to the mobile phone of the delivery personnel according to whether the position of the delivery personnel is within the preset range of the specified place, on the other hand, when the delivery personnel is unfamiliar with the service address of the specified order, the server can directly send the request information, and the server directly sends the guide picture to the mobile phone of the delivery personnel. After receiving the guide picture, the distribution personnel can conveniently understand and quickly find the order service address, and efficiently complete the order service.
Fig. 2 is a schematic structural diagram of a device for generating a guidance picture according to an embodiment of the present application. As shown in fig. 2, the guidance picture generation apparatus 200 includes:
a base picture unit 210, configured to take a picture taken by the first electronic device in the specified pose as a base picture.
The first electronic device can be a mobile phone, a tablet computer or a notebook computer. The picture information acquired by the first electronic device must meet certain requirements to be available as a base picture, in order to ensure the quality of the generated guide picture. For example, if a user takes a picture of the ground of a road and takes the picture as a base picture, the amount of information of a guidance picture generated on the basis of the base picture is not very high, because the ground has few features with identification, the ground of the road is often similar, and the quality of the guidance picture is poor.
A guidance information unit 220, configured to receive the submitted guidance information.
Specifically, the guiding information is used for explaining the geographical position information in more detail, and the guiding information can be input through voice, text and specific controls.
And a generating unit 230, configured to edit the base picture according to the guidance information, and generate a guidance picture.
For example, the base picture is edited by the guide information, and the live-action picture and the prompt information can be combined to generate a guide picture which is easy to understand and distinguish. For example, the user may input guidance information of "please go straight along the street, turn right at the first intersection, go straight to the entrance of the parking lot" by voice entry or text, and may also mark in the base picture in combination with an icon: marking straight arrows at streets, turning icons at intersections, destination icons at parking lot entrances. Therefore, a guide picture is generated for guiding the user to quickly understand the designated geographical location information and accurately arrive at the designated place.
An uploading unit 240, configured to upload the guidance picture to the server, so that the server sends the guidance picture to a second electronic device that is associated with the first electronic device.
The guide picture is uploaded to the server, the server serves as a storage party or a forwarding party of the guide picture, and the guide picture can be sent out more conveniently by utilizing the characteristic that the server can be communicated with a plurality of electronic devices. This also further broadens the usage scenarios, and the server may be embodied as a service server, such as services related to map navigation, order distribution, and the like.
According to the device shown in fig. 2, the basic picture is obtained through the basic picture unit, the guide information unit generates the guide information, the generation unit is used for combining the guide information with the basic picture to generate the guide picture, finally the guide picture is uploaded to the server through the uploading unit and is sent to the second electronic device, the guide picture easy to understand is output, and the identifiability and readability of the address information are improved, so that the designated position of a user is simply and clearly displayed, the place searching difficulty is reduced, and the service efficiency is improved.
In an embodiment of the present application, in the apparatus, the basic picture unit 210 is configured to obtain a parameter of a gravity sensor in the first electronic device; and taking the picture shot when the parameters fall into the specified range as a basic picture.
For example, when a user uses a mobile electronic device such as a mobile phone or a tablet computer to take a picture, the shooting angle of the user is limited to be parallel to the ground, and whether the picture can be taken as a basic picture or not is determined by obtaining a gravity sensor parameter of the mobile electronic device such as the mobile phone or the tablet computer of the user and comparing whether the parameter is within a preset parameter range or not. This is because, in the internet era, users generally use such electronic devices in life, and the characteristics of such electronic devices that they are easy to carry and have many functions are utilized, but because of this, users can use such electronic devices in different postures, so that the basic pictures do not always meet the requirements. The designated posture is determined by utilizing the gravity sensor in the electronic equipment, the limitation on the basic picture can be realized without additionally adding devices, the method is simple and convenient, and the resource consumption is low.
In an embodiment of the present application, in the above apparatus, the basic picture unit 210 is configured to provide a shooting interface; adjusting the availability of a shooting control in the shooting interface according to the parameters; if the acquired parameters of the gravity sensor are out of the specified range, forbidding the shooting control; and if the acquired parameters of the gravity sensor are within the specified range, the shooting control is enabled.
Specifically, the shooting interface of the first electronic device may be integrated with a camera function in a mobile electronic device such as a mobile phone or a tablet computer of a user, or may be implemented by using an independent application program. When a user shoots by using the shooting interface, if the shooting visual angle is parallel to the ground, namely the parameters of the gravity sensor are in a specified range, the shooting control can be called to shoot; if the shooting visual angle is not parallel to the ground or exceeds the allowable operation error range, namely the parameters of the gravity sensor are out of the specified range, the shooting control is forbidden, shooting cannot be performed at the moment, and the user needs to adjust the shooting visual angle. In the embodiment, the starting and the disabling of the shooting control are limited by specifying the parameter range, so that compared with the situation that the shooting control is not limited, the processing amount of the shot pictures is reduced, and the operation accuracy of a user is improved.
In one embodiment of the present application, in the above apparatus, the specified range includes a specified range of the Y-axis parameter and a specified range of the X-axis parameter; the specified range of the Y-axis parameter is a set of the following intervals: { [80 °,100 ° ], [ -100 °, -80 ° ] }; the specified range of the X-axis parameter is a set of the following intervals: { [350 °,360 ° ], [0 °,10 ° ], [170 °,190 ° ] }.
The application layer acting on the first electronic device determines whether the shooting angle of the electronic device is parallel to the ground or not by acquiring the parameters of the gravity sensor of the electronic device, namely the angle of the X, Y, Z axis of the electronic device, and under the normal condition, the shooting angle of the electronic device is completely parallel to the ground when the Y axis is 0 degree (or 180 degrees) and the X axis is 90 degrees (or-90 degrees), and the operation error within 10 degrees is allowed in consideration of the habit of using the electronic device by an actual user, so that the designated range of the Y axis parameters is a set of the following intervals: { [80 °,100 ° ], [ -100 °, -80 ° ] }, specified ranges of X-axis parameters are a set of intervals: { [350 °,360 ° ], [0 °,10 ° ], [170 °,190 ° ] } it can be determined that the user photographing view angle is parallel to the floor.
When a user needs to guide a picture to navigate, the user also needs to observe the periphery, and the visual angle is often parallel to the ground, so that the basic picture shot by the electronic device with the gravity sensor parameter in the specified range is selected, the information amount provided by the basic picture is full, and the function of the guide picture generated on the basis is excellent.
In one embodiment of the present application, the apparatus further includes:
and the prompting unit is used for generating and displaying corresponding posture adjustment information according to the acquired parameters if the acquired parameters are out of the specified range.
For example, when the acquired parameters are out of the specified parameter range, the user is prompted to adjust the shooting angle of view, fine adjustment can be performed in the modes of angle, direction, distance and the like, and the posture adjustment information can be displayed on a shooting interface or can be in a multimedia form. For example, the angle difference and the displacement difference between the current shooting visual angle and the standard shooting visual angle of the shooting interface display device are prompted in the modes of pictures, voice, characters and the like, and a user can move or rotate the first electronic device, so that guidance for the user is achieved.
In an embodiment of the application, the guidance information includes one or more of the following: text information, voice information and configuration information of the guide control.
The guidance information can be used as supplementary description of the basic picture, and can adopt text information or voice information, such as "turn left at the current intersection by 100 meters", and the like, and can also adopt configuration information of the guidance control as supplementary description. In this embodiment, the geographic information can be more accurately expressed and the geographic position can be more intuitively shown through the combination of the basic picture and the guide information compared with the traditional navigation tool.
In an embodiment of the present application, in the above apparatus, the configuration information of the guidance control includes: the type of the guide control, the coordinates of the guide control in the picture, and the rotation angle of the guide control. Specifically, in one embodiment of the present application, the guidance control includes one or more of a turning control, a forward control, and a marking control.
The guide control corresponds to a corresponding position in the picture through the coordinates; the guiding control can make corresponding angle rotation according to a specific route and be applied to the basic picture. Considering that the base pictures taken by the users are difficult to ensure to be ideal, for example, the forward control can be arranged along the direction of a road, but the road in the base pictures is not straight but inclined, and the forward control can be placed by rotating a certain angle. In addition, the position of the guiding control in the base picture is related to the picture resolution and the actual scene, and in order to be able to adapt to more scenes, the coordinates may specifically be obtained by pre-establishing a coordinate system corresponding to the base picture and referring to the position of the coordinates in the base picture, and specifically may be a proportional value.
In an embodiment of the present application, in the above apparatus, the guidance picture corresponds to a designated geographical area; the second electronic device is for guiding a trip involving a designated geographic area.
In a specific example, the displayed geographic position of the guide picture should be within a specified geographic area, that is, the displayed position of the guide picture should be the position of the user or a position specified by the user; and the user holds the second electronic equipment to realize navigation according to the guide picture. Here, the travel of the designated geographical area includes the case where the start point is the designated geographical position, the end point is the designated geographical position, the travel track passes through the designated geographical position, and the like. For example, the delivery address of the user is an X-way X-yard X-building, but a yard entrance of the X-way X-yard is not easy to find, the designated geographic position can be the yard entrance of the X-way X-yard, the user takes an image of the yard entrance as a basic picture, and a guide picture is generated on the basis to guide a delivery person to reach the yard entrance and further find the X-way X-yard X-building in the yard.
In an embodiment of the present application, in the apparatus, the uploading unit 240 is configured to send the guidance picture to the second electronic device by the server, and if a distance between a geographic location of the second electronic device and a designated geographic area is a preset threshold, the server sends the guidance picture to the second electronic device; and/or the server sends the guide picture to the second electronic device after receiving the guide picture acquisition request of the second electronic device.
For example, the driver or the dispatcher takes the second electronic device to go to the designated geographical area, and if the driver or the dispatcher is close to the designated position and is within a certain threshold range of the designated area, the server actively sends the guidance picture to the driver or the dispatcher. In other cases, the driver or the dispenser may actively request the guidance picture to be sent, and the server directly sends the guidance picture to the driver or the dispenser. That is, the server may actively issue the guidance picture, or may send the guidance picture again in response to the guidance picture acquisition request, and the server may support both or one of the two modes.
The following description will be given with reference to a specific example. When a user places an order by using the mobile phone, the user needs to designate an order service address, at the moment, the user uses the mobile phone to shoot an appointed order service place, and receives voice, character or picture prompt information to prompt the user to adjust the shooting posture in the shooting process until the shooting visual angle is approximately parallel to the ground, and the shot picture can be used as a basic picture. And editing the basic picture meeting the requirements by the user, editing the basic picture into a guide picture which is easy to understand and strong in guidance through adding icons, supplementing voice, character description and the like, and sending the guide picture to the server. After the delivery personnel receive the order, the server can judge whether to send the guide picture output by the user to the mobile phone of the delivery personnel according to whether the position of the delivery personnel is within the preset range of the specified place, on the other hand, when the delivery personnel is unfamiliar with the service address of the specified order, the server can directly send the request information, and the server directly sends the guide picture to the mobile phone of the delivery personnel. After receiving the guide picture, the distribution personnel can conveniently understand and quickly find the order service address, and efficiently complete the order service.
In summary, according to the technical scheme of the application, a picture taken by the first electronic device in the designated posture is used as a basic picture, the basic picture is edited according to the received guiding information, a guiding picture is generated, and the guiding picture is uploaded to the server so that the server sends the guiding picture to the second electronic device. The guide picture which is easy to understand is output in a mode of combining the basic picture with the guide information, and the identifiability and readability of the address information are improved, so that the designated position of the user is shown concisely and clearly, the place searching difficulty is reduced, and the service efficiency is improved.
It should be noted that:
the algorithms and displays presented herein are not inherently related to any particular computer, virtual machine, or other apparatus. Various general purpose devices may be used with the teachings herein. The required structure for constructing an arrangement of this type will be apparent from the description above. In addition, this application is not directed to any particular programming language. It will be appreciated that a variety of programming languages may be used to implement the teachings of the present application as described herein, and any descriptions of specific languages are provided above to disclose the best modes of the present application.
In the description provided herein, numerous specific details are set forth. However, it is understood that embodiments of the application may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure an understanding of this description.
Similarly, it should be appreciated that in the foregoing description of exemplary embodiments of the application, various features of the application are sometimes grouped together in a single embodiment, figure, or description thereof for the purpose of streamlining the application and aiding in the understanding of one or more of the various inventive aspects. However, the disclosed method should not be interpreted as reflecting an intention that: this application is intended to cover such departures from the present disclosure as come within known or customary practice in the art to which this invention pertains. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims following the detailed description are hereby expressly incorporated into this detailed description, with each claim standing on its own as a separate embodiment of this application.
Those skilled in the art will appreciate that the modules in the device in an embodiment may be adaptively changed and disposed in one or more devices different from the embodiment. The modules or units or components of the embodiments may be combined into one module or unit or component, and furthermore they may be divided into a plurality of sub-modules or sub-units or sub-components. All of the features disclosed in this specification (including any accompanying claims, abstract and drawings), and all of the processes or elements of any method or apparatus so disclosed, may be combined in any combination, except combinations where at least some of such features and/or processes or elements are mutually exclusive. Each feature disclosed in this specification (including any accompanying claims, abstract and drawings) may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.
Furthermore, those skilled in the art will appreciate that while some embodiments described herein include some features included in other embodiments, rather than other features, combinations of features of different embodiments are meant to be within the scope of the application and form different embodiments. For example, in the following claims, any of the claimed embodiments may be used in any combination.
The various component embodiments of the present application may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. Those skilled in the art will appreciate that a microprocessor or Digital Signal Processor (DSP) may be used in practice to implement some or all of the functions of some or all of the components in the apparatus for generating a guidance picture according to the embodiments of the present application. The present application may also be embodied as apparatus or device programs (e.g., computer programs and computer program products) for performing a portion or all of the methods described herein. Such programs implementing the present application may be stored on a computer readable medium or may be in the form of one or more signals. Such a signal may be downloaded from an internet website, or provided on a carrier signal, or provided in any other form.
For example, fig. 3 shows a schematic structural diagram of an electronic device according to an embodiment of the present application. The electronic device 300 comprises a processor 310 and a memory 320 arranged to store computer executable instructions (computer readable program code). The memory 320 may be an electronic memory such as a flash memory, an EEPROM (electrically erasable programmable read only memory), an EPROM, a hard disk, or a ROM. The memory 320 has a storage space 330 storing computer readable program code 331 for performing any of the method steps described above. For example, the memory space 330 for storing the computer readable program code may include respective computer readable program codes 331 respectively for implementing various steps in the above method. The computer readable program code 331 may be read from or written to one or more computer program products. These computer program products comprise a program code carrier such as a hard disk, a Compact Disc (CD), a memory card or a floppy disk. Such a computer program product is typically a computer readable storage medium such as described in fig. 4. FIG. 4 shows a schematic structural diagram of a computer-readable storage medium according to an embodiment of the present application. The computer readable storage medium 400 has stored thereon computer readable program code 331 for performing the steps of the method according to the application, readable by a processor 310 of an electronic device 300, which computer readable program code 331, when executed by the electronic device 300, causes the electronic device 300 to perform the steps of the method as described above, in particular the computer readable program code 331 stored thereon may perform the method as shown in any of the embodiments above. The computer readable program code 331 may be compressed in a suitable form.
It should be noted that the above-mentioned embodiments illustrate rather than limit the application, and that those skilled in the art will be able to design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The application may be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by one and the same item of hardware. The usage of the words first, second and third, etcetera do not indicate any ordering. These words may be interpreted as names.

Claims (11)

1. A method for generating a guide picture, the method being performed by a first electronic device and comprising:
taking a picture shot by the first electronic equipment in a specified posture as a basic picture;
receiving submitted guide information, wherein the guide information comprises configuration information of a guide control; the guiding information is used for explaining the appointed geographical position information;
editing the basic picture according to the guiding information, adding a guiding control image determined according to the configuration information into the basic picture, and generating a guiding picture, wherein the guiding picture is used for guiding a user to understand the designated geographical position information so as to arrive at a designated place; the displayed position of the guide picture is the position of the user or the position designated by the user; the guide picture is used for guiding a user to arrive at a designated place which is not easy to find;
uploading the guide picture to a server, so that the server sends the guide picture to second electronic equipment, and the second electronic equipment realizes navigation according to the guide picture;
the taking a picture taken by the first electronic device in a specified posture as a base picture comprises:
acquiring parameters of a gravity sensor in the first electronic equipment;
taking a picture shot when the parameters fall into a specified range as the basic picture;
the taking the picture shot when the parameters fall into the specified range as the basic picture comprises:
providing a shooting interface;
adjusting the availability of a shooting control in a shooting interface according to the parameters; if the shooting visual angle is parallel to the ground, the acquired gravity sensor parameters are in a specified range, and the shooting control is called to shoot; and if the shooting visual angle is not parallel to the ground or exceeds the allowable operation error range, the acquired gravity sensor parameters are out of the specified range, and the shooting control is forbidden.
2. The method of claim 1, wherein the specified range includes a specified range of Y-axis parameters and a specified range of X-axis parameters;
the specified range of the Y-axis parameter is a set of the following intervals: { [80 °,100 ° ], [ -100 °, -80 ° ] };
the specified range of the X-axis parameter is a set of the following intervals: { [350 °,360 ° ], [0 °,10 ° ], [170 °,190 ° ] }.
3. The method of claim 1, further comprising:
and if the acquired parameters are outside the specified range, generating and displaying corresponding posture adjustment information according to the acquired parameters.
4. The method of claim 1, wherein the guidance information comprises one or more of:
text information and voice information.
5. The method of claim 4, wherein the configuration information of the guidance control comprises:
the type of the guide control, the coordinates of the guide control in the picture, and the rotation angle of the guide control.
6. The method of claim 4, wherein the guidance control comprises one or more of:
turning control, advancing control and marking control.
7. The method of claim 1, wherein the guidance picture corresponds to a specified geographic area;
the second electronic device is configured to direct the trip involving the designated geographic area.
8. The method of claim 1, wherein the sending, by the server, the guidance picture to a second electronic device comprises:
if the distance between the geographic position of the second electronic equipment and the designated geographic area is within a preset threshold value, the server sends the guide picture to the second electronic equipment;
and/or the presence of a gas in the gas,
and the server sends the guide picture to the second electronic equipment after receiving a guide picture acquisition request of the second electronic equipment.
9. The device for generating the guide picture is applied to first electronic equipment and comprises the following components:
the basic picture unit is used for taking a picture shot by the first electronic equipment in a specified posture as a basic picture;
the guide information unit is used for receiving the submitted guide information, and the guide information comprises configuration information of a guide control; the guiding information is used for explaining the appointed geographical position information;
the generating unit is used for editing the basic picture according to the guide information, adding a guide control image determined according to the configuration information into the basic picture and generating a guide picture; the guide picture is used for guiding a user to understand the specified geographic position information to arrive at a specified place; the displayed position of the guide picture is the position of the user or the position designated by the user; the guide picture is used for guiding a user to arrive at a designated place which is not easy to find;
the uploading unit is used for uploading the guide picture to a server so that the server sends the guide picture to a second electronic device which has an association relation with the first electronic device, and the second electronic device realizes navigation according to the guide picture;
the basic picture unit is used for acquiring parameters of a gravity sensor in the first electronic equipment; taking a picture shot when the parameters fall into a specified range as a basic picture;
the basic picture unit is used for providing a shooting interface; adjusting the availability of a shooting control in a shooting interface according to the parameters; if the shooting visual angle is parallel to the ground, the acquired gravity sensor parameters are in a specified range, and the shooting control is called to shoot; and if the shooting visual angle is not parallel to the ground or exceeds the allowable operation error range, the acquired parameters of the gravity sensor are out of the specified range, and the shooting control is forbidden.
10. An electronic device, wherein the electronic device comprises: a processor; and a memory arranged to store computer-executable instructions that, when executed, cause the processor to perform the method of any one of claims 1-8.
11. A computer readable storage medium, wherein the computer readable storage medium stores one or more programs which, when executed by a processor, implement the method of any of claims 1-8.
CN201910270651.5A 2019-04-04 2019-04-04 Method and device for generating guide picture, electronic equipment and storage medium Active CN109933642B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910270651.5A CN109933642B (en) 2019-04-04 2019-04-04 Method and device for generating guide picture, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910270651.5A CN109933642B (en) 2019-04-04 2019-04-04 Method and device for generating guide picture, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN109933642A CN109933642A (en) 2019-06-25
CN109933642B true CN109933642B (en) 2023-03-07

Family

ID=66989331

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910270651.5A Active CN109933642B (en) 2019-04-04 2019-04-04 Method and device for generating guide picture, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN109933642B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111459597A (en) * 2020-04-01 2020-07-28 北京字节跳动网络技术有限公司 User guide generation method and device, electronic equipment and computer readable medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101598565A (en) * 2008-06-06 2009-12-09 佛山市顺德区顺达电脑厂有限公司 Produce navigation image database generation method and device thereof
CN101709977A (en) * 2009-11-30 2010-05-19 深圳市戴文科技有限公司 Realization method of road book navigation and road book navigation terminal
CN101782904A (en) * 2009-01-21 2010-07-21 神达电脑股份有限公司 Personal navigation device and method for automatic adding label to photo
CN202171801U (en) * 2011-01-27 2012-03-21 深圳市美赛达科技有限公司 Generating device including position information pictures and processing device including position information pictures
CN107689075A (en) * 2017-08-30 2018-02-13 北京三快在线科技有限公司 Generation method, device and the robot of navigation map
CN108489508A (en) * 2018-03-27 2018-09-04 武汉光庭信息技术股份有限公司 A kind of display methods of navigation enlarged drawing
CN108955715A (en) * 2018-07-26 2018-12-07 广州建通测绘地理信息技术股份有限公司 navigation video generation method, video navigation method and system

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100104187A1 (en) * 2008-10-24 2010-04-29 Matt Broadbent Personal navigation device and related method of adding tags to photos according to content of the photos and geographical information of where photos were taken
CN102519478B (en) * 2011-11-16 2016-01-13 深圳市凯立德科技股份有限公司 A kind of streetscape destination bootstrap technique and device
JP6086767B2 (en) * 2013-03-13 2017-03-01 アルパイン株式会社 Navigation device, navigation system, intersection guide program, and intersection guide method
CN104596523B (en) * 2014-06-05 2019-05-07 腾讯科技(深圳)有限公司 A kind of streetscape destination bootstrap technique and equipment
CN106713729A (en) * 2015-11-12 2017-05-24 深圳富泰宏精密工业有限公司 Shooting aiding method and electronic device
US10893137B2 (en) * 2017-03-21 2021-01-12 Huawei Technologies Co., Ltd. Photography guiding method, device, and system
CN107067807A (en) * 2017-04-12 2017-08-18 广西灵图信息科技有限公司 A kind of method of indoor parking position guiding
CN109115242B (en) * 2018-08-28 2020-11-06 百度在线网络技术(北京)有限公司 Navigation evaluation method, device, terminal, server and storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101598565A (en) * 2008-06-06 2009-12-09 佛山市顺德区顺达电脑厂有限公司 Produce navigation image database generation method and device thereof
CN101782904A (en) * 2009-01-21 2010-07-21 神达电脑股份有限公司 Personal navigation device and method for automatic adding label to photo
CN101709977A (en) * 2009-11-30 2010-05-19 深圳市戴文科技有限公司 Realization method of road book navigation and road book navigation terminal
CN202171801U (en) * 2011-01-27 2012-03-21 深圳市美赛达科技有限公司 Generating device including position information pictures and processing device including position information pictures
CN107689075A (en) * 2017-08-30 2018-02-13 北京三快在线科技有限公司 Generation method, device and the robot of navigation map
CN108489508A (en) * 2018-03-27 2018-09-04 武汉光庭信息技术股份有限公司 A kind of display methods of navigation enlarged drawing
CN108955715A (en) * 2018-07-26 2018-12-07 广州建通测绘地理信息技术股份有限公司 navigation video generation method, video navigation method and system

Also Published As

Publication number Publication date
CN109933642A (en) 2019-06-25

Similar Documents

Publication Publication Date Title
US11776185B2 (en) Server, user terminal, and service providing method, and control method thereof for displaying photo images within a map
CN102216959B (en) For the technology of manipulating panoramas
US10921127B2 (en) Augmented reality based electronic device to provide location tagging assistance in an indoor or outdoor area
US20090167919A1 (en) Method, Apparatus and Computer Program Product for Displaying an Indication of an Object Within a Current Field of View
CN110753826A (en) Navigating an interactive list of ride service options in an application
US20120216149A1 (en) Method and mobile apparatus for displaying an augmented reality
JP5195986B2 (en) Image output apparatus and program
US20110022301A1 (en) Method, mobile device and recording medium for recording parking information
JP5512378B2 (en) Object display device, object display system, and object display method
US20090171980A1 (en) Methods and apparatus for real estate image capture
EP3897003A1 (en) Information display method and apparatus
US20150130833A1 (en) Map superposition method and electronic device
JP2006091390A (en) Information display system and method, program and information display terminal device for making computer perform information display method
JP5883723B2 (en) 3D image display system
CN110720026A (en) Custom visualization in navigation applications using third party data
CN102946476B (en) Rapid positioning method and rapid positioning device
CN109933642B (en) Method and device for generating guide picture, electronic equipment and storage medium
JP5262232B2 (en) Image orientation display method and apparatus, and photograph
CN109559382A (en) Intelligent guide method, apparatus, terminal and medium
CN104697516A (en) MT (Mobile Terminal) and travel guiding method
JP2016133701A (en) Information providing system and information providing method
JP2016219980A (en) Target information display device
JP2019174548A (en) Controller, electronic apparatus, control method, and control program
JP5853967B2 (en) Image output apparatus and program
CN112689114B (en) Method, apparatus, device and medium for determining target position of vehicle

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant