Bird feeder cleaning method and device, electronic equipment and computer readable medium

The infrared sensor and camera device are used to identify stains on the bird feeder, determine the cleaning mode, and control the flushing and brushing devices for precise cleaning. This solves the problem of difficulty in cleaning the bird feeder at high places and the many types of stains, and realizes automated cleaning and water resources optimization.

CN118649933APending Publication Date: 2024-09-17ADDX (BEIJING) TECH CO LTD
View PDF 0 Cites 8 Cited by

Patent Information

Application Number
CN202410955581.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-17
Publication Date
2024-09-17

AI Technical Summary

Technical Problem

Bird feeders are set up at high places, making them difficult to clean, and there are many types of sticky stains. A single cleaning method may result in poor cleaning results or high water consumption.

Method used

It uses a combination of infrared sensors and camera devices to generate stain information through video collection and stain recognition technology, determine the cleaning mode, and control the flushing and brushing devices for precise cleaning.

Benefits of technology

It realizes automated stain cleaning of bird feeders, reduces cleaning difficulty and water consumption, and improves cleaning efficiency and effect.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118649933A
    Figure CN118649933A
Patent Text Reader

Abstract

The embodiment of the invention discloses a bird feeder cleaning method and device, electronic equipment and a computer readable medium. A specific embodiment of the method comprises the following steps: in response to the situation that an infrared sensor does not detect that a shelter exists on a climbing platform within a preset time length, acquiring a video acquired by a camera device within the preset time length as a target video; performing stain identification on the target video to generate a stain information set; determining a cleaning mode type corresponding to each piece of stain information in the stain information set according to the stain type and the stain viscosity included in the stain information; generating a cleaning task according to the stain information set and the cleaning mode type corresponding to the stain information; and controlling the flushing device and / or the scrubbing device to clean the climbing platform according to the cleaning task. According to the implementation mode, automatic stain cleaning is achieved, and the stain cleaning difficulty is greatly reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Embodiments of the present disclosure relate to the field of computer technology, and in particular to a bird feeder cleaning method, device, electronic device, and computer-readable medium. Background Art

[0002] A bird feeder is a device set up outdoors that attracts birds by providing them with food so that images of the birds eating can be captured. Images captured by bird feeders can be used to analyze bird distribution and bird migration patterns. However, when birds eat the food provided by the bird feeder, they will produce excrement on the bird feeder, thereby contaminating the bird feeder.

[0003] Furthermore, when the above method is adopted, the following technical problems often occur:

[0004] First, bird feeders are often placed at high locations, and manual cleaning is difficult;

[0005] Second, there are many types of stains on bird feeders, and using a single cleaning method may result in poor cleaning results or high water consumption.

[0006] The above information disclosed in this Background section is only for enhancement of understanding of the background of the inventive concept and therefore it may contain information that does not form the prior art that is already known to a person of ordinary skill in the art. Summary of the invention

[0007] The content of this disclosure is used to introduce concepts in a brief form, which will be described in detail in the detailed implementation section below. The content of this disclosure is not intended to identify the key features or essential features of the technical solution claimed for protection, nor is it intended to limit the scope of the technical solution claimed for protection.

[0008] Some embodiments of the present disclosure provide a bird feeder cleaning method, an apparatus, an electronic device, and a computer-readable medium to solve one or more of the technical problems mentioned in the above background technology section.

[0009] In a first aspect, some embodiments of the present disclosure provide a bird feeder cleaning method, which is applied to a bird feeder, wherein the bird feeder comprises: a bird feeder housing, a camera device, a flushing device, an infrared sensor, a food bowl, a scrubbing device, a climbing platform, a water tank and a bird food storage device, wherein the flushing device is connected to the water tank, the food bowl is connected to the bird food storage device, the water tank and the bird food storage device are arranged in the bird feeder housing, the camera device faces the climbing platform, the flushing device faces the climbing platform, the food bowl is arranged on the climbing platform, the climbing platform is obliquely connected to the bird feeder housing, the scrubbing device is arranged on the climbing platform, and the method comprises: in response to the infrared sensor at a preset If no obstruction is detected on the climbing platform within the preset time period, the video captured by the camera device within the preset time period is obtained as the target video; stain recognition is performed on the target video to generate a stain information set, wherein the stain information is used to describe the stains on the climbing platform, and the stain information in the stain information set includes: stain type, stain location and stain viscosity; according to the stain type and stain viscosity included in the stain information, the cleaning mode type corresponding to each stain information in the stain information set is determined; according to the stain information set and the cleaning mode type corresponding to the stain information, a cleaning task is generated; the flushing device and / or the scrubbing device are controlled to clean the climbing platform according to the cleaning task.

[0010] In a second aspect, some embodiments of the present disclosure provide an electronic device comprising: one or more processors; a storage device on which one or more programs are stored, and when the one or more programs are executed by the one or more processors, the one or more processors implement the method described in any implementation manner of the above-mentioned first aspect.

[0011] In a third aspect, some embodiments of the present disclosure provide a computer-readable medium having a computer program stored thereon, wherein when the program is executed by a processor, the method described in any implementation manner of the first aspect is implemented.

