Ar-based transfer station dispatch visualization method and apparatus, and storage medium
By using AR technology to detect waste types and guide vehicle parking selection, the problem of simultaneously compressing different types of waste at waste transfer station compressors has been solved, improving the efficiency and accuracy of waste disposal.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-04-03
- Publication Date
- 2026-03-03
AI Technical Summary
In existing technologies, the compressors at waste transfer stations may compress different types of waste simultaneously, leading to difficulties in processing at subsequent waste treatment plants.
By using an AR-based visualization method for transfer station allocation, the system can detect in real time whether there is garbage inside the compressor housing, determine the type of garbage, and output display information to guide vehicles to select the correct parking space, thus avoiding the mixing and compression of various types of garbage.
This effectively reduces the probability of the compressor compressing different types of waste at the same time, improving the efficiency and accuracy of waste disposal.
Smart Images

Figure CN116311075B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of visualization of waste transfer stations, and in particular to AR-based visualization methods, devices and storage media for transfer station allocation. Background Technology
[0002] A waste transfer station is a site for collecting, sorting, compressing, and transferring waste. Maintaining cleanliness within a waste transfer station is difficult, so multiple cameras are often installed to minimize the impact of waste on the surrounding environment, allowing users to monitor the station. Currently, to facilitate waste collection and sorting, waste transfer stations are equipped with multiple vehicles, each collecting a specific type of waste. To expedite waste transfer, multiple compressors are typically installed, each capable of compressing multiple types of waste. Each compressor has a designated parking space for vehicles to dump waste. This means that at least two types of waste may be compressed simultaneously within the same compressor. If at least two types of waste are compressed concurrently, the subsequent waste treatment plant will be unable to process the compressed waste.
[0003] Therefore, how to reduce the probability of the same compressor compressing at least two types of waste at the same time has become a problem. Summary of the Invention
[0004] To reduce the probability of at least two types of waste being compressed simultaneously by the same compressor, this application provides an AR-based method, apparatus, and storage medium for visualizing transfer station allocation.
[0005] Firstly, this application provides an AR-based visualization method for transit station allocation, employing the following technical solution: The AR-based visualization method for transit station allocation includes:
[0006] When a vehicle is detected in a parking space, determine whether there is garbage inside the compressor housing corresponding to that parking space;
[0007] If trash is present, determine whether the trash is uncompressed trash;
[0008] If it is uncompressed waste, then a first waste type and a second waste type are determined, where the first waste type is the waste type of the uncompressed waste and the second waste type is the waste type of the waste carried by the vehicle;
[0009] Determine whether the first garbage type and the second garbage type are the same, and obtain the determination result;
[0010] Based on the judgment result, corresponding display information is output, which is used to show whether the vehicle is in the correct parking space.
[0011] By adopting the above technical solution, when a vehicle is detected in a parking space, it is determined whether there is garbage in the compressor compartment corresponding to that parking space. This facilitates subsequent determination of whether the vehicle can directly unload its garbage into the compartment. If there is no garbage, it means the vehicle can directly unload its garbage into the compartment. The compressor does not compress multiple types of garbage simultaneously. Uncompressed garbage refers to garbage that has not undergone compression within the compressor. If garbage is present, it means the vehicle cannot directly unload its garbage into the compressor. The garbage inside the compressor may be residual garbage from the previous compression or uncompressed garbage that has not undergone compression. Therefore, it is necessary to first determine whether the garbage inside the compressor is uncompressed. If it is uncompressed garbage, it means the vehicle... The vehicle cannot directly unload the garbage into the container. If the garbage is unloaded directly into the container, the compressor may compress different types of garbage simultaneously. The first type of garbage is uncompressed garbage, and the second type is the garbage carried by the vehicle. Therefore, it is necessary to determine the first and second types of garbage to facilitate subsequent judgment on whether the first and second types of garbage are the same. This judgment result will determine whether the vehicle can directly unload the garbage into the compressor container, so that the corresponding display information can be output based on the judgment result. This allows the user to check whether the vehicle is in the correct parking space in a timely manner, thereby reducing the probability of the same compressor compressing at least two types of garbage at the same time.
[0012] In another possible implementation, determining whether there is waste inside the compressor housing corresponding to the berth includes:
[0013] Acquire first image information, which includes bottom surface information inside the box;
[0014] The first image information is subjected to image edge detection processing to obtain the edge detection result;
[0015] If the edge detection results include edge detection results for at least two targets, then it is determined that there is garbage inside the compressor housing corresponding to the berth.
[0016] By adopting the above technical solution, the first image information includes the bottom surface information inside the container. The first image information is obtained so that image edge detection processing can be performed on the first image information to obtain the edge detection result. Since the first image information is the image information of the bottom surface inside the container, and since the garbage inside the container is compressed for a long time and the connection between the bottom surface and the side wall of the container is not easy to clean, the edge detection result must include the edge detection result of the bottom surface of the container. Therefore, when the edge detection result contains the edge detection results of at least two targets, it indicates that there is garbage on the bottom surface of the container, and it can be determined that there is garbage inside the compressor container corresponding to the berth, thereby achieving the effect of judging that there is garbage inside the compressor container corresponding to the berth.
[0017] In another possible implementation, determining whether the waste is uncompressed waste includes:
[0018] Acquire second image information, third image information, and specification information, wherein the second image information and the third image information are image information collected from different angles of the housing;
[0019] The volume of the container is calculated based on the specifications, and the three-dimensional boundary point information of the waste is determined based on the second image information and the third image information.
[0020] The volume of the waste is calculated based on the three-dimensional boundary point information;
[0021] Calculate the volume ratio based on the volume of the waste and the volume of the container;
[0022] If the volume ratio reaches the preset volume ratio, then the waste is determined to be uncompressed waste;
[0023] If the volume ratio does not reach the preset volume ratio, then the waste is determined not to be uncompressed waste.
[0024] By adopting the above technical solution, the second and third image information are images collected from different angles of the container. Obtaining these second and third image information allows for the determination of the three-dimensional boundary points of the waste within the container, and the calculation of the waste volume based on these boundary points. This facilitates subsequent determination of whether the waste is uncompressed. The container's specifications are also obtained to calculate its volume. This allows for the calculation of the volume ratio between the waste volume and the container volume, and further determination of whether the waste is uncompressed. A preset volume ratio is used as a standard to determine whether the waste is uncompressed. When the volume ratio reaches the preset value, it indicates a large volume of waste, meaning there is a lot of waste in the container, thus indicating that the waste is uncompressed. Conversely, when the volume ratio does not reach the preset value, it indicates a small volume of waste, meaning there is little waste in the container, thus indicating that the waste is not uncompressed.
[0025] In another possible implementation, the first garbage type is determined, including:
[0026] Obtain video information of the berths within a preset historical time period;
[0027] The video information is subjected to license plate feature recognition to determine the license plate information of at least one first target vehicle, which is a vehicle unloading materials at the berth.
[0028] Determine the unloading time corresponding to the at least one first target vehicle;
[0029] The latest unloading time is determined from the aforementioned unloading times;
[0030] The type of waste corresponding to the second target license plate information is determined to be the first type of waste, and the second target license plate information is the license plate information of the first target vehicle corresponding to the latest unloading time.
[0031] By adopting the above technical solution, the preset historical time is a pre-set time, which is the longest time waiting for unloading when there is garbage in the compressor. Video information of the parking space within the preset historical time is obtained, and license plate feature recognition is performed on the video information to determine the license plate information of at least one first target vehicle, so as to determine the unloading time corresponding to each first target vehicle. This facilitates the determination of the latest unloading time from the unloading time. The second target license plate information is the license plate information of the first target vehicle corresponding to the latest unloading time. Then, the garbage type corresponding to the second target license plate information is the first garbage type, thereby achieving the effect of determining the first garbage type.
[0032] In another possible implementation, the second garbage type is determined, including:
[0033] Obtain vehicle image information of the vehicle;
[0034] License plate features are extracted from the vehicle image information to obtain the vehicle's license plate information;
[0035] The license plate information is searched in a preset license plate database. If a preset license plate information that matches the license plate information exists in the preset license plate database, the preset garbage type corresponding to the preset license plate information is determined as the second garbage type. The preset license plate database includes the correspondence between preset license plate information and preset garbage types.
[0036] By adopting the above technical solution, vehicle image information is obtained, and license plate features are extracted from the vehicle image information to obtain the vehicle's license plate information. The preset license plate database is a pre-set license plate database, which includes multiple preset license plate information, and each preset license plate information has a corresponding garbage type. The license plate information is searched in the preset license plate database. When there is a preset license plate information in the preset license plate database that matches the license plate information, the preset garbage type corresponding to the preset license plate information is determined as the second garbage type, thereby achieving the effect of determining the second garbage type.
[0037] In another possible implementation, the step of outputting corresponding display information based on the judgment result includes: if the judgment result is that the first garbage type is different from the second garbage type, then outputting first display information, wherein the first display information indicates that the vehicle is in the correct parking space;
[0038] If the judgment result is that the first type of waste and the second type of waste are the same, then based on the volume of the waste and the volume of the container, the remaining volume is determined, and the volume of the waste carried by the vehicle is obtained. If the volume of the waste carried by the vehicle reaches the remaining volume, then the first display information is output. If the volume of the waste carried by the vehicle does not reach the remaining volume, then the second display information is output. The second display information indicates that the vehicle is in an incorrect parking space.
[0039] By adopting the above technical solution, when the judgment result is that the first type of garbage and the second type of garbage are different, it means that if the garbage carried by the vehicle is unloaded into the compressor's box, there will be at least two types of garbage in the box. In this case, the first display information can be output so that the user can clearly understand that the parking space where the vehicle is currently located is an incorrect parking space. When the judgment result shows that the first type of waste and the second type of waste are the same, it means that the waste carried by the vehicle is of the same type as the waste in the compressor box. However, since there may be a situation where the volume of the waste carried by the vehicle is greater than the volume of the waste in the box, if the vehicle unloads directly, the waste in the box will overflow. Therefore, it is necessary to determine the remaining volume based on the volume of the waste in the box and the volume of the box, and obtain the volume of the waste carried by the vehicle. When the volume of the waste carried by the vehicle reaches the remaining volume, it means that if the waste carried by the vehicle is unloaded into the box, the waste in the box will overflow. This indicates that the vehicle is currently in an incorrect parking space, and the first display information is output so that the user can know that the vehicle is in an incorrect parking space. When the volume of the waste carried by the vehicle does not reach the remaining volume, it means that if the waste carried by the vehicle is unloaded into the box, the waste in the box will not overflow. Therefore, it can be determined that the vehicle is in the correct parking space, and the second display information is output so that the user can know that the vehicle is in the correct parking space.
[0040] In another possible implementation, after determining whether the first garbage type and the second garbage type are the same and obtaining the determination result, the method further includes:
[0041] If the judgment result is that the first type of waste is different from the second type of waste, then the target berth in the transfer station is determined, and there is no waste in the compressor box corresponding to the target berth or the waste type in the compressor box corresponding to the target berth is the same as the second type of waste.
[0042] The berth number corresponding to the target berth is sent to the terminal device corresponding to the vehicle.
[0043] By adopting the above technical solution, when the judgment result is that the first type of waste and the second type of waste are different, it means that the vehicle cannot directly unload its waste into the container, that is, the vehicle is in the wrong parking space. Therefore, a new parking space needs to be determined for the vehicle. When there is no waste in the compressor container corresponding to the parking space, it means that if the waste carried by the vehicle is unloaded into the container, different types of waste will not appear in the container at the same time. That is, the target parking space can be the parking space where there is no waste in the compressor container. When there is waste in the compressor container corresponding to the parking space, as long as the type of waste in the container is the same as the second type of waste, different types of waste will not appear in the container at the same time. That is, the target parking space can be the parking space where the type of waste in the compressor container is the same as the second type of waste. The target parking space within the transfer station is determined, and the parking space number corresponding to the target parking space is sent to the terminal equipment corresponding to the vehicle so that the vehicle driver can drive the vehicle into the correct parking space.
[0044] Secondly, this application provides an AR-based device for visualizing transfer station allocation, employing the following technical solution:
[0045] An AR-based visualization device for transit station allocation includes:
[0046] The first determining module is used to determine whether there is garbage inside the compressor box corresponding to the parking space when a vehicle is detected in the parking space;
[0047] The second determining module is used to determine whether the garbage is uncompressed garbage when garbage is present.
[0048] The third determining module is used to determine a first waste type and a second waste type when the waste is uncompressed, wherein the first waste type is the waste type of the uncompressed waste and the second waste type is the waste type of the waste carried by the vehicle; the judging module is used to judge whether the first waste type and the second waste type are the same and to obtain a judging result.
[0049] The output module is used to output corresponding display information based on the judgment result, and the display information is used to show whether the vehicle is in the correct parking space.
[0050] By adopting the above technical solution, when a vehicle is detected in a parking space, the first determining module determines whether there is garbage in the compressor housing corresponding to the parking space. This facilitates subsequent determination of whether the vehicle can directly unload its garbage into the housing. If there is no garbage, it means the vehicle can directly unload its garbage into the housing. The compressor does not compress multiple types of garbage simultaneously. Uncompressed garbage refers to garbage that has not undergone compression within the compressor. If garbage is present, it means the vehicle cannot directly unload its garbage into the compressor. The garbage in the compressor may be residual garbage from the previous compression or uncompressed garbage that has not undergone compression. Therefore, the second determining module first needs to determine whether the garbage in the compressor is uncompressed. If it is uncompressed garbage, it means the vehicle cannot unload its garbage into the compressor. The loaded garbage is directly unloaded into the container. However, if the garbage is directly unloaded into the container, the compressor may compress different types of garbage simultaneously. The first type of garbage is uncompressed garbage, and the second type of garbage is the garbage loaded by the vehicle. Therefore, the third determination module needs to determine the first and second types of garbage so that the subsequent judgment module can determine whether the first and second types of garbage are the same and obtain the judgment result. This allows the system to determine whether the vehicle can directly unload its loaded garbage into the compressor container. The subsequent output module can then output the corresponding display information based on the judgment result, so that the user can intuitively see whether the vehicle is in the correct parking space. This reduces the probability of the same compressor compressing at least two types of garbage at the same time.
[0051] In another possible implementation, when the first determining module determines whether there is garbage inside the compressor housing corresponding to the berth, it is specifically used for:
[0052] Obtain the first image information of the bottom surface inside the box;
[0053] The first image information is subjected to image edge detection processing to obtain the edge detection result;
[0054] If the edge detection results include at least two target edge detection results, it is determined that there is garbage inside the compressor housing corresponding to the berth.
[0055] In another possible implementation, the second determining module, when determining whether the waste belongs to uncompressed waste, is specifically used for:
[0056] Acquire second image information, third image information, and specification information, wherein the second image information and the third image information are image information collected from different angles of the housing;
[0057] The volume of the container is calculated based on the specifications, and the three-dimensional boundary point information of the waste is determined based on the second image information and the third image information.
[0058] The volume of the waste is calculated based on the three-dimensional boundary point information;
[0059] Calculate the volume ratio based on the volume of the waste and the volume of the container;
[0060] If the volume ratio reaches the preset volume ratio, then the waste is determined to be uncompressed waste;
[0061] If the volume ratio does not reach the preset volume ratio, then the waste is determined not to be uncompressed waste.
[0062] In another possible implementation, the third determining module, when determining the first garbage type, is specifically used for:
[0063] Obtain video information of the berths within a preset historical time period;
[0064] The video information is subjected to license plate feature recognition to determine the license plate information of at least one first target vehicle, which is a vehicle unloading materials at the berth.
[0065] Determine the unloading time corresponding to the at least one first target vehicle;
[0066] The latest unloading time is determined from the aforementioned unloading times;
[0067] The type of waste corresponding to the second target license plate information is determined to be the first type of waste, and the second target license plate information is the license plate information of the first target vehicle corresponding to the latest unloading time.
[0068] In another possible implementation, the determination of the second garbage type is specifically used for:
[0069] Obtain vehicle image information of the vehicle;
[0070] License plate features are extracted from the vehicle image information to obtain the vehicle's license plate information;
[0071] The license plate information is searched in a preset license plate database. If a preset license plate information that matches the license plate information exists in the preset license plate database, the preset garbage type corresponding to the preset license plate information is determined as the second garbage type. The preset license plate database includes the correspondence between preset license plate information and preset garbage types.
[0072] In another possible implementation, when the output module outputs the corresponding display information based on the judgment result, it is specifically used for:
[0073] If the judgment result is that the first type of waste is different from the second type of waste, then the first display information is output, which indicates that the vehicle is in the correct parking space;
[0074] If the judgment result is that the first type of waste and the second type of waste are the same, then based on the volume of the waste and the volume of the container, the remaining volume is determined, and the volume of the waste carried by the vehicle is obtained. If the volume of the waste carried by the vehicle reaches the remaining volume, then the first display information is output. If the volume of the waste carried by the vehicle does not reach the remaining volume, then the second display information is output. The second display information indicates that the vehicle is in an incorrect parking space.
[0075] In another possible implementation, the device further includes:
[0076] The fourth determining module is used to determine the target berth in the transfer station when the judgment result is that the first waste type is different from the second waste type, wherein there is no waste in the compressor box corresponding to the target berth or the waste type in the compressor box corresponding to the target berth is the same as the second waste type;
[0077] The sending module is used to send the berth number corresponding to the target berth to the terminal device corresponding to the vehicle.
[0078] Thirdly, this application provides an electronic device that adopts the following technical solution:
[0079] An electronic device comprising:
[0080] At least one processor;
[0081] Memory;
[0082] At least one application, wherein the application is stored in memory and configured to be executed by at least one processor, the application being configured to: execute the AR-based transit station allocation visualization method as shown in any possible implementation of the first aspect.
[0083] Fourthly, this application provides a computer-readable storage medium, which adopts the following technical solution:
[0084] A computer-readable storage medium that, when the computer program is executed in a computer, causes the computer to perform the AR-based transit station allocation visualization method according to any one of the first aspects.
[0085] In summary, this application includes at least one of the following beneficial technical effects:
[0086] 1. When a vehicle is detected in a parking space, determine if there is any garbage inside the compressor compartment corresponding to that parking space. This helps determine if the vehicle can directly unload its garbage into the compartment. If there is no garbage, it means the vehicle can directly unload its garbage into the compartment. The compressor does not compress multiple types of garbage simultaneously. Uncompressed garbage is garbage that has not undergone compression within the compressor. If garbage is present, it means the vehicle cannot directly unload its garbage into the compressor. The garbage inside the compressor may be residue from the previous compression or uncompressed garbage. Therefore, it is necessary to first determine if the garbage inside the compressor is uncompressed. If it is uncompressed, it means the vehicle cannot unload its garbage into the compressor. Garbage is directly unloaded into this container. If the garbage is directly unloaded into this container, the compressor may compress different types of garbage at the same time. The first type of garbage is the uncompressed garbage, and the second type of garbage is the garbage carried by the vehicle. Therefore, it is necessary to determine the first type of garbage and the second type of garbage so that it is easier to judge whether the first type of garbage and the second type of garbage are the same. The judgment result is used to determine whether the vehicle can directly unload the garbage into the compressor container. This allows the corresponding display information to be output based on the judgment result, so that the user can intuitively see whether the vehicle is in the correct parking space, thereby reducing the probability of the same compressor compressing at least two types of garbage at the same time.
[0087] 2. When the judgment result indicates that the first waste type and the second waste type are different, it means that the vehicle cannot directly unload its load into the container, i.e., the vehicle is in the wrong parking space. Therefore, a new parking space needs to be determined for the vehicle. When there is no waste in the compressor container corresponding to the parking space, it means that if the vehicle's load is unloaded into the container, different waste types will not appear simultaneously in the container. In other words, the target parking space can be a parking space where the compressor container is empty. Conversely, when there is waste in the compressor container corresponding to the parking space, as long as the waste type in the container is the same as the second waste type, different waste types will not appear simultaneously in the container. In other words, the target parking space can be a parking space where the waste type in the compressor container is the same as the second waste type. The target parking space within the transfer station is determined, and the parking space number corresponding to the target parking space is sent to the vehicle's corresponding terminal device so that the driver can drive the vehicle into the correct parking space. Attached Figure Description
[0088] Figure 1 This is a flowchart illustrating the AR-based transit station allocation visualization method in the embodiments of this application.
[0089] Figure 2This is a schematic diagram of the AR-based transit station allocation visualization method in the embodiments of this application.
[0090] Figure 3 This is a schematic diagram of the structure of an electronic device according to an embodiment of this application. Detailed Implementation
[0091] The following is in conjunction with the appendix Figure 1-3 This application will be described in further detail.
[0092] After reading this specification, those skilled in the art may make modifications to this embodiment without contributing any inventive step, but such modifications are protected by patent law as long as they fall within the scope of the claims of this application.
[0093] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0094] Furthermore, the term "and / or" in this article is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, or B existing alone. Additionally, the character " / " in this article, unless otherwise specified, generally indicates that the preceding and following related objects have an "or" relationship.
[0095] The embodiments of this application will now be described in further detail with reference to the accompanying drawings.
[0096] This application provides an AR-based visualization method for transit station allocation, executed by an electronic device. This electronic device can be a server or a terminal device. The server can be a standalone physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server providing cloud computing services. The terminal device can be a smartphone, tablet, laptop, desktop computer, etc., but is not limited to these. The terminal device and the server can be directly or indirectly connected via wired or wireless communication. This application does not impose any limitations on this. Figure 1 As shown, the method includes steps S101, S102, S103, S104 and S105, wherein, in step S101, when a vehicle is detected in the parking space, it is determined whether there is garbage in the compressor box corresponding to the parking space.
[0097] In this embodiment, when a vehicle is detected at a parking space, it indicates that the vehicle needs to unload its garbage into the compressor compartment corresponding to the parking space. However, if the vehicle directly dumps the garbage into the compartment when there is garbage already inside, the garbage may contain two different types of waste. This results in the compressed garbage block containing two different types of waste, making subsequent processing by the waste treatment plant inconvenient. Therefore, it is necessary to determine whether there is garbage inside the compressor compartment corresponding to the parking space to clarify whether dumping the garbage into the compartment will result in the presence of two types of waste inside.
[0098] In this embodiment of the application, the berth is equipped with an image acquisition device, such as a camera, which can capture the entire berth. By acquiring the image captured by the image acquisition device corresponding to the berth and performing vehicle feature analysis on the image, it can be determined whether there is a vehicle in the berth.
[0099] Step S102: If there is garbage, determine whether the garbage is uncompressed garbage.
[0100] In the embodiments of this application, when garbage is present, it is explained that if the vehicle unloads the garbage into the container, there may be two types of garbage in the container. The garbage in the container may be due to the garbage block being poorly compacted after the compressor last compressed the garbage (e.g., leaves), resulting in residual garbage in the container after the garbage block is removed. The amount of residual garbage is very small, and even if the vehicle unloads the garbage into the container, it will not affect the subsequent processing of the compressed garbage block by the garbage treatment plant. Alternatively, it may be because the garbage carried by the previous vehicle was not much, and if the garbage is directly compressed after being unloaded into the container, it will result in a waste of resources, that is, there is uncompressed garbage in the container that has not undergone compression. If the vehicle unloads the garbage into the container, there may be at least two types of garbage in the container. Therefore, it is necessary to determine whether the garbage in the container is uncompressed garbage, so as to determine whether the vehicle can unload the garbage into the container.
[0101] Step S103: If it is uncompressed garbage, then determine the first garbage type and the second garbage type.
[0102] The first type of waste is uncompressed waste, and the second type of waste is waste carried by vehicles.
[0103] In this embodiment of the application, the first waste type is uncompressed waste, and the second waste type is the waste type carried by the vehicle. When it is uncompressed waste, it means that if the vehicle unloads the waste into the container, there may be two types of waste in the container. Therefore, it is necessary to further determine the first waste type and the second waste type to facilitate subsequent judgment on whether the vehicle can unload the waste into the container based on the first waste type and the second waste type. Assume that the first waste type is recyclable waste and the second waste type is hazardous waste.
[0104] Step S104: Determine whether the first garbage type and the second garbage type are the same, and obtain the determination result.
[0105] In this embodiment of the application, it is determined whether the first type of waste and the second type of waste are the same, and a determination result is obtained, thereby achieving the effect of determining whether the vehicle can unload the waste it carries into the compressor box corresponding to the parking space. Taking step S103 as an example, if the first type of waste and the second type of waste are different, that is, the vehicle cannot unload the waste it carries into the compressor box corresponding to the parking space where the vehicle is currently located.
[0106] Step S105: Based on the judgment result, output the corresponding display information.
[0107] The displayed information is used to indicate whether the vehicle is in the correct parking space.
[0108] In this embodiment of the application, based on the judgment result, corresponding display information is output so that the user can clearly understand whether the vehicle can unload the garbage into the container, that is, whether the vehicle is in the correct parking space. The judgment result includes whether the first garbage type and the second garbage type are different, and whether the first garbage type and the second garbage type are the same. When the judgment result is the same, the display information can be "Parking Correctly"; when the judgment result is different, the display information can be "Parking Incorrectly". In this embodiment of the application, the display information can be displayed on the terminal devices of the user and the vehicle driver. The specific display method can be SMS or WeChat mini-program, etc., which is not limited here.
[0109] In this embodiment of the application, display information can be combined with the monitoring video of the transfer station, that is, the display information can be added to the monitoring video. Specifically, the display information can be added to the monitoring video in the form of text.
[0110] Furthermore, in this embodiment, the video within the transfer station can be processed using AR technology to obtain AR video information. Specifically, this can be achieved by performing real-time target analysis on images or videos captured in real-time by image acquisition devices (cameras, etc.) within the transfer station, extracting information from the images or videos, and adding the extracted information to the monitoring video to obtain the processed video. The processed video is then displayed on a screen, allowing users to directly view key information in the video. For example, at a parking space, images or videos can be analyzed to determine whether a vehicle is parked in the parking space, whether the vehicle has stopped, whether the compressor's door is open, and the weight of the garbage carried by the vehicle. This information is then integrated into the corresponding monitoring video at the parking space, allowing the monitoring video to be displayed in conjunction with the information. This enables users to simultaneously and intuitively see whether a vehicle is parked in the parking space and whether the compressor's door is open when watching the monitoring video.
[0111] In this embodiment of the application, the transfer station may also be equipped with various industrial sensors, such as trigger radar, roller shutter radar and light curtain, to determine the vehicle's arrival status and whether the parking space is open. The determined information is integrated into the monitoring video information so that users can view the specific situation in the current transfer station in real time.
[0112] One possible implementation of this application embodiment, when determining whether there is garbage in the compressor housing corresponding to the berth, step S101 includes steps S1011 (not shown in the figure), S1012 (not shown in the figure), and S1013 (not shown in the figure), wherein,
[0113] Step S1011: Obtain the first image information.
[0114] The first image information includes information about the bottom surface inside the box.
[0115] In this embodiment of the application, since the garbage is located on the bottom surface of the compressor housing when there is garbage inside the housing, the first image information of the bottom surface of the housing is obtained so that it can be determined whether there is garbage inside the housing based on the first image information.
[0116] Step S1012: Perform image edge detection processing on the first image information to obtain the edge detection result.
[0117] In this embodiment of the application, image edge detection processing is performed on the first image information to obtain edge detection results, so that the edge detection results can be used to determine whether there is garbage inside the compressor box.
[0118] In this embodiment of the application, the process of image edge detection processing of the first image information mainly involves smoothing the first image information to obtain a smoothed image corresponding to the first image information, and then sharpening the smoothed image to obtain a sharpened image. The obtained sharpened image is then subjected to edge determination to find edge points, and then the edge points are connected to form a complete edge, thus obtaining the edge detection result.
[0119] Step S1013: If the edge detection results include the edge detection results of at least two targets, then it is determined that there is garbage in the compressor box corresponding to the berth.
[0120] In this embodiment, since the first image information is the image information of the bottom surface of the container, and because the bottom surface of the container has long been filled with garbage, and the connection between the bottom surface and the side wall of the container is difficult to clean, there are deep stains at the connection between the bottom surface and the side wall. That is, even if there is no garbage on the bottom surface of the container, the edge detection result will still include the edge detection result of one target. Therefore, when the edge detection result contains the edge detection results of at least two targets, it indicates that the first image information contains not only the edge detection result at the connection between the bottom surface and the side wall of the container, but also the edge detection results of other targets. This indicates that there is garbage on the bottom surface of the container, and therefore it can be determined that there is garbage inside the compressor container corresponding to the berth.
[0121] One possible implementation of this application embodiment, when determining whether the garbage belongs to uncompressed garbage, specifically includes steps S1021 (not shown in the figure), S1022 (not shown in the figure), S1023 (not shown in the figure), S1024 (not shown in the figure), S1025 (not shown in the figure), and S1026 (not shown in the figure), wherein,
[0122] Step S1021: Obtain the second image information, the third image information, and the specification information.
[0123] The second and third image information are image information collected from different angles of the box.
[0124] In this embodiment, the second and third image information are images taken from different angles of the container. The second image information can be an image taken by the image acquisition device from above the side of the container where it docks with the vehicle. The second image information includes the side of the container, part of the bottom surface, and part of other sides, where the other sides are those adjacent to the first image. The third image information can be an image taken by the image acquisition device from above the opposite side of the container where it docks with the vehicle. Obtaining the second and third image information allows for the subsequent determination of the three-dimensional boundary points of the waste inside the container. The container's specifications are also obtained to calculate its volume. For example, the container's specifications are assumed to be 3000mm × 2000mm × 2000mm (length × width × height).
[0125] Step S1022: Calculate the volume of the container based on the specification information, and determine the three-dimensional boundary point information of the waste based on the second image information and the third image information.
[0126] In this embodiment of the application, the volume of the container is calculated based on the specification information, and the three-dimensional boundary point information of the waste is determined based on the second and third image information. This allows for the subsequent calculation of the waste's volume based on the three-dimensional boundary point information, thus facilitating the determination of whether uncompressed waste exists within the container based on the volume of the container and the volume of the waste. Taking step S1021 as an example, the volume of the container can be calculated to be 12m³. 3 Since the second and third image information are images of the container from different angles, and the second image information can capture the side wall and bottom of the container, while the third image information can capture the bottom of the container and the location where the container docks with the vehicle, the three-dimensional boundary point information of the waste can be determined based on the second and third image information.
[0127] Step S1023: Calculate the volume of the waste based on the three-dimensional boundary point information.
[0128] In this embodiment of the application, the volume of the waste is calculated based on the three-dimensional boundary point information, so that it can be subsequently determined whether the waste is uncompressed waste based on the volume of the waste and the volume of the container. Assume the volume of the waste is 4m³. 3 .
[0129] Step S1024: Calculate the volume ratio based on the volume of the waste and the volume of the container.
[0130] For the embodiments of this application, taking steps S1022 and S1023 as examples, the volume ratio is calculated to be 1 / 3, so that it can be determined whether the waste is uncompressed waste based on 1 / 3.
[0131] Step S1025: If the volume ratio reaches the preset volume ratio, then the waste is determined to be uncompressed waste.
[0132] In the embodiments of this application, the preset volume ratio is a pre-set volume ratio value, which serves as a standard for determining whether the waste belongs to uncompressed waste. Assuming the preset volume ratio is 1 / 6, taking step S1024 as an example, the volume ratio of 1 / 3 reaches the preset volume ratio of 1 / 6, so it can be determined that the waste in the container belongs to uncompressed waste.
[0133] Step S1026: If the volume ratio does not reach the preset volume ratio, then it is determined that the waste does not belong to uncompressed waste.
[0134] In the embodiments of this application, assuming the volume ratio is 1 / 7, if the preset volume ratio of 1 / 6 is not reached, it can be determined that the garbage in the bin does not belong to uncompressed garbage, thereby achieving the effect of determining whether the garbage in the bin belongs to uncompressed garbage.
[0135] One possible implementation of this application embodiment is that step S103, when determining the first garbage type, includes steps S1031 (not shown in the figure), S1032 (not shown in the figure), S1033 (not shown in the figure), S1034 (not shown in the figure), and S1035 (not shown in the figure), wherein,
[0136] Step S1031: Obtain video information of berths within a preset historical time period.
[0137] In this embodiment of the application, the preset historical time is a pre-set time, which is the maximum time to wait for unloading when there is garbage in the compressor. Assuming the preset historical time is 10 minutes, it means that when there is garbage in the compressor, the waiting time for the next vehicle to unload garbage is 10 minutes. When the waiting time exceeds 10 minutes, the compressor will no longer wait and will compress the existing garbage in the compressor. Historical video information of the parking spaces within 10 minutes is obtained so that license plate information can be determined later based on the historical video information.
[0138] Step S1032: Perform license plate feature recognition on the video information to determine the license plate information of at least one first target vehicle.
[0139] The first target vehicle is the vehicle unloading materials at the berth.
[0140] In this embodiment of the application, the first target vehicle is the vehicle unloading materials at the berth. License plate feature recognition is performed on the video information to determine the license plate information of at least one first target vehicle, so that the target license plate information can be determined subsequently. Taking step S1032 as an example, the license plate information of vehicles unloading materials at the berth within 10 minutes is obtained. It is assumed that the license plate information of the first target vehicle includes license plate information A and license plate information B. In this embodiment of the application, the technology for license plate feature recognition of video information can be AI video recognition technology, specifically object recognition technology.
[0141] Step S1033: Determine the unloading time corresponding to at least one first target vehicle.
[0142] In this embodiment of the application, the unloading time corresponding to the license plate information is determined so that the latest unloading time can be determined subsequently based on the unloading time. Taking step S1032 as an example, assume that the unloading time corresponding to license plate information A is 10:20 and the unloading time corresponding to license plate information B is 10:25. The method for determining the unloading time corresponding to the license plate information can be to use AI behavior recognition technology to analyze historical video information, determine whether the vehicle is about to leave the parking space, and determine the unloading time corresponding to the vehicle's license plate information based on the time when the vehicle is about to leave the parking space.
[0143] Step S1034: Determine the latest unloading time from the unloading time.
[0144] In this embodiment of the application, the latest unloading time is determined based on the unloading time, so that the first type of waste can be determined subsequently based on the latest unloading time. Taking step S1033 as an example, the latest unloading time is 10:25. The latest unloading time can be determined by sorting the unloading times in chronological order and determining the last unloading time as the latest unloading time.
[0145] Step S1035: Determine the type of waste corresponding to the second target license plate information as the first type of waste.
[0146] The second target vehicle license plate information is the license plate information of the first target vehicle corresponding to the latest unloading time.
[0147] In this embodiment of the application, the second target license plate information is the license plate information of the first target vehicle corresponding to the latest unloading time. Taking step S1035 as an example, the license plate information of the first target vehicle corresponding to 10:25 is determined as the second target license plate information, that is, the second target license plate information is license plate information B. Since each license plate information corresponds to the type of waste transported, the type of waste corresponding to the second target license plate information can be determined as the first type of waste, thereby achieving the effect of determining the first type of waste. Assuming that the type of waste corresponding to license plate information B is recyclable waste, the first type of waste is determined to be recyclable waste.
[0148] One possible implementation of this application embodiment is that when determining the second type of waste, step S103 includes steps S1036 (not shown in the figure), S1037 (not shown in the figure), and S1038 (not shown in the figure), wherein step S1036 involves acquiring vehicle image information of the vehicle.
[0149] In this embodiment of the application, vehicle image information is obtained so that the vehicle's license plate information can be determined subsequently based on the vehicle image information.
[0150] Step S1037: Extract license plate features from vehicle image information to obtain vehicle license plate information.
[0151] In this embodiment, license plate features are extracted from vehicle image information to obtain the vehicle's license plate information, which is then used to determine the second type of waste. Specifically, in this embodiment, the license plate feature extraction can be performed by first determining the potential area of the license plate based on the pixel value range corresponding to the background color (blue) of the license plate. Since the color of the vehicle body may also fall within this pixel value range, the potential area may include the vehicle body. However, the vehicle body does not contain text containing numbers, letters, or periods (."). Therefore, text recognition can be performed on the potential area, and text containing numbers, letters, and periods (.") can be identified as license plate information. Let's assume the vehicle's license plate information is license plate information C.
[0152] Step S1038: Search for the license plate information in the preset license plate database. If the preset license plate information that matches the license plate information exists in the preset license plate database, then the preset garbage type corresponding to the preset license plate information is determined as the second garbage type.
[0153] The preset license plate database includes the correspondence between preset license plate information and preset waste types.
[0154] In this embodiment of the application, the preset license plate database is a pre-set database that includes multiple preset license plate information entries. Each preset license plate information entry has a corresponding waste type. The license plate information is searched in the preset license plate database. When a preset license plate information entry matching the given license plate information exists in the database, the preset waste type corresponding to that license plate information is determined as the second waste type, thereby achieving the effect of determining the second waste type. Assuming that the preset license plate information included in the preset license plate database are license plate information A, license plate information B, and license plate information C, and their corresponding waste types are other waste, recyclable waste, and hazardous waste, respectively, taking step S1037 as an example, the second waste type can be determined to be hazardous waste.
[0155] In this embodiment of the application, the preset license plate information in the preset license plate database is updatable license plate information. That is, when a new vehicle exists, the user can enter the new vehicle information and the type of waste transported by the new vehicle into the preset license plate database, so that when determining the type of waste, the type of waste corresponding to each vehicle can be determined.
[0156] Furthermore, in practical applications, when a vehicle corresponding to a certain type of waste is unable to transport that type of waste to the waste transfer station in the short term, in order to speed up transportation efficiency, other vehicles transporting other types of waste may be assigned to assist in transporting that type of waste. That is, the type of waste transported by these other vehicles is different from the original type of waste. To ensure the accuracy of the waste type subsequently determined, when a vehicle is assigned to support, the vehicle driver, user, or electronic device can update the preset license plate database according to the type of waste that the vehicle currently needs to transport, so as to ensure the accuracy of the license plate information and the corresponding waste type in the preset license plate database.
[0157] One possible implementation of this application embodiment is that when step S105 outputs the corresponding display information based on the judgment result, it specifically includes steps S1051 (not shown in the figure) and S1052 (not shown in the figure). In step S1051, if the judgment result is that the first garbage type and the second garbage type are different, then the first display information is output.
[0158] The first displayed information indicates that the vehicle is in the correct parking space.
[0159] In this embodiment, when the determination result is that the first type of waste and the second type of waste are different, it means that if the waste carried by the vehicle is unloaded into the compressor's container, there will be at least two types of waste in the container. Therefore, the first display information can be output so that the user can clearly understand that the vehicle is currently in an incorrect parking space. In this embodiment, the first display information can be "Incorrect Parking Space," and it can be output to the driver's corresponding terminal device (e.g., an in-vehicle terminal and a mobile phone). Specifically, when displayed on a mobile phone, it can be displayed within a mini-program or via SMS; no limitation is made here.
[0160] Step S1052: If the judgment result is that the first type of garbage and the second type of garbage are the same, then the remaining volume is determined based on the volume of the garbage and the volume of the container, and the volume of the garbage carried by the vehicle is obtained. If the volume of the garbage carried by the vehicle reaches the remaining volume, then the first display information is output. If the volume of the garbage carried by the vehicle does not reach the remaining volume, then the second display information is output.
[0161] The second displayed information indicates that the vehicle is in the wrong parking space.
[0162] In this embodiment of the application, it is assumed that both the first waste type and the second waste type are recyclable waste, that is, the first waste type and the second waste type are the same. Since there may be a situation where the volume of the waste carried by the vehicle is larger than the volume of the waste inside the container, the volume of the waste inside the container can be used as a guideline. 3 And the volume of the box is 12m. 3 The remaining volume was calculated to be 8m³. 3 And obtain the volume of the garbage carried by the vehicle, assuming the volume of the garbage is 6m³. 3 If the volume of the loaded waste has not reached the remaining volume, it can be determined that the vehicle can unload the waste into the compressor's container, meaning the vehicle is in the correct parking space. A second display message is then output to inform the user that the vehicle is in the correct parking space; this message could be something like "Parking correct." Conversely, if the volume of the loaded waste reaches the remaining volume (e.g., 10m³), then the vehicle is in the correct parking space. 3 If the garbage is unloaded into the container, it will cause the garbage inside the container to overflow, indicating that the vehicle is in the wrong parking space. Therefore, the first display information can be output so that the user can know that the vehicle is in the wrong parking space.
[0163] In this embodiment of the application, the volume of garbage carried by the vehicle can be obtained by acquiring transportation information input by the driver, including the volume of the transported garbage. Further transportation information may also include the origin of the transported garbage. Since the volume of garbage input by the driver is an estimate based on the maximum volume of garbage the vehicle can carry and the proportion of the current volume of garbage to the maximum volume, there may be estimation errors. Therefore, the average of the volumes of historical garbage from the same origin and of the same type, and the current volume input by the driver, can be calculated and used as the volume of garbage currently carried by the vehicle, thereby increasing the accuracy of the obtained volume of garbage carried by the vehicle.
[0164] In one possible implementation of this application embodiment, step S104 is followed by steps S106 (not shown in the figure) and S107 (not shown in the figure), wherein,
[0165] Step S106: If the judgment result is that the first type of waste and the second type of waste are different, then the target berth in the transfer station is determined.
[0166] Among them, the compressor box corresponding to the target berth is free of garbage or the garbage type in the compressor box corresponding to the target berth is the same as the second garbage type.
[0167] In this embodiment of the application, when the determination result is that the first waste type and the second waste type are different, it means that the vehicle cannot directly unload the waste it carries into the container, that is, the vehicle is in the wrong parking space. Therefore, a new parking space needs to be determined for the vehicle. When there is no waste in the compressor container corresponding to the parking space, it means that if the waste carried by the vehicle is unloaded into the container, different types of waste will not appear in the container at the same time. That is, the target parking space can be a parking space where there is no waste in the compressor container. When there is waste in the compressor container corresponding to the parking space, as long as the waste type in the container is the same as the second waste type, different types of waste will not appear in the container at the same time. That is, the target parking space can be a parking space where the waste type in the compressor container is the same as the second waste type. The target parking space in the transfer station is determined so that the parking space number corresponding to the target parking space can be output to the corresponding terminal device later.
[0168] Step S107: Send the berth number corresponding to the target berth to the terminal device corresponding to the vehicle.
[0169] In this embodiment of the application, assuming that the target berth is number 1, number 1 is sent to the terminal device corresponding to the vehicle so that the driver can clearly know which berth the vehicle needs to enter.
[0170] The above embodiments describe the AR-based transit station allocation visualization method from the perspective of process flow. The following embodiments describe the AR-based transit station allocation visualization device from the perspective of virtual modules or virtual units. For details, please refer to the following embodiments.
[0171] This application provides an AR-based visualization device 20 for transit station allocation, such as... Figure 2 As shown, the AR-based transit station allocation visualization device 20 may specifically include:
[0172] The first determining module 201 is used to determine whether there is garbage inside the compressor box corresponding to the parking space when a vehicle is detected in the parking space;
[0173] The second determining module 202 is used to determine whether the garbage is uncompressed garbage when garbage is present.
[0174] The third determining module 203 is used to determine a first waste type and a second waste type when the waste is uncompressed, wherein the first waste type is the waste type of uncompressed waste and the second waste type is the waste type of waste carried by the vehicle.
[0175] The judgment module 204 is used to determine whether the first garbage type and the second garbage type are the same, and obtain the judgment result;
[0176] The output module 205 is used to output the corresponding display information based on the judgment result.
[0177] By adopting the above technical solution, when a vehicle is detected in a parking space, the first determining module 201 determines whether there is garbage in the compressor housing corresponding to the parking space. This facilitates the judgment of whether the current vehicle can directly unload the garbage into the housing. When there is no garbage, it means that the vehicle can directly unload the garbage into the housing. When the compressor compresses, it will not compress multiple types of garbage at the same time. Uncompressed garbage is garbage that has not undergone compression in the compressor. When there is garbage, it means that the vehicle cannot directly unload the garbage into the compressor. The garbage in the compressor may be garbage left over from the previous compression or uncompressed garbage that has not undergone compression. Therefore, the second determining module 202 needs to first determine whether the garbage in the compressor is uncompressed garbage. When it is uncompressed garbage, it means that the vehicle cannot unload the garbage into the compressor. The loaded garbage is directly unloaded into the container. If the loaded garbage is directly unloaded into the container, the compressor may compress different types of garbage at the same time. The first type of garbage is uncompressed garbage, and the second type of garbage is the garbage loaded by the vehicle. Therefore, the third determination module 203 needs to determine the first type of garbage and the second type of garbage, so that the subsequent judgment module 204 can determine whether the first type of garbage and the second type of garbage are the same, and obtain the judgment result. This achieves the effect of determining whether the vehicle can directly unload the loaded garbage into the compressor container, so that the subsequent output module 205 can output the corresponding display information based on the judgment result, so that the user can intuitively see whether the vehicle is in the correct parking space, thereby reducing the probability of the same compressor compressing at least two types of garbage at the same time.
[0178] In one possible implementation of this application embodiment, when the first determining module 202 determines whether there is garbage inside the compressor housing corresponding to the berth, it is specifically used for:
[0179] Obtain the first image information of the bottom surface inside the box;
[0180] The first image information is subjected to image edge detection processing to obtain the edge detection result;
[0181] If the edge detection results contain at least two target edge detection results, it is determined that there is garbage inside the compressor housing corresponding to the berth.
[0182] In one possible implementation of this application embodiment, the second determining module 202, when determining whether the garbage belongs to uncompressed garbage, is specifically used for:
[0183] Acquire second image information, third image information, and specification information. The second and third image information are image information collected from different angles of the enclosure.
[0184] The volume of the container is calculated based on the specification information, and the three-dimensional boundary point information of the waste is determined based on the second and third image information.
[0185] Calculate the volume of waste based on three-dimensional boundary point information;
[0186] Calculate the volume ratio based on the volume of the waste and the volume of the container;
[0187] If the volume ratio reaches the preset volume ratio, the waste is determined to be uncompressed waste;
[0188] If the volume ratio does not reach the preset volume ratio, the waste is determined not to be uncompressed waste.
[0189] In one possible implementation of this application embodiment, the third determining module 203, when determining the first garbage type, is specifically used for:
[0190] Obtain video information of berths within a preset historical time period;
[0191] The video information is used to identify license plate features to determine the license plate information of at least one first target vehicle, which is a vehicle unloading materials at the parking space.
[0192] Determine the unloading time for at least one primary target vehicle;
[0193] The latest unloading time is determined from the unloading time;
[0194] The waste type corresponding to the second target vehicle license plate information is determined to be the first waste type, and the second target vehicle license plate information is the license plate information of the first target vehicle corresponding to the latest unloading time.
[0195] In one possible implementation of this application embodiment, the third determining module 203, when determining the second garbage type, is specifically used for:
[0196] Acquire vehicle image information;
[0197] License plate features are extracted from vehicle image information to obtain the vehicle's license plate information;
[0198] The license plate information is searched in the preset license plate database. If a preset license plate information that matches the license plate information exists in the preset license plate database, the preset garbage type corresponding to the preset license plate information is determined as the second garbage type. The preset license plate database includes the correspondence between preset license plate information and preset garbage types.
[0199] In one possible implementation of this application embodiment, when the output module 205 outputs corresponding display information based on the judgment result, it is specifically used for:
[0200] If the judgment result is that the first type of garbage is different from the second type of garbage, then the first display information is output, which indicates that the vehicle is in the correct parking space;
[0201] If the judgment result is that the first type of garbage and the second type of garbage are the same, then the remaining volume is determined based on the volume of the garbage and the volume of the container, and the volume of the garbage carried by the vehicle is obtained. If the volume of the garbage carried by the vehicle reaches the remaining volume, then the first display information is output. If the volume of the garbage carried by the vehicle does not reach the remaining volume, then the second display information is output. The second display information indicates that the vehicle is in the wrong parking space.
[0202] In one possible implementation of this application embodiment, the apparatus 20 further includes:
[0203] The fourth determination module is used to determine the target berth in the transfer station when the judgment result is that the first waste type and the second waste type are different. The target berth has no waste in the compressor box or the waste type in the compressor box is the same as the second waste type.
[0204] The sending module is used to send the berth number corresponding to the target berth to the terminal device corresponding to the vehicle.
[0205] Those skilled in the art will understand that, for the sake of convenience and brevity, the specific working processes of the systems, devices, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here.
[0206] This application provides an electronic device, such as... Figure 3 As shown, Figure 3 The illustrated electronic device 30 includes a processor 301 and a memory 303. The processor 301 and the memory 303 are connected, for example, via a bus 302. Optionally, the electronic device 30 may also include a transceiver 304. It should be noted that in practical applications, the transceiver 304 is not limited to one type, and the structure of this electronic device 30 does not constitute a limitation on the embodiments of this application.
[0207] Processor 301 may be a CPU (Central Processing Unit), a general-purpose processor, a DSP (Digital Signal Processor), an ASIC (Application Specific Integrated Circuit), an FPGA (Field Programmable Gate Array), or other programmable logic devices, transistor logic devices, hardware components, or any combination thereof. It can implement or execute the various exemplary logic blocks, modules, and circuits described in conjunction with the disclosure of this application. Processor 301 may also be a combination that implements computational functions, such as including at least one microprocessor combination, a combination of a DSP and a microprocessor, etc.
[0208] Bus 302 may include a pathway for transmitting information between the aforementioned components. Bus 302 may be a PCI (Peripheral Component Interconnect) bus or an EISA (Extended Industry Standard Architecture) bus, etc. Bus 302 can be divided into address bus, data bus, control bus, etc. For ease of representation, Figure 3 The symbol is represented by a single thick line, but this does not mean that there is only one bus or one type of bus.
[0209] The memory 303 may be a ROM (Read Only Memory) or other type of static storage device capable of storing static information and instructions, RAM (Random Access Memory) or other type of dynamic storage device capable of storing information and instructions, or an EEPROM (Electrically Erasable Programmable Read Only Memory), CD-ROM (Compact Disc Read Only Memory) or other optical disc storage, optical disc storage (including compressed optical discs, laser discs, optical discs, digital universal optical discs, Blu-ray discs, etc.), magnetic disk storage media or other magnetic storage devices, or any other medium capable of carrying or storing desired program code in the form of instructions or data structures and accessible by a computer, but not limited thereto.
[0210] The memory 303 is used to store application code that executes the solution of this application, and its execution is controlled by the processor 301. The processor 301 is used to execute the application code stored in the memory 303 to implement the content shown in the foregoing method embodiments.
[0211] Electronic devices include, but are not limited to: mobile terminals such as mobile phones, laptops, digital radio receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), and in-vehicle terminals (such as in-vehicle navigation terminals), as well as fixed terminals such as digital TVs and desktop computers. Servers can also be included. Figure 3 The electronic device shown is merely an example and should not impose any limitation on the functionality and scope of use of the embodiments of this application.
[0212] This application provides a computer-readable storage medium storing a computer program that, when run on a computer, enables the computer to execute the corresponding content in the aforementioned method embodiments. Compared with related technologies, in this application embodiment, when a vehicle is detected in a parking space, it is determined whether there is garbage in the compressor housing corresponding to the parking space. This facilitates subsequent determination of whether the vehicle can directly unload its garbage into the housing. When there is no garbage, it indicates that the vehicle can directly unload its garbage into the housing. The compressor does not compress multiple types of garbage simultaneously. Uncompressed garbage refers to garbage that has not undergone compression within the compressor. When garbage is present, it indicates that the vehicle cannot directly unload its garbage into the compressor. The garbage in the compressor may be residual garbage from the previous compression or uncompressed garbage that has not undergone compression. Therefore, it is necessary to first determine whether the garbage in the compressor is uncompressed. When the garbage is uncompressed, it means the vehicle cannot directly unload the garbage into the container. If the garbage is unloaded directly into the container, the compressor may compress different types of garbage simultaneously. The first type of garbage is the uncompressed garbage, and the second type is the garbage carried by the vehicle. Therefore, it is necessary to determine the first and second types of garbage to facilitate subsequent judgment on whether the first and second types of garbage are the same. This judgment result determines whether the vehicle can directly unload the garbage into the compressor container, so that the corresponding display information can be output based on the judgment result, allowing the user to intuitively see whether the vehicle is in the correct parking space.
[0213] It should be understood that although the steps in the flowcharts of the accompanying figures are shown sequentially as indicated by the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowcharts of the accompanying figures may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily completed at the same time, but can be executed at different times, and their execution order is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the sub-steps or stages of other steps.
[0214] The above are only some embodiments of this application. It should be noted that for those skilled in the art, several improvements and modifications can be made without departing from the principle of this application, and these improvements and modifications should also be considered within the scope of protection of this application.
Claims
1. An AR-based visualization method for transit station allocation, characterized in that, include: When a vehicle is detected in a parking space, determine whether there is garbage inside the compressor housing corresponding to that parking space; If trash is present, determine whether the trash is uncompressed trash; If it is uncompressed waste, then a first waste type and a second waste type are determined, where the first waste type is the waste type of the uncompressed waste and the second waste type is the waste type of the waste carried by the vehicle; Determine whether the first garbage type and the second garbage type are the same, and obtain the determination result; Based on the judgment result, corresponding display information is output, which is used to show whether the vehicle is in the correct parking space.
2. The AR-based transit station allocation visualization method according to claim 1, characterized in that, Determining whether there is garbage inside the compressor housing corresponding to the berth includes: Acquire first image information, which includes bottom surface information inside the box; The first image information is subjected to image edge detection processing to obtain the edge detection result; If the edge detection results include edge detection results for at least two targets, then it is determined that there is garbage inside the compressor housing corresponding to the berth.
3. The AR-based transit station allocation visualization method according to claim 1, characterized in that, Determining whether the waste is uncompressed waste includes: Acquire second image information, third image information, and specification information, wherein the second image information and the third image information are image information collected from different angles of the housing; The volume of the container is calculated based on the specifications, and the three-dimensional boundary point information of the waste is determined based on the second image information and the third image information. The volume of the waste is calculated based on the three-dimensional boundary point information; Calculate the volume ratio based on the volume of the waste and the volume of the container; If the volume ratio reaches the preset volume ratio, then the waste is determined to be uncompressed waste; If the volume ratio does not reach the preset volume ratio, then the waste is determined not to be uncompressed waste.
4. The AR-based transit station allocation visualization method according to claim 1, characterized in that, Determine the primary garbage type, including: Obtain video information of the berths within a preset historical time period; The video information is analyzed for license plate features to determine the license plate information of at least one first target vehicle, which is a vehicle unloading materials at the berth. Determine the unloading time corresponding to the at least one first target vehicle; The latest unloading time is determined from the aforementioned unloading times; The type of waste corresponding to the second target license plate information is determined to be the first type of waste, and the second target license plate information is the license plate information of the first target vehicle corresponding to the latest unloading time.
5. The AR-based transit station allocation visualization method according to claim 1, characterized in that, Identify the second type of garbage, including: Obtain vehicle image information of the vehicle; License plate features are extracted from the vehicle image information to obtain the vehicle's license plate information; The license plate information is searched in a preset license plate database. If a preset license plate information that matches the license plate information exists in the preset license plate database, the preset garbage type corresponding to the preset license plate information is determined as the second garbage type. The preset license plate database includes the correspondence between preset license plate information and preset garbage types.
6. The AR-based transit station allocation visualization method according to claim 3, characterized in that, The step of outputting corresponding display information based on the judgment result includes: If the judgment result is that the first type of waste is different from the second type of waste, then the first display information is output, which indicates that the vehicle is in the wrong parking space; If the judgment result is that the first type of waste and the second type of waste are the same, then based on the volume of the waste and the volume of the container, the remaining volume is determined, and the volume of the waste carried by the vehicle is obtained. If the volume of the waste carried by the vehicle reaches the remaining volume, then the first display information is output. If the volume of the waste carried by the vehicle does not reach the remaining volume, then the second display information is output. The second display information indicates that the vehicle is in the correct parking space.
7. The AR-based transit station allocation visualization method according to claim 1, characterized in that, The process of determining whether the first garbage type and the second garbage type are the same, obtaining the determination result, further includes: If the judgment result is that the first type of waste is different from the second type of waste, then the target berth in the transfer station is determined, and there is no waste in the compressor box corresponding to the target berth or the waste type in the compressor box corresponding to the target berth is the same as the second type of waste. The berth number corresponding to the target berth is sent to the terminal device corresponding to the vehicle.
8. An AR-based visualization device for transit station allocation, characterized in that, Performing the AR-based transit station allocation visualization method as described in any one of claims 1-7 includes: The first determining module is used to determine whether there is garbage inside the compressor box corresponding to the parking space when a vehicle is detected in the parking space; The second determining module is used to determine whether the garbage is uncompressed garbage when garbage is present. The third determining module is used to determine a first waste type and a second waste type when the waste is uncompressed, wherein the first waste type is the waste type of the uncompressed waste and the second waste type is the waste type of the waste carried by the vehicle. The judgment module is used to determine whether the first garbage type and the second garbage type are the same, and to obtain the judgment result; The output module is used to output corresponding display information based on the judgment result, and the display information is used to show whether the vehicle is in the correct parking space.
9. An electronic device, characterized in that, It includes: At least one processor; Memory; At least one application, wherein the at least one application is stored in the memory and configured to be executed by the at least one processor, the at least one application being configured to: perform the AR-based transit station visualization allocation method according to any one of claims 1 to 7.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed in the computer, the computer is instructed to perform the AR-based transit station allocation visualization method according to any one of claims 1 to 7.
Citation Information
Patent Citations
Vehicle identification system and method for garbage unloading platform
CN114639066A
A method and system for trash management
IN201911042282A