CN114198790B - Control method of smoke exhaust ventilator, smoke exhaust ventilator and computer readable storage medium - Google Patents

Control method of smoke exhaust ventilator, smoke exhaust ventilator and computer readable storage medium Download PDF

Info

Publication number
CN114198790B
CN114198790B CN202010977038.XA CN202010977038A CN114198790B CN 114198790 B CN114198790 B CN 114198790B CN 202010977038 A CN202010977038 A CN 202010977038A CN 114198790 B CN114198790 B CN 114198790B
Authority
CN
China
Prior art keywords
smoke
concentration
level
image
determining
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010977038.XA
Other languages
Chinese (zh)
Other versions
CN114198790A (en
Inventor
陈小平
王龙
孙泰龙
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Yunmi Internet Technology Guangdong Co Ltd
Original Assignee
Yunmi Internet Technology Guangdong Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Yunmi Internet Technology Guangdong Co Ltd filed Critical Yunmi Internet Technology Guangdong Co Ltd
Priority to CN202010977038.XA priority Critical patent/CN114198790B/en
Publication of CN114198790A publication Critical patent/CN114198790A/en
Application granted granted Critical
Publication of CN114198790B publication Critical patent/CN114198790B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24CDOMESTIC STOVES OR RANGES ; DETAILS OF DOMESTIC STOVES OR RANGES, OF GENERAL APPLICATION
    • F24C15/00Details
    • F24C15/20Removing cooking fumes
    • F24C15/2021Arrangement or mounting of control or safety systems
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02BCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
    • Y02B30/00Energy efficient heating, ventilation or air conditioning [HVAC]
    • Y02B30/70Efficient control or regulation technologies, e.g. for control of refrigerant flow, motor or heating

Abstract

The application discloses a control method of a smoke exhaust ventilator, the smoke exhaust ventilator and a computer readable storage medium, wherein the method comprises the following steps: acquiring a smoke image, wherein the smoke image comprises a plurality of smoke areas; determining image parameters of each smoke region in a current smoke image, and determining a concentration level corresponding to each smoke region according to the image parameters and a concentration threshold; according to the number of the smoke areas corresponding to the concentration levels, adjusting a concentration threshold corresponding to the concentration levels, wherein the adjusted concentration threshold is used for determining the concentration levels corresponding to the smoke areas in the smoke image of the next frame; and controlling the operation of the smoke exhaust ventilator according to the concentration level corresponding to each smoke region in the current smoke image. The self-adaptive adjustment of the smoke concentration threshold is realized to control the smoke exhaust ventilator, so that the smoke exhaust ventilator can still have better smoke exhaust effect under the influence of different environmental factors, and the user experience is improved.

Description

Control method of smoke exhaust ventilator, smoke exhaust ventilator and computer readable storage medium
Technical Field
The application relates to the technical field of intelligent household appliances, in particular to a control method of a smoke exhaust ventilator, the smoke exhaust ventilator and a computer readable storage medium.
Background
At present, smoke concentration in a region can be judged according to a smoke threshold value of the region, but when the smoke ventilator operates in different environments, the smoke ventilator is controlled only according to the smoke concentration under the influence of different environmental factors, and a better control result cannot be obtained, for example, under the same smoke concentration, the space environment where the smoke ventilator is located is different, the influence of smoke on a human body is possibly different, and a set of fixed smoke threshold values cannot meet all conditions.
Disclosure of Invention
The application provides a control method of a smoke exhaust ventilator, the smoke exhaust ventilator and a computer readable storage medium, which are used for controlling the operation of the smoke exhaust ventilator according to the self-adaptive adjustment of a smoke concentration threshold value, so that the smoke exhaust ventilator can still have better smoke exhaust effect under the influence of different environmental factors.
In a first aspect, an embodiment of the present application provides a method for controlling a range hood, where the method includes:
acquiring a smoke image, wherein the smoke image comprises a plurality of smoke areas;
determining image parameters of each smoke region in a current smoke image, and determining a concentration level corresponding to each smoke region according to the image parameters and a concentration threshold;
according to the number of the smoke areas corresponding to the concentration levels, adjusting a concentration threshold corresponding to the concentration levels, wherein the adjusted concentration threshold is used for determining the concentration levels corresponding to the smoke areas in the smoke image of the next frame;
and controlling the operation of the smoke exhaust ventilator according to the concentration level corresponding to each smoke region in the current smoke image.
In a second aspect, the present application also provides a range hood comprising a controller, a memory and a processor;
the memory is used for storing a computer program;
the processor is configured to execute the computer program and implement the control method of the range hood according to any one of the above when executing the computer program.
In a third aspect, the present application also provides a computer readable storage medium storing a computer program, which if executed by a processor, implements a method for controlling a range hood according to any one of the above.
The application discloses a control method of a smoke ventilator, the smoke ventilator and a computer readable storage medium, wherein the method comprises the steps of obtaining a smoke image, wherein the smoke image comprises a plurality of smoke areas; determining image parameters of each smoke region in a current smoke image, and determining a concentration level corresponding to each smoke region according to the image parameters and a concentration threshold; according to the number of the smoke areas corresponding to the concentration levels, adjusting a concentration threshold corresponding to the concentration levels, wherein the adjusted concentration threshold is used for determining the concentration levels corresponding to the smoke areas in the smoke image of the next frame; and controlling the operation of the smoke exhaust ventilator according to the concentration level corresponding to each smoke region in the current smoke image. The smoke exhaust ventilator is controlled according to the self-adaptive adjustment of the smoke concentration threshold, so that the smoke exhaust ventilator can still have a good smoke exhaust effect under the influence of different environmental factors, and the user experience is improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for the description of the embodiments will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present application, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic flow chart of a control method of a range hood according to an embodiment of the present application;
fig. 2 is a schematic block diagram of a range hood according to an embodiment of the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are some, but not all embodiments of the application. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
The flow diagrams depicted in the figures are merely illustrative and not necessarily all of the elements and operations/steps are included or performed in the order described. For example, some operations/steps may be further divided, combined, or partially combined, so that the order of actual execution may be changed according to actual situations.
Embodiments of the application provide a control method of a range hood, the range hood and a computer readable storage medium. Some embodiments of the present application are described in detail below with reference to the accompanying drawings. The following embodiments and features of the embodiments may be combined with each other without conflict.
Referring to fig. 1, fig. 1 is a schematic flow chart of a control method of a range hood according to an embodiment of the present application, where the method may be applied to a range hood, or may be communicatively connected to a terminal capable of controlling the range hood, where the terminal may include at least one of a mobile phone, a tablet computer, a notebook computer, a personal wearable device, and a customer terminal device (Customer Premise Equipment, CPE).
For ease of understanding, the following embodiments will be described in detail as applied to a range hood.
As shown in fig. 1, the control method of the range hood may include steps S101 to S104.
Step S101, acquiring a smoke image, wherein the smoke image comprises a plurality of smoke areas.
Illustratively, a smoke image is acquired by a camera device, and the acquired image is divided into a number of smoke regions.
By way of example, the range hood may be provided with an imaging device by means of which images of smoke produced by a user when performing various kitchen activities, such as cooking, are acquired.
For example, the camera device can be installed at any place where the smoke image can be acquired in the kitchen, and the camera device is in communication connection with the smoke exhaust ventilator so as to transmit the acquired smoke image into the smoke exhaust ventilator, so that the smoke exhaust ventilator can perform work according to the smoke image.
The intelligent terminal can also transmit the smoke image shot by the camera device to the intelligent terminal for controlling the smoke exhaust ventilator, so that the intelligent terminal can control the smoke exhaust ventilator according to the smoke image.
After the camera device is arranged outside the smoke exhaust ventilator, the problem that the smoke image cannot be clearly shot by the camera device due to the fact that the smoke is accumulated on the camera device after the smoke exhaust ventilator is used for a period of time can be avoided.
For example, the smoke image may be divided into a plurality of regions, including a region containing smoke and a region not containing smoke, to facilitate determination of whether there is smoke and the concentration of smoke.
Step S102, determining image parameters of each smoke region in the current smoke image, and determining a concentration level corresponding to each smoke region according to the image parameters and a concentration threshold.
Illustratively, after dividing the current smoke image into a number of smoke regions, image parameters for each smoke region are determined.
For example, the current smoke image is divided into 400 smoke regions and image parameters of the 400 smoke regions are determined.
Illustratively, after determining the image parameters of each smoke region, a concentration level corresponding to each smoke region is determined from the image parameters of each smoke region and the concentration threshold.
By dividing the smoke image into a plurality of smoke areas and determining the concentration levels corresponding to each smoke area, the smoke concentration of the current image can be calculated more accurately.
In some embodiments, the determining the concentration level of each smoke region according to the image parameter and the concentration threshold includes: determining the number of smoke pixels in each smoke area; determining a concentration level corresponding to the smoke region according to the number of smoke pixels in the smoke region and concentration thresholds corresponding to a plurality of concentration levels; wherein, the higher the concentration level, the greater the corresponding concentration threshold.
Illustratively, the smoke region includes a number of smoke pixels, which may be determined by obtaining a number of smoke pixels, and determining a concentration threshold corresponding to a plurality of concentration levels based on the number of smoke pixels.
For example, the number of smoke pixels in a smoke region may be determined based on the resolution of a fixed smoke image.
Illustratively, comparing the image parameter for each smoke region to concentration thresholds corresponding to a plurality of concentration levels, thereby determining the concentration level corresponding to each smoke region comprises: and comparing the concentration threshold values corresponding to a plurality of concentration levels according to the number of the smoke pixels in the smoke area, thereby determining the concentration level corresponding to each smoke area.
In some embodiments, the determining the number of smoke pixels for each of the smoke regions comprises: and determining the number of smoke pixels in a preset gray value range in each smoke region.
Illustratively, after determining the number of smoke pixels of the smoke region, gray values of the smoke pixels are calculated, the number of smoke pixels within a preset gray value range is summed, and a concentration level of the smoke region is determined based on the sum of the number of smoke pixels within the preset range and a concentration threshold.
For example, smoke pixels within a preset gray value range may be considered to be in a state where smoke is present, and smoke pixels outside the preset gray value range may be considered to be in a state where no smoke is present.
The preset gray value range may be, for example, a gray value of 4-255.
By calculating the number of smoke pixels within a preset range, the smoke concentration can be calculated more accurately.
In some embodiments, the determining the concentration level corresponding to the smoke region according to the number of smoke pixels of the smoke region and the concentration threshold corresponding to the plurality of concentration levels includes: if the number of the smoke pixels is not smaller than the concentration threshold corresponding to the first level, determining that the concentration level of the smoke area is the first level; and if the number of the smoke pixels is not smaller than the concentration threshold corresponding to the second level, determining a gray average value of the smoke area according to the number of the smoke pixels, and determining the concentration level of the smoke area according to the gray average value.
The number of smoke pixels in the preset gray value range is compared with concentration thresholds of a plurality of concentration levels, so that the concentration level of a smoke area where the number of smoke pixels is located is obtained.
For example, the concentration threshold values corresponding to the plurality of concentration levels may be a maximum concentration threshold value (max) corresponding to a large smoke concentration, a medium concentration threshold value (mid) corresponding to a medium smoke concentration, and a minimum concentration threshold value (min) corresponding to a small smoke concentration.
It is understood that the maximum concentration threshold (max) is greater than the medium concentration threshold (mid), which is greater than the minimum concentration threshold (min).
For example, 400 smoke areas are divided from the smoke image, each smoke area comprises a plurality of smoke pixels, the number of the smoke pixels in a preset gray value range is compared with concentration thresholds corresponding to a plurality of concentration levels, and the concentration level corresponding to each smoke area in the 400 smoke areas is determined according to the comparison result.
For example, if the number of smoke pixels in a smoke region is not less than a minimum concentration threshold (min), determining the smoke region as a region of low smoke level; if the number of smoke pixels in a certain smoke area is not less than a medium concentration threshold (mid) and less than a maximum concentration threshold (max), determining the smoke area as a medium smoke level area; if the image parameter of a certain smoke area is not smaller than the medium concentration threshold (mid), further calculation is needed according to the number of smoke pixels to determine whether the smoke area is a medium smoke level area or a large smoke level area.
For example, a gray average value of the smoke area is obtained according to the number of pixels and gray values corresponding to the pixels, and the concentration level of the smoke area is determined according to comparison between the gray average value and a concentration threshold value.
In some embodiments, the determining the concentration level of the smoke region from the gray average value comprises: if the gray average value is smaller than the concentration threshold corresponding to the third level and the number of smoke pixels is not smaller than the concentration threshold corresponding to the second level, determining that the concentration level of the smoke area is the second level; and if the gray average value is not smaller than the concentration threshold value corresponding to the third level, determining the concentration level of the smoke area as the third level.
Illustratively, if the gray average value of a smoke region is less than the maximum concentration threshold (max) and not less than the medium concentration threshold (mid), then the smoke region is determined to be a medium smoke-level smoke region; if the average gray level of a certain smoke area is greater than the maximum concentration threshold (max), the smoke area is determined as a smoke area with a large smoke level.
For example, the gray level average for a smoke region may be determined by the number of smoke pixels within the smoke region. For example, the gray values corresponding to the smoke pixels in the smoke area are summed, and then the gray average value of the smoke area is obtained by dividing the sum of the gray values by the number of the smoke pixels.
By determining the smoke concentration level according to the gray average value of the smoke area, the situation that some smoke is only large in diffusion range and low in concentration can be avoided, and the smoke concentration is calculated more accurately.
Step S103, according to the number of the smoke areas corresponding to the concentration levels, adjusting a concentration threshold corresponding to the concentration levels, wherein the adjusted concentration threshold is used for determining the concentration levels corresponding to the smoke areas in the smoke image of the next frame.
Illustratively, after determining the concentration levels of the smoke areas, the number of smoke areas corresponding to each concentration level is counted.
For example, dividing a number of smoke regions into a smoke region corresponding to a small smoke level, a smoke region corresponding to a medium smoke level, and a smoke region corresponding to a large smoke level, it will be appreciated that each smoke concentration level may comprise a plurality of smoke regions.
Illustratively, cnt1 characterizes the number of smoke regions of the small smoke level, cnt2 characterizes the number of smoke regions of the medium smoke level, and cnt3 characterizes the number of smoke regions of the large smoke level.
Illustratively, of the 400 smoke regions, 50 smoke regions are determined as smoke regions of a small smoke level, and the number (cnt 1) of smoke regions of a small smoke level is 50.
It will be appreciated that the number of smoke regions of medium smoke level (cnt 2) and the number of smoke regions of large smoke level (cnt 3) may be determined as by the method of determining the number of smoke regions of small smoke level (cnt 1).
The concentration level of the smoke region may be determined by comparing the number of smoke pixels in the smoke region with a concentration threshold, for example, or may be determined by other means, such as determining the concentration level of the smoke region from a gray value of the smoke region and establishing a corresponding gray value threshold.
Illustratively, according to the number of smoke areas corresponding to a plurality of concentration levels, a concentration threshold corresponding to the concentration level is adjusted, and the adjusted concentration threshold is used for determining the concentration level corresponding to each smoke area in the smoke image of the next frame.
Through adjusting concentration threshold value, can make smoke ventilator still have better smoking effect under the influence of different environmental factor, promote user's use experience.
In some embodiments, the adjusting the concentration threshold corresponding to the concentration level according to the number of smoke areas corresponding to the concentration level includes: and if the number of the smoke areas corresponding to any concentration level exceeds the number range corresponding to the concentration level, adjusting the concentration threshold corresponding to the concentration level so that the number of the smoke areas corresponding to the concentration level in the next frame of smoke image is close to the number range.
For example, if the number of smoke areas corresponding to any concentration level exceeds the number range corresponding to the concentration level, the concentration threshold corresponding to the concentration level is adjusted so that the number of smoke areas corresponding to the concentration level in the smoke image of the next frame is close to the number range.
For example, the number range corresponding to the concentration level may be preset by a user and stored in the range hood controller and/or in the intelligent terminal controlling the range hood.
For example, the number of concentration levels may be set according to the environmental factors of the user.
For example, the environmental factor may be the ventilation status of the kitchen and/or the area of the kitchen.
For example, the number range corresponding to the small smoke density, the number range corresponding to the medium smoke density, and the number range corresponding to the large smoke density may be set according to environmental factors.
For example, if the number of smoke areas corresponding to any concentration level is not within the number range corresponding to the concentration level, the concentration threshold corresponding to the concentration level is adjusted, the smoke area image parameter of the next frame of smoke image is compared with the adjusted concentration threshold, the concentration level of the smoke area of the next frame of smoke image is determined, and the comparison with the number range corresponding to the concentration level is continued according to the smoke area of the next frame of smoke image, so that the adjustment of the concentration threshold is continued or stopped.
For example, the number (cnt 1) of the smoke areas corresponding to the small smoke concentration is determined to be 50, the number range corresponding to the small smoke concentration is set to be 30-40, at the moment, the number (cnt 1) of the smoke areas corresponding to the small smoke concentration exceeds the number range of the small smoke concentration, and the concentration threshold (min) corresponding to the small smoke concentration is adjusted.
It can be understood that if the number (cnt 2) of smoke areas corresponding to the medium smoke concentration exceeds the number range of the medium smoke concentration, the concentration threshold (min) corresponding to the medium smoke concentration is adjusted; and if the number (cnt 3) of the smoke areas corresponding to the large smoke concentration exceeds the number range of the large smoke concentration, adjusting a concentration threshold (max) corresponding to the large smoke concentration.
The concentration threshold value of the corresponding concentration level is adjusted according to the number of the smoke areas of different concentration levels, so that the smoke exhaust ventilator can still have a good smoke exhaust effect under different environmental factors, and the use experience of a user is improved.
And step S104, controlling the operation of the smoke exhaust ventilator according to the concentration level corresponding to each smoke region in the current smoke image.
The method includes the steps that the air shield of the operation of the smoke ventilator is determined according to the concentration levels corresponding to all smoke areas of a current smoke image, so that the smoke ventilator can smoke according to the levels of the smoke concentrations, a good smoke extraction effect is achieved, and meanwhile waste of electric energy can be avoided.
The current smoke concentration is determined according to the concentration level corresponding to the smoke area, and the air shield of the operation of the smoke exhaust ventilator is controlled according to the current smoke concentration, so that the smoke exhaust ventilator can exhaust smoke according to the smoke concentration.
In some embodiments, the controlling the operation of the range hood according to the concentration level corresponding to each smoke region in the current smoke image includes: determining a gear corresponding to the smoke image according to the number of the smoke areas corresponding to the concentration levels; and controlling the range hood to operate in the gear.
Illustratively, according to the concentration levels corresponding to a plurality of smoke areas of the current smoke image, corresponding gears of the smoke image are determined, and the range hood is controlled to operate in the gears.
Illustratively, each smoke area has a corresponding concentration level, the concentration level of the largest smoke area is determined, a gear corresponding to a smoke image is determined according to the concentration level, and the range hood is controlled to operate in the gear.
In some embodiments, the determining, according to the number of smoke areas corresponding to each of the concentration levels, a gear corresponding to the smoke image includes: and if the number of the smoke areas corresponding to the first concentration level is not smaller than the number threshold corresponding to the first gear, determining that the gear corresponding to the smoke image is the first gear.
In an exemplary embodiment, in the current smoke image, if the number of smoke areas corresponding to the first concentration level is not less than the number threshold corresponding to the first gear, determining that the gear corresponding to the current smoke image is the first gear.
For example, the first concentration level may be a low smoke concentration, and the number threshold corresponding to the first gear may be a number threshold (t 1) preset by the user.
For example, in the current smoke image, if the number (cnt 1) of smoke areas corresponding to the small smoke concentration is not smaller than the number threshold (t 1) corresponding to the first gear, determining that the concentration of the current smoke image is the small smoke concentration, and controlling the range hood to operate in the first gear, wherein the gear corresponding to the current smoke image is the first gear.
In some embodiments, the determining, according to the number of smoke areas corresponding to each of the concentration levels, a gear corresponding to the smoke image includes: if the number of the smoke areas corresponding to the first concentration level is smaller than the number threshold corresponding to the first gear, and the number of the smoke areas corresponding to the second concentration level is not smaller than the number threshold corresponding to the second gear, determining that the gear corresponding to the smoke image is the second gear;
in the current smoke image, if the number of the smoke areas corresponding to the first concentration level is smaller than the number threshold corresponding to the first gear, and the number of the smoke areas corresponding to the second concentration level is not smaller than the number threshold corresponding to the second gear, determining that the gear corresponding to the current smoke image is the second gear.
For example, the second concentration level may be a medium smoke concentration, and the number threshold corresponding to the second gear may be a number threshold preset by the user (t 2).
For example, in the current smoke image, the number (cnt 1) of the smoke areas corresponding to the small smoke concentration is smaller than the number threshold (t 1) corresponding to the first gear, and the number (cnt 2) of the concentration areas corresponding to the medium smoke concentration is not smaller than the number threshold (t 2) corresponding to the second gear, so that the concentration of the current smoke image is determined to be the medium smoke concentration, the gear corresponding to the current smoke image is the second gear, and the range hood is controlled to operate in the second gear.
For example, if, in the current smoke image, the number of smoke areas corresponding to the first concentration level is not less than the number threshold corresponding to the first gear, and the number of smoke areas corresponding to the second concentration level is also not less than the number threshold corresponding to the second gear, determining that the gear corresponding to the current smoke image is the second gear.
For example, in the current smoke image, the number (cnt 1) of smoke areas corresponding to the small smoke concentration is not smaller than the number threshold (t 1) corresponding to the first gear, the number (cnt 2) of concentration areas corresponding to the medium smoke concentration is also not smaller than the number threshold (t 2) corresponding to the second gear, the concentration of the current smoke image is determined to be the medium smoke concentration, the gear corresponding to the current smoke image is determined to be the second gear, and the range hood is controlled to operate in the second gear.
In some embodiments, the determining, according to the number of smoke areas corresponding to each of the concentration levels, a gear corresponding to the smoke image includes: if the number of the smoke areas corresponding to the first concentration level is smaller than the number threshold corresponding to the first gear, the number of the smoke areas corresponding to the second concentration level is smaller than the number threshold corresponding to the second gear, and the number of the smoke areas corresponding to the third concentration level is not smaller than the number threshold corresponding to the third gear, determining that the gear corresponding to the smoke image is the third gear;
in the current smoke image, if the number of the smoke areas corresponding to the first concentration level is smaller than the number threshold corresponding to the first gear, the number of the smoke areas corresponding to the second concentration level is smaller than the number threshold corresponding to the second gear, and the number of the smoke areas corresponding to the third concentration level is not smaller than the number threshold corresponding to the third gear, determining that the gear corresponding to the current smoke image is the third gear.
For example, the third concentration level may be a high smoke concentration, and the number threshold corresponding to the third gear may be a number threshold preset by the user (t 3).
For example, in the current smoke image, the number (cnt 1) of smoke areas corresponding to the small smoke concentration is smaller than the number threshold (t 1) corresponding to the first gear, the number (cnt 2) of concentration areas corresponding to the medium smoke concentration is smaller than the number threshold (t 2) corresponding to the second gear, the number (cnt 3) of concentration areas corresponding to the large smoke concentration is not smaller than the number threshold (t 3) corresponding to the third gear, the concentration of the current smoke image is determined to be the large smoke concentration, the gear corresponding to the current smoke image is the third gear, and the range hood is controlled to operate in the third gear.
For example, in the current smoke image, whether the number (cnt 1) of the concentration areas corresponding to the small smoke concentration is smaller than the number threshold (t 1) corresponding to the first gear and whether the number (cnt 2) of the concentration areas corresponding to the medium smoke concentration is smaller than the number threshold (t 2) corresponding to the second gear, the concentration of the current smoke image is determined to be the large smoke concentration as long as the number (cnt 3) of the concentration areas corresponding to the large smoke concentration is not smaller than the number threshold (t 3) corresponding to the third gear, the gear corresponding to the current smoke image is the third gear, and the range hood is controlled to operate in the third gear.
It can be appreciated that the smoke concentration corresponding to the first concentration level, the second concentration level and the third concentration level is sequentially increased, and the suction force of the smoke exhaust ventilator corresponding to the first gear, the second gear and the third gear is sequentially increased.
For example, the first concentration level may correspond to a low smoke concentration, the second concentration level may correspond to a medium smoke concentration, and the third concentration level may correspond to a high smoke concentration.
Illustratively, the greater the suction of the extractor, the faster the rate of extraction of smoke, and the better the extraction.
In some embodiments, the adjusting the concentration threshold corresponding to the concentration level according to the number of smoke areas corresponding to the concentration level includes: if the number of the smoke areas corresponding to the concentration level in the current smoke image is larger than the number range corresponding to the concentration level, increasing the concentration threshold corresponding to the concentration level;
for example, if the number of smoke areas corresponding to the concentration level in the current smoke image is greater than the number range corresponding to the concentration level, the concentration threshold corresponding to the concentration level is increased, so that the number of smoke areas corresponding to the concentration level in the next smoke image can approach the number range corresponding to the concentration level.
For example, the value of one end of the number range corresponding to the concentration level may be a number threshold corresponding to the concentration level, and the value of the other end may be a value slightly smaller than the number threshold.
For example, the number range corresponding to the concentration of the small smoke is set to t1-10 to t1.
For example, if the number (cnt 1) of smoke areas with small smoke concentration corresponding to the current smoke image is greater than the maximum value (t 1) of the number range with small smoke concentration corresponding to the small smoke concentration, the concentration threshold (min) with small smoke concentration is increased, so that the number (cnt 1) of smoke areas with small smoke concentration in the next frame of smoke image is reduced and is closer to the number range (t 1-10-t 1) with small smoke concentration.
Illustratively, the concentration threshold (min) corresponding to the small smoke concentration is increased, and the number of smoke pixels in the original smoke region cannot reach the concentration threshold (min) corresponding to the increased small smoke concentration, so that some original smoke regions originally belonging to the small smoke concentration become smoke regions not belonging to the small smoke concentration, and the number of smoke regions (cnt 1) of the small smoke concentration is reduced.
It is understood that the number of smoke regions (cnt 2) with medium smoke concentration and the concentration threshold (mid) corresponding to medium smoke concentration and the number of smoke regions (cnt 3) with large smoke concentration and the concentration threshold (max) corresponding to large smoke concentration can be adjusted according to the above steps.
In other embodiments, the adjusting the concentration threshold corresponding to the concentration level according to the number of smoke areas corresponding to the concentration level further includes: and if the number of the smoke areas corresponding to the concentration level in the current smoke image is smaller than the number range corresponding to the concentration level, reducing the concentration threshold corresponding to the concentration level.
For example, if the number of smoke areas corresponding to the concentration level in the current smoke image is smaller than the number range corresponding to the concentration level, the concentration threshold corresponding to the concentration level is reduced, so that the number of smoke areas corresponding to the concentration level in the next frame of smoke image can approach the number range corresponding to the concentration level.
For example, if the number (cnt 1) of smoke areas with small smoke concentration in the current smoke image is smaller than the minimum value (t 1-10) of the number range with small smoke concentration, the concentration threshold (min) with small smoke concentration is reduced, so that the number (cnt 1) of smoke areas with small smoke concentration in the next frame of smoke image is increased and is closer to the number range (t 1-10-t 1) with small smoke concentration.
Illustratively, after the number of smoke pixels in the original smoke region fails to reach the concentration threshold value (min) corresponding to the small smoke concentration before reduction, some pixels which fail to reach the concentration threshold value (min) corresponding to the small smoke concentration before reduction can reach the concentration threshold value (min) corresponding to the small smoke concentration after reduction, and some original smoke regions which do not originally belong to the small smoke concentration are changed into smoke regions which belong to the small smoke concentration, so that the number (cnt 1) of the smoke regions of the small smoke concentration is increased.
It is understood that the number of smoke regions (cnt 2) with medium smoke concentration and the concentration threshold (mid) corresponding to medium smoke concentration and the number of smoke regions (cnt 3) with large smoke concentration and the concentration threshold (max) corresponding to large smoke concentration can be adjusted according to the above steps.
Acquiring a smoke image, wherein the smoke image comprises a plurality of smoke areas; determining image parameters of each smoke region in a current smoke image, and determining a concentration level corresponding to each smoke region according to the image parameters and a concentration threshold; according to the number of the smoke areas corresponding to the concentration levels, adjusting a concentration threshold corresponding to the concentration levels, wherein the adjusted concentration threshold is used for determining the concentration levels corresponding to the smoke areas in the smoke image of the next frame; according to the concentration levels corresponding to the smoke areas in the current smoke image, the operation of the smoke exhaust ventilator is controlled, the concentration threshold value can be adaptively adjusted, so that the smoke exhaust ventilator has a good smoke exhaust effect under the influence of different environments, and the use experience of a user is improved.
Referring to fig. 2, fig. 2 is a schematic block diagram of a range hood 200 according to an embodiment of the present application.
As shown in fig. 2, the range hood 200 includes a memory 201 and a processor 202.
The memory 201 may include a nonvolatile storage medium and an internal memory.
The non-volatile storage medium may store a computer program. The computer program comprises program instructions which, when executed, cause the processor to perform any of a number of control methods for a range hood.
The processor 202 is used to provide computing and control capabilities to support the operation of the range hood.
The memory 201 provides an environment for the execution of a computer program in a non-volatile storage medium that, when executed by the processor 202, causes the processor 202 to perform any of the range hood control methods.
It will be appreciated by those skilled in the art that the structure shown in fig. 2 is a block diagram of only some of the structures associated with the present application and is not limiting of the range hood to which the present application is applied, and that a particular range hood may include more or fewer components than shown, or may combine certain components, or have a different arrangement of components.
It should be appreciated that the Memory 201 may be a Flash chip, a Read-Only Memory (ROM) disk, an optical disk, a U-disk, a removable hard disk, etc., and the processor 202 may be a central processing unit (Central Processing Unit, CPU) which may also be other general purpose processors, digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), field programmable gate arrays (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. Wherein the general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
Wherein in one embodiment, the processor 202 is configured to execute a computer program stored in the memory 201 to implement the steps of:
acquiring a smoke image, wherein the smoke image comprises a plurality of smoke areas;
determining image parameters of each smoke region in a current smoke image, and determining a concentration level corresponding to each smoke region according to the image parameters and a concentration threshold;
according to the number of the smoke areas corresponding to the concentration levels, adjusting a concentration threshold corresponding to the concentration levels, wherein the adjusted concentration threshold is used for determining the concentration levels corresponding to the smoke areas in the smoke image of the next frame;
and controlling the operation of the smoke exhaust ventilator according to the concentration level corresponding to each smoke region in the current smoke image.
It should be noted that, for convenience and brevity of description, the specific working process of the above-described range hood 200 may refer to the corresponding process in the foregoing embodiment of the control method of the range hood, which is not described herein again.
Embodiments of the present application also provide a computer readable storage medium having a computer program stored thereon, the computer program including program instructions, the method implemented when the program instructions are executed referring to the embodiments of the control method of the range hood of the present application.
The smoke exhaust ventilator and the computer readable storage medium provided by the embodiment of the application can acquire a smoke image, wherein the smoke image comprises a plurality of smoke areas; determining image parameters of each smoke region in a current smoke image, and determining a concentration level corresponding to each smoke region according to the image parameters and a concentration threshold; according to the number of the smoke areas corresponding to the concentration levels, adjusting a concentration threshold corresponding to the concentration levels, wherein the adjusted concentration threshold is used for determining the concentration levels corresponding to the smoke areas in the smoke image of the next frame; and controlling the operation of the smoke exhaust ventilator according to the concentration level corresponding to each smoke region in the current smoke image. The smoke exhaust ventilator is controlled according to the self-adaptive adjustment of the smoke concentration threshold, so that the smoke exhaust ventilator can still have a good smoke exhaust effect under the influence of different environmental factors, the user experience is improved, and the electric energy can be saved.
The specific implementation of each operation above may be referred to the previous embodiments, and will not be described herein.
The computer readable storage medium may be an internal storage unit of the range hood according to the foregoing embodiment, for example, a hard disk or a memory of the range hood. The computer readable storage medium may also be an external storage device of the range hood, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card) or the like, which are provided on the range hood.
Because the computer program stored in the computer readable storage medium can execute any one of the control methods of the range hood provided by the embodiments of the present application, the beneficial effects that can be achieved by any one of the control methods of the range hood provided by the embodiments of the present application can be achieved, which are detailed in the previous embodiments and are not described herein.
It is to be understood that the terminology used in the description of the application herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in this specification and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It should also be understood that the term "and/or" as used in the present specification and the appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes such combinations. It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The foregoing embodiment numbers of the present application are merely for the purpose of description, and do not represent the advantages or disadvantages of the embodiments. While the application has been described with reference to certain preferred embodiments, it will be understood by those skilled in the art that various changes and substitutions of equivalents may be made and equivalents will be apparent to those skilled in the art without departing from the scope of the application. Therefore, the protection scope of the application is subject to the protection scope of the claims.
While the application has been described with reference to certain preferred embodiments, it will be understood by those skilled in the art that various changes and substitutions of equivalents may be made and equivalents will be apparent to those skilled in the art without departing from the scope of the application. Therefore, the protection scope of the application is subject to the protection scope of the claims.

