Public transportation electronic stop sign display control method, device, electronic stop sign and storage medium
Through binocular cameras and image processing technology, the vertical field of view of waiting passengers is determined and the electronic stop sign display layout is adjusted, which solves the problem of difficulty in viewing information caused by fixed electronic stop sign information display and improves passengers' travel experience.
Patent Information
- Application Number
- CN202411004430.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-25
- Publication Date
- 2024-10-11
- Estimated Expiration
- 2044-07-25
AI Technical Summary
At bus stops, the display method of bus information on electronic stop signs is relatively fixed. As a result, some passengers cannot view the information clearly when there are many passengers waiting, which affects the travel experience.
A binocular camera is used to collect the image in front of the display screen in real time. The eye height and position of waiting passengers are determined through image processing, and their vertical field of view is calculated. The layout of the bus information on the display screen is adjusted according to preset conditions and split-screen display is performed. Ensure information is clearly visible to all passengers.
It effectively solves the problem of difficult viewing of information when there are many passengers waiting for the bus, improves the user's travel experience, and allows more passengers to view public transportation information from an unobstructed line of sight by flexibly adjusting the display layout.
Smart Images

Figure CN118550495B_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the display field, and in particular to a method and device for controlling the display of an electronic bus stop sign, an electronic bus stop sign, and a storage medium. Background Art
[0002] Electronic bus stop signs refer to devices that use electronic display technology to display real-time route information and arrival information of public transportation vehicles such as buses, subways, and trains. Currently, when users view bus information displayed on electronic bus stop signs at bus stops, the display position of the bus information is fixed. When there are too many people viewing the electronic bus stop signs, some waiting passengers will be blocked by the waiting passengers in front of them due to the different heights of the waiting passengers, resulting in the inability to see the bus information displayed on the electronic bus stop signs, which reduces the user's travel experience.
[0003] In summary, the prior art has the technical problem that the display mode of bus information in the electronic bus stop board is relatively fixed, and it is difficult to view the bus information when there are many waiting passengers. Summary of the invention
[0004] The embodiment of the present invention provides a method and device for controlling the display of a bus electronic stop sign, an electronic stop sign and a storage medium. The embodiment of the present invention solves the technical problem in the prior art that the display mode of bus information in the electronic stop sign is relatively fixed, and it is difficult to view the bus information when there are many waiting passengers.
[0005] In a first aspect, an embodiment of the present invention provides a method for controlling display of an electronic bus stop sign, the method being applicable to an electronic bus stop sign, the electronic bus stop sign comprising a display screen, the electronic bus stop sign comprising a binocular camera, the binocular camera being used to collect an image directly in front of the display screen in real time, the method comprising:
[0006] Acquire the image captured by the binocular camera in real time;
[0007] Determine, based on the image, the eye height and position of each waiting passenger currently viewing the display screen, and the distance between the planes coinciding with the display screen;
[0008] Determine a first vertical viewing angle when the waiting passenger only views the display screen according to the eye height, the distance, the installation height and the size of the display screen;
[0009] Determining whether there is a target waiting passenger whose sight is blocked according to the eye height, position and distance of each waiting passenger;
[0010] In the case where the target waiting passenger exists, determining the target vertical viewing angle of the target waiting passenger that is not blocked in the first vertical viewing angle according to the eye height and distance of the waiting passenger directly in front of the target waiting passenger;
[0011] Determining whether the target vertical field of view angle meets a preset condition;
[0012] When the target vertical viewing angle meets the preset condition, the display layout of the bus information displayed on the display screen is adjusted according to the target vertical viewing angle, and the bus information is displayed in split screens.
[0013] Preferably, the determining, according to the eye height and position of the waiting passenger located directly in front of the target waiting passenger, the target vertical viewing angle that has not been blocked in the first vertical viewing angle of the target waiting passenger comprises:
[0014] Determine, according to the first vertical viewing angle, position and distance of each waiting passenger, a critical height corresponding to different distances in front of each waiting passenger;
[0015] According to the position of each of the waiting passengers, determining the first waiting passenger located directly in front of each of the waiting passengers;
[0016] According to the distance between the eye level of each of the first waiting passengers and the plane coinciding with the display screen, and the critical height corresponding to the front of each of the waiting passengers, it is determined whether there is a target waiting passenger whose vision is blocked.
[0017] Preferably, in the case where the target waiting passenger exists, determining the target vertical viewing angle that has not been blocked in the first vertical viewing angle of the target waiting passenger according to the eye height and distance of the waiting passenger directly in front of the target waiting passenger comprises:
[0018] Determine the second waiting passenger whose eye height exceeds the corresponding critical height the most among the waiting passengers directly in front of the target waiting passenger;
[0019] According to the first eye height of the target waiting passenger and the first distance between the plane coinciding with the display screen, the second eye height of the second waiting passenger and the second distance between the plane coinciding with the display screen, the target vertical field of view angle that has not been blocked in the first vertical field of view angle of the target waiting passenger is determined.
[0020] Preferably, determining the target vertical field of view angle that has not been blocked in the first vertical field of view angle of the target waiting passenger according to the first eye height of the target waiting passenger and the first distance between the plane coinciding with the display screen, the second eye height of the second waiting passenger and the second distance between the plane coinciding with the display screen, comprises:
[0021] determining an eye height difference according to a first eye height of the target waiting passenger and a second eye height of the second waiting passenger;
[0022] determining a distance difference according to a first distance between the plane where the target waiting passenger coincides with the display screen and a second distance between the plane where the second waiting passenger coincides with the display screen;
[0023] Determining a first angle according to the eye height difference and the distance difference;
[0024] According to the first angle, a target vertical viewing angle that has not been blocked in the first vertical viewing angle of the target waiting passenger is determined.
[0025] Preferably, determining whether the target vertical field of view angle meets a preset condition includes:
[0026] Determine whether the target vertical field of view angle is greater than a preset angle;
[0027] If it is greater than the preset angle, it is determined that the target vertical field of view angle meets the preset condition.
[0028] Preferably, adjusting the display layout of the bus information displayed on the display screen according to the target vertical viewing angle and displaying the bus information in split screens includes:
[0029] Determining a corresponding first area in the display area of the display screen according to the target vertical field of view angle;
[0030] The public transportation information is displayed in a split screen in the first area and the non-first area of the display screen.
[0031] Preferably, when there are a plurality of target waiting passengers, and the first areas corresponding to at least two of the target waiting passengers have overlapping areas, the method further includes:
[0032] The first area where the overlapping area exists is merged into a second area, and the public transportation information is scrolled and displayed in the second area.
[0033] In a second aspect, an embodiment of the present invention provides a bus electronic stop sign display control device, the device is applicable to an electronic stop sign, the electronic stop sign includes a display screen, the electronic stop sign includes a binocular camera, the binocular camera is used to collect an image directly in front of the display screen in real time, the device includes:
[0034] An image acquisition module, used to acquire the image taken by the binocular camera in real time;
[0035] A data determination module, used to determine, based on the image, the eye height and position of each waiting passenger currently viewing the display screen, and the distance between the planes coinciding with the display screen;
[0036] A first viewing angle determination module, used to determine a first vertical viewing angle when the waiting passenger only views the display screen according to the eye height, the distance, the installation height and the size of the display screen;
[0037] A target passenger determination module is used to determine whether there is a target waiting passenger whose sight is blocked according to the eye height, position and distance of each waiting passenger;
[0038] a target viewing angle determination module, for determining, when the target waiting passenger exists, a target vertical viewing angle that has not been blocked in the first vertical viewing angle of the target waiting passenger according to the eye height and distance of the waiting passenger directly in front of the target waiting passenger;
[0039] A condition judgment module, used to determine whether the target vertical field of view angle meets a preset condition;
[0040] The split-screen display module is used to adjust the display layout of the bus information displayed on the display screen according to the target vertical field of view angle when the target vertical field of view angle meets the preset condition, and display the bus information in a split-screen manner.
[0041] In a third aspect, an embodiment of the present invention provides an electronic station sign, the electronic station sign comprising a processor and a memory;
[0042] The memory is used to store a computer program and transmit the computer program to the processor;
[0043] The processor is used to execute a bus electronic stop sign display control method as described in the first aspect according to the instructions in the computer program.
[0044] In a fourth aspect, an embodiment of the present invention provides a storage medium storing computer executable instructions, wherein the computer executable instructions, when executed by a computer processor, are used to execute a bus electronic stop sign display control method as described in the first aspect.
[0045] As described above, the embodiment of the present invention provides a method, device, electronic bus stop display control method, and storage medium. The embodiment of the present invention can determine the target waiting passenger whose sight is blocked according to the image captured by the camera, and determine the target vertical field of view angle that has not been blocked in the first vertical field of view angle of the target waiting passenger. Then, according to the target vertical field of view angle, the display layout of the bus information displayed on the display screen is adjusted, and the bus information is displayed in split screen, so that the target waiting passenger can view the bus information through the target vertical field of view angle. The embodiment of the present invention can adjust the display layout of the bus information displayed on the display screen when it is detected that the sight of the target waiting passenger is blocked, so that the target waiting passenger can view the bus information from the sight range that has not been blocked, thereby improving the user's travel experience. The embodiment of the present invention solves the technical problem that the display mode of the bus information in the electronic bus stop is relatively fixed in the prior art, and it is difficult to view the bus information when there are many waiting passengers by flexibly changing the display layout of the bus information. BRIEF DESCRIPTION OF THE DRAWINGS
[0046] Figure 1 A schematic flow chart of a method for controlling the display of an electronic bus stop sign provided in an embodiment of the present invention.
[0047] Figure 2 A schematic diagram of a waiting passenger viewing a display screen provided by an embodiment of the present invention.
[0048] Figure 3 A schematic diagram of determining a critical height corresponding to different distances in front of each waiting passenger provided by an embodiment of the present invention.
[0049] Figure 4 A schematic diagram of a waiting passenger's sight being blocked provided in an embodiment of the present invention.
[0050] Figure 5 A schematic diagram of determining a target vertical field of view angle that has not been blocked in a first vertical field of view angle is provided in an embodiment of the present invention.
[0051] Figure 6 A schematic diagram of determining a first area corresponding to a target vertical field of view angle provided by an embodiment of the present invention.
[0052] Figure 7 A schematic diagram of a display screen that displays public transportation information on a split screen provided by an embodiment of the present invention.
[0053] Figure 8 A schematic structural diagram of a bus electronic stop sign display control device provided in an embodiment of the present invention.
[0054] Fig. 9A schematic diagram of the structure of an electronic bus stop provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0055] The following description and accompanying drawings fully illustrate the specific embodiments of the present application so that those skilled in the art can practice them. The examples represent possible variations only. Unless explicitly required, separate components and functions are optional, and the order of operation can vary. The parts and features of some embodiments may be included in or replace the parts and features of other embodiments. The scope of the embodiments of the present application includes the entire scope of the claims, and all available equivalents of the claims. In this article, each embodiment may be represented individually or generally by the term "invention", which is only for convenience, and if more than one invention is disclosed in fact, it is not intended to automatically limit the scope of the application to any single invention or inventive concept. In this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, without requiring or implying any actual relationship or order between these entities or operations. Moreover, the term "include", "comprise" or any other variant thereof is intended to cover non-exclusive inclusion, so that the process, method or device including a series of elements includes not only those elements, but also other elements that are not explicitly listed. The various embodiments are described in a progressive manner herein, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referred to each other. As for the structures, products, etc. disclosed in the embodiments, since they correspond to the parts disclosed in the embodiments, the description is relatively simple, and the relevant parts can be referred to the description of the method part.
[0056] like Figure 1 As shown, Figure 1 A flow chart of a method for controlling the display of an electronic bus stop sign provided in an embodiment of the present invention. The method for controlling the display of an electronic bus stop sign provided in an embodiment of the present invention can be executed by an electronic bus stop sign. The electronic bus stop sign provided in an embodiment of the present invention includes a display screen, wherein the display screen is used to display bus information, and the bus information includes information such as the stations passed by different bus routes and the current location of the bus routes. In addition, the electronic bus stop sign also includes a binocular camera, wherein the binocular camera is used to capture the image directly in front of the display screen in real time. The method for displaying line information on an electronic bus stop sign provided in an embodiment of the present invention includes the following steps:
[0057] Step 101: Acquire images captured by a binocular camera in real time.
[0058] In this embodiment, the electronic bus stop sign first needs to obtain the image captured by the binocular camera in real time.
[0059] Step 102: Determine the eye height and position of each waiting passenger currently viewing the display screen and the distance between the eye height and the plane coinciding with the display screen according to the image.
[0060] After acquiring the image captured by the binocular camera in real time, it is necessary to identify and analyze the image content to determine the waiting passengers who are currently viewing the display screen normally. Specifically, objects whose faces are facing the display screen and are within a preset distance of the display screen can be identified based on the image as waiting passengers who are currently viewing the display screen. Specifically, it is first necessary to identify human-type objects from the image, identify the facial features of the objects, and determine the distance of the objects from the display screen. Then, based on the facial features, determine whether the face of the object is facing the electronic display screen and whether the distance is within the preset distance. If so, it means that the object is currently viewing the line information displayed on the electronic stop sign with a high probability, and the object needs to be determined as a waiting passenger who is viewing the display screen.
[0061] After determining the waiting passenger who is currently watching the display screen, it is necessary to further determine the eye height, position and distance between the planes coinciding with the display screen of the waiting passenger who is currently watching the display screen. The eye height refers to the height of the eyes of the waiting passenger. The method of determining the eye height of the waiting passenger can adopt the existing technology, for example, according to the ratio of the waiting passenger in the image to the object of known height (such as a chair or a vehicle, etc.), to determine the eye height of the waiting passenger, or to use machine learning and computer vision technology to determine the eye height of the waiting passenger. In addition, in this embodiment, it is approximately considered that the eye height of the waiting passenger is equal to the height of the waiting passenger. The position refers to the current position of the waiting passenger corresponding to the display screen, and the position can be determined according to the position of the waiting passenger in the image. The distance between the plane coinciding with the display screen can be obtained by the binocular camera distance measurement method, wherein the distance refers to the distance perpendicular to the plane coinciding with the display screen. The specific process of determining the distance can refer to the existing technology, and will not be described in detail in this embodiment.
[0062] Step 103: Determine a first vertical viewing angle when the waiting passengers only view the display screen according to the eye height, distance, installation height and size of the display screen.
[0063] After determining the eye height, distance and position of the waiting passengers who are watching the display screen, it is also necessary to obtain the installation height and size of the display screen. The installation height and size of the display screen can be pre-stored locally on the electronic bus stop. The installation height of the display screen is based on the height of the center position of the display screen.
[0064] Afterwards, the electronic bus stop board also needs to determine the first vertical field of view angle when the waiting passengers only see the display screen according to the eye height, distance, installation height and size of the display screen, where the first vertical field of view angle is the field of view angle in the vertical direction. Since the width of the display screen is generally small, when the bus information is split-screen in the width direction of the display screen, due to insufficient space in the width direction, the font of the bus information will be displayed smaller and the content will be messy, affecting the user's viewing experience. Therefore, this implementation does not consider splitting the bus information on the display screen in the width direction, so there is no need to pay attention to the horizontal field of view angle of the waiting passengers when they are viewing the display screen.
[0065] For example, a schematic diagram of a waiting passenger viewing a display screen is shown in FIG. Figure 2 As shown, h1 is the highest display height of the display screen, h2 is the installation height of the display screen, h3 is the lowest display height of the display screen, h4 is the eye height of the waiting passengers, S1 is the distance between the waiting passengers and the display screen, and X is the length of the display screen. Figure 2 The relationship shown can be determined as follows:
[0066]
[0067]
[0068]
[0069]
[0070] So we can solve 1 and 2, 1 plus 2 can obtain the first vertical viewing angle when the waiting passengers only watch the display screen.
[0071] Step 104: Determine whether there is a target waiting passenger whose vision is blocked according to the eye height, position and distance of each waiting passenger.
[0072] While determining the first vertical field of view of each waiting passenger, the electronic bus stop also needs to determine whether there is a target waiting passenger whose sight is blocked according to the eye height, position and distance of each waiting passenger. It should be noted that in this embodiment, when the waiting passenger at the rear is completely blocked by the waiting passenger in front, the completely blocked waiting passenger at the rear cannot be photographed by the binocular camera, so the completely blocked waiting passenger is not considered, that is, for a waiting passenger whose eye height in a certain direction of the display screen is less than or equal to the eye height of the waiting passenger in front, the waiting passenger is not determined to be a target waiting passenger whose sight is blocked.
[0073] On the basis of the above embodiment, in step 104, determining whether there is a target waiting passenger whose sight is blocked according to the eye height, position and distance of each waiting passenger includes:
[0074] Step 1041: Determine the critical height corresponding to different distances in front of each waiting passenger according to the first vertical viewing angle, position and distance of each waiting passenger.
[0075] First, the electronic bus stop needs to determine the critical height corresponding to different positions in front of each waiting passenger according to the first vertical field of view, position and distance of each waiting passenger, where the critical height refers to the critical height at which the waiting passenger's line of sight is not blocked. For example, Figure 3 The figure shows a schematic diagram of determining the critical height corresponding to different distances in front of each waiting passenger. The waiting passenger is located at D1. When solving the critical height at D2 in front of the waiting passenger, after determining the first field of view of the waiting passenger, since the line of sight of the waiting passenger is parallel to the horizontal plane, it can be known that 1= 3. In the known In the case of h3 and h3, the distance between O-D3 can be solved according to the trigonometric calculation formula, and the distance between O-D1 can be solved according to the distance between O-D3 and S1. When solving the critical height h5 corresponding to the point D2 whose vertical distance between the planes coinciding with the display screen is S2, the following relationship exists:
[0076]
[0077] Therefore, the height of h5 can be calculated, and h5 is the critical height h5 corresponding to point D2.
[0078] Step 1042: According to the position of each waiting passenger, determine the first waiting passenger who is directly in front of each waiting passenger.
[0079] Afterwards, it is necessary to further determine the first waiting passenger located directly in front of each waiting passenger according to the position of each waiting passenger.
[0080] Step 1043: Determine whether there are target waiting passengers whose vision is blocked based on the distance between the eye level of each first waiting passenger and the plane coinciding with the display screen, and the critical height corresponding to the front of each passenger waiting.
[0081] After determining the first waiting passenger located directly in front of each waiting passenger, it is possible to determine whether there is a first waiting passenger whose eye height is greater than the corresponding critical height at different distances directly in front of each waiting passenger based on the eye height of each first waiting passenger and the distance between the plane coinciding with the display screen and the critical height corresponding to directly in front of each waiting passenger. If there is a first waiting passenger, it means that the waiting passenger is blocked. In this embodiment, the eye height is approximated as the height of the waiting passenger. In order to make a more accurate judgment, the height of the waiting passenger can also be obtained for calculation. For example, Figure 4 As shown, a schematic diagram of the blocked sight line of waiting passengers is shown. When the eye height of the first waiting passenger at point D2 is greater than the critical height h5, the first waiting passenger will block the sight line of the waiting passenger at point D1, so the waiting passenger at point D1 can be determined as the target waiting passenger whose sight line is blocked.
[0082] Step 105: When there is a target waiting passenger, determine the target vertical viewing angle that has not been blocked in the first vertical viewing angle of the target waiting passenger according to the eye height and distance of the waiting passenger directly in front of the target waiting passenger.
[0083] In the case where there is a target waiting passenger whose vision is blocked, it is necessary to determine the target vertical field of view angle that has not been blocked in the first vertical field of view angle of the target waiting passenger based on the eye height and distance of the waiting passenger directly in front of the target waiting passenger, among which the target vertical field of view angle that has not been blocked, that is, the first vertical field of view angle, can still observe the first vertical field of view angle of the display screen.
[0084] Step 1051: Determine the second waiting passenger whose eye height exceeds the corresponding critical height the most among the waiting passengers directly in front of the target waiting passenger.
[0085] First, in this embodiment, it is necessary to determine the second waiting passenger whose eye height exceeds the corresponding critical height the most among the waiting passengers directly in front of the target waiting passenger. It can be understood that the more the eye height exceeds the corresponding critical height, the greater the angle blocked by the waiting passenger in the first vertical field of view angle.
[0086] Step 1052: Determine the target vertical field of view angle that has not been blocked in the first vertical field of view angle of the target waiting passenger based on the first eye height of the target waiting passenger and the first distance between the plane coinciding with the display screen, the second eye height of the second waiting passenger and the second distance between the plane coinciding with the display screen.
[0087] After the second waiting passenger is determined, the target vertical viewing angle that is not blocked in the first vertical viewing angle of the target waiting passenger can be determined based on the first eye height of the target waiting passenger and the first distance between the planes coinciding with the display screen, the second eye height of the second waiting passenger and the second distance between the planes coinciding with the display screen. For example, the height difference between the first eye height and the second eye height is calculated, the distance difference between the first distance and the second distance is calculated, and then the target vertical viewing angle that is not blocked is calculated based on the height difference and the distance difference.
[0088] On the basis of the above embodiment, in step 1052, according to the first eye height of the target waiting passenger and the first distance between the planes coinciding with the display screen, the second eye height of the second waiting passenger and the second distance between the planes coinciding with the display screen, the target vertical viewing angle that has not been blocked in the first vertical viewing angle of the target waiting passenger is determined, including:
[0089] Step 10521: Determine the eye height difference according to the first eye height of the target waiting passenger and the second eye height of the second waiting passenger.
[0090] Step 10522: Determine the distance difference based on the first distance between the plane where the target waiting passenger overlaps with the display screen and the second distance between the plane where the second waiting passenger overlaps with the display screen.
[0091] Step 10523: Determine a first angle according to the eye height difference and the distance difference.
[0092] Step 10524: Determine, based on the first angle, the target vertical viewing angle of the target waiting passenger that has not been blocked in the first vertical viewing angle.
[0093] After determining the second waiting passenger, it is necessary to determine the eye height difference according to the first eye height of the target waiting passenger and the second eye height of the second waiting passenger, and determine the distance difference according to the first distance between the plane overlapping the target waiting passenger and the display screen and the second distance between the plane overlapping the second waiting passenger and the display screen. Finally, determine the first angle according to the eye height difference and the distance difference, and determine the target vertical field of view angle that has not been blocked in the first vertical field of view angle of the target waiting passenger according to the first angle.
[0094] For example, Figure 5 As shown, the second eye height of the second waiting passenger at exit D2 is h6. At this time, the eye height difference c between the first eye height h4 and the second eye height h6 is calculated, and the distance difference S4 between the first distance S1 and the second distance S2 is calculated. According to the eye height difference c, the distance difference S4 and the trigonometric calculation formula, it can be solved to obtain The value of 4, 4 plus 2, the target vertical field of view angle that has not been blocked in the first vertical field of view angle can be obtained.
[0095] Step 106: Determine whether the target vertical field of view angle meets a preset condition.
[0096] After determining the target vertical field of view of the target waiting passenger, it is necessary to further determine whether the target vertical field of view meets the preset conditions. It is understandable that when the target vertical field of view is larger, the target waiting passenger can see more on the display screen, and when the target vertical field of view is smaller, the target waiting passenger can see a smaller range on the display screen. When the range that can be seen on the display screen is too small, it does not make much sense to display the bus information in split screen. Therefore, in one embodiment, it can be determined whether the target vertical field of view angle is greater than the preset angle; if it is greater than the preset angle, it is determined that the target vertical field of view angle meets the preset conditions, wherein the preset angle can be set in advance, for example, the preset angle is set to 30°, etc.
[0097] Step 107: When the target vertical viewing angle meets a preset condition, the display layout of the bus information displayed on the display screen is adjusted according to the target vertical viewing angle, and the bus information is displayed in a split screen.
[0098] When the target vertical viewing angle meets the preset conditions, the display layout of the bus information displayed on the display screen can be adjusted according to the target vertical viewing angle, so that the bus information can be displayed on a split screen. Specifically, the area that the target waiting passengers can see on the display screen can be determined according to the target vertical viewing angle, and the display layout of the bus information displayed on the display screen can be adjusted, so that the bus information can be displayed in the area that the target waiting passengers can see.
[0099] On the basis of the above embodiment, in step 107, the display layout of the bus information displayed on the display screen is adjusted according to the target vertical viewing angle, and the bus information is displayed on a split screen, including:
[0100] Step 1071: Determine a corresponding first area in the display area of the display screen according to the target vertical field of view angle.
[0101] After the target vertical field of view angle is determined, a first area corresponding to the target vertical field of view angle may be determined in the display area of the display screen according to the target vertical field of view angle, that is, the area that the user can see through the target vertical field of view angle. Figure 6 As shown in the figure, after determining the target vertical field of view angle, according to 4. S1 and trigonometric calculation formulas can be used to calculate the length of e in the display screen, and e+b is the length of the display screen corresponding to the target field of view angle. Finally, based on the length e+b and the width of the display screen, the first area corresponding to the target vertical field of view angle can be determined in the display area of the display screen.
[0102] Step 1072: Display the bus information in the first area and the non-first area of the display screen in split screen.
[0103] After the first area is determined, the display area of the display screen can be divided into the first area and the non-first area, and the bus information can be displayed in the first area and the non-first area on a split screen, and the bus information displayed in the first area and the non-first area has the same content, so that the target waiting passengers can view the bus information through the first area that has not been blocked, such as Figure 7 As shown, Figure 7 A schematic diagram of a display screen providing a split screen for displaying public transportation information according to an embodiment of the present invention. Figure 7 Among them, Z1 is the first zone and Z2 is the second zone.
[0104] On the basis of the above embodiment, when there are multiple target waiting passengers and the first areas corresponding to at least two target waiting passengers have overlapping areas, the method further includes:
[0105] The first areas with overlapping areas are merged into the second area, and the public transportation information is scrolled and displayed in the second area.
[0106] In one embodiment, when there are multiple target waiting passengers, multiple first areas are determined, and there may be a situation where the first areas corresponding to at least two target waiting passengers have overlapping areas. In this case, the first areas with overlapping areas can be merged into the second area, and then the bus information is scrolled and displayed in the second area, so that different target waiting passengers can view the bus information through the second area.
[0107] As described above, the embodiment of the present invention provides a method for controlling the display of an electronic bus stop. The embodiment of the present invention can determine the target waiting passenger whose sight is blocked according to the image captured by the camera, and determine the target vertical field of view angle that has not been blocked in the first vertical field of view angle of the target waiting passenger. Then, according to the target vertical field of view angle, the display layout of the bus information displayed on the display screen is adjusted, and the bus information is displayed in split screen, so that the target waiting passenger can view the bus information through the target vertical field of view angle. The embodiment of the present invention can adjust the display layout of the bus information displayed on the display screen when it is detected that the sight of the target waiting passenger is blocked, so that the target waiting passenger can view the bus information from the sight range that has not been blocked, thereby improving the travel experience of the user. The embodiment of the present invention solves the technical problem that the display mode of the bus information in the electronic stop board is relatively fixed in the prior art, and it is difficult to view the bus information when there are many waiting passengers by flexibly changing the display layout of the bus information.
[0108] The embodiment of the present invention also provides a bus electronic stop sign display control device, such as Figure 8 As shown, Figure 8 The structure diagram of a bus electronic stop sign display control device according to an embodiment of the present invention is shown in FIG. The bus electronic stop sign display control device provided by the embodiment of the present invention is applicable to an electronic stop sign, wherein the electronic stop sign includes a display screen, and the electronic stop sign includes a binocular camera, wherein the binocular camera is used to collect an image directly in front of the display screen in real time, and the bus electronic stop sign display control device includes:
[0109] An image acquisition module 201 is used to acquire images taken by the binocular camera in real time;
[0110] A data determination module 202, for determining, based on the image, the eye height and position of each waiting passenger currently viewing the display screen, and the distance between the planes coinciding with the display screen;
[0111] A first viewing angle determination module 203, for determining a first vertical viewing angle when the waiting passenger only views the display screen according to the eye height, the distance, the installation height and the size of the display screen;
[0112] A target passenger determination module 204, for determining whether there is a target waiting passenger whose sight is blocked according to the eye height, position and distance of each waiting passenger;
[0113] A target viewing angle determination module 205 is used to determine, when the target waiting passenger exists, a target vertical viewing angle that is not blocked in the first vertical viewing angle of the target waiting passenger according to the eye height and distance of the waiting passenger directly in front of the target waiting passenger;
[0114] A condition determination module 206 is used to determine whether the target vertical viewing angle meets a preset condition;
[0115] The split-screen display module 207 is used to adjust the display layout of the bus information displayed on the display screen according to the target vertical viewing angle when the target vertical viewing angle meets the preset condition, and display the bus information in a split-screen manner.
[0116] Based on the above embodiment, the target viewing angle determination module 205 includes:
[0117] A critical height determination submodule, for determining a critical height corresponding to different distances in front of each waiting passenger according to a first vertical viewing angle, position and distance of each waiting passenger;
[0118] A first waiting passenger determining submodule, for determining a first waiting passenger located directly in front of each of the waiting passengers according to the position of each of the waiting passengers;
[0119] The target waiting passenger determination submodule is used to determine whether there is a target waiting passenger whose vision is blocked based on the distance between the eye height of each of the first waiting passengers and the plane coinciding with the display screen, and the critical height corresponding to the front of each of the passengers waiting for the train.
[0120] Based on the above embodiment, the target viewing angle determination module 205 includes:
[0121] The second waiting passenger determination submodule is used to determine the second waiting passenger whose eye height exceeds the corresponding critical height the most among the waiting passengers directly in front of the target waiting passenger;
[0122] The target vertical field of view angle determination submodule is used to determine the target vertical field of view angle that has not been blocked in the first vertical field of view angle of the target waiting passenger based on the first eye height of the target waiting passenger and the first distance between the plane coinciding with the display screen, the second eye height of the second waiting passenger and the second distance between the plane coinciding with the display screen.
[0123] Based on the above embodiment, the target vertical field of view angle determination submodule includes:
[0124] a height difference determination unit, configured to determine an eye height difference according to a first eye height of the target waiting passenger and a second eye height of the second waiting passenger;
[0125] a distance difference determination unit, configured to determine a distance difference according to a first distance between the plane where the target waiting passenger coincides with the display screen and a second distance between the plane where the second waiting passenger coincides with the display screen;
[0126] A first angle determining unit, configured to determine a first angle according to the eye height difference and the distance difference;
[0127] The target vertical viewing angle determining unit is used to determine, according to the first angle, a target vertical viewing angle that has not been blocked in the first vertical viewing angle of the target waiting passenger.
[0128] Based on the above embodiment, the condition judgment module 206 is specifically used to determine whether the target vertical field of view angle is greater than a preset angle. If it is greater than the preset angle, it is determined that the target vertical field of view angle meets the preset condition.
[0129] Based on the above embodiment, the split screen display module 207 includes:
[0130] A first area determination submodule, configured to determine a corresponding first area in the display area of the display screen according to the target vertical field of view angle;
[0131] The split-screen display submodule is used to display the public transportation information in a split-screen manner in the first area and the non-first area of the display screen.
[0132] Based on the above embodiment, when there are multiple target waiting passengers and there are overlapping areas in the first areas corresponding to at least two of the target waiting passengers, the split-screen display submodule is used to merge the first area with the overlapping areas into a second area, and scroll the bus information in the second area.
[0133] The bus electronic stop sign display control device provided in the embodiment of the present invention is included in the electronic stop sign and can be used to execute the bus electronic stop sign display control method provided in the above embodiment, and has corresponding functions and beneficial effects.
[0134] It is worth noting that in the embodiment of the above-mentioned bus electronic stop sign display control device, the various units and modules included are only divided according to functional logic, but are not limited to the above-mentioned division, as long as the corresponding functions can be achieved; in addition, the specific names of the functional units are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of the present invention.
[0135] This embodiment also provides an electronic station sign, such as Fig. 9 As shown, Fig. 9A schematic diagram of the structure of an electronic station sign provided in an embodiment of the present invention, wherein the electronic station sign 30 includes a processor 300 and a memory 301;
[0136] The memory 301 is used to store a computer program 302 and transmit the computer program 302 to the processor 300;
[0137] The processor 300 is used to execute the steps in the above-mentioned embodiment of the bus electronic stop sign display control method according to the instructions in the computer program 302.
[0138] Exemplarily, the computer program 302 may be divided into one or more modules / units, which are stored in the memory 301 and executed by the processor 300 to complete the present application. The one or more modules / units may be a series of computer program instruction segments capable of completing specific functions, which are used to describe the execution process of the computer program 302 in the electronic bus stop 30.
[0139] The electronic station sign 30 may be a computing device such as a desktop computer, a notebook, a PDA, or a cloud server. The electronic station sign 30 may include, but is not limited to, a processor 300 and a memory 301. Those skilled in the art will appreciate that Fig. 9 It is only an example of the electronic bus stop sign 30 and does not constitute a limitation of the electronic bus stop sign 30. It may include more or fewer components than shown in the figure, or a combination of certain components, or different components. For example, the electronic bus stop sign 30 may also include input and output devices, network access devices, buses, etc.
[0140] The processor 300 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc.
[0141] The memory 301 may be an internal storage unit of the electronic sign 30, such as a hard disk or memory of the electronic sign 30. The memory 301 may also be an external storage device of the electronic sign 30, such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc. equipped on the electronic sign 30. Further, the memory 301 may also include both an internal storage unit and an external storage device of the electronic sign 30. The memory 301 is used to store the computer program and other programs and data required by the electronic sign 30. The memory 301 may also be used to temporarily store data that has been output or is to be output.
[0142] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0143] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or units, which can be electrical, mechanical or other forms.
[0144] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0145] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0146] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc. Various media that can store computer programs.
[0147] The embodiment of the present invention further provides a storage medium containing computer executable instructions, wherein the computer executable instructions are used to execute a method for controlling the display of an electronic bus stop sign when executed by a computer processor, the method comprising the following steps:
[0148] Acquire the image captured by the binocular camera in real time;
[0149] Determine, based on the image, the eye height and position of each waiting passenger currently viewing the display screen, and the distance between the planes coinciding with the display screen;
[0150] Determine a first vertical viewing angle when the waiting passenger only views the display screen according to the eye height, the distance, the installation height and the size of the display screen;
[0151] Determining whether there is a target waiting passenger whose sight is blocked according to the eye height, position and distance of each waiting passenger;
[0152] In the case where the target waiting passenger exists, determining the target vertical viewing angle of the target waiting passenger that is not blocked in the first vertical viewing angle according to the eye height and distance of the waiting passenger directly in front of the target waiting passenger;
[0153] Determining whether the target vertical field of view angle meets a preset condition;
[0154] When the target vertical viewing angle meets the preset condition, the display layout of the bus information displayed on the display screen is adjusted according to the target vertical viewing angle, and the bus information is displayed in split screens.
[0155] Note that the above are only preferred embodiments of the present invention and the technical principles used. Those skilled in the art will understand that the embodiments of the present invention are not limited to the specific embodiments described herein, and that various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the protection scope of the embodiments of the present invention. Therefore, although the embodiments of the present invention are described in more detail through the above embodiments, the embodiments of the present invention are not limited to the above embodiments, and may include more other equivalent embodiments without departing from the concept of the embodiments of the present invention, and the scope of the embodiments of the present invention is determined by the scope of the appended claims.
Claims
1. A method for controlling the display of a bus electronic stop sign, the method being applicable to an electronic stop sign, the electronic stop sign comprising a display screen, characterized in that: The electronic bus stop sign includes a binocular camera, and the binocular camera is used to collect the image in front of the display screen in real time. The method includes: Acquire the image captured by the binocular camera in real time; Determine, based on the image, the eye height and position of each waiting passenger currently viewing the display screen, and the distance between the planes coinciding with the display screen; Determine a first vertical viewing angle when the waiting passenger only views the display screen according to the eye height, the distance, the installation height and the size of the display screen; Determining whether there is a target waiting passenger whose sight is blocked according to the eye height, position and distance of each waiting passenger; In the case where the target waiting passenger exists, determining the target vertical viewing angle of the target waiting passenger that is not blocked in the first vertical viewing angle according to the eye height and distance of the waiting passenger directly in front of the target waiting passenger; Determining whether the target vertical field of view angle meets a preset condition; When the target vertical viewing angle satisfies the preset condition, adjusting the display layout of the bus information displayed on the display screen according to the target vertical viewing angle, and performing split-screen display of the bus information; Wherein, determining whether there is a target waiting passenger whose sight is blocked according to the eye height, position and distance of each waiting passenger includes: Determine, according to the first vertical viewing angle, position and distance of each waiting passenger, a critical height corresponding to different distances in front of each waiting passenger; According to the position of each of the waiting passengers, determining the first waiting passenger located directly in front of each of the waiting passengers; Determining whether there is a target waiting passenger whose sight is blocked according to the distance between the eye level of each of the first waiting passengers and the plane coinciding with the display screen, and the critical height corresponding to the front of each of the waiting passengers; Wherein, in the case where the target waiting passenger exists, determining the target vertical field of view angle that has not been blocked in the first vertical field of view angle of the target waiting passenger according to the eye height and distance of the waiting passenger directly in front of the target waiting passenger, comprises: Determine the second waiting passenger whose eye height exceeds the corresponding critical height the most among the waiting passengers directly in front of the target waiting passenger; Determine a target vertical field of view angle that has not been blocked in the first vertical field of view angle of the target waiting passenger according to a first eye height of the target waiting passenger and a first distance between a plane coinciding with the display screen, and a second eye height of the second waiting passenger and a second distance between a plane coinciding with the display screen; Wherein, determining the target vertical field of view angle that has not been blocked in the first vertical field of view angle of the target waiting passenger according to the first eye height of the target waiting passenger and the first distance between the plane coinciding with the display screen, the second eye height of the second waiting passenger and the second distance between the plane coinciding with the display screen, comprises: determining an eye height difference according to a first eye height of the target waiting passenger and a second eye height of the second waiting passenger; determining a distance difference according to a first distance between the plane where the target waiting passenger coincides with the display screen and a second distance between the plane where the second waiting passenger coincides with the display screen; Determining a first angle according to the eye height difference and the distance difference; Determine, according to the first angle, a target vertical viewing angle that is not blocked in the first vertical viewing angle of the target waiting passenger; The step of adjusting the display layout of the bus information displayed on the display screen according to the target vertical viewing angle and displaying the bus information in split screens includes: Determining a corresponding first area in the display area of the display screen according to the target vertical field of view angle; The public transportation information is displayed in a split screen in a first area and a non-first area of the display screen, and the content of the public transportation information displayed in the first area and the non-first area is the same.
2. A method for controlling the display of an electronic bus stop sign according to claim 1, characterized in that: The determining whether the target vertical field of view angle meets a preset condition includes: Determine whether the target vertical field of view angle is greater than a preset angle; If it is greater than the preset angle, it is determined that the target vertical field of view angle meets the preset condition.
3. A method for controlling the display of an electronic bus stop sign according to claim 1, characterized in that: When there are multiple target waiting passengers, and the first areas corresponding to at least two of the target waiting passengers overlap, the method further includes: The first area where the overlapping area exists is merged into a second area, and the public transportation information is scrolled and displayed in the second area.
4. A bus electronic stop sign display control device, the device is suitable for an electronic stop sign, the electronic stop sign includes a display screen, characterized in that: The electronic bus stop sign includes a binocular camera, which is used to collect the image in front of the display screen in real time. The device includes: An image acquisition module, used to acquire the image taken by the binocular camera in real time; A data determination module, used to determine, based on the image, the eye height and position of each waiting passenger currently viewing the display screen, and the distance between the planes coinciding with the display screen; A first viewing angle determination module, used to determine a first vertical viewing angle when the waiting passenger only views the display screen according to the eye height, the distance, the installation height and the size of the display screen; A target passenger determination module is used to determine whether there is a target waiting passenger whose sight is blocked according to the eye height, position and distance of each waiting passenger; a target viewing angle determination module, for determining, when the target waiting passenger exists, a target vertical viewing angle that has not been blocked in the first vertical viewing angle of the target waiting passenger according to the eye height and distance of the waiting passenger directly in front of the target waiting passenger; A condition judgment module, used to determine whether the target vertical field of view angle meets a preset condition; A split-screen display module, configured to adjust the display layout of the bus information displayed on the display screen according to the target vertical field of view angle, and display the bus information in a split-screen manner when the target vertical field of view angle satisfies the preset condition; Wherein, the target passenger determination module includes: A critical height determination submodule, for determining a critical height corresponding to different distances in front of each waiting passenger according to a first vertical viewing angle, position and distance of each waiting passenger; A first waiting passenger determining submodule, for determining a first waiting passenger located directly in front of each of the waiting passengers according to the position of each of the waiting passengers; a target waiting passenger determination submodule, for determining whether there is a target waiting passenger whose sight is blocked according to the distance between the eye height of each of the first waiting passengers and the plane coincident with the display screen, and the critical height corresponding to the front of each of the waiting passengers; Wherein, the target viewing angle determination module includes: The second waiting passenger determination submodule is used to determine the second waiting passenger whose eye height exceeds the corresponding critical height the most among the waiting passengers directly in front of the target waiting passenger; a target vertical viewing angle determination submodule, for determining a target vertical viewing angle that is not blocked in the first vertical viewing angle of the target waiting passenger according to a first eye height of the target waiting passenger and a first distance between the plane coinciding with the display screen, a second eye height of the second waiting passenger and a second distance between the plane coinciding with the display screen; Wherein, the target vertical field of view angle determination submodule includes: a height difference determination unit, configured to determine an eye height difference according to a first eye height of the target waiting passenger and a second eye height of the second waiting passenger; a distance difference determination unit, configured to determine a distance difference according to a first distance between the plane where the target waiting passenger coincides with the display screen and a second distance between the plane where the second waiting passenger coincides with the display screen; A first angle determining unit, configured to determine a first angle according to the eye height difference and the distance difference; a target vertical viewing angle determining unit, configured to determine, according to the first angle, a target vertical viewing angle of the target waiting passenger that has not been blocked in the first vertical viewing angle; Wherein, the split-screen display module includes: A first area determination submodule, configured to determine a corresponding first area in the display area of the display screen according to the target vertical field of view angle; The split-screen display submodule is used to split-screen display the public transportation information in the first area and the non-first area of the display screen, and the content of the public transportation information displayed in the first area and the non-first area is the same.
5. An electronic bus stop sign, characterized in that: The electronic station sign includes a processor and a memory; The memory is used to store a computer program and transmit the computer program to the processor; The processor is used to execute a bus electronic stop sign display control method as described in any one of claims 1-3 according to the instructions in the computer program.
6. A storage medium storing computer executable instructions, characterized in that: The computer executable instructions are used to execute a bus electronic stop sign display control method as described in any one of claims 1 to 3 when executed by a computer processor.
