[0007] More specifically, the
computer equipment for acquiring data includes: an electronic compass set in the front
dashboard of the vehicle for detecting and outputting the driving direction of the vehicle in real time; the electronic compass includes a two-dimensional
magnetic field sensor for The electronic compass also includes an electromagnetic feedback circuit, which is used to eliminate the sensitive offset caused by temperature changes; the computer controls the main device, which is installed in the front
dashboard of the vehicle, and is connected with the electronic compass and the sunlight respectively. The
data analysis device is connected to receive the driving direction of the vehicle, the positions corresponding to the respective sunlight sub-images and the corresponding area ratios, and determine the driving control based on the
vehicle driving direction, the respective positions corresponding to the respective sunlight sub-images and the corresponding area ratios
signal; a plurality of fans, which are respectively installed at different installation points near the driving position of the vehicle; a plurality of fan electronic switches, each fan
electronic switch corresponds to a fan, and is used to control the switch state of the corresponding fan; the fan drive device is connected with a plurality of fans The
electronic switch is also connected with the computer control main equipment, used to receive the driving
control signal, and based on the driving
control signal to control multiple fan electronic switches; the camera equipment is set in front of the driving position of the vehicle, and is used to monitor the scene of the driving seat. Time-continuous
image acquisition to output the image of the driver's seat; the
big data application platform is connected to the camera device through the network to receive the image of the driver's seat and process the image of the driver's seat. The
big data application platform includes:
grayscale processing equipment, It includes a
channel parameter extraction unit, a weighted value storage unit and a gray value calculation unit. The
channel parameter extraction unit is connected to the camera device through the network, and is used to receive the driver's seat image to extract the R channel pixel value of each pixel in the driver's seat image. , G channel pixel value and
B channel pixel value, the weighted value storage unit is used to store the R channel weighted value, the G channel weighted value and the
B channel weighted value in advance, the gray value calculation unit is respectively connected with the
channel parameter extraction unit and the weighted value storage Unit connection, for each pixel in the driver's seat image, the product of the pixel value of the R channel and the weighted value of the R channel, the product of the pixel value of the G channel and the weighted value of the G channel, and the product of the pixel value of the
B channel and the weighted value of the B channel Obtain the
grayscale value of the targeted pixel, and obtain the
grayscale image corresponding to the driver's seat
image based on the grayscale value of each pixel in the driver's seat image; wherein, the weighted value of the R channel is 0.298839, and the weighted value of the G channel is 0.298839. The value is 0.586811, and the weighted value of the B channel is 0.114350; the
histogram distribution detection device is connected with the grayscale
processing device, used to receive the grayscale image, and perform grayscale
histogram processing on the grayscale image to obtain For the corresponding
histogram image, when the histogram image presents a bimodal distribution, a global threshold selection
signal is sent, otherwise, a non-global threshold selection
signal is sent; the threshold selection device is connected with the histogram distribution detection device for receiving the global threshold When the signal is selected, the global threshold 128 is output as threshold data, and when a non-global threshold selection signal is received, the
gray level difference of adjacent pixels is Threshold 40 is output as threshold data; binarization processing equipment is connected with threshold selection equipment and histogram distribution detection equipment respectively, and is used for each pixel in the grayscale image when receiving the global threshold selection signal. When the grayscale value is greater than or equal to the threshold data, set the targeted pixel as a white level pixel, and when the grayscale value is less than the threshold data, set the targeted pixel as a
black level pixel, and output a grayscale image The corresponding binarized image; the binarized processing device is also used to calculate the pixel point that is 3 pixels away from it in the vertical direction for each pixel point in the grayscale image when receiving the non-global threshold selection signal The gray value of the upper pixel is used as the gray value of the upper pixel, and the gray value of the pixel point that is 3 pixels away from it in the vertical direction is used as the gray value of the lower pixel, and the pixel point that is 3 pixels away from it in the horizontal direction is calculated The gray value of the left pixel is used as the gray value of the left pixel, and the gray value of the pixel point that is 3 pixels away from it in the horizontal direction is used as the gray value of the right pixel. When the difference between the gray value of the upper pixel and the gray value of the lower pixel When the absolute value of is less than or equal to the threshold data and the absolute value of the difference between the gray value of the left pixel and the gray value of the right pixel is less than or equal to the threshold data, set the targeted pixel as a white level pixel, when the gray value of the upper pixel and When the absolute value of the difference between the gray value of the lower pixel is greater than the threshold data or the absolute value of the difference between the gray value of the left pixel and the gray value of the right pixel is greater than the threshold data, set the targeted pixel as a
black level pixel and output The binarized image corresponding to the grayscale image; the image
smoothing device, connected to the binarized processing device, is used to receive the binarized image, and for each pixel in the binarized image, when all adjacent pixels When there are more than half of the jump points in the point, the gray value of the targeted pixel point is retained; otherwise, the gray value of the targeted pixel point is set as a white level pixel point, and the
binary image corresponding to Smooth image; sunlight
data analysis equipment, connected with Wiener filtering equipment to obtain filtered image; for each pixel in the filtered image, match its gray value with the preset sunlight gray range, when its gray value is in When it is within the preset sunlight grayscale range, it is determined to be a sunlight pixel point; the area composed of all sunlight pixels in the filtered image is segmented from the filtered image to obtain each sunlight sub-image; and based on each sunlight sub-image, its position in the filtered image and calculate its
area ratio occupying the filtered image; output the respective positions and corresponding area ratios of each sunlight sub-image;
solar energy detection equipment for real-time detection of current
solar intensity; power supply equipment, including
solar energy Power supply device, storage battery, switching switch and
voltage converter, the switching switch is respectively connected with
solar energy detection equipment,
solar power supply device and storage battery, when the remaining power of the storage battery is insufficient and the current
solar intensity is higher than or equal to the preset intensity threshold, switch to solar energy The power supply device is powered by the
solar power supply device, and the
voltage converter is connected with the switch to convert the 5V input through the switch to a 3.3V
voltage, wherein the
solar power supply device includes a solar photovoltaic panel;
wireless The charging equipment is connected with the solar detection equipment and the storage battery respectively. When the remaining power of the storage battery is insufficient and the current solar
energy intensity is lower than the preset intensity, a connection is established with a nearby
wireless charging terminal to start the
wireless charging operation. The wireless charging equipment is also connected with the voltage The converter is connected to realize the voltage conversion; the
Wiener filter device is connected with the image balance processing device through the network, and is used to receive the smoothed image, and performs
Wiener filter processing on the smooth image to obtain a filtered image, wherein the
Wiener filter processing is used to make the smooth The
mean square error of the image and the filtered image is minimized to remove
white noise and
speckle noise in the smooth image