Unattended weighing system based on computer vision
Technical Field
The invention relates to the technical field of weighing, in particular to an unattended weighing system based on computer vision.
Background
Weighbridges, also known as truck scales, are typically used to weigh the tons of a truck on a large scale placed on the ground. The weighing device is a main weighing device for measuring bulk goods of factories, mines, merchants and the like. The weighbridge can be divided into the following parts according to the structure of the weighbridge body: i-shaped steel loadometer, T-shaped beam loadometer, L-shaped beam steel loadometer, U-shaped steel loadometer, channel steel loadometer and reinforced concrete loadometer; the sensor type can be divided into a digital wagon balance and an analog wagon balance.
The current widely used unattended weighing system replaces the judgment of people by a sensor, thereby realizing unmanned operation. The system can automatically weigh without the management of workers during working. The working process of the unattended system is as follows: (1) and (4) card issuing, namely, filling corresponding information such as driver name, vehicle number, goods name and the like by a system administrator according to the card number, then issuing the card and inputting the information into the system. (2) Automatic weighing, namely, after an automobile with a radio frequency card approaches a weighing platform, detecting the arrival of the automobile by a computer, and after verifying that the automobile is a valid card, automatically starting a railing machine to allow the automobile to be driven onto the weighing platform; after the automobile is driven on the weighing platform, the light curtain detects a tail signal, the road barrier is automatically put down, and the next automobile is forbidden to be driven on the weighing platform; after the vehicle is stopped stably, the computer records the weight of the vehicle, and simultaneously, the image of the vehicle is captured and stored in the computer to be used as a basis for later reconnaissance; if the printer is connected, the weighing sheet is printed, and at the moment, the outlet railing machine is lifted up to allow the vehicle which has weighed to pass through; the exit railing machine falls down and the weighing is finished at one time.
Problems with this system: the installation of the system is time-consuming, each sensor needs to be connected to a computer through a serial port, the wiring is complex, the construction time is long, and the later maintenance is troublesome; a fixed room is needed to place a computer and a control cabinet on site, and the occupied space is large. Additional card issuing operations are required and card management is cumbersome.
Disclosure of Invention
Technical problem to be solved
Aiming at the defects of the prior art, the invention provides the unattended weighing system based on computer vision, and solves the problems of low efficiency, complex installation, difficult maintenance and large occupied space of the weighing system.
(II) technical scheme
In order to achieve the purpose, the invention is realized by the following technical scheme: the unattended weighing system based on computer vision comprises four subsystems, namely a weighing data acquisition module, a vehicle motion tracking module, a license plate recognition module and a computer main control module, wherein the weighing data acquisition module is responsible for acquiring real-time weighing data on a vehicle weighing platform; the vehicle motion tracking module is responsible for acquiring the state information of the vehicle passing through the wagon balance, including the motion state and the position of the vehicle; the license plate recognition module is responsible for recognizing the license plate of the vehicle; the core part of the system is a computer main control module which is responsible for the coordination work of the whole system and the uploading of data to the cloud.
Preferably, the weighing data acquisition module is responsible for acquiring data on the weighing platform in real time, and then issuing the data to the internet of things platform through an Mqtt protocol, and the computer main control module subscribes the message, so as to obtain the weight data. The main components of the system are a weighing sensor and an Internet of things chip. The weighing sensor is used for converting an analog signal of the weighing platform into a digital signal with a corresponding proportion and outputting the digital signal, and the digital signal is used as the most important basic component in the whole system.
Preferably, the vehicle motion tracking module is responsible for acquiring state information of the vehicle passing through the wagon balance, including a motion state and a position of the vehicle, and transmitting the information to the computer main control module, so that the computer main control module can perform subsequent work, the tracking module and the computer main control module are both arranged on embedded equipment provided with an android system, a camera carried by the equipment is used for acquiring image information, and an object detection algorithm of a convolutional neural network is used for determining the position of the vehicle.
Preferably, the license plate recognition function module is responsible for storing license plate pictures and recognizing license plates, the license plate recognition function module and the internet of things platform are both arranged on raspberry group equipment, when a vehicle is weighed and stopped stably, license plate information is obtained from one of 2 wifi cameras according to the moving direction of the vehicle, then a license plate is recognized through a computer vision algorithm, the information is transmitted to the computer main control module, and the computer main control module performs subsequent work.
Preferably, the computer main control function module is a core module of the system, and is responsible for controlling the whole process, and judges that the vehicle is loaded and has been stopped stably by the information transmitted by the vehicle motion tracking module and the preset reference object information; then observing the weight information transmitted by the weight data acquisition module, and recording the data as final weight data after the weight is stable; meanwhile, the license plate recognition function module is informed to store the license plate picture and recognize the license plate; and finally, storing the weight and the license plate information to the local and uploading the weight and the license plate information to the cloud.
(III) advantageous effects
The present invention provides an unattended weighing system based on computer vision. The method has the following beneficial effects:
the unattended automatic weighing system based on computer vision is applied, and unnecessary errors caused by manual operation are reduced by modifying the working process of the system through the computer vision technology; the weighing data are uploaded to the cloud, so that the cloud is conveniently integrated with other systems, and informatization dead angles and information islands are eliminated; most of data and control instructions of the system are transmitted by wireless wifi, so that the wiring workload of the system is reduced, and the system is installed more quickly; the embedded equipment is adopted to replace a desktop computer, so that the space occupied by a computer room is reduced; the technology of the Internet of things is adopted, and the reconstruction of the system is carried out by adopting an Internet of things chip, so that the reliability and the expandability of the system are improved; because the installation of a plurality of sensors is reduced, compared with the current system, the system cost is greatly reduced; the license plate recognition technology is used for replacing the card, so that management work is reduced, and the cost for installing card reading and writing equipment is reduced.
Drawings
FIG. 1 is a schematic flow diagram of the unattended weighing system of the invention based on computer vision;
FIG. 2 is a pictorial diagram of the unattended weighing system of the invention based on computer vision;
fig. 3 is a schematic representation of the computer vision based unattended weighing system of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The first embodiment is as follows:
as shown in fig. 1-3, an embodiment of the present invention provides an unattended weighing system based on computer vision, which includes four subsystems, namely a weighing data collection module, a vehicle motion tracking module, a license plate recognition module, and a computer main control module, wherein the weighing data collection module is responsible for collecting real-time weighing data on a vehicle weighing platform; the vehicle motion tracking module is responsible for acquiring the state information of the vehicle passing through the wagon balance, including the motion state and the position of the vehicle; the license plate recognition module is responsible for recognizing the license plate of the vehicle; the core part of the system is a computer main control module which is responsible for the coordination work of the whole system and the uploading of data to the cloud.
The weighing data acquisition module is responsible for acquiring data on the weighing platform in real time, then the data are published to the Internet of things platform through an Mqtt protocol, and the computer main control module subscribes the message, so that the weight data are obtained. The main components of the system are a weighing sensor and an Internet of things chip. The weighing sensor converts the analog signal applied to the weighing platform into digital signal with corresponding proportion and outputs the digital signal as a basic component in the whole system.
The vehicle motion tracking module is responsible for acquiring state information of a vehicle passing through the wagon balance, including a motion state and a position of the vehicle, and transmitting the information to the computer main control module, so that the computer main control module can perform subsequent work, the tracking module and the computer main control module are both arranged on embedded equipment provided with an android system, a camera carried by the equipment is used for acquiring image information, the position of the vehicle is determined by using an object detection algorithm of a convolutional neural network, and then the motion of the vehicle is tracked by using an object tracking algorithm.
The license plate recognition function module is responsible for storing license plate pictures and recognizing license plates, the license plate recognition function module and the Internet of things platform are both arranged on one raspberry sending device, when a vehicle is weighed and stopped stably, license plate information is obtained from one of 2 wifi cameras according to the moving direction of the vehicle, then a license plate is recognized through a computer vision algorithm, the information is transmitted to the computer main control module, and the computer main control module is convenient to perform subsequent work.
The computer main control function module is a core module of the system and is responsible for controlling the whole process, and judges that the vehicle is loaded and has been stopped stably by the information transmitted by the vehicle motion tracking module and the preset reference object information; then observing the weight information transmitted by the weight data acquisition module, and recording the data as final weight data after the weight is stable; meanwhile, the license plate recognition function module is informed to store the license plate picture and recognize the license plate; and finally, storing the weight and the license plate information to the local and uploading the weight and the license plate information to the cloud.
Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that changes, modifications, substitutions and alterations can be made in these embodiments without departing from the principles and spirit of the invention, the scope of which is defined in the appended claims and their equivalents.