Disclosure of Invention
The invention provides a washing machine panel enabling mechanism, which aims to solve the technical problem that a panel of a current washing machine is easy to be operated by children and infants by mistake.
The invention has at least the following three important points:
(1) detecting the age group of the human body around the twin-tub washing machine, and forbidding a control panel of the twin-tub washing machine when the age group is a baby or a child, so that the safety performance of the twin-tub washing machine is improved;
(2) in the specific image processing, a preset number of object areas with the shallowest depth of field are used as data to be analyzed, so that the speed of subsequent image analysis is improved, and the more the number of each object in an image is, the more the number of the objects with the shallowest depth of field is obtained;
(3) identifying each edge point and each non-edge point in the sharpened image, averaging each red channel value of each edge point to obtain a first red average value, averaging each red channel value of each non-edge point to obtain a second red average value, and realizing intelligent enhancement processing on the image based on the two red average values.
According to an aspect of the present invention, there is provided a washing machine panel enabling mechanism, the mechanism comprising:
the washing machine comprises a washing barrel assembly, a water inlet pipe, a water outlet pipe, a washing rotating shaft and a washing motor, wherein the washing barrel assembly is arranged in a double-barrel washing machine and comprises a washing barrel body, a water inlet pipe, a water outlet pipe, the washing rotating shaft and the washing motor; the dewatering barrel assembly is arranged in the double-barrel washing machine and comprises a dewatering barrel body, a clothes pressing plate, a dewatering rotating shaft and a dewatering motor, wherein the clothes pressing plate is used for pressing clothes in the dewatering barrel body, the dewatering rotating shaft is used for driving the dewatering barrel body to rotate, and the dewatering motor is used for driving the dewatering rotating shaft to rotate; the panel enabling device is connected with the control panel of the double-drum washing machine, is used for switching the whole control panel to a disabled state when receiving a disabled control instruction and does not receive a control signal input by a user, and is also used for switching the whole control panel to an enabled state when receiving an enabled control instruction and starting to receive the control signal input by the user; the multi-unit shooting equipment is arranged above the double-barrel washing machine and comprises a plurality of image acquisition units, a camera and a display unit, wherein the image acquisition units are used for shooting images around the double-barrel washing machine so as to obtain and output images around the machine body; the image sharpening device is connected with the multi-unit shooting device and used for carrying out image sharpening processing on images around the body to obtain a current sharpened image and outputting the current sharpened image; the sharpness identification device is connected with the image sharpening device and is used for receiving the current sharpened image, identifying each edge point and each non-edge point in the current sharpened image, averaging each red channel value of each edge point to obtain a first red average value, and averaging each red channel value of each non-edge point to obtain a second red average value; the current enhancement device is connected with the definition recognition device and used for receiving the first red mean value and the second red mean value, and when the proportion obtained by dividing the first red mean value by the second red mean value does not exceed a limited amount, the image enhancement processing of the current sharpened image is realized on the basis of the first red mean value so as to obtain a corresponding current enhanced image; the data analysis equipment is connected with the current enhancement equipment and used for receiving images around the body and carrying out depth of field measurement on each object in the current enhancement image so as to obtain a plurality of objects with the shallowest depth of field; the number of the objects with the shallowest depth of field has an upper limit value, and the number of the objects with the shallowest depth of field does not exceed the upper limit value; the region extraction device is connected with the depth measurement device and is used for receiving the plurality of images, segmenting a plurality of regions corresponding to the plurality of objects from the current enhanced image and sending the segmented regions as a plurality of reference regions; in the region extraction device, each of the divided regions includes only image data content of an object corresponding thereto; in the depth measurement device, the ratio of the number of each object in the current enhanced image to the number of the objects with the lightest depth of field is a certain value; the age identification device is connected with the region extraction device and used for carrying out body type matching on the human body object with the shallowest depth of field in the plurality of reference regions based on various age-group human body standard body types so as to take the age group corresponding to the age-group human body standard body type with the highest matching degree as a target age group; and the data conversion equipment is respectively connected with the age identification equipment and the panel enabling equipment and is used for receiving the target age group and sending out a forbidden control instruction when the target age group belongs to a child age group or a baby age group, otherwise, sending out an enabling control instruction.
More specifically, in the washing machine panel enabling mechanism: in the current enhancement device, when the proportion obtained by dividing the first red mean value by the second red mean value exceeds a limit amount, outputting the current sharpened image as the current enhanced image.
More specifically, in the washing machine panel enabling mechanism: in the current enhancement device, the smaller the first red mean value is, the more intensive the image enhancement processing on the currently sharpened image is.
More specifically, in the washing machine panel enabling mechanism: in the data analysis apparatus, the greater the number of the respective objects in the current enhanced image, the greater the number of the plurality of objects whose depth of field is the lightest is obtained.
More specifically, in the washing machine panel enabling mechanism: the multi-unit shooting device comprises a mode switching unit, a motion detection unit and a plurality of image acquisition units.
More specifically, in the washing machine panel enabling mechanism: in the multi-unit shooting equipment, a plurality of image acquisition units respectively acquire image data of areas responsible for the image acquisition units at different angles so as to output a plurality of sub-area images, and the default working mode of each image acquisition unit is a low-resolution acquisition mode.
More specifically, in the washing machine panel enabling mechanism: in the multi-unit shooting equipment, a motion detection unit is respectively connected with a plurality of image acquisition units and used for detecting whether a moving object exists in a partial area image shot by each image acquisition unit.
More specifically, in the washing machine panel enabling mechanism: in the multi-unit shooting device, a mode switching unit is connected with a motion detection unit and also respectively connected with a plurality of image acquisition units, and is used for switching the working mode of the image acquisition unit into a high-resolution acquisition mode when receiving that a moving object exists in one of the image acquisition units, and switching the working mode of the image acquisition unit into a low-resolution acquisition mode when receiving that no moving object exists in one of the image acquisition units.
More specifically, in the washing machine panel enabling mechanism: the multi-unit shooting equipment further comprises a data duplication removing unit which is connected with the plurality of image acquisition units and used for receiving the plurality of sub-area images, detecting the overlapping regions among the plurality of sub-area images, combining the plurality of sub-area images to remove the overlapping regions among the plurality of sub-area images, and obtaining and outputting images around the body.
Detailed Description
Embodiments of the washing machine panel enabling mechanism of the present invention will be described in detail below.
The double-tub washing machine is a washing and dewatering 2-in-one washing machine, and consists of one washing tub and one dewatering tub. The washing and dewatering can be carried out separately, but the water intake and drainage can be completed manually, the washing machine has high cleaning degree, low power consumption and optional washing and dewatering time.
The double-drum washing machine sold in the domestic market is composed of a washing drum and a dewatering drum, washing and dewatering can be respectively carried out, but water inlet and water discharge can be completed manually during washing, the washing machine is high in cleanliness, low in power consumption, free in washing and dewatering time selection, free in washing time selection from 0-15 minutes, free in dewatering time selection from 0-5 minutes, and wide in washing range, and buzzing prompts exist after dewatering is finished, and two-gear or three-gear water flow washing selection exists. The casing of the washing machine is generally made of two types, namely common steel plate spray plastics or aluminum alloy casing. The spray-molded steel plate is beautiful and elegant; the aluminum alloy shell never rusts. The washing capacity is 2-6 kg, the large capacity is suitable for washing large pieces such as bedsheets and blankets, and the double-drum washing machine has the advantages of low price, simple structure, convenience in operation, light weight, convenience in carrying and the like.
In order to overcome the defects, the invention builds a washing machine panel enabling mechanism, and can effectively solve the corresponding technical problem.
A washing machine panel enabling mechanism according to an embodiment of the present invention includes:
the washing machine comprises a washing barrel assembly, a water inlet pipe, a water outlet pipe, a washing rotating shaft and a washing motor, wherein the washing barrel assembly is arranged in a double-barrel washing machine and comprises a washing barrel body, a water inlet pipe, a water outlet pipe, the washing rotating shaft and the washing motor;
the dewatering barrel assembly is arranged in the double-barrel washing machine and comprises a dewatering barrel body, a clothes pressing plate, a dewatering rotating shaft and a dewatering motor, wherein the clothes pressing plate is used for pressing clothes in the dewatering barrel body, the dewatering rotating shaft is used for driving the dewatering barrel body to rotate, and the dewatering motor is used for driving the dewatering rotating shaft to rotate;
the panel enabling device is connected with the control panel of the double-drum washing machine, is used for switching the whole control panel to a disabled state when receiving a disabled control instruction and does not receive a control signal input by a user, and is also used for switching the whole control panel to an enabled state when receiving an enabled control instruction and starting to receive the control signal input by the user;
the multi-unit shooting equipment is arranged above the double-barrel washing machine and comprises a plurality of image acquisition units, a camera and a display unit, wherein the image acquisition units are used for shooting images around the double-barrel washing machine so as to obtain and output images around the machine body;
the image sharpening device is connected with the multi-unit shooting device and used for carrying out image sharpening processing on images around the body to obtain a current sharpened image and outputting the current sharpened image;
the sharpness identification device is connected with the image sharpening device and is used for receiving the current sharpened image, identifying each edge point and each non-edge point in the current sharpened image, averaging each red channel value of each edge point to obtain a first red average value, and averaging each red channel value of each non-edge point to obtain a second red average value;
the current enhancement device is connected with the definition recognition device and used for receiving the first red mean value and the second red mean value, and when the proportion obtained by dividing the first red mean value by the second red mean value does not exceed a limited amount, the image enhancement processing of the current sharpened image is realized on the basis of the first red mean value so as to obtain a corresponding current enhanced image;
the data analysis equipment is connected with the current enhancement equipment and used for receiving images around the body and carrying out depth of field measurement on each object in the current enhancement image so as to obtain a plurality of objects with the shallowest depth of field; the number of the objects with the shallowest depth of field has an upper limit value, and the number of the objects with the shallowest depth of field does not exceed the upper limit value;
the region extraction device is connected with the depth measurement device and is used for receiving the plurality of images, segmenting a plurality of regions corresponding to the plurality of objects from the current enhanced image and sending the segmented regions as a plurality of reference regions; in the region extraction device, each of the divided regions includes only image data content of an object corresponding thereto;
in the depth measurement device, the ratio of the number of each object in the current enhanced image to the number of the objects with the lightest depth of field is a certain value;
the age identification device is connected with the region extraction device and used for carrying out body type matching on the human body object with the shallowest depth of field in the plurality of reference regions based on various age-group human body standard body types so as to take the age group corresponding to the age-group human body standard body type with the highest matching degree as a target age group;
and the data conversion equipment is respectively connected with the age identification equipment and the panel enabling equipment and is used for receiving the target age group and sending out a forbidden control instruction when the target age group belongs to a child age group or a baby age group, otherwise, sending out an enabling control instruction.
Next, a further description of the specific structure of the washing machine panel enabling mechanism of the present invention will be continued.
In the washing machine panel enabling mechanism: in the current enhancement device, when the proportion obtained by dividing the first red mean value by the second red mean value exceeds a limit amount, outputting the current sharpened image as the current enhanced image.
In the washing machine panel enabling mechanism: in the current enhancement device, the smaller the first red mean value is, the more intensive the image enhancement processing on the currently sharpened image is.
In the washing machine panel enabling mechanism: in the data analysis apparatus, the greater the number of the respective objects in the current enhanced image, the greater the number of the plurality of objects whose depth of field is the lightest is obtained.
In the washing machine panel enabling mechanism: the multi-unit shooting device comprises a mode switching unit, a motion detection unit and a plurality of image acquisition units.
In the washing machine panel enabling mechanism: in the multi-unit shooting equipment, a plurality of image acquisition units respectively acquire image data of areas responsible for the image acquisition units at different angles so as to output a plurality of sub-area images, and the default working mode of each image acquisition unit is a low-resolution acquisition mode.
In the washing machine panel enabling mechanism: in the multi-unit shooting equipment, a motion detection unit is respectively connected with a plurality of image acquisition units and used for detecting whether a moving object exists in a partial area image shot by each image acquisition unit.
In the washing machine panel enabling mechanism: in the multi-unit shooting device, a mode switching unit is connected with a motion detection unit and also respectively connected with a plurality of image acquisition units, and is used for switching the working mode of the image acquisition unit into a high-resolution acquisition mode when receiving that a moving object exists in one of the image acquisition units, and switching the working mode of the image acquisition unit into a low-resolution acquisition mode when receiving that no moving object exists in one of the image acquisition units.
In the washing machine panel enabling mechanism: the multi-unit shooting equipment further comprises a data duplication removing unit which is connected with the plurality of image acquisition units and used for receiving the plurality of sub-area images, detecting the overlapping regions among the plurality of sub-area images, combining the plurality of sub-area images to remove the overlapping regions among the plurality of sub-area images, and obtaining and outputting images around the body.
Further, in the washing machine panel enabling mechanism: the data conversion equipment is an MCU chip. The MCU may be classified into a non-on-chip ROM type and an on-chip ROM type according to its memory type. For a chip without on-chip ROM, an EPROM must be connected externally to be used (8031 is a typical chip). The chip with on-chip ROM type is further classified into an on-chip EPROM type (a typical chip is 87C51), a MASK on-chip MASK ROM type (a typical chip is 8051), an on-chip FLASH type (a typical chip is 89C51), and the like, and some companies also provide a chip with on-chip one time programmable ROM (OTP) (a typical chip is 97C 51). The MCU of the MASKROM is low in price, but the program is solidified when leaving the factory, so that the MASKROM is suitable for application occasions with fixed and unchangeable programs; the MCU program of the FLASH ROM can be repeatedly erased and written, has strong flexibility but higher price, and is suitable for application occasions insensitive to price or development application; the MCU price of the OTPROM is between the first two, and the OTPROM has one-time programmable capability, is suitable for application occasions requiring certain flexibility and low cost, and is especially an electronic product with continuously renewed functions and rapid mass production.
By adopting the washing machine panel enabling mechanism, aiming at the technical problem that the washing machine in the prior art cannot overcome various potential safety hazards caused by misoperation of infants or children, the control panel of the double-barrel washing machine is forbidden when the age is infants or children by carrying out age detection on human bodies around the double-barrel washing machine, so that the safety performance of the double-barrel washing machine is improved; in the specific image processing, a preset number of object areas with the shallowest depth of field are used as data to be analyzed, so that the speed of subsequent image analysis is improved, and the more the number of each object in an image is, the more the number of the objects with the shallowest depth of field is obtained; identifying each edge point and each non-edge point in the sharpened image, averaging each red channel value of each edge point to obtain a first red average value, averaging each red channel value of each non-edge point to obtain a second red average value, and realizing intelligent enhancement processing on the image based on the two red average values.
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.