Disclosure of Invention
In order to solve the technical problem that the blade in the elbow-type shaver is difficult to clean in the prior art, the invention provides a cleanable elbow-type shaver, which adopts a targeted image processing mechanism to carry out field analysis on the density of beard residues on the blade so as to determine whether to execute automatic cleaning of the blade in the shaver or not based on an analysis result, and also provides an automatic cleaning button convenient for a user to manually trigger; and in targeted image processing, determining whether to execute the same processing again on the processed image based on parameter comparison of the images before and after the non-linearization gamma processing.
According to an aspect of the present invention, there is provided a washable, elbow-type shaver comprising:
the washing mechanism is used for washing the machine body of the elbow-type beard removing knife and comprises a water storage box, a water storage box cover, a selection button, a state lamp, a drying lamp, a cleaning lamp, a lubricating oil box and a lubricating oil box cover, wherein the water storage box cover is used for sealing the water storage box, the lubricating oil box cover is used for sealing the lubricating oil box, the state lamp is used for indicating whether the machine body of the elbow-type beard removing knife enters an automatic washing mode or not at present, the drying lamp is used for indicating the drying degree in the machine body of the elbow-type beard removing knife, and the selection button is used for selecting whether the machine body of the elbow-type beard removing knife enters the; the automatic cleaning equipment is arranged below the blade of the bent shaver, is connected with the density measuring equipment, and is used for automatically cleaning the blade of the bent shaver when the density of the received field shaving residue is greater than or equal to a preset density threshold value; the automatic cleaning equipment comprises a cleaning spray head, a cleaning pipeline, a water pump and a dehumidifier, wherein the cleaning spray head is arranged at the front end of the cleaning pipeline and faces to the blade of the elbow-type shaver; the electronic eye equipment is arranged at the front end of the bent shaver and is used for shooting a scene where a blade of the bent shaver is located so as to obtain a corresponding blade scene image; the nonlinear gamma processing device is connected with the electronic eye device and used for receiving the blade scene image and executing nonlinear gamma processing on the blade scene image to obtain and output a corresponding nonlinear gamma processed image; the targeted segmentation device is connected with the nonlinear gamma processing device and used for receiving the nonlinear gamma processed image, identifying the number of targets in the nonlinear gamma processed image, and performing uniform region segmentation on the nonlinear gamma processed image based on the number of the targets to obtain each first image region, wherein the larger the number of the targets, the smaller the number of pixel points occupied by each obtained first image region; the targeted segmentation device is further used for receiving the blade scene image, and performing uniform region segmentation on the blade scene image, wherein the uniform region segmentation has the same size as the nonlinear gamma processing image, so as to obtain second image regions; the coefficient identification device is connected with the targeted segmentation device, obtains the depth proportion of each first image region, obtains the depth proportion of each second image region, determines the overall depth proportion of the nonlinear gamma processing image based on the depth proportions of the first image regions, and determines the overall depth proportion of the blade scene image based on the depth proportions of the second image regions; the MCU processing chip is respectively connected with the nonlinear gamma processing equipment and the coefficient identification equipment and is used for executing nonlinear gamma processing on the nonlinear gamma processed image again to obtain a limited processed image when the difference between the integral depth proportion of the nonlinear gamma processed image and the integral depth proportion of the blade scene image is less than or equal to a limited amount; the scum extraction equipment is connected with the MCU processing chip and used for receiving the limited processing image and taking pixel points with the gray values between the scum gray range in the limited processing image as scum pixel points; the density measuring equipment is connected with the picrorhiza residue extracting equipment and is used for determining the corresponding field picrorhiza residue density based on the density degree of the picrorhiza residue pixel points in the limited processing image; and the automatic cleaning equipment is also used for stopping automatically cleaning the blade of the bent head type shaver when the received field density of the shaving residue is less than the preset density threshold value.
More specifically, in the washable angle-hair removal razor: and the MCU processing chip is also used for outputting the nonlinear gamma processing image as a limited processing image when the difference between the integral repeatability of the nonlinear gamma processing image and the integral repeatability of the blade scene image is greater than a limited amount.
More specifically, in the washable angle-hair removal razor, further comprising:
the target detection device, the self-adaptive processing device, the depth of field measuring device and the image segmentation device are arranged between the MCU processing chip and the beard extraction device.
More specifically, in the washable angle-hair removal razor: the target detection equipment is connected with the MCU processing chip and used for receiving the limited processing image, executing target detection on the limited processing image to obtain each target contour, and performing contour enhancement processing on each target contour in the limited processing image to obtain a contour processing image.
More specifically, in the washable angle-hair removal razor: the adaptive processing device is connected with the target detection device and is used for carrying out image sharpening processing with the intensity inversely proportional to the actual sharpening level of the contour processing image on the contour processing image so as to obtain and output an adaptive processing image.
More specifically, in the washable angle-hair removal razor: the depth of field measuring device is connected with the adaptive processing device and is used for receiving the adaptive processing image and carrying out depth of field measurement on each object in the adaptive processing image so as to obtain a plurality of objects with the lightest depth of field, wherein the more the number of each object in the adaptive processing image is, the more the number of the plurality of objects with the lightest depth of field is obtained; in the depth measurement apparatus, a ratio of the number of each object in the adaptively processed image to the number of the objects having the shallowest depth of field is a certain value.
More specifically, in the washable angle-hair removal razor: the image segmentation device is respectively connected with the beard residue extraction device and the depth-of-field measurement device, and is used for segmenting a plurality of patterns corresponding to the plurality of objects from the self-adaptive processing image, replacing the limited processing image with the plurality of patterns and sending the limited processing image to the beard residue extraction device.
More specifically, in the washable angle-hair removal razor, further comprising:
and the SDRAM storage chip is connected with the depth of field measuring equipment, is used for storing each depth of field of each object in the self-adaptive processing image, and is also connected with the image segmentation equipment, and is used for storing the plurality of patterns.
More specifically, in the washable angle-hair removal razor: in the image segmentation apparatus, each of the segmented patterns includes only image data content of its corresponding object.
More specifically, in the washable angle-hair removal razor: in the depth measurement device, the number of objects having the shallowest depth of field has an upper limit value, and the number of objects having the shallowest depth of field does not exceed the upper limit value.
Detailed Description
Embodiments of the washable, bent-head shaving razor of the present invention will be described in detail below with reference to the accompanying drawings.
The elbow type moustache knife has novel style and smooth modeling and good texture; independently floating, and is provided with a veneering ultrathin arc-shaped knife net; the precise shaving system can shave more thoroughly and comfortably; a high power silver palladium alloy motor; the power is super strong; 5.8 hours of charging, and a super-large capacity storage battery is arranged in the battery, so that the battery can run for 60 minutes when enough electricity is supplied for one time; intelligent charging prompt; after continuously charging for 8 hours, the display lamp is converted from red to green; automatically shutting down at low voltage or during charging; the pop-up temple trimming device is convenient for trimming temples and long whiskers; a tact electronic switch; the operation is easy, sensitive and durable.
In order to overcome the defects, the invention builds the washable angle-head-type beard removing knife, and can effectively solve the corresponding technical problem.
Fig. 1 is a schematic external view showing a washable, hair-bent shaver according to an embodiment of the present invention, the hair-bent shaver including a front end mechanism 1 and a connecting mechanism 2, the hair-bent shaver further including:
the washing mechanism is used for washing the machine body of the elbow-type beard removing knife and comprises a water storage box, a water storage box cover, a selection button, a state lamp, a drying lamp, a cleaning lamp, a lubricating oil box and a lubricating oil box cover, wherein the water storage box cover is used for sealing the water storage box, the lubricating oil box cover is used for sealing the lubricating oil box, the state lamp is used for indicating whether the machine body of the elbow-type beard removing knife enters an automatic washing mode or not at present, the drying lamp is used for indicating the drying degree in the machine body of the elbow-type beard removing knife, and the selection button is used for selecting whether the machine body of the elbow-type beard removing knife enters the;
the automatic cleaning equipment is arranged below the blade of the bent shaver, is connected with the density measuring equipment, and is used for automatically cleaning the blade of the bent shaver when the density of the received field shaving residue is greater than or equal to a preset density threshold value;
the automatic cleaning equipment comprises a cleaning spray head, a cleaning pipeline, a water pump and a dehumidifier, wherein the cleaning spray head is arranged at the front end of the cleaning pipeline and faces to the blade of the elbow-type shaver;
the electronic eye equipment is arranged at the front end of the bent shaver and is used for shooting a scene where a blade of the bent shaver is located so as to obtain a corresponding blade scene image;
the nonlinear gamma processing device is connected with the electronic eye device and used for receiving the blade scene image and executing nonlinear gamma processing on the blade scene image to obtain and output a corresponding nonlinear gamma processed image;
the targeted segmentation device is connected with the nonlinear gamma processing device and used for receiving the nonlinear gamma processed image, identifying the number of targets in the nonlinear gamma processed image, and performing uniform region segmentation on the nonlinear gamma processed image based on the number of the targets to obtain each first image region, wherein the larger the number of the targets, the smaller the number of pixel points occupied by each obtained first image region;
the targeted segmentation device is further used for receiving the blade scene image, and performing uniform region segmentation on the blade scene image, wherein the uniform region segmentation has the same size as the nonlinear gamma processing image, so as to obtain second image regions;
the coefficient identification device is connected with the targeted segmentation device, obtains the depth proportion of each first image region, obtains the depth proportion of each second image region, determines the overall depth proportion of the nonlinear gamma processing image based on the depth proportions of the first image regions, and determines the overall depth proportion of the blade scene image based on the depth proportions of the second image regions;
the MCU processing chip is respectively connected with the nonlinear gamma processing equipment and the coefficient identification equipment and is used for executing nonlinear gamma processing on the nonlinear gamma processed image again to obtain a limited processed image when the difference between the integral depth proportion of the nonlinear gamma processed image and the integral depth proportion of the blade scene image is less than or equal to a limited amount;
the scum extraction equipment is connected with the MCU processing chip and used for receiving the limited processing image and taking pixel points with the gray values between the scum gray range in the limited processing image as scum pixel points;
the density measuring equipment is connected with the picrorhiza residue extracting equipment and is used for determining the corresponding field picrorhiza residue density based on the density degree of the picrorhiza residue pixel points in the limited processing image;
and the automatic cleaning equipment is also used for stopping automatically cleaning the blade of the bent head type shaver when the received field density of the shaving residue is less than the preset density threshold value.
Next, the specific structure of the washable curved shaver according to the present invention will be described in detail.
In the washable angle-hair removal razor: and the MCU processing chip is also used for outputting the nonlinear gamma processing image as a limited processing image when the difference between the integral repeatability of the nonlinear gamma processing image and the integral repeatability of the blade scene image is greater than a limited amount.
In the washable angle-head beard removing knife, further comprising:
the target detection device, the self-adaptive processing device, the depth of field measuring device and the image segmentation device are arranged between the MCU processing chip and the beard extraction device.
In the washable angle-hair removal razor: the target detection equipment is connected with the MCU processing chip and used for receiving the limited processing image, executing target detection on the limited processing image to obtain each target contour, and performing contour enhancement processing on each target contour in the limited processing image to obtain a contour processing image.
In the washable angle-hair removal razor: the adaptive processing device is connected with the target detection device and is used for carrying out image sharpening processing with the intensity inversely proportional to the actual sharpening level of the contour processing image on the contour processing image so as to obtain and output an adaptive processing image.
In the washable angle-hair removal razor: the depth of field measuring device is connected with the adaptive processing device and is used for receiving the adaptive processing image and carrying out depth of field measurement on each object in the adaptive processing image so as to obtain a plurality of objects with the lightest depth of field, wherein the more the number of each object in the adaptive processing image is, the more the number of the plurality of objects with the lightest depth of field is obtained; in the depth measurement apparatus, a ratio of the number of each object in the adaptively processed image to the number of the objects having the shallowest depth of field is a certain value.
In the washable angle-hair removal razor: the image segmentation device is respectively connected with the beard residue extraction device and the depth-of-field measurement device, and is used for segmenting a plurality of patterns corresponding to the plurality of objects from the self-adaptive processing image, replacing the limited processing image with the plurality of patterns and sending the limited processing image to the beard residue extraction device.
In the washable angle-head beard removing knife, further comprising:
and the SDRAM storage chip is connected with the depth of field measuring equipment, is used for storing each depth of field of each object in the self-adaptive processing image, and is also connected with the image segmentation equipment, and is used for storing the plurality of patterns.
In the washable angle-hair removal razor: in the image segmentation apparatus, each of the segmented patterns includes only image data content of its corresponding object.
In the washable angle-hair removal razor: in the depth measurement device, the number of objects having the shallowest depth of field has an upper limit value, and the number of objects having the shallowest depth of field does not exceed the upper limit value.
In addition, the SDRAM: synchronous Dynamic random access Memory, wherein synchronization refers to that a Synchronous clock is required for Memory work, and internal command sending and data transmission are based on the Synchronous clock; dynamic means that the memory array needs to be refreshed continuously to ensure that data is not lost; random means that data are not stored linearly and sequentially, but data are read and written by freely appointing addresses. The clock frequency of the SDR SDRAM is the frequency of data storage. The operating voltage of the SDRAM is 3.3V.
By adopting the cleanable elbow-type beard removing knife, aiming at the technical problem that the blade in the elbow-type beard removing knife in the prior art is difficult to clean, the density of beard residues on the blade is analyzed on site by adopting a targeted image processing mechanism, so as to determine whether to execute the automatic cleaning of the blade in the machine based on the analysis result, and meanwhile, an automatic cleaning button which is convenient for a user to manually trigger is also provided; and in the targeted image processing, determining whether to execute the same processing again on the processed image based on the parameter comparison of the images before and after the non-linear gamma processing; thereby solving the technical problem.
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.