Because of changeable daylight and weather, the natural scenes of road are complicated. And the garbage on roads comes in polytropic shapes and sizes, especially small targets such as leaves. To detect the location and types of road-garbage in different scenarios quickly and accurately, we propose a road-garbage detection solution based on YOLOv5. The solution is finally applied to the garbage sweeper, where different deployment strategies are required for different modules. Firstly, to reduce the loss of image information caused by overexposure and underexposure, we design automatic exposure algorithm to adjust camera parameters in time and use OpenMP to accelerate it. Secondly, YOLOv5 algorithm based on object detection is trained for recognition and TensorRT framework is used for deployment. Taking into account the computing speed and accuracy, we choose FP16 computational precision for YOLOv5’s inference acceleration. Lastly, a low-cost computing platform named Jetson AGX Xavier is selected and the algorithm is optimized in combination with the characteristics of the hardware platform. Multithreading is also used to accelerate in software architecture. The results show that the average detection accuracy for various types of road-garbage reaches 70.4% under four different scenarios of self-built datasets. And the area of the smallest object detected accounts for 0.2‰ of the total area of the image. The speed of this road-garbage detection solution can reach 5fps when processing the 12-bit image of 2432*1226 size on the low-cost AGX Xavier computing platform.
Access to the requested content is limited to institutions that have purchased or subscribe to SPIE eBooks.
You are receiving this notice because your organization may not have SPIE eBooks access.*
*Shibboleth/Open Athens users─please
sign in
to access your institution's subscriptions.
To obtain this item, you may purchase the complete book in print or electronic format on
SPIE.org.
INSTITUTIONAL Select your institution to access the SPIE Digital Library.
PERSONAL Sign in with your SPIE account to access your personal subscriptions or to use specific features such as save to my library, sign up for alerts, save searches, etc.