[0010] More specifically, the smart home
security system includes: a home security
wireless control device, configured to receive
wireless security control commands sent by audience members in theater auditoriums, and wirelessly control home security arrangements in remote audience rooms. The
Big Dipper navigator is installed in the front-
end instrument panel of the car for real-time detection and output of the driving direction of the car; wherein, the Big
Dipper navigator faces the Beidou navigation
satellite to receive the navigation data from the Beidou navigation
satellite, and determines the driving direction of the car based on the navigation data. Direction: Freescale MC9S12
chip is set in the front-
end instrument panel of the car, and is respectively connected with the Big
Dipper navigator and
sunlight parameter detection equipment to receive the driving direction of the car, the corresponding positions of each sunlight sub-image and the corresponding
area ratio , and determine the driving
control signal based on the driving direction of the car, the corresponding positions of each sunlight sub-image and the corresponding
area ratio; multiple car curtains are respectively arranged above multiple car windows, and each car curtain corresponds to a car window. When the car curtain is in the stretched state, the corresponding car window is shaded from the sun; multiple retractable pull rods, each of which corresponds to a car curtain, is used to control the telescopic state of the corresponding car curtain; the curtain driver, and multiple A retractable pull rod is connected, and also connected with Freescale MC9S12 chip, used to receive the drive
control signal, and based on the drive
control signal to perform telescopic control on multiple retractable pull rods;
CMOS sensing equipment, set in the car, driving In front of the position, it is used to collect images of the driving position scene to output the driving area image; the data segmentation device, located in the cloud, is connected to the
CMOS sensor device, and is used to divide the driving area image into N image blocks, where N is greater than 1 a natural number; N
cloud storage devices, located in the cloud, connected to the data segmentation device, used to store N image segments respectively; cloud service center devices, located in the cloud, connected to N
cloud storage devices, used to concentrate N images Block, and distribute N image blocks to M cloud application devices, M is a natural number greater than 1 and M is less than or equal to N; the cloud command
channel management device is located in the cloud and is used for
channel management of cloud commands; M Cloud application equipment, located in the cloud, connected to the cloud service center equipment, used to receive the assigned image blocks, each cloud application equipment includes:
grayscale processing sub-equipment, including
channel parameter extraction unit, weighted value The storage unit and the gray value calculation unit, the
channel parameter extraction unit is used to receive each image block, extract the R channel pixel value, G channel pixel value and
B channel pixel value of each pixel in the image block, and the weighted value The storage unit is used to pre-store the weighted value of the R channel, the weighted value of the G channel and the weighted value of the
B channel, and the gray value calculation unit is respectively connected with the
channel parameter extraction unit and the weighted value storage unit, for each pixel in the image block, 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 are added to obtain the pin The
grayscale value of the corresponding pixel, and obtain the
grayscale image corresponding to the image block based on the grayscale value of each pixel in the image block; wherein, the weighted value of the R channel is 0.298839, and the weighted value of the G channel is 0.298839 is 0.586811, and the weighted value of the B channel is 0.114350; the
histogram distribution detection sub-device is connected with the grayscale
processing sub-device for receiving the grayscale image, and performing 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 sub-device is connected with the histogram distribution detection sub-device for receiving During the global threshold selection
signal, the global threshold 128 is output as the threshold data, and when receiving the non-global threshold selection signal, the adjacent pixel gray scale difference threshold 40 is output as the threshold data; The selection sub-device is connected with the histogram distribution detection sub-device, which is used to target each pixel in the grayscale image when the global threshold selection signal is received. When the gray value is greater than or equal to the threshold data, the pixel that will be targeted Set as a white level pixel point, when the grayscale value is less than the threshold data, set the targeted pixel point as a
black level pixel point, and output the binarized image corresponding to the grayscaled image; the binarization processing sub-equipment also It is used to calculate the gray value of the pixel point that is 3 pixels away from it in the vertical direction for each pixel in the grayscale image when receiving the non-global threshold selection signal as the upper pixel gray value, and calculate the vertical The gray value of the pixel that is 3 pixels away from it in the downward direction is taken as the gray value of the lower pixel, and the gray value of the pixel that is 3 pixels away from it in the horizontal direction is taken as the gray value of the left pixel, and the gray value of the horizontal pixel is calculated. The gray value of the pixel that is 3 pixels away from it in the direction to the right is taken as the gray value of the right pixel. When the absolute value of the difference between the gray value of the upper pixel and the gray value of the lower pixel is less than or equal to the threshold data and the gray value of the left pixel When the absolute value of the difference between the gray value of the upper pixel and the gray value of the lower pixel is less than or equal to the threshold data, set the targeted pixel as a white level pixel; when the absolute value of the difference between the gray value of the upper pixel and the gray value of the lower pixel is greater than the threshold data Or when the absolute value of the difference between the grayscale value of the left pixel and the grayscale value of the right pixel is greater than the threshold data, set the targeted pixel as a
black level pixel, and output the
binary image corresponding to the grayscale image; the image is smooth The processing sub-device is connected with the binarization processing sub-device, and is used to receive the binarized image. For each pixel in the binarized image, when there are more than half of the jump points in all adjacent pixels, Then the gray value of the targeted pixel is retained, otherwise, the gray value of the targeted pixel is set as a white level pixel, and a smooth image corresponding to the binarized image is output; the
median filter sub-equipment, and the image The balance processing sub-device is connected to receive the smooth image, analyze the gray value of the pixel points of the smooth image to determine the distribution
radius of each
noise distribution area, and determine the in-progress based on the maximum value of the distribution
radius of each
noise distribution area Filtered pixel
block size for value filtering, using The determined filtering pixel
block size performs a median filtering process on the smoothed image to obtain a filtered image; the data merging device is located in the cloud and is connected to M cloud application devices, and is used to output the median filtering sub-device of each cloud application device The filtered images are spliced to obtain the filtered integrated image; the sunlight parameter detection equipment is set in the front
dashboard of the car and connected to the data merging device to obtain the filtered integrated image; for each pixel in the filtered integrated image, its grayscale The value is matched with the preset sunlight grayscale range, and when its grayscale value is within the preset sunshine grayscale range, it is determined to be a sunlight pixel; the area composed of all sunlight pixels in the filtered integrated image is filtered from the integrated image Segmented to obtain each sunlight sub-image; and based on each sunlight sub-image to determine its position in the filtered integrated image and calculate its
area ratio occupied by the filtered integrated image; output the corresponding positions of each sunlight sub-image and the corresponding
Area ratio; solar detection equipment, used to detect the current
solar intensity in real time; power supply equipment, including
solar power supply devices, batteries, switches and
voltage converters, the switch is connected with
solar energy detection equipment,
solar power supply devices and batteries, when the battery When the remaining power is insufficient and the current
solar intensity is higher than or equal to the preset intensity threshold, switch to the
solar power supply device to be powered by the solar power supply device, and the
voltage converter is connected with the switch to convert the 5V
voltage input through the switch to 3.3 V voltage, where the solar power supply device includes a solar photovoltaic panel; the wireless charging device is connected to the solar detection device and the storage battery respectively, and when the remaining power of the storage battery is insufficient and the current
solar energy intensity is lower than the preset intensity, it will establish a connection with the nearby wireless charging terminal connected to initiate wireless charging operation, wireless charging devices are also connected with voltage
converters for voltage conversion