[0012] The above-mentioned various embodiments of the present disclosure have the following beneficial effects: through the bird feeder cleaning method of some embodiments of the present disclosure, the cleaning difficulty of the bird feeder is reduced. Specifically, the problem that makes the cleaning of the bird feeder difficult is that the bird feeder is often set at a higher position. Based on this, in some embodiments of the present disclosure, the bird feeder cleaning method, first, in response to the above-mentioned infrared sensor not detecting the presence of an obstruction on the above-mentioned climbing platform within a preset time length, obtain the video collected by the above-mentioned camera device within the above-mentioned preset time length as the target video. Through the image acquisition of the infrared sensor linked to the camera device, the camera device is prevented from performing image acquisition when there is no obstruction (for example, birds) on the climbing platform, thereby improving the video storage efficiency of the camera device. Secondly, stain recognition is performed on the above-mentioned target video to generate a stain information set, wherein the stain information is used to describe the stains on the above-mentioned climbing platform, and the stain information in the above-mentioned stain information set includes: stain type, stain location and stain viscosity. By combining the video to perform stain recognition, it is judged whether there are stains to be cleaned on the climbing platform (for example, bird excrement). Next, according to the stain type and stain viscosity included in the stain information, the cleaning mode type corresponding to each stain information in the above stain information set is determined. By combining the stain type and stain viscosity, a cleaning mode that matches it is determined. Further, according to the above stain information set and the cleaning mode type corresponding to the stain information, a cleaning task is generated. Finally, the above flushing device and / or the above scrubbing device are controlled to clean the above climbing platform according to the above cleaning task. In this way, the flushing device and / or the scrubbing device are combined to perform precise stain cleaning, thereby realizing automatic stain cleaning and greatly reducing the difficulty of stain cleaning. BRIEF DESCRIPTION OF THE DRAWINGS

[0013] The above and other features, advantages and aspects of the embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. Throughout the accompanying drawings, the same or similar reference numerals represent the same or similar elements. It should be understood that the drawings are schematic and that components and elements are not necessarily drawn to scale.

[0014] Figure 1 is a flow chart of some embodiments of a bird feeder cleaning method according to the present disclosure;

[0015] Figure 2 is a schematic diagram of the component layout of the components included in the bird feeder;

[0016] Figure 3 It is a schematic diagram of the positional relationship between the food bowl, the climbing platform and the scrubbing device;

[0017] Figure 4 is a schematic diagram of the clean area map after projection;

[0018] Figure 5It is a route diagram of the flushing route;

[0019] Figure 6 It is a schematic diagram of the structure of an electronic device suitable for implementing some embodiments of the present disclosure. DETAILED DESCRIPTION

[0020] Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as being limited to the embodiments set forth herein. On the contrary, these embodiments are provided to provide a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for exemplary purposes and are not intended to limit the scope of protection of the present disclosure.

[0021] It should also be noted that, for ease of description, only the parts related to the invention are shown in the drawings. In the absence of conflict, the embodiments and features in the embodiments of the present disclosure can be combined with each other.

[0022] It should be noted that the concepts such as "first" and "second" mentioned in the present disclosure are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units.

[0023] It should be noted that the modifications of "one" and "plurality" mentioned in the present disclosure are illustrative rather than restrictive, and those skilled in the art should understand that unless otherwise clearly indicated in the context, it should be understood as "one or more".

[0024] The names of the messages or information exchanged between multiple devices in the embodiments of the present disclosure are only used for illustrative purposes and are not used to limit the scope of these messages or information.

[0025] The present disclosure will be described in detail below with reference to the accompanying drawings and in conjunction with embodiments.

[0026] refer to Figure 1 , shows a process 100 of some embodiments of the bird feeder cleaning method according to the present disclosure. The bird feeder cleaning method comprises the following steps:

[0027] Step 101, in response to the infrared sensor not detecting the existence of an obstruction on the climbing platform within a preset time period, obtaining a video captured by a camera device within a preset time period as a target video.

[0028] In some embodiments, the execution subject (e.g., a computing device) of the bird feeder cleaning method may obtain the video captured by the camera device within a preset time period as the target video in response to the infrared sensor not detecting the existence of an obstruction on the climbing platform within a preset time period. For example, the infrared sensor did not detect the existence of an obstruction on the climbing platform from time T to time T+K. Therefore, the above-mentioned execution subject may use the video captured by the camera device from time T to time T+K as the above-mentioned target video. In practice, the above-mentioned bird feeder cleaning method is applied to bird feeders. For details, see Figure 2 The bird feeder shown in the figure includes a schematic diagram of the component layout of the components, wherein the bird feeder includes: a bird feeder housing 1, a camera device 2, a flushing device 3, an infrared sensor 4, a food bowl 5, a scrubbing device 6, a climbing platform 7, a water tank 8 and a bird food storage 9. The flushing device 3 is connected to the water tank 8. In practice, the flushing device 3 can be connected to the water tank 8 through a water pipe. Specifically, the water tank 8 is arranged at the top of the inside of the bird feeder housing 1, so that when the climbing platform 7 is infiltrated by the flushing device 3, the water in the water tank 8 can flow from the flushing device 3 to the climbing platform 7 by gravity. The food bowl 5 is connected to the bird food storage 9. In practice, an opening and closing valve is arranged between the food bowl 5 and the bird food storage 9. By controlling the opening and closing valve, the bird food in the bird food storage 9 can be controlled to flow into the food bowl 5. In addition, an infrared sensor can be arranged at the bottom of the bird food storage 9 to monitor the remaining amount of bird food stored in the bird food storage 9. Specifically, when there is bird food in the bird food storage 9, the infrared light emitted by the infrared sensor will be blocked. In order to avoid the power consumption caused by the infrared sensor being in a state of being always on, the infrared sensor can be linked with the opening and closing valve. When the opening and closing valve is closed, the infrared sensor set in the bird food storage 9 is turned on to detect the remaining amount of bird food. The water tank 8 and the bird food storage 9 are arranged in the bird feeder box 1. The camera device 2 faces the climbing platform 7. The flushing device 3 faces the climbing platform 7. In practice, the flushing device 3 may include a pressurizing device so that the flushing device can flush the climbing platform 7. The food bowl 5 is arranged on the climbing platform 7. The climbing platform 7 is obliquely connected to the bird feeder box 1, and the brushing device 6 is arranged on the climbing platform 7. In practice, the brushing device 6 is used to brush the upper surface of the climbing platform 7. Specifically, the brushing device 6 includes a brush wheel and a brush wheel fixing device. The brush wheel is used to brush the upper surface of the climbing platform. A groove is provided on the side of the climbing platform 7. The brush wheel fixing device is connected to the groove on the side of the climbing platform 7, and the brushing device is driven by a motor so that the brushing device 6 moves horizontally along the direction of the groove. Figure 3The schematic diagram of the positional relationship between the food bowl, the climbing platform and the scrubbing device is shown, wherein the food bowl 5 and the scrubbing device 6 are arranged parallel to the climbing platform 7. The movement direction of the scrubbing device 6 is parallel to the direction of the camera device 2.

[0029] It should be noted that the above-mentioned computing device can be hardware or software. When the computing device is hardware, it can be implemented as a single terminal device. When the computing device is embodied as software, it can be installed in the hardware devices listed above. It can be implemented as a single software or software module. No specific limitation is made here. In practice, the above-mentioned computing device can be a single chip microcomputer embedded in the above-mentioned bird feeder.

[0030] Step 102: Perform stain recognition on the target video to generate a stain information set.

[0031] In some embodiments, the above-mentioned execution subject may perform stain recognition on the target video to generate a stain information set. The stain information is used to describe the stains on the above-mentioned climbing platform. The stain information in the above-mentioned stain information set includes: stain type, stain location and stain viscosity. The stain type is used for the stain type of the stain. In practice, the stain types include: bird excrement type and non-bird excrement type. The stain location characterizes the location of the bird excrement on the climbing platform. The stain viscosity characterizes the viscosity of the stain on the climbing platform. In practice, especially for bird excrement, due to the different water content of bird excrement, the bird excrement presents the characteristics of flow or non-flow. In order to ensure the cleaning efficiency, different cleaning methods are required for bird excrement in different states. In practice, the above-mentioned execution subject can combine image recognition technology, such as using the YOLO (You Only Look Once) model, to perform stain recognition on the target video to generate a stain information set.

[0032] In some optional implementations of some embodiments, the execution subject performs stain recognition on the target video to generate a stain information set, which may include the following steps:

[0033] In the first step, the target video is downsampled to generate a downsampled video image and obtain a downsampled video image sequence.

[0034] In practice, when there are stains on the climbing platform, they will appear in multiple frames of continuous video images. Based on this, in order to reduce the data processing pressure of the execution subject, downsampling is adopted to reduce the number of images. Specifically, the execution subject can downsample the target video with a sampling interval of 5 frames to obtain the downsampled video image sequence.

[0035] As an example, the target video may include: video image A1, video image A2, video image A3, video image A4, video image A5, video image A6. Therefore, the obtained downsampled video image sequence may be [video image A1, video image A6].

[0036] In the second step, the first image feature extraction model is used to extract image features from each frame of the downsampled video image in the downsampled video image sequence to generate first image features and obtain a first image feature sequence.

[0037] The first image feature extraction model includes: a main feature extraction network, a feature extraction layer A, a feature extraction layer B, a feature extraction layer C and a feature superposition layer. The main feature extraction network is composed of three serially connected convolutional layers. The three convolutional layers included in the main feature extraction network have the same receptive field and the same output feature size. Feature extraction layer A, feature extraction layer B and feature extraction layer C are connected to the main feature extraction network in parallel. The convolution kernel size of feature extraction layer A is 1×1. The convolution kernel size of feature extraction layer B is 3×3. The convolution kernel size of feature extraction layer C is 5×5. The feature superposition layer is used to perform feature superposition on the features output by feature extraction layer A, feature extraction layer B and feature extraction layer C to obtain the first image feature.

[0038] The second step is to determine the image feature correlation between the first image features of every two adjacent frames in the first image feature sequence.

[0039] In practice, the execution subject may determine the image feature correlation between the first image features of every two adjacent frames by calculating the cosine similarity.

[0040] In the third step, the first image features in the first image feature sequence are grouped according to the image feature association degrees corresponding to the first image features to obtain a first image feature group sequence.

[0041] As an example, the first image feature sequence includes: first image feature A1, first image feature A2, first image feature A3, first image feature A4. The image feature correlation degree corresponding to the first image feature A1 and the first image feature A2 is B1, the image feature correlation degree corresponding to the first image feature A2 and the first image feature A3 is B2, and the image feature correlation degree corresponding to the first image feature A4 and the first image feature A5 is B3. The difference between the image feature correlation degree B1 and the image feature correlation degree B2 is less than or equal to △, and the difference between the image feature correlation degree B2 and the image feature correlation degree B3 is greater than △. Therefore, the first image feature A1, the first image feature A2, and the first image feature A3 constitute the first image feature group C1. The first image feature A4 constitutes the first image feature group C2.

[0042] In the fourth step, a second image feature extraction model is used to extract temporal features from each first image feature group in the first image feature group sequence to generate second image features and obtain a second image feature sequence.

[0043] The second image feature extraction adopts the RNN (Recurrent Neural Network) model structure. Since there is a temporal sequence between the first image features included in each first image feature group, the second image feature extraction model can be used to extract the temporal sequence features of each first image feature in the first image feature group to obtain the second image feature.

[0044] Step 5: For each second image feature in the second image feature sequence, perform the following processing steps:

[0045] The first sub-step is to generate the stain type included in the stain information corresponding to the second image feature in the stain information set by using a stain type classifier and the second image feature.

[0046] In practice, the stain type classifier comprises a plurality of fully connected layers connected in series. The stain type classifier is a multi-classifier for generating stain types.

[0047] The second sub-step is to generate the stain position included in the stain information corresponding to the second image feature in the stain information set by using a stain locator and the second image feature.

[0048] In practice, the stain locator uses the Head module in the YOLO model. Specifically, the head module in YOLOV3 can be used.

[0049] The third sub-step is to generate the stain viscosity included in the stain information corresponding to the second image feature in the stain information set by using the stain viscosity predictor and the second image feature.

[0050] The first image feature extraction model, the second image feature extraction model, the stain classifier, the stain locator and the stain viscosity predictor are included in the stain information generation model. In practice, the stain viscosity predictor is a multi-classifier. Specifically, the stain viscosity predictor corresponds to 10 viscosity levels.

[0051] Step 103: Determine the cleaning mode type corresponding to each stain information in the stain information set according to the stain type and stain viscosity included in the stain information.

[0052] In some embodiments, the above-mentioned execution subject can determine the cleaning mode type corresponding to each stain information in the stain information set according to the stain type and stain viscosity included in the stain information. Among them, the cleaning mode type represents the cleaning mode for the climbing platform. In practice, due to the different distribution and types of stains, especially bird excrement on the climbing platform, the use of a single cleaning method, such as high-pressure flushing with a flushing device, may result in low water utilization efficiency. For example, for fluid bird excrement, the use of high-pressure flushing will cause a waste of water resources, thereby resulting in low water utilization efficiency. For another example, for non-fluid bird excrement with high stain viscosity, the use of non-high-pressure flushing may result in poor cleaning effect. In addition, for non-fluid bird excrement with high stain viscosity, only the use of a brushing device may cause the bird excrement to further remain on the climbing platform, resulting in poor cleaning effect.

[0053] In some optional implementations of some embodiments, the execution subject determines the cleaning mode type corresponding to each stain information in the stain information set according to the stain type and stain viscosity included in the stain information, which may include the following steps:

[0054] The first step is to generate a stain type vector corresponding to the stain type included in the stain information.

[0055] In practice, since the number of stain types is limited, a one-hot encoding method can be used to generate a stain type vector corresponding to the stain type included in the above stain information.

[0056] In the second step, a cleaning mode type corresponding to the above stain information is generated according to the above stain type vector, the stain viscosity and a pre-trained cleaning mode type decision model.

[0057] The cleaning mode decision model includes: a decision node corresponding to the first cleaning mode type, a decision node corresponding to the second cleaning mode type, a decision node corresponding to the third cleaning mode type, a decision node corresponding to the fourth cleaning mode type, a decision node corresponding to the fifth cleaning mode type, and a decision node corresponding to the sixth cleaning mode type. The first cleaning mode type represents a cleaning mode of immersion and scrubbing, the second cleaning mode type represents a cleaning mode of immersion and rinsing, the third cleaning mode type represents a cleaning mode of scrubbing, the fourth cleaning mode type represents a cleaning mode of rinsing, the fifth cleaning mode type uses a cleaning mode of rinsing and scrubbing, and the sixth cleaning mode type represents a cleaning mode of immersion, rinsing, and scrubbing. In practice, the cleaning mode decision model is implemented using a random forest algorithm.

[0058] Step 104: Generate a cleaning task according to the stain information set and the cleaning mode type corresponding to the stain information.

[0059] In some embodiments, the execution subject may generate a cleaning task based on the stain information set and the cleaning mode type corresponding to the stain information. The cleaning task represents a control task for the flushing device and / or the scrubbing device. In practice, the execution subject may generate a control task for the flushing device and / or the scrubbing device as a cleaning task in combination with the stain information set and the cleaning mode type corresponding to the stain information.

[0060] In some optional implementations of some embodiments, the execution subject generates a cleaning task according to the stain information set and the cleaning mode type corresponding to the stain information, which may include the following steps:

[0061] In the first step, for each stain information in the stain information set, according to the stain position included in the stain information, the cleaning mode type corresponding to the stain information is projected into the initial cleaning area map.

[0062] The initial cleaning area map is a map obtained by dividing the climbing platform into cleaning area grids.

[0063] In the second step, along the direction of the flushing device, the obtained post-projection cleaning area map is updated by voting on the cleaning mode to generate a global cleaning mode type for the post-projection cleaning area map.

[0064] As an example, refer to Figure 4The schematic diagram of the post-projection cleaning area diagram is shown, wherein, since the upper part of the climbing platform is used to place the food bowl, the area where the food bowl is located does not involve cleaning, and thus grid division is not required. Specifically, the stain information set may include: stain information A, stain information B, stain information C, stain information D, stain information E, stain information F, and stain information G. In practice, the above-mentioned execution subject can vote and update the cleaning mode for each column in the post-projection cleaning area diagram along the direction of the flushing device. Specifically, taking the third column where stain information A, stain information C and stain information E are located as an example, the cleaning mode type corresponding to stain information A is the fifth cleaning mode type. The cleaning mode type corresponding to stain information C is the third cleaning mode type. The cleaning mode type corresponding to stain information E is the fifth cleaning mode type. Among them, the third cleaning mode type represents a cleaning mode using brushing. The fifth cleaning mode type uses a cleaning mode of flushing and brushing. Therefore, the third column is updated to the fifth cleaning mode type. In practice, when the ratio of the cleaning mode types corresponding to the stain information in the column is 1, for example, the cleaning modes corresponding to a column are the fifth cleaning mode type and the third cleaning mode type. Among them, the number of stain information corresponding to the fifth cleaning mode type is the same as the number of stain information corresponding to the third cleaning mode type. At this time, the cleaning mode types corresponding to the columns can be updated in a priority manner. Among them, the priority of the sixth cleaning mode type>the priority of the fifth cleaning mode type>the priority of the second cleaning mode type>the priority of the first cleaning mode type>the priority of the fourth cleaning mode type>the priority of the third cleaning mode type. In practice, the above-mentioned execution subject can use the updated cleaning mode type corresponding to each column as the above-mentioned global cleaning mode type. Specifically, in order to simplify the cleaning task, the above-mentioned execution subject can re-vote the cleaning mode for the updated cleaning mode types corresponding to the first column, the second column and the third column, and re-vote the cleaning mode for the updated cleaning mode types corresponding to the fourth column, the fifth column and the sixth column to obtain the global cleaning mode type. In order to further simplify the cleaning task, the cleaning mode voting of each column included in the projection cleaning area map can also be re-updated to obtain the global cleaning mode type.

[0065] The third step is to generate the cleaning task according to the global cleaning mode type and the stain position included in the stain information in the stain information set.

[0066] The cleaning task includes: the global cleaning mode type and the stain position included in the stain information.

[0067] Step 105 , controlling the flushing device and / or the scrubbing device to clean the climbing platform according to the cleaning task.

[0068] In some embodiments, the execution subject may control a flushing device and / or a scrubbing device to clean the climbing platform according to the cleaning task. In practice, for example, the execution subject may control a flushing device to flush the stain position corresponding to the stain position included in the stain information. For another example, the scrubbing device may be controlled to scrub the stain position corresponding to the stain position included in the stain information. For another example, the execution subject may control a flushing device and a scrubbing device at the same time to flush and scrub the stain position included in the stain information.

[0069] In some optional implementations of some embodiments, controlling the flushing device and / or the scrubbing device to clean the climbing platform according to the cleaning task may include the following steps:

[0070] The first step is to generate the infiltration route.

[0071] The above-mentioned wetting route represents the route along which the above-mentioned flushing device wetting the platform surface of the above-mentioned climbing platform. The wetting route may be a route parallel to the scrubbing device. In practice, since the purpose of wetting is to spray water evenly on the climbing platform, and since the climbing platform is inclined, gravity can be used to make the water wetting the climbing platform along the direction of the water flow, wherein the direction of the water flow is perpendicular to the wetting route.

[0072] In the second step, a scrubbing route is generated according to the stain position included in the stain information in the stain information set.

[0073] The scrubbing route represents the route along which the scrubbing device scrubs the surface of the climbing platform. Since the scrubbing device moves up and down along the climbing platform, the scrubbing route may be a route parallel to the direction of the flushing device.

[0074] The third step is to generate a flushing route according to the stain position included in the stain information in the stain information set.

[0075] The flushing route represents the route along which the flushing device flushes the surface of the climbing platform. In practice, the execution subject may generate a route that runs through the stain positions included in each stain information in the stain information set as the flushing route. Specifically, in order to save water, a horizontal path may be preferentially used as the main path of the flushing route. Specifically, the flushing route may refer to Figure 5 Schematic diagram of the flushing route shown.

[0076] In the fourth step, in response to the global cleaning mode type being the first cleaning mode type, the following first cleaning step is performed:

[0077] The first sub-step is to start the above-mentioned brushing device and the above-mentioned flushing device.

[0078] The second sub-step is, in response to successful startup, controlling the flushing device to wet the platform surface of the climbing platform along the wetting route.

[0079] The third sub-step is, in response to the completion of the wetting, controlling the scrubbing device to scrub the platform surface of the climbing platform along the scrubbing route.

[0080] Step 5: In response to the global cleaning mode type being the second cleaning mode type, performing the following second cleaning step:

[0081] The first sub-step is to start the above-mentioned flushing device.

[0082] The second sub-step is, in response to successful startup, controlling the flushing device to wet the platform surface of the climbing platform along the wetting route.

[0083] The third sub-step is, in response to the completion of the wetting, controlling the flushing device to flush the platform surface of the climbing platform along the flushing route.

[0084] Step 6: In response to the global cleaning mode type being the third cleaning mode type, performing the following third cleaning step:

[0085] The first sub-step is to start the above-mentioned scrubbing device.

[0086] The second sub-step is, in response to successful startup, controlling the scrubbing device to scrub the platform surface of the climbing platform along the scrubbing route.

[0087] Step 7: In response to the global cleaning mode type being the fourth cleaning mode type, performing the following fourth cleaning step:

[0088] The first sub-step is to start the flushing device.

[0089] The second sub-step is, in response to successful startup, controlling the flushing device to flush the platform surface of the climbing platform along the flushing route.

[0090] In step 8, in response to the global cleaning mode type being the fifth cleaning mode type, performing the following fifth cleaning step:

[0091] The first sub-step is to start the flushing device and the brushing device.

[0092] The second sub-step, in response to successful startup, controls the flushing device to flush the platform surface of the climbing platform along the flushing route, and controls the scrubbing device to scrub the platform surface of the climbing platform along the scrubbing route.

[0093] In step 9, in response to the global cleaning mode type being the sixth cleaning mode type, performing the following sixth cleaning step:

[0094] The first sub-step is to start the flushing device and the brushing device.

[0095] The second sub-step is, in response to successful startup, controlling the flushing device to wet the platform surface of the climbing platform along the wetting route.

[0096] The third sub-step, in response to the completion of the wetting, controls the flushing device to flush the platform surface of the climbing platform along the flushing route, and controls the brushing device to brush the platform surface of the climbing platform along the brushing route.

[0097] The content of "in some optional implementation methods of the embodiments" in the above steps 102, 103, 104, and 105, as an inventive point of the present disclosure, solves the second technical problem mentioned in the background technology, namely, "the stains sticking to the bird feeder correspond to many types of stains, and the use of a single cleaning method may have the problem of poor cleaning effect or high water consumption". In practice, different stains often require different cleaning modes, and the viscosity of the stains also affects the cleaning method of the stains. Based on this, the present disclosure first combines the stain information generation model to determine the stains on the climbing platform from the perspective of stain type, stain location and stain viscosity. In addition, considering the limited computing power of the execution subject and for the accuracy of stain recognition, the present disclosure reduces the number of images processed by the execution subject by downsampling the target video. In addition, the first image feature extraction model and the second image feature extraction model are combined to extract image features from different receptive fields and time scales respectively to ensure the subsequent stain positioning accuracy. In addition, the present disclosure refines a variety of cleaning mode types to target different cleaning scenarios and optimize cleaning tasks based on this. Finally, according to different cleaning mode types, different cleaning strategies are implemented to perform refined climbing platform cleaning. As a result, the cleaning efficiency is greatly improved, while the utilization efficiency of water resources is also improved.

[0098] The above-mentioned various embodiments of the present disclosure have the following beneficial effects: through the bird feeder cleaning method of some embodiments of the present disclosure, the cleaning difficulty of the bird feeder is reduced. Specifically, the problem that makes the cleaning of the bird feeder difficult is that the bird feeder is often set at a higher position. Based on this, in some embodiments of the present disclosure, the bird feeder cleaning method, first, in response to the above-mentioned infrared sensor not detecting the presence of an obstruction on the above-mentioned climbing platform within a preset time length, obtain the video collected by the above-mentioned camera device within the above-mentioned preset time length as the target video. Through the image acquisition of the infrared sensor linked to the camera device, the camera device is prevented from performing image acquisition when there is no obstruction (for example, birds) on the climbing platform, thereby improving the video storage efficiency of the camera device. Secondly, stain recognition is performed on the above-mentioned target video to generate a stain information set, wherein the stain information is used to describe the stains on the above-mentioned climbing platform, and the stain information in the above-mentioned stain information set includes: stain type, stain location and stain viscosity. By combining the video to perform stain recognition, it is judged whether there are stains to be cleaned on the climbing platform (for example, bird excrement). Next, according to the stain type and stain viscosity included in the stain information, the cleaning mode type corresponding to each stain information in the above stain information set is determined. By combining the stain type and stain viscosity, a cleaning mode that matches it is determined. Further, according to the above stain information set and the cleaning mode type corresponding to the stain information, a cleaning task is generated. Finally, the above flushing device and / or the above scrubbing device are controlled to clean the above climbing platform according to the above cleaning task. In this way, the flushing device and / or the scrubbing device are combined to perform precise stain cleaning, thereby realizing automatic stain cleaning and greatly reducing the difficulty of stain cleaning.

[0099] Reference below Figure 6 , which shows a structural schematic diagram of an electronic device (eg, a computing device) 600 suitable for implementing some embodiments of the present disclosure. Figure 6 The electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.

[0100] like Figure 6 As shown, the electronic device 600 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 601, which can perform various appropriate actions and processes according to a program stored in a read-only memory 602 or a program loaded from a storage device 608 into a random access memory 603. Various programs and data required for the operation of the electronic device 600 are also stored in the random access memory 603. The processing device 601, the read-only memory 602, and the random access memory 603 are connected to each other via a bus 604. An input / output interface 605 is also connected to the bus 604.

[0101] Typically, the following devices may be connected to the I / O interface 605: an input device 606 including, for example, a touch screen, a touch pad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; an output device 607 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a storage device 608 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 609. The communication device 609 may allow the electronic device 600 to communicate with other devices wirelessly or by wire to exchange data. Although Figure 6 The electronic device 600 is shown with various devices, but it should be understood that it is not required to implement or possess all the devices shown. More or fewer devices may be implemented or possessed instead. Figure 6 Each block shown in the figure may represent one device, or may represent multiple devices as required.

[0102] In particular, according to some embodiments of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, some embodiments of the present disclosure include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In some such embodiments, the computer program can be downloaded and installed from a network through a communication device 609, or installed from a storage device 608, or installed from a read-only memory 602. When the computer program is executed by the processing device 601, the above-mentioned functions defined in the method of some embodiments of the present disclosure are executed.

[0103] It should be noted that the computer-readable medium recorded in some embodiments of the present disclosure may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In some embodiments of the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, device or device. In some embodiments of the present disclosure, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries a computer-readable program code. This propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. The computer readable signal medium may also be any computer readable medium other than a computer readable storage medium, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer readable medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.

[0104] In some embodiments, the client and the server may communicate using any currently known or future developed network protocol such as HTTP (Hyper Text Transfer Protocol), and may be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), an internet (e.g., the Internet), and a peer-to-peer network (e.g., an ad hoc peer-to-peer network), as well as any currently known or future developed network.

[0105] The computer-readable medium may be included in the electronic device; or it may exist independently without being assembled into the electronic device. The computer-readable medium carries one or more programs. When the one or more programs are executed by the electronic device, the electronic device: in response to the infrared sensor not detecting the existence of an obstruction on the climbing platform within a preset time, obtain the video captured by the camera device within the preset time as the target video; perform stain recognition on the target video to generate a stain information set, wherein the stain information is used to describe the stains on the climbing platform, and the stain information in the stain information set includes: stain type, stain location and stain viscosity; determine the cleaning mode type corresponding to each stain information in the stain information set according to the stain type and stain viscosity included in the stain information; generate a cleaning task according to the stain information set and the cleaning mode type corresponding to the stain information; control the flushing device and / or the scrubbing device to clean the climbing platform according to the cleaning task.

[0106] Computer program code for performing the operations of some embodiments of the present disclosure may be written in one or more programming languages ​​or a combination thereof, including object-oriented programming languages ​​such as Java, Smalltalk, C++, and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0107] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some implementations as replacements, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0108] The functions described above herein may be performed at least in part by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), and the like.

[0109] The above descriptions are only some preferred embodiments of the present disclosure and an explanation of the technical principles used. Those skilled in the art should understand that the scope of the invention involved in the embodiments of the present disclosure is not limited to the technical solutions formed by a specific combination of the above-mentioned technical features, but should also cover other technical solutions formed by any combination of the above-mentioned technical features or their equivalent features without departing from the above-mentioned inventive concept. For example, the above-mentioned features are replaced with the technical features with similar functions disclosed in the embodiments of the present disclosure (but not limited to) and the technical solutions formed.

Claims

1. A bird feeder cleaning method, applied to a bird feeder, wherein: The bird feeder comprises: a bird feeder housing, a camera device, a flushing device, an infrared sensor, a food bowl, a scrubbing device, a climbing platform, a water tank and a bird food storage device, wherein the flushing device is connected to the water tank, the food bowl is connected to the bird food storage device, the water tank and the bird food storage device are arranged in the bird feeder housing, the camera device faces the climbing platform, the flushing device faces the climbing platform, the food bowl is arranged on the climbing platform, the climbing platform is obliquely connected to the bird feeder housing, the scrubbing device is arranged on the climbing platform, and the method comprises: In response to the infrared sensor not detecting the existence of an obstruction on the climbing platform within a preset time period, acquiring a video captured by the camera device within the preset time period as a target video; Performing stain recognition on the target video to generate a stain information set, wherein the stain information is used to describe the stains on the climbing platform, and the stain information in the stain information set includes: stain type, stain location, and stain viscosity; Determine, according to the stain type and stain viscosity included in the stain information, the cleaning mode type corresponding to each stain information in the stain information set; Generate a cleaning task according to the stain information set and the cleaning mode type corresponding to the stain information; The flushing device and / or the brushing device are controlled to clean the climbing platform according to the cleaning task.

2. The method according to claim 1, wherein: The performing stain identification on the target video to generate a stain information set includes: Downsampling the target video to generate a downsampled video image and obtain a downsampled video image sequence; Performing image feature extraction on each frame of the downsampled video image in the downsampled video image sequence through a first image feature extraction model to generate a first image feature and obtain a first image feature sequence; Determine the image feature correlation between first image features of each two adjacent frames in the first image feature sequence; grouping the first image features in the first image feature sequence according to the image feature association degree corresponding to the first image feature to obtain a first image feature group sequence; Performing temporal feature extraction on each first image feature group in the first image feature group sequence by using a second image feature extraction model to generate second image features, thereby obtaining a second image feature sequence; For each second image feature in the second image feature sequence, the following processing steps are performed: Generate, by using a stain type classifier and the second image feature, a stain type included in the stain information corresponding to the second image feature in the stain information set; Generate a stain position included in the stain information corresponding to the second image feature in the stain information set by using a stain locator and the second image feature; The stain viscosity predictor and the second image feature are used to generate the stain viscosity included in the stain information corresponding to the second image feature in the stain information set, wherein the first image feature extraction model, the second image feature extraction model, the stain classifier, the stain locator and the stain viscosity predictor are included in the stain information generation model.

3. The method according to claim 2, wherein: The step of determining the cleaning mode type corresponding to each stain information in the stain information set according to the stain type and stain viscosity included in the stain information comprises: Generate a stain type vector corresponding to the stain type included in the stain information; According to the stain type vector, the stain viscosity and a pre-trained cleaning mode type decision model, a cleaning mode type corresponding to the stain information is generated, wherein the cleaning mode decision model includes: a decision node corresponding to the first cleaning mode type, a decision node corresponding to the second cleaning mode type, a decision node corresponding to the third cleaning mode type, a decision node corresponding to the fourth cleaning mode type, a decision node corresponding to the fifth cleaning mode type, and a decision node corresponding to the sixth cleaning mode type, the first cleaning mode type represents a cleaning mode using immersion and brushing, the second cleaning mode type represents a cleaning mode using immersion and rinsing, the third cleaning mode type represents a cleaning mode using brushing, the fourth cleaning mode type represents a cleaning mode using rinsing, the fifth cleaning mode type uses rinsing and brushing, and the sixth cleaning mode type represents a cleaning mode using immersion, rinsing and brushing.

4. The method according to claim 3, wherein: The generating of the cleaning task according to the stain information set and the cleaning mode type corresponding to the stain information includes: For each stain information in the stain information set, according to the stain position included in the stain information, the cleaning mode type corresponding to the stain information is projected into an initial cleaning area map, wherein the initial cleaning area map is a map after the climbing platform is grid-divided into cleaning areas; Along the direction of the flushing device, the obtained post-projection cleaning area map is voted and updated for a cleaning mode to generate a global cleaning mode type for the post-projection cleaning area map; The cleaning task is generated according to the global cleaning mode type and the stain position included in the stain information in the stain information set.

5. The method according to claim 4, wherein: The controlling the flushing device and / or the scrubbing device to clean the climbing platform according to the cleaning task comprises: generating a wetting route, wherein the wetting route represents a route along which the flushing device wets a platform surface of the climbing platform; generating a brushing route according to the stain position included in the stain information in the stain information set, wherein the brushing route represents a route along which the brushing device brushes the platform surface of the climbing platform; generating a flushing route according to the stain position included in the stain information in the stain information set, wherein the flushing route represents a route for the flushing device to flush the platform surface of the climbing platform; In response to the global cleaning mode type being the first cleaning mode type, performing the following first cleaning step: Start the scrubbing device and the flushing device; In response to successful startup, controlling the flushing device to wet the platform surface of the climbing platform along the wetting route; In response to the completion of the wetting, controlling the brushing device to brush the platform surface of the climbing platform along the brushing route; In response to the global cleaning mode type being the second cleaning mode type, performing the following second cleaning step: Starting the flushing device; In response to successful startup, controlling the flushing device to wet the platform surface of the climbing platform along the wetting route; In response to the completion of the wetting, controlling the flushing device to flush the platform surface of the climbing platform along the flushing route; In response to the global cleaning mode type being the third cleaning mode type, performing the following third cleaning step: Starting the scrubbing device; In response to successful startup, controlling the brushing device to brush the platform surface of the climbing platform along the brushing route; In response to the global cleaning mode type being the fourth cleaning mode type, performing the following fourth cleaning step: Start the flushing device; In response to successful startup, controlling the flushing device to flush the platform surface of the climbing platform along the flushing route; In response to the global cleaning mode type being the fifth cleaning mode type, performing the following fifth cleaning step: Start the flushing device and the scrubbing device; In response to successful startup, controlling the flushing device to flush the platform surface of the climbing platform along the flushing route, and controlling the brushing device to brush the platform surface of the climbing platform along the brushing route; In response to the global cleaning mode type being the sixth cleaning mode type, performing the following sixth cleaning step: Start the flushing device and the scrubbing device; In response to successful startup, controlling the flushing device to wet the platform surface of the climbing platform along the wetting route; In response to the completion of the wetting, the flushing device is controlled to flush the platform surface of the climbing platform along the flushing route, and the brushing device is controlled to brush the platform surface of the climbing platform along the brushing route.

6. An electronic device comprising: one or more processors; a storage device having one or more programs stored thereon; When the one or more programs are executed by the one or more processors, the one or more processors implement the method according to any one of claims 1 to 5.

7. A computer readable medium having a computer program stored thereon, wherein: When the computer program is executed by a processor, the method according to any one of claims 1 to 5 is implemented.

Citation Information

Cited By

  • Urban high-rise glass curtain wall cleaning method based on unmanned aerial vehicle group

    CN119558624A

  • A method for cleaning glass curtain walls of urban high-rise buildings based on a drone swarm

    CN119558624B

  • Unmanned aerial vehicle deploying system applied to cleaning of large photovoltaic base station

    CN119558625A

  • An unmanned aerial vehicle deployment system for cleaning large-scale photovoltaic base stations

    CN119558625B

  • Cleaning method for photovoltaic panel in mountain photovoltaic base station based on unmanned aerial vehicle group

    CN119813941A