Washing machine status identification method, device, computer equipment and storage medium
Through video recognition technology, the type of washing machine is determined and the status is obtained based on the laundry room video, which solves the high cost problem of traditional management methods and achieves efficient management of laundry room equipment.
Patent Information
- Application Number
- CN202110002849.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-01-04
- Publication Date
- 2024-09-24
- Estimated Expiration
- 2041-01-04
AI Technical Summary
The management cost of traditional laundry room management methods is high, and the equipment is complex and diverse, which increases the difficulty of management.
By obtaining the video of the laundry room, the type of washing machine is determined, and different detection methods are used according to the type, including detection models and behavior classification models, to obtain the status of the washing machine and pedestrian behavior, and then determine the status of the washing machine.
It reduces the management cost of the laundry room and improves the management efficiency. It uses video recognition technology to accurately identify the status of different types of washing machines and pedestrian behaviors, and optimizes equipment management.
Smart Images

Figure CN112699818B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of computer vision technology, and in particular to a washing machine state recognition method, device, computer equipment and storage medium. Background Art
[0002] With the development of society, people's living standards are constantly improving, and more and more people pay attention to the quality of life. In order to save time doing housework, most people will choose to send their clothes to the laundry room for washing. There are multiple washing machines installed in the laundry room, and users can randomly choose an idle washing machine to wash their clothes. Due to the complex equipment in the laundry room and the coexistence of various types of washing machines, the management of the laundry room is more difficult. At present, the management of the laundry room is often carried out by intelligent management using sensor wireless networking.
[0003] However, the traditional way of managing laundry rooms has the problem of high management costs. Summary of the invention
[0004] Based on this, in order to solve the above technical problems, a method and device for identifying the status of a washing machine are provided, which can reduce the management cost of a laundry room.
[0005] A method for identifying a washing machine state, the method comprising:
[0006] Acquire the collected laundry room video, and determine the type of each washing machine according to the laundry room video;
[0007] When the washing machine type is the first type, detecting each first washing machine of the first type according to the laundry room video, and obtaining the washing machine status of each first washing machine;
[0008] When the washing machine type is the second type, determining whether there are pedestrians at the positions of each second washing machine of the second type according to the laundry room video;
[0009] When there is a pedestrian at the location of the second washing machine, pedestrian behavior detection is performed based on the laundry room video to obtain a pedestrian behavior detection result, and the washing machine status of the second washing machine is obtained based on the pedestrian behavior detection result.
[0010] In one embodiment, determining the types of washing machines according to the laundry room video includes:
[0011] Inputting the laundry room video into a first detection model, where the first detection model is used to detect the washing machine in the laundry room video;
[0012] Determine the location of each washing machine in the laundry room video by using the first detection model, and judge whether there is a glass window on each washing machine;
[0013] The washing machine type corresponding to the washing machine with the glass window is determined as the first type; and the washing machine type corresponding to the washing machine without the glass window is determined as the second type.
[0014] In one embodiment, when the washing machine type is the first type, detecting each first washing machine of the first type according to the laundry room video and obtaining the washing machine status of each first washing machine includes:
[0015] When the washing machine type is the first type, inputting the laundry room video into a second detection model;
[0016] The washing machine status of each of the first washing machines is identified according to the glass window through the second detection model.
[0017] In one embodiment, when the washing machine type is the second type, determining whether there are pedestrians at the positions of each second washing machine of the second type according to the laundry room video includes:
[0018] When the washing machine type is the second type, inputting the laundry room video into a third detection model;
[0019] The third detection model is used to determine whether there are pedestrians at the positions of each second washing machine.
[0020] In one embodiment, when there is a pedestrian at the location of the second washing machine, pedestrian behavior detection is performed based on the laundry room video to obtain pedestrian behavior detection results, including:
[0021] When there is a pedestrian at the location of the second washing machine, inputting the laundry room video into a classification model;
[0022] Classifying the behavior of the pedestrian by using the classification model to determine the user behavior of the pedestrian;
[0023] The user behavior is used as the pedestrian behavior detection result.
[0024] In one embodiment, the step of classifying the behavior of the pedestrian using the classification model to determine the user behavior of the pedestrian includes:
[0025] Identify the limb skeleton of the pedestrian by using the classification model;
[0026] Performing similarity classification according to the limb bones to obtain a classification result;
[0027] The user behavior of the pedestrian is determined according to the classification result.
[0028] A washing machine state recognition device, the device comprising:
[0029] A washing machine type determination module, used to obtain the collected laundry room video and determine the type of each washing machine according to the laundry room video;
[0030] a first washing machine status acquisition module, configured to detect each first washing machine of the first type according to the laundry room video and obtain the washing machine status of each first washing machine when the washing machine type is the first type;
[0031] A pedestrian detection module, for determining whether there are pedestrians at the positions of each second washing machine of the second type according to the laundry room video when the washing machine type is the second type;
[0032] The second washing machine status acquisition module is used to perform pedestrian behavior detection based on the laundry room video when there is a pedestrian at the location of the second washing machine, obtain the pedestrian behavior detection result, and obtain the washing machine status of the second washing machine based on the pedestrian behavior detection result.
[0033] A computer device comprises a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the following steps are implemented:
[0034] Acquire the collected laundry room video, and determine the type of each washing machine according to the laundry room video;
[0035] When the washing machine type is the first type, detecting each first washing machine of the first type according to the laundry room video, and obtaining the washing machine status of each first washing machine;
[0036] When the washing machine type is the second type, determining whether there are pedestrians at the positions of each second washing machine of the second type according to the laundry room video;
[0037] When there is a pedestrian at the location of the second washing machine, pedestrian behavior detection is performed based on the laundry room video to obtain a pedestrian behavior detection result, and the washing machine status of the second washing machine is obtained based on the pedestrian behavior detection result.
[0038] A computer-readable storage medium stores a computer program, which, when executed by a processor, implements the following steps:
[0039] Acquire the collected laundry room video, and determine the type of each washing machine according to the laundry room video;
[0040] When the washing machine type is the first type, detecting each first washing machine of the first type according to the laundry room video, and obtaining the washing machine status of each first washing machine;
[0041] When the washing machine type is the second type, determining whether there are pedestrians at the positions of each second washing machine of the second type according to the laundry room video;
[0042] When there is a pedestrian at the location of the second washing machine, pedestrian behavior detection is performed based on the laundry room video to obtain a pedestrian behavior detection result, and the washing machine status of the second washing machine is obtained based on the pedestrian behavior detection result.
[0043] The above-mentioned washing machine status recognition method, device, computer equipment and storage medium obtain the collected laundry room video and determine the type of each washing machine according to the laundry room video; when the washing machine type is the first type, each first washing machine of the first type is detected according to the laundry room video, and the washing machine status of each first washing machine is obtained; when the washing machine type is the second type, it is determined whether there are pedestrians at the positions of each second washing machine of the second type according to the laundry room video; when there are pedestrians at the positions of the second washing machines, pedestrian behavior detection is performed according to the laundry room video to obtain pedestrian behavior detection results, and the washing machine status of the second washing machine is obtained according to the pedestrian behavior detection results. By determining the type of each washing machine through the collected laundry room video, and then using different detection methods according to different types of washing machines to obtain the status of the washing machine, the management cost of the laundry room can be reduced. BRIEF DESCRIPTION OF THE DRAWINGS
[0044] Figure 1 is an application environment diagram of a washing machine state recognition method in one embodiment;
[0045] Figure 2 is a schematic flow chart of a method for identifying a washing machine state in one embodiment;
[0046] Figure 3 is a system topology diagram of a washing machine state identification method in one embodiment;
[0047] Figure 4 A data flow diagram of a method for identifying a washing machine state in one embodiment;
[0048] Figure 5 A data flow diagram of a human-computer interaction process in one embodiment;
[0049] Figure 6 A data flow diagram of an event execution process in one embodiment;
[0050] Figure 7is a structural block diagram of a washing machine state recognition device in one embodiment;
[0051] Figure 8 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION
[0052] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0053] It is understood that the terms "first", "second", etc. used in this application may be used herein to describe washing machines, but these washing machines are not limited by these terms. These terms are only used to distinguish a first washing machine from another washing machine. For example, without departing from the scope of this application, a first washing machine may be referred to as a second washing machine, and similarly, a second washing machine may be referred to as a first washing machine. Both the first washing machine and the second washing machine are washing machines, but they are not the same washing machine.
[0054] The washing machine status recognition method provided in the embodiment of the present application can be applied to Figure 1 In the application environment shown. Figure 1 As shown, the application environment includes a computer device 110. The computer device 110 can obtain the collected laundry room video and determine the types of each washing machine according to the laundry room video; when the washing machine type is the first type, the computer device 110 can detect each first washing machine of the first type according to the laundry room video and obtain the washing machine status of each first washing machine; when the washing machine type is the second type, the computer device 110 can determine whether there are pedestrians at the positions of each second washing machine of the second type according to the laundry room video; when there are pedestrians at the positions of the second washing machines, the computer device 110 can perform pedestrian behavior detection according to the laundry room video to obtain pedestrian behavior detection results, and the computer device 110 can obtain the washing machine status of the second washing machine according to the pedestrian behavior detection results. Among them, the computer device 110 can be, but is not limited to, various personal computers, laptops, robots, tablet computers, etc.
[0055] In one embodiment, Figure 2 As shown, a method for identifying a washing machine state is provided, comprising the following steps:
[0056] Step 202, obtaining the collected laundry room video, and determining the types of each washing machine according to the laundry room video.
[0057] A camera may be provided in the laundry room, and the computer device may be connected to the camera. The camera may capture a video of the laundry room, and the computer device may obtain the video of the laundry room captured by the camera. The video of the laundry room may be a continuous image frame in the laundry room captured by the camera over a period of time.
[0058] After the computer device obtains the collected laundry room video, the washing machine type of each washing machine can be determined according to the laundry room video, wherein the washing machine type may include a drum washing machine and a turbine washing machine.
[0059] Step 204: when the washing machine type is the first type, each first washing machine of the first type is detected according to the laundry room video, and the washing machine status of each first washing machine is obtained.
[0060] The first type of washing machine may be a drum washing machine, which is provided with a transparent glass window, and a plurality of drum washing machines may be provided in the laundry room. When the computer device determines that some washing machines in the laundry room are of the first type, i.e., drum washing machines, the computer device may detect each drum washing machine according to the laundry room video captured by the camera, thereby obtaining the washing machine status of each drum washing machine. The washing machine status may be a working status or an idle status.
[0061] Step 206: When the washing machine type is the second type, determine whether there are pedestrians at the locations of each second washing machine of the second type based on the laundry room video.
[0062] The second type of washing machine may be a turbine washing machine, which does not have a transparent glass window. When the computer device determines that some washing machines in the laundry room are of the second type, i.e., turbine washing machines, the computer device can determine whether there are pedestrians at the location of the turbine washing machines based on the collected laundry room video.
[0063] Step 208, when there is a pedestrian at the location of the second washing machine, pedestrian behavior detection is performed based on the laundry room video to obtain a pedestrian behavior detection result, and the washing machine status of the second washing machine is obtained based on the pedestrian behavior detection result.
[0064] When the computer device determines that there is a pedestrian at the location of the turbine washing machine, the computer device can detect the pedestrian's behavior based on the laundry room video to obtain a pedestrian behavior detection result, wherein the pedestrian behavior detection result can be a pedestrian taking out clothes or a pedestrian putting in clothes.
[0065] After obtaining the pedestrian behavior detection result, the computer device can determine the washing machine state of the turbine washing machine. For example, when the pedestrian behavior detection result obtained by the computer device is taking out clothes, the computer device can determine that the washing machine state of the turbine washing machine is an idle state; when the pedestrian behavior detection result obtained by the computer device is putting clothes in, the computer device can determine that the washing machine state of the turbine washing machine is a working state.
[0066] In this embodiment, the computer device obtains the collected laundry room video and determines the type of each washing machine according to the laundry room video; when the washing machine type is the first type, each first washing machine of the first type is detected according to the laundry room video, and the washing machine status of each first washing machine is obtained; when the washing machine type is the second type, it is determined whether there are pedestrians at the positions of each second washing machine of the second type according to the laundry room video; when there are pedestrians at the positions of the second washing machines, pedestrian behavior detection is performed according to the laundry room video to obtain pedestrian behavior detection results, and the washing machine status of the second washing machine is obtained according to the pedestrian behavior detection results. By determining the type of each washing machine through the collected laundry room video, and then using different detection methods according to different types of washing machines to obtain the washing machine status, the management cost of the laundry room can be reduced.
[0067] In one embodiment, a washing machine status recognition method provided may also include a process of determining the types of each washing machine based on a laundry room video, and the specific process includes: inputting the laundry room video into a first detection model, the first detection model being used to detect the washing machines in the laundry room video; determining the location of each washing machine in the laundry room video through the first detection model, and judging whether there is a glass window on each washing machine; determining the washing machine type corresponding to the washing machine with a glass window as a first type; and determining the washing machine type corresponding to the washing machine without a glass window as a second type.
[0068] Among them, the first detection model can be a convolutional neural network model, which can be used to detect the washing machine in the laundry video. In this embodiment, the computer device can detect the washing machine and the glass window through computer vision technology, that is, the laundry detection model. The location of each washing machine in the laundry video can be determined by the first detection model. After detecting the washing machine, the computer device can further detect whether there is a glass window on the washing machine. When the computer device detects that there is a glass window on the washing machine, the computer device can determine that the washing machine type corresponding to the washing machine with the glass window is the first type, that is, a drum washing machine; when the computer device detects that there is no glass window on the washing machine, the computer device can determine that the washing machine type corresponding to the washing machine with the glass window is the second type, that is, a turbine washing machine.
[0069] In one embodiment, a washing machine status identification method provided may also include a process of obtaining the washing machine status of each first washing machine, and the specific process includes: when the washing machine type is the first type, inputting the laundry room video into the second detection model; and identifying the washing machine status of each first washing machine according to the glass window through the second detection model.
[0070] When the computer device determines that the type of washing machine is the first type, the computer device can input the laundry room video into the second detection model. The second detection model can be a detection model of yolov3. Among them, the second detection model can be used to identify the washing machine state of the drum washing machine through the glass window. The computer device can identify the washing machine state of each first washing machine according to the glass window through the second detection model. The first washing machine can be a drum washing machine. The computer device can determine whether the clothes in the drum washing machine are rotating through the second detection model. If they are rotating, the computer device can determine that the washing machine state of the drum washing machine is in a working state.
[0071] In one embodiment, a washing machine status identification method provided may also include a process of determining whether there are pedestrians at the positions of each second washing machine of the second type. The specific process includes: when the washing machine type is the second type, inputting the laundry room video into a third detection model; and determining whether there are pedestrians at the positions of each second washing machine through the third detection model.
[0072] The second type of washing machine is a turbine washing machine. When the computer device determines that the type of washing machine is a turbine washing machine, the computer device can input the laundry room video into the third detection model, and the third detection model can be used to detect whether there are pedestrians in the video. The computer device can determine whether there are pedestrians at the location of each turbine washing machine through the third detection model.
[0073] In one embodiment, a washing machine status identification method provided may also include a process of performing pedestrian behavior detection based on a laundry room video to obtain a pedestrian behavior detection result, the specific process including: when there is a pedestrian at the second washing machine position, inputting the laundry room video into a classification model; classifying the pedestrian behavior through the classification model to determine the pedestrian's user behavior; and using the user behavior as the pedestrian behavior detection result.
[0074] When the computer device detects that there is a pedestrian at the location of the second washing machine, the computer device can input the laundry room video into the classification model. The classification model can detect the image of the pedestrian holding clothes, and then send the first 8 frames and the last 8 frames of the image, a total of 16 frames, to the C3D model to make a behavior classification and determine whether the pedestrian's user behavior is an action of putting clothes in or taking clothes out.
[0075] In one embodiment, a washing machine state recognition method provided may also include a process of determining a pedestrian's user behavior, the specific process including: identifying the pedestrian's limb bones through a classification model; performing similarity classification based on the limb bones to obtain a classification result; and determining the pedestrian's user behavior based on the classification result.
[0076] Specifically, the computer device can use posenet through a classification model to detect the limb skeleton of the pedestrian, perform similarity classification based on the limb skeleton, and use a 3D convolution model to identify the skeleton sequence action, thereby determining the user behavior of the pedestrian.
[0077] It should be understood that, although the various steps in the above-mentioned flow chart are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps is not strictly limited in order, and these steps can be executed in other orders. Moreover, at least a part of the steps in the above-mentioned flow chart may include a plurality of sub-steps or a plurality of stages, and these sub-steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these sub-steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the sub-steps or stages of other steps.
[0078] In one embodiment, a system topology diagram of a washing machine state identification method is provided as follows: Figure 3 The system topology diagram mainly includes: edge part, cloud part, data flow, and control flow, among which:
[0079] Edge: Edge computing part, mainly responsible for video recognition, event generation, etc.
[0080] Cloud: The cloud computing part mainly receives events from edge devices, outputs BI after integration, and provides user UI, etc.
[0081] Data stream: It is the event data recognized by edge devices, mainly from the edge to the cloud.
[0082] Control flow: It is the control / configuration related information input by the user, mainly from the cloud to the edge.
[0083] In one embodiment, a data flow diagram of a washing machine status identification method is provided as follows: Figure 4 As shown, it mainly includes:
[0084] IPC: Network camera; the system can also pull general USB camera or mipi / CSI camera.
[0085] source: Overall description of video source pulling, unpacking, and decoding.
[0086] Infer: refers to the inference process such as object detection, tracking, and classification.
[0087] Sink: mainly includes event analysis, message packaging, message sending and other processes.
[0088] AcEon Eger (edge device): responsible for triggering corresponding local actions after an event occurs.
[0089] MQ: Cloud message queue, such as Kafuka, AMQ, etc. The device acts as a producer to send messages into the queue.
[0090] Consumer: Real-time big data message processing program, such as Storm, etc. As an MQ consumer, it obtains messages from MQ for processing.
[0091] AcEon triger (cloud): An event triggering module in the cloud. Some events that can only be discovered through collaborative analysis of multiple devices, such as when a consumer needs to trigger an action: notify the administrator, etc., are the responsibility of the cloud's acEon triger.
[0092] DB: cloud database.
[0093] BI: Analytical charts displayed to administrators or users.
[0094] In one embodiment, a washing machine status identification method provided may also include a human-computer interaction process, such as Figure 5 As shown:
[0095] USER: user.
[0096] web service application: web application, which serves as a human-computer interface.
[0097] Device config DB: A database that stores device configuration data, such as the ID of each washing machine in the laundry room.
[0098] Web socket server: maintains a long connection with the device to facilitate sending commands.
[0099] Device controller: maintains a long connection with the web socket server and receives commands to control / configure the device.
[0100] Deepstream application: A real-time video analysis program.
[0101] Supervisor: The edge device's system monitoring servo program needs to run uninterruptedly for a long time after deployment. If the deepstream app or device controller is found to exit unexpectedly, the program will be automatically restarted.
[0102] In one embodiment, a washing machine status identification method is provided, and the event execution process is as follows: Figure 6 As shown:
[0103] RTSP src: webcam video pull element.
[0104] Decoder bin: responsible for unpacking, decoding video, and outputting video frame.
[0105] Stream mux: Combines videos into batches to facilitate batch processing of multiple video sources by subsequent nodes.
[0106] queue: data queue, used for data buffering and thread division.
[0107] Video Convert: Convert the decoded YUV video data into BGRA data, adjust the video resolution, etc.
[0108] Object dectorer: detects the target object in the video frame.
[0109] Object tracker: Tracks the target object and assigns it a unique ID to avoid repeated classification.
[0110] Reid: When the tracker considers it to be a new object, it searches for a possible ID from historical memory.
[0111] classifier: Target classification. Some of the detected objects are related to time sequence and need further classification, such as whether the laundry window is rotating.
[0112] Event generator: Event analysis detects elements and analyzes events based on the objects and classification results inferred from the frame.
[0113] tee: pipeline forks and flows data out in multiple ways.
[0114] Display Info: Display information generation.
[0115] OSD: on screen display, draw the display-related meta date in the frame.
[0116] Overlay sink: directly DMA the frame buff to the video memory.
[0117] msg payload: convert event into payload.
[0118] Msg broker: sends the payload to the cloud's MQ.
[0119] AcEon policy: connect policy and event to get the event to be triggered.
[0120] AcEon trigger: execute the event triggered by the policy.
[0121] In one embodiment, Figure 7 As shown, a washing machine state recognition device is provided, comprising: a washing machine type determination module 710, a first washing machine state acquisition module 720, a pedestrian detection module 730 and a second washing machine state acquisition module 740, wherein:
[0122] A washing machine type determination module 710 is used to obtain the collected laundry room video and determine the type of each washing machine according to the laundry room video;
[0123] A first washing machine status acquisition module 720, for detecting each first washing machine of the first type according to the laundry room video and obtaining the washing machine status of each first washing machine when the washing machine type is the first type;
[0124] A pedestrian detection module 730, for determining whether there are pedestrians at the positions of each second washing machine of the second type according to the laundry room video when the washing machine type is the second type;
[0125] The second washing machine status acquisition module 740 is used to perform pedestrian behavior detection based on the laundry room video when there is a pedestrian at the second washing machine location, obtain the pedestrian behavior detection result, and obtain the washing machine status of the second washing machine based on the pedestrian behavior detection result.
[0126] In one embodiment, the washing machine type determination module 710 is also used to input the laundry room video into the first detection model, and the first detection model is used to detect the washing machines in the laundry room video; determine the location of each washing machine in the laundry room video through the first detection model, and judge whether there is a glass window on each washing machine; determine the washing machine type corresponding to the washing machine with a glass window as the first type; and determine the washing machine type corresponding to the washing machine without a glass window as the second type.
[0127] In one embodiment, the first washing machine status acquisition module 720 is further used to input the laundry room video into the second detection model when the washing machine type is the first type; and identify the washing machine status of each first washing machine according to the glass window through the second detection model.
[0128] In one embodiment, the pedestrian detection module 730 is further used to input the laundry room video into the third detection model when the washing machine type is the second type; and determine whether there are pedestrians at the positions of each second washing machine through the third detection model.
[0129] In one embodiment, the second washing machine status acquisition module 740 is also used to input the laundry room video into the classification model when there is a pedestrian at the location of the second washing machine; classify the pedestrian's behavior through the classification model to determine the pedestrian's user behavior; and use the user behavior as the pedestrian behavior detection result.
[0130] In one embodiment, the second washing machine state acquisition module 740 is further used to identify the limb bones of the pedestrian through a classification model; perform similarity classification according to the limb bones to obtain a classification result; and determine the user behavior of the pedestrian according to the classification result.
[0131] In one embodiment, a computer device is provided. The computer device may be a terminal, and its internal structure diagram may be as follows: Figure 8 As shown. The computer device includes a processor, a memory, a network interface, a display screen and an input device connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a method for identifying the state of a washing machine is implemented. The display screen of the computer device can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer covered on the display screen, or a key, trackball or touchpad set on the computer device housing, or an external keyboard, touchpad or mouse, etc.
[0132] Those skilled in the art will understand that Figure 8 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0133] In one embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, the following steps are implemented:
[0134] Obtain the collected laundry room videos, and determine the types of each washing machine based on the laundry room videos;
[0135] When the washing machine type is the first type, each first washing machine of the first type is detected according to the laundry room video, and the washing machine status of each first washing machine is obtained;
[0136] When the washing machine type is the second type, judging whether there are pedestrians at the positions of each second washing machine of the second type according to the laundry room video;
[0137] When there is a pedestrian at the location of the second washing machine, pedestrian behavior detection is performed based on the laundry room video to obtain a pedestrian behavior detection result, and the washing machine state of the second washing machine is obtained based on the pedestrian behavior detection result.
[0138] In one embodiment, the processor further implements the following steps when executing the computer program: inputting the laundry room video into a first detection model, the first detection model being used to detect washing machines in the laundry room video; determining the location of each washing machine in the laundry room video through the first detection model, and judging whether there is a glass window on each washing machine; determining the washing machine type corresponding to the washing machine with a glass window as a first type; and determining the washing machine type corresponding to the washing machine without a glass window as a second type.
[0139] In one embodiment, when the processor executes the computer program, the following steps are also implemented: when the washing machine type is the first type, the laundry room video is input into the second detection model; and the washing machine status of each first washing machine is identified according to the glass window through the second detection model.
[0140] In one embodiment, when the processor executes the computer program, the following steps are also implemented: when the washing machine type is the second type, inputting the laundry room video into the third detection model; and determining whether there are pedestrians at each second washing machine position through the third detection model.
[0141] In one embodiment, when the processor executes the computer program, the following steps are also implemented: when there is a pedestrian at the location of the second washing machine, the laundry room video is input into the classification model; the pedestrian behavior is classified through the classification model to determine the pedestrian's user behavior; and the user behavior is used as the pedestrian behavior detection result.
[0142] In one embodiment, when the processor executes the computer program, the following steps are also implemented: identifying the limb skeleton of the pedestrian through a classification model; performing similarity classification based on the limb skeleton to obtain a classification result; and determining the user behavior of the pedestrian based on the classification result.
[0143] In one embodiment, a computer readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:
[0144] Obtain the collected laundry room videos, and determine the types of each washing machine based on the laundry room videos;
[0145] When the washing machine type is the first type, each first washing machine of the first type is detected according to the laundry room video, and the washing machine status of each first washing machine is obtained;
[0146] When the washing machine type is the second type, judging whether there are pedestrians at the positions of each second washing machine of the second type according to the laundry room video;
[0147] When there is a pedestrian at the location of the second washing machine, pedestrian behavior detection is performed based on the laundry room video to obtain a pedestrian behavior detection result, and the washing machine state of the second washing machine is obtained based on the pedestrian behavior detection result.
[0148] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: inputting the laundry room video into the first detection model, the first detection model is used to detect the washing machines in the laundry room video; determining the location of each washing machine in the laundry room video through the first detection model, and judging whether there is a glass window on each washing machine; determining the washing machine type corresponding to the washing machine with a glass window as the first type; determining the washing machine type corresponding to the washing machine without a glass window as the second type.
[0149] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: when the washing machine type is the first type, the laundry room video is input into the second detection model; and the washing machine status of each first washing machine is identified according to the glass window through the second detection model.
[0150] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: when the washing machine type is the second type, inputting the laundry room video into the third detection model; and determining whether there are pedestrians at each second washing machine position through the third detection model.
[0151] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: when there is a pedestrian at the location of the second washing machine, the laundry room video is input into the classification model; the pedestrian behavior is classified by the classification model to determine the pedestrian's user behavior; and the user behavior is used as the pedestrian behavior detection result.
[0152] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: identifying the limb skeleton of the pedestrian through a classification model; performing similarity classification based on the limb skeleton to obtain a classification result; and determining the user behavior of the pedestrian based on the classification result.
[0153] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
[0154] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0155] The above-mentioned embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent of the present application shall be subject to the attached claims.
Claims
1. A method for identifying a washing machine state, characterized in that: The method comprises: Acquire the collected laundry room video, and determine the types of each washing machine according to the laundry room video, determine the washing machine type corresponding to the washing machine with a glass window as the first type; and determine the washing machine type corresponding to the washing machine without a glass window as the second type; When the washing machine type is the first type, detecting each first washing machine of the first type according to the laundry room video, and obtaining the washing machine status of each first washing machine, including: when the washing machine type is the first type, inputting the laundry room video into a second detection model; identifying the washing machine status of each first washing machine according to the glass window through the second detection model; When the washing machine type is the second type, determining whether there are pedestrians at the positions of each second washing machine of the second type according to the laundry room video; When there is a pedestrian at the location of the second washing machine, pedestrian behavior detection is performed based on the laundry room video to obtain a pedestrian behavior detection result, including: when there is a pedestrian at the location of the second washing machine, the laundry room video is input into a classification model; the pedestrian behavior is classified by the classification model to determine the user behavior of the pedestrian; the user behavior is used as the pedestrian behavior detection result; and the washing machine status of the second washing machine is obtained based on the pedestrian behavior detection result.
2. The method according to claim 1, characterized in that The determining the types of each washing machine according to the laundry room video includes: Inputting the laundry room video into a first detection model, where the first detection model is used to detect the washing machine in the laundry room video; The first detection model is used to determine the location of each washing machine in the laundry room video, and to determine whether there is a glass window on each washing machine.
3. The method according to claim 1, characterized in that When the washing machine type is the second type, judging whether there are pedestrians at the positions of each second washing machine of the second type according to the laundry room video includes: When the washing machine type is the second type, inputting the laundry room video into a third detection model; The third detection model is used to determine whether there are pedestrians at the positions of each second washing machine.
4. The method according to claim 1, characterized in that The step of classifying the behavior of the pedestrian by using the classification model to determine the user behavior of the pedestrian includes: Identify the limb skeleton of the pedestrian by using the classification model; Performing similarity classification according to the limb bones to obtain a classification result; The user behavior of the pedestrian is determined according to the classification result.
5. A washing machine status recognition device, characterized in that: The device comprises: A washing machine type determination module, used to obtain the collected laundry room video and determine the type of each washing machine according to the laundry room video; a first washing machine status acquisition module, configured to detect each first washing machine of the first type according to the laundry room video and obtain the washing machine status of each first washing machine when the washing machine type is the first type; A pedestrian detection module, for determining whether there are pedestrians at the positions of each second washing machine of the second type according to the laundry room video when the washing machine type is the second type; The second washing machine status acquisition module is used to perform pedestrian behavior detection based on the laundry room video to obtain pedestrian behavior detection results when there is a pedestrian at the location of the second washing machine, including: when there is a pedestrian at the location of the second washing machine, input the laundry room video into a classification model; classify the pedestrian's behavior through the classification model to determine the pedestrian's user behavior; use the user behavior as the pedestrian behavior detection result; and obtain the washing machine status of the second washing machine based on the pedestrian behavior detection result.
6. The device according to claim 5, characterized in that The washing machine type determination module is further used to: input the laundry room video into a first detection model, the first detection model being used to detect the washing machines in the laundry room video; determine the location of each washing machine in the laundry room video through the first detection model, and judge whether there is a glass window on each washing machine; determine the washing machine type corresponding to the washing machine with the glass window as the first type; and determine the washing machine type corresponding to the washing machine without the glass window as the second type.
7. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 4 are implemented.
8. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 4 are implemented.
Citation Information
Patent Citations
Method and device for determining electricity consumption condition or environmental condition of household electrical appliances
CN103577662A
A Washing Machine Control Method and Device
CN106337263A
Controlling method for and controlling device of operation panel
CN107761316A
Sink type dish washing machine and projection control method thereof
CN107928575A
Ai-based laundry course recommending apparatus and method of controlling the same
US20210363680A1
