Disclosure of Invention
In order to solve the technical problem that the leg height of a lying type shampoo bed in the prior art cannot be automatically adjusted, the invention provides a leg self-adaptive stretching system, wherein a height driving device is introduced and connected with a stretchable leg of the lying type shampoo bed, and is used for identifying facial features in an image to determine a corresponding user ID (identity) and determining the length of the corresponding leg based on the user ID to drive the stretchable leg to perform corresponding stretching action; more importantly, in order to improve the image processing accuracy, matching processing equipment is introduced to determine the proportion from the fullness reciprocal of the reference color full image to the fullness reciprocal of the current image, and a corresponding gray resolution adjustment strategy for the current image is determined based on the numerical distribution range of the proportion, so that the fullness of the processed image meets the requirement of subsequent processing.
According to an aspect of the present invention, there is provided a leg adaptive telescopic system, the system comprising:
the weight sensor is arranged below the lying type shampoo bed and used for sensing the load weight borne by the lying type shampoo bed to obtain the real-time load weight and outputting the real-time load weight; the buzzing alarm device is arranged above a head basin of the lying type shampoo bed, is connected with the weight sensor, and is used for receiving the real-time load weight and carrying out corresponding buzzing alarm action when the real-time load weight exceeds a preset weight threshold value; the MMC storage device is connected with the buzzing alarm device and used for storing the preset weight threshold value and sending the preset weight threshold value to the buzzing alarm device when detecting that the buzzing alarm device is started; the button type camera is arranged above the lying type shampoo bed and is used for shooting the surrounding scenes of the lying type shampoo bed to obtain corresponding surrounding scene images; the numerical value extraction equipment is connected with the button type camera and comprises a built-in RAM (random access memory) used for pre-storing a reference color fullness image, and the color fullness of each area in the reference color fullness image exceeds the limit; the numerical value extraction device is further configured to receive the surrounding scene image, perform analysis on the surrounding scene image based on each Y component value of each constituent pixel point to determine a reciprocal of the fullness of the surrounding scene image, and perform analysis on the reference color fullness image based on each Y component value of each constituent pixel point to determine a reciprocal of the fullness of the reference color fullness image; the matching processing equipment is connected with the numerical extraction equipment and is used for receiving the reciprocal of the fullness of the surrounding scene image and the reciprocal of the fullness of the reference color full image, determining the proportion of the reciprocal of the fullness of the surrounding scene image to the reciprocal of the fullness of the reference color full image, and determining a corresponding gray resolution adjustment strategy for the surrounding scene image based on the numerical distribution range of the proportion; in the matching processing device, when the numerical value of the ratio is distributed between 0 and 0.25, the determined corresponding gray resolution adjustment strategy for the surrounding scene image is a three-time gray resolution enhancement mode, when the numerical value of the ratio is distributed between 0.25 and 0.75, the determined corresponding gray resolution adjustment strategy for the surrounding scene image is a two-time gray resolution enhancement mode, when the numerical value of the ratio is distributed between 0.75 and 1, the determined corresponding gray resolution adjustment strategy for the surrounding scene image is a one-time gray resolution enhancement mode, and when the numerical value of the ratio is greater than or equal to 1, the gray resolution enhancement processing is not performed on the surrounding scene image; the height driving device is respectively connected with the telescopic leg of the lying-type shampoo bed and the matching processing device, and is used for identifying the facial features in the resolution enhancement image to determine a corresponding user ID (identity) and determining the length of the corresponding leg based on the user ID to drive the telescopic leg to perform corresponding telescopic action; in the matching processing device, after determining the corresponding gray resolution adjustment strategy for the surrounding scene image, corresponding gray resolution enhancement processing is performed on the surrounding scene image by adopting the corresponding gray resolution adjustment strategy to obtain a resolution enhancement image.
More specifically, in the leg adaptive telescopic system: the matching processing equipment further comprises a data receiving unit, a data sending unit and a resolution improving unit, wherein the data receiving unit, the data sending unit and the resolution improving unit share the same clock generator.
More specifically, in the leg portion adaptive telescopic system, further comprising:
and the component extraction equipment is connected with the button type camera and used for receiving the surrounding scene image, executing the following operation aiming at the surrounding scene image and extracting the cyan component, the magenta component, the yellow component and the black component of each pixel point in the surrounding scene image.
Detailed Description
Embodiments of the leg portion adaptive telescopic system of the present invention will be described in detail below with reference to the accompanying drawings.
The lying type shampoo bed is made of the following materials: 1. the wood has the advantages of natural wood grain and various natural colors. Since natural wood is an organism which breathes continuously, it must be placed in an environment where the temperature and humidity are cheap, and it must be avoided that beverage and chemical-type overheated objects are placed on the surface to damage the natural color of the wood surface. 2. Cloth is the most commonly used material in a shampoo bed, and has comfortable touch feeling, abundant flowers and diversified products. 3. The leather has the main advantages of firmness, durability, stable quality and substantial price, and is matched with the simple, quick and efficient style of modern barbershops. The leather has the characteristics of good heat resistance, moisture resistance, ventilation and the like, and the natural knitted fabric is relatively non-directional and has uniform elasticity no matter the leather is laid horizontally or hung.
In order to overcome the defects, the invention builds a leg self-adaptive telescopic system, and can effectively solve the corresponding technical problem.
Fig. 1 is a schematic structural view illustrating a front end assembly of a lying type shampoo bed to which a leg portion adaptive telescopic system is applied according to an embodiment of the present invention. Wherein, 1 is a basin body fixing piece, and 2 is a basin body.
The leg adaptive telescopic system shown according to the embodiment of the present invention includes:
the weight sensor is arranged below the lying type shampoo bed and used for sensing the load weight borne by the lying type shampoo bed to obtain the real-time load weight and outputting the real-time load weight;
the buzzing alarm device is arranged above a head basin of the lying type shampoo bed, is connected with the weight sensor, and is used for receiving the real-time load weight and carrying out corresponding buzzing alarm action when the real-time load weight exceeds a preset weight threshold value;
the MMC storage device is connected with the buzzing alarm device and used for storing the preset weight threshold value and sending the preset weight threshold value to the buzzing alarm device when detecting that the buzzing alarm device is started;
the button type camera is arranged above the lying type shampoo bed and is used for shooting the surrounding scenes of the lying type shampoo bed to obtain corresponding surrounding scene images;
the numerical value extraction equipment is connected with the button type camera and comprises a built-in RAM (random access memory) used for pre-storing a reference color fullness image, and the color fullness of each area in the reference color fullness image exceeds the limit;
the numerical value extraction device is further configured to receive the surrounding scene image, perform analysis on the surrounding scene image based on each Y component value of each constituent pixel point to determine a reciprocal of the fullness of the surrounding scene image, and perform analysis on the reference color fullness image based on each Y component value of each constituent pixel point to determine a reciprocal of the fullness of the reference color fullness image;
the matching processing equipment is connected with the numerical extraction equipment and is used for receiving the reciprocal of the fullness of the surrounding scene image and the reciprocal of the fullness of the reference color full image, determining the proportion of the reciprocal of the fullness of the surrounding scene image to the reciprocal of the fullness of the reference color full image, and determining a corresponding gray resolution adjustment strategy for the surrounding scene image based on the numerical distribution range of the proportion;
in the matching processing device, when the numerical value of the ratio is distributed between 0 and 0.25, the determined corresponding gray resolution adjustment strategy for the surrounding scene image is a three-time gray resolution enhancement mode, when the numerical value of the ratio is distributed between 0.25 and 0.75, the determined corresponding gray resolution adjustment strategy for the surrounding scene image is a two-time gray resolution enhancement mode, when the numerical value of the ratio is distributed between 0.75 and 1, the determined corresponding gray resolution adjustment strategy for the surrounding scene image is a one-time gray resolution enhancement mode, and when the numerical value of the ratio is greater than or equal to 1, the gray resolution enhancement processing is not performed on the surrounding scene image;
the height driving device is respectively connected with the telescopic leg of the lying-type shampoo bed and the matching processing device, and is used for identifying the facial features in the resolution enhancement image to determine a corresponding user ID (identity) and determining the length of the corresponding leg based on the user ID to drive the telescopic leg to perform corresponding telescopic action;
in the matching processing device, after determining the corresponding gray resolution adjustment strategy for the surrounding scene image, corresponding gray resolution enhancement processing is performed on the surrounding scene image by adopting the corresponding gray resolution adjustment strategy to obtain a resolution enhancement image.
Next, a detailed description of the leg portion adaptive telescopic system of the present invention will be further continued.
In the leg adaptive telescoping system: the matching processing equipment further comprises a data receiving unit, a data sending unit and a resolution improving unit, wherein the data receiving unit, the data sending unit and the resolution improving unit share the same clock generator.
In the leg adaptive telescopic system, further comprising:
and the component extraction equipment is connected with the button type camera and used for receiving the surrounding scene image, executing the following operation aiming at the surrounding scene image and extracting the cyan component, the magenta component, the yellow component and the black component of each pixel point in the surrounding scene image.
In the leg adaptive telescopic system, further comprising:
the distribution statistical device is connected with the component extraction device and used for executing the following operations for the surrounding scene image, determining an image area with the most changed cyan component values as a cyan salient area based on each cyan component of each pixel point in the surrounding scene image, determining an image area with the most changed magenta component values as a magenta salient area based on each magenta component of each pixel point in the surrounding scene image, determining an image area with the most changed yellow component values as a yellow salient area based on each yellow component of each pixel point in the surrounding scene image, and determining an image area with the most changed black component values as a black salient area based on each black component of each pixel point in the surrounding scene image.
In the leg adaptive telescopic system, further comprising:
a region summarization device connected to the distribution statistics device, for performing an operation of outputting the cyan protrusion region, the magenta protrusion region, the yellow protrusion region, and the black protrusion region together as a plurality of protrusion regions for the four-side scene image.
In the leg adaptive telescopic system, further comprising:
and the data enhancement device is respectively connected with the numerical value extraction device and the region induction device and is used for receiving the plurality of salient regions, respectively executing image enhancement processing on the plurality of salient regions to obtain a plurality of data enhancement regions, and replacing the peripheral scene image with the image combined by the plurality of data enhancement regions and sending the image to the numerical value extraction device.
In the leg adaptive telescoping system: the distribution statistics device includes a cyan component statistics sub-device, a magenta component statistics sub-device, a yellow component statistics sub-device, and a black component statistics sub-device.
In the leg adaptive telescoping system: in the region summarization device, when there is an overlapping region of the cyan protrusion region, the magenta protrusion region, the yellow protrusion region, and the black protrusion region, a plurality of regions in which the cyan protrusion region, the magenta protrusion region, the yellow protrusion region, and the black protrusion region are subjected to region de-duplication are output as a plurality of protrusion regions.
In the leg adaptive telescopic system, further comprising:
and the parallel communication interface is connected with the component extraction equipment and used for receiving and transmitting the surrounding scene images.
In the leg adaptive telescoping system: and the buzzing alarm equipment is also used for stopping corresponding buzzing alarm actions when the real-time load weight does not exceed a preset weight threshold value.
In addition, in the leg adaptive scaling system, a DRAM memory chip may be employed in place of the MMC memory device.
Dram (dynamic random access memory), which is a dynamic random access memory, is the most common system memory. DRAM can hold data only for a short time. To retain data, DRAM uses capacitive storage, so must be refreshed (refresh) once at intervals, and if the memory cells are not refreshed, the stored information is lost. (shutdown will lose data). Dynamic RAM is also comprised of a number of basic memory cells multiplexed by row and column address pins.
The structure of the DRAM is simple and efficient, and each bit only needs one transistor and one capacitor. However, the capacitance inevitably has leakage phenomenon, which causes data error if the charge is insufficient, and therefore, the capacitance must be periodically refreshed (precharged), which is also a big feature of the DRAM. Moreover, the charging and discharging of the capacitor requires a process, and the refresh frequency cannot be raised infinitely (frequency barrier), which results in that the frequency of the DRAM can easily reach the upper limit, and even if the advanced process is supported, the effect is very small. With the advancement of technology and the desire of people to overclock, these frequency barriers are being solved slowly.
By adopting the leg self-adaptive telescopic system, aiming at the technical problem that the leg height of a lying type shampoo bed in the prior art cannot be automatically adjusted, the height driving device is introduced, is connected with the telescopic leg of the lying type shampoo bed and is used for identifying facial features in an image to determine a corresponding user ID (identity) and determining the length of the corresponding leg based on the user ID to drive the telescopic leg to perform corresponding telescopic action; more importantly, in order to improve the image processing accuracy, matching processing equipment is introduced to determine the proportion from the fullness reciprocal of the reference color full image to the fullness reciprocal of the current image, and a corresponding gray resolution adjustment strategy for the current image is determined based on the numerical distribution range of the proportion, so that the fullness of the processed image meets the requirement of subsequent processing.
It is to be understood that while the present invention has been described in conjunction with the preferred embodiments thereof, it is not intended to limit the invention to those embodiments. It will be apparent to those skilled in the art from this disclosure that many changes and modifications can be made, or equivalents modified, in the embodiments of the invention without departing from the scope of the invention. Therefore, any simple modification, equivalent change and modification made to the above embodiments according to the technical essence of the present invention are still within the scope of the protection of the technical solution of the present invention, unless the contents of the technical solution of the present invention are departed.