Claims (9)

1. A method for controlling a range hood, the method comprising:
acquiring a smoke image, wherein the smoke image comprises a plurality of smoke areas;
determining image parameters of each smoke region in a current smoke image, and determining a concentration level corresponding to each smoke region according to the image parameters and a concentration threshold;
according to the number of the smoke areas corresponding to the concentration levels, adjusting a concentration threshold corresponding to the concentration levels, wherein the adjusted concentration threshold is used for determining the concentration levels corresponding to the smoke areas in the smoke image of the next frame;
controlling the operation of the smoke exhaust ventilator according to the concentration level corresponding to each smoke region in the current smoke image;
the adjusting the concentration threshold corresponding to the concentration level according to the number of the smoke areas corresponding to the concentration level comprises:
and if the number of the smoke areas corresponding to any concentration level exceeds the number range corresponding to the concentration level, adjusting the concentration threshold corresponding to the concentration level so that the number of the smoke areas corresponding to the concentration level in the next frame of smoke image is close to the number range.
2. The method according to claim 1, wherein the adjusting the concentration threshold value corresponding to the concentration level according to the number of the smoke areas corresponding to the concentration level comprises:
if the number of the smoke areas corresponding to the concentration level in the current smoke image is larger than the number range corresponding to the concentration level, increasing a concentration threshold corresponding to the concentration level;
and if the number of the smoke areas corresponding to the concentration level in the current smoke image is smaller than the number range corresponding to the concentration level, reducing the concentration threshold corresponding to the concentration level.
3. The method for controlling a range hood according to claim 1 or 2, wherein controlling the range hood according to the concentration level corresponding to each smoke region in the current smoke image comprises:
determining a gear corresponding to the smoke image according to the number of the smoke areas corresponding to the concentration levels;
and controlling the range hood to operate in the gear.
4. A control method of a range hood according to claim 3, wherein the determining a gear corresponding to the smoke image according to the number of smoke areas corresponding to each of the plurality of concentration levels includes:
if the number of the smoke areas corresponding to the first concentration level is not smaller than the number threshold corresponding to the first gear, determining that the gear corresponding to the smoke image is the first gear;
if the number of the smoke areas corresponding to the first concentration level is smaller than the number threshold corresponding to the first gear, and the number of the smoke areas corresponding to the second concentration level is not smaller than the number threshold corresponding to the second gear, determining that the gear corresponding to the smoke image is the second gear;
if the number of the smoke areas corresponding to the first concentration level is smaller than the number threshold corresponding to the first gear, the number of the smoke areas corresponding to the second concentration level is smaller than the number threshold corresponding to the second gear, and the number of the smoke areas corresponding to the third concentration level is not smaller than the number threshold corresponding to the third gear, determining that the gear corresponding to the smoke image is the third gear;
the smoke concentration corresponding to the first concentration level, the second concentration level and the third concentration level sequentially increases, and the suction force of the smoke exhaust ventilator corresponding to the first gear, the second gear and the third gear sequentially increases.
5. The method according to claim 1 or 2, wherein the determining the concentration level of each smoke region according to the image parameter and the concentration threshold value includes:
determining the number of smoke pixels in each smoke area;
determining a concentration level corresponding to the smoke region according to the number of smoke pixels in the smoke region and concentration thresholds corresponding to a plurality of concentration levels;
wherein, the higher the concentration level, the greater the corresponding concentration threshold.
6. The method of claim 5, wherein said determining the number of smoke pixels for each of said smoke zones comprises:
determining the number of smoke pixels in a preset gray value range in each smoke area;
the determining the concentration level corresponding to the smoke area according to the number of smoke pixels in the smoke area and the concentration threshold corresponding to the concentration levels comprises the following steps:
if the number of the smoke pixels is not smaller than the concentration threshold corresponding to the first level, determining that the concentration level of the smoke area is the first level;
and if the number of the smoke pixels is not smaller than the concentration threshold corresponding to the second level, determining a gray average value of the smoke area according to the number of the smoke pixels, and determining the concentration level of the smoke area according to the gray average value.
7. The method of claim 6, wherein said determining a concentration level of said smoke region from said gray level average value comprises:
if the gray average value is smaller than the concentration threshold corresponding to the third level and the number of smoke pixels is not smaller than the concentration threshold corresponding to the second level, determining that the concentration level of the smoke area is the second level;
and if the gray average value is not smaller than the concentration threshold value corresponding to the third level, determining the concentration level of the smoke area as the third level.
8. A range hood, wherein the range hood comprises a memory and a processor;
the memory is used for storing a computer program;
the processor is configured to execute the computer program and implement the control method of the range hood according to any one of claims 1 to 7 when the computer program is executed.
9. A computer readable storage medium storing a computer program, wherein the computer program, if executed by a processor, implements the method of controlling a range hood according to any one of claims 1 to 7.
CN202010977038.XA 2020-09-16 2020-09-16 Control method of smoke exhaust ventilator, smoke exhaust ventilator and computer readable storage medium Active CN114198790B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010977038.XA CN114198790B (en) 2020-09-16 2020-09-16 Control method of smoke exhaust ventilator, smoke exhaust ventilator and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010977038.XA CN114198790B (en) 2020-09-16 2020-09-16 Control method of smoke exhaust ventilator, smoke exhaust ventilator and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN114198790A CN114198790A (en) 2022-03-18
CN114198790B true CN114198790B (en) 2023-10-27

Family

ID=80644622

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010977038.XA Active CN114198790B (en) 2020-09-16 2020-09-16 Control method of smoke exhaust ventilator, smoke exhaust ventilator and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN114198790B (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102121906A (en) * 2011-01-31 2011-07-13 无锡中星微电子有限公司 Smoke detection system as well as intelligent control system and intelligent control method of range hood
EP2420743A1 (en) * 2010-08-17 2012-02-22 BSH Bosch und Siemens Hausgeräte GmbH Range hood having ultrasonic fume detection device and control method thereof
CN105276648A (en) * 2015-10-16 2016-01-27 沈阳英林特电器有限公司 Extractor hood and control method thereof
CN105351991A (en) * 2015-12-01 2016-02-24 宁波方太厨具有限公司 Monitoring device for oil fume sucking state of range hood and monitoring method for monitoring device
CN108922105A (en) * 2018-06-26 2018-11-30 深圳市中电数通智慧安全科技股份有限公司 A kind of smoke sensor device and its management method and device
CN108916933A (en) * 2018-05-03 2018-11-30 九阳股份有限公司 A kind of intelligence cigarette stove coordinated control system
CN109028233A (en) * 2018-09-29 2018-12-18 佛山市云米电器科技有限公司 Kitchen fume concentration division methods and oil smoke image identification system and kitchen ventilator
CN110658118A (en) * 2018-06-29 2020-01-07 九阳股份有限公司 Cooking smoke detection method and range hood
CN111174256A (en) * 2020-01-20 2020-05-19 宁波舜韵电子有限公司 Intelligent range hood

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107908144B (en) * 2017-11-24 2020-09-18 北京小米移动软件有限公司 Method and device for controlling smoke extractor and storage medium

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2420743A1 (en) * 2010-08-17 2012-02-22 BSH Bosch und Siemens Hausgeräte GmbH Range hood having ultrasonic fume detection device and control method thereof
CN102121906A (en) * 2011-01-31 2011-07-13 无锡中星微电子有限公司 Smoke detection system as well as intelligent control system and intelligent control method of range hood
CN105276648A (en) * 2015-10-16 2016-01-27 沈阳英林特电器有限公司 Extractor hood and control method thereof
CN105351991A (en) * 2015-12-01 2016-02-24 宁波方太厨具有限公司 Monitoring device for oil fume sucking state of range hood and monitoring method for monitoring device
CN108916933A (en) * 2018-05-03 2018-11-30 九阳股份有限公司 A kind of intelligence cigarette stove coordinated control system
CN108922105A (en) * 2018-06-26 2018-11-30 深圳市中电数通智慧安全科技股份有限公司 A kind of smoke sensor device and its management method and device
CN110658118A (en) * 2018-06-29 2020-01-07 九阳股份有限公司 Cooking smoke detection method and range hood
CN109028233A (en) * 2018-09-29 2018-12-18 佛山市云米电器科技有限公司 Kitchen fume concentration division methods and oil smoke image identification system and kitchen ventilator
CN111174256A (en) * 2020-01-20 2020-05-19 宁波舜韵电子有限公司 Intelligent range hood

Also Published As

Publication number Publication date
CN114198790A (en) 2022-03-18

Similar Documents

Publication Publication Date Title
WO2017181923A1 (en) Facial verification method, device, and computer storage medium
CN111491108B (en) Exposure parameter adjusting method and device
CN108875333B (en) Terminal unlocking method, terminal and computer readable storage medium
CN108510964B (en) Screen brightness adjusting range adjusting method and device, terminal and storage medium
JP4751907B2 (en) Image correction program, image correction apparatus, and image correction method
US9165210B1 (en) Systems and methods for localized contrast enhancement
CN110766639B (en) Image enhancement method and device, mobile equipment and computer readable storage medium
CN105243371A (en) Human face beauty degree detection method and system and shooting terminal
CN112565621B (en) Endoscope light source brightness and exposure adjusting method and device and readable storage medium
CN111614867B (en) Video denoising method and device, mobile terminal and storage medium
CN104064185A (en) Information processing method and system and electronic device
CN109035158A (en) Image fuzzy processing method, device, storage medium and electronic equipment
CN105227853A (en) A kind of image pickup method and terminal
CN111970753A (en) Intelligent terminal screen dormancy control method, storage medium, processor and intelligent terminal
CN110796663B (en) Picture clipping method, device, equipment and storage medium
CN112036201A (en) Image processing method, device, equipment and medium
CN114198790B (en) Control method of smoke exhaust ventilator, smoke exhaust ventilator and computer readable storage medium
CN110223244B (en) Image processing method and device, electronic equipment and storage medium
CN111183431A (en) Fingerprint identification method and terminal equipment
CN114399442A (en) Nonlinear image enhancement method and system based on parameter self-adaption
CN110689496B (en) Method and device for determining noise reduction model, electronic equipment and computer storage medium
CN109040579A (en) A kind of filming control method, terminal and computer-readable medium
CN115665556B (en) Automatic exposure method, device, equipment and storage medium
CN109672829B (en) Image brightness adjusting method and device, storage medium and terminal
CN116208862A (en) Self-adaptive image processing method, system, electronic device and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant