Kitchen scene tool understanding method and system based on availability segmentation network

By using the affordance segmentation network and the monocular depth prediction network in the kitchen environment, combined with the dark channel prior method and the feature depth fusion module, the problem of distinguishing background, kitchen utensils and dishes in the kitchen environment is solved, and the detection precision and accuracy are improved. , reducing training costs and time, and achieving efficient affordance mask segmentation of kitchen utensils and dishes.

CN118864862AActive Publication Date: 2024-10-29HUNAN UNIV

Patent Information

Application Number
CN202411324813.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-23
Publication Date
2024-10-29
Estimated Expiration
2044-09-23

AI Technical Summary

Technical Problem

Existing affordance segmentation methods are difficult to effectively distinguish backgrounds, kitchen utensils, and dishes in the kitchen environment, and due to insufficient generalization capabilities, it is difficult to achieve accurate detection in complex scenes, especially when affected by oil smoke and steam, and model training costs and time are relatively high. high.

Method used

A detection and decoding network based on the affordance segmentation network is used, combined with the dark channel prior method for defogging, a monocular depth prediction network is used to obtain image depth information, and the feature information is fused through the feature depth fusion module to realize the visibility of kitchen utensils and dishes. Affordance mask and category mask segmentation to guide robot hand interaction with kitchen items.

Benefits of technology

It improves the detection precision and accuracy in kitchen scenes, reduces the interference of oil smoke and steam, eliminates the need for binocular cameras, reduces model training costs and time, and enhances affordance positioning accuracy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118864862A_ABST
    Figure CN118864862A_ABST
Patent Text Reader

Abstract

The invention discloses a kitchen scene tool understanding method and system based on an affordability segmentation network, and belongs to the technical field of affordability learning. According to the method, based on an availability segmentation detection decoding network, objects in a kitchen scene are subjected to background, kitchen ware and dish distinguishing, availability detection segmentation is carried out on the kitchen ware, an availability mask of the kitchen ware and a dish category mask are obtained, and interaction between a robot arm and kitchen supplies is guided; defogging operation is performed in combination with a dark channel prior method, so that image interference caused by indoor kitchen fume and the like is weakened, and the precision and accuracy of the availability segmentation network are improved; in combination with a monocular depth prediction network, image depth information is obtained, and a feature depth fusion module is used to obtain a fused depth feature image, so that the affordability positioning precision is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of affordance learning, and in particular relates to a kitchen scene tool understanding method and system based on an affordance segmentation network. Background Art

[0002] Affordance segmentation refers to the task of classifying or segmenting different regions or objects in an image according to the functions or behavioral potential they provide by analyzing and understanding the image in the field of computer vision. In computer vision, the affordance segmentation task aims to identify the functions or usage of objects in the image and map them to the corresponding semantic segmentation results. In practical applications, affordance segmentation tasks often use deep learning technology, especially methods in the fields of semantic segmentation and object detection, to train neural network models to achieve the recognition and segmentation of different functions of objects in the image.

[0003] With the development of technology, the existing semi-supervised and unsupervised methods of training image segmentation models based on principles such as knowledge distillation have gradually matured, making it possible to train models with high generalization capabilities or suitable for new environments with small data sets. For example, based on the pre-trained model (DINO), image features can be extracted through self-supervised learning and provided to subsequent models for training. The development of deep learning and artificial intelligence models has also made the method of obtaining depth data through monocular camera images increasingly mature. Without increasing the cost of using binocular depth cameras, it can provide depth information with the required accuracy for the establishment of data sets and model reasoning.

[0004] Existing affordance segmentation and positioning methods are mostly based on RGB images, and the information available for inference is slightly insufficient; at the same time, existing models use a large amount of labeled data sets for pixel-level supervised training, and the data set labeling and model training costs and time are high; in addition, due to the lack of generalization ability, existing models are difficult to implement functions in complex scenarios, and the application scenarios of affordance segmentation are usually more specific, so training data and segmentation models for specific application scenarios are required. For example, in a kitchen environment, the model needs to detect and identify targets in an indoor environment, and be able to eliminate interference that may be caused by kitchen fumes. Summary of the invention

[0005] The present invention discloses a kitchen scene tool understanding method and system based on an availability segmentation network. Based on the availability segmentation detection decoding network, the method distinguishes objects in the kitchen scene into three categories: background, kitchen utensils, and dishes, and performs availability detection segmentation on the kitchen utensils to obtain the availability mask of the kitchen utensils and the dish category mask, thereby guiding the interaction between a robot arm and kitchen utensils, thereby effectively solving at least one technical problem involved in the background technology.

[0006] To achieve the above object, the technical solution of the present invention is: A kitchen scene tool understanding method based on affordance segmentation network includes the following steps: Step 1: Collect kitchen scene images, build a dataset containing the elements in the scene, and obtain available real annotation masks; Step 2: preprocess the kitchen scene image, perform a defogging operation on the preprocessed image using a dark channel prior method to obtain a haze-free image, and input the haze-free image into a pre-trained self-supervised learning encoding network to obtain image feature information; Step 3, while performing a dehazing operation on the preprocessed image using a dark channel prior method, the kitchen scene image is input into a pre-trained monocular depth prediction model to obtain image depth information; Step 4: Input the image feature information and the image depth information into a feature depth fusion module to obtain a fused depth feature image, and input the fused depth feature image into an availability segmentation detection decoding network to obtain a position mask of the kitchenware functions that need to be used in the image and a dish position and category mask.

[0007] As a preferred improvement of the present invention, in step 1, the data set includes a training set, a test set and a validation set, and the training set, the test set and the validation set are divided in a ratio of 8:1:1.

[0008] As a preferred improvement of the present invention, the training set includes a training set of the experimenter interacting with the kitchen utensils in a kitchen scene from a third-person perspective and a training set of only one type of kitchen utensils under a solid color background from a first-person perspective; the first-person perspective refers to the image content being an observation perspective of the kitchen utensils under a solid color background; the third-person perspective refers to the image content being an operation perspective in an actual kitchen scene.

[0009] As a preferred improvement of the present invention, in step 2, the preprocessing of the kitchen scene image includes cropping the image into an image of a size of 224×224.

[0010] As a preferred improvement of the present invention, in step 2, the image feature information includes a pixel-level category label map and an image feature vector, the pixel-level category label map is used for structural scoring of availability model training, and the image feature vector is used for availability reasoning detection.

[0011] As a preferred improvement of the present invention, in step three, the image depth information includes pixel-level original image depth information.

[0012] As a preferred improvement of the present invention, in step four, the feature depth fusion module includes a depth information feature extraction module and an information fusion module; the depth information feature extraction module is used to extract feature information from the image depth information; the information fusion module is used to fuse the image feature information with the feature information obtained from the image depth information.

[0013] The present invention also provides a kitchen scene tool understanding system based on an affordance segmentation network, comprising: The dataset construction module is used to collect kitchen scene images, construct a dataset containing the elements in the scene, and obtain the real annotation mask of the availability; An image feature information acquisition module is used to preprocess the kitchen scene image, perform a defogging operation on the preprocessed image by a dark channel prior method to obtain a haze-free image, and input the haze-free image into a pre-trained self-supervised learning encoding network to obtain image feature information; An image depth information acquisition module is used to input the kitchen scene image into a pre-trained monocular depth prediction model to obtain image depth information while performing a defogging operation on the pre-processed image using a dark channel prior method; The mask acquisition module is used to input the image feature information and the image depth information into the feature depth fusion module to obtain a fused depth feature image, and input the fused depth feature image into the availability segmentation detection decoding network to obtain the position mask of the kitchenware function that needs to be used in the image and the dish position and category mask.

[0014] The beneficial effects of the present invention are as follows: 1. Based on the availability segmentation detection decoding network, the present invention distinguishes the objects in the kitchen scene into three categories: background, kitchen utensils, and dishes, and performs availability detection segmentation on the kitchen utensils to obtain the availability mask of the kitchen utensils and the dish category mask, thereby guiding the interaction between the robot arm and kitchen utensils; 2. The present invention proposes to use the dark channel priori method of outdoor environment defogging for the removal of oil smoke in indoor kitchen scenes, which reduces the interference of indoor kitchen oil smoke, steam, etc. on image data and improves the detection precision and accuracy; 3. The present invention combines a monocular depth prediction network to enrich image features, and uses a feature depth fusion module to obtain a depth feature image, eliminating the need for a binocular camera and improving the availability positioning accuracy. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for describing the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative work, among which: Figure 1 It is a process framework diagram of a kitchen scene tool understanding method based on an affordance segmentation network of the present invention; Figure 2 This is a structural framework diagram of a kitchen scene tool understanding system based on an availability segmentation network according to the present invention. DETAILED DESCRIPTION

[0016] The technical solutions in the embodiments of the present invention will be described clearly and completely below in combination with the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0017] It should be noted that all directional indications (such as up, down, left, right, front, back, etc.) in the embodiments of the present invention are only used to explain the relative position relationship, movement status, etc. between the components under a certain specific posture (as shown in the accompanying drawings). If the specific posture changes, the directional indication will also change accordingly.

[0018] In addition, in the present invention, descriptions such as "first", "second", etc. are only used for descriptive purposes and cannot be understood as indicating or implying their relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" or "second" may explicitly or implicitly include at least one of the features. In the description of the present invention, the meaning of "plurality" is at least two, such as two, three, etc., unless otherwise clearly and specifically defined.

[0019] In the present invention, unless otherwise clearly specified and limited, the terms "connection", "fixation", etc. should be understood in a broad sense. For example, "fixation" can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, it can be the internal connection of two elements or the interaction relationship between two elements, unless otherwise clearly defined. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0020] In addition, the technical solutions between the various embodiments of the present invention can be combined with each other, but it must be based on the fact that ordinary technicians in the field can implement it. When the combination of technical solutions is contradictory or cannot be implemented, it should be deemed that such combination of technical solutions does not exist and is not within the scope of protection required by the present invention.

[0021] This paper proposes a kitchen scene tool understanding method based on affordance segmentation network. Figure 1 As shown, the following steps are included: Step 1: Collect kitchen scene images, build a dataset containing the elements in the scene, and obtain available real annotation masks; Specifically, the dataset includes a training set, a test set, and a validation set, which are divided in a ratio of 8:1:1. The dataset mainly comes from ADK20, EPIC-KITCHENS, and Kitchen Scenes, from which images containing people, kitchen utensils, and dishes and their true annotation masks are selected.

[0022] The training sets used include two groups. The first training set is a dataset of the interaction between the experimenter and kitchen utensils in a kitchen scene from a third-person perspective. It only contains image-level annotations of the interaction objects, interaction content and corresponding affordances, but does not contain pixel-level annotation masks. The second training set is a training set from a first-person perspective that only contains one type of kitchen utensils against a solid color background. It only contains image-level annotations of the corresponding affordances of the kitchen utensils in the image, but does not contain pixel-level annotation masks.

[0023] Among them, the first-person perspective refers to the image content being an observation perspective of kitchen utensils against a solid color background; the third-person perspective refers to the image content being an operation perspective in an actual kitchen scene.

[0024] Images with the same image-level annotations in the two training sets are trained simultaneously and sequentially, and the results are tested on the test set containing pixel-level ground-truth annotation masks.

[0025] Step 2: Preprocess the kitchen scene image, perform defogging on the preprocessed image using a dark channel prior method to obtain a fog-free image, and input the fog-free image into a pre-trained self-supervised learning encoding network to obtain image feature information. ; The dark channel prior method first estimates the dark channel of the input image, estimates the fog concentration in the image by calculating the pixel values ​​on the dark channel, corrects the brightness and contrast of the input image to restore the image, and improves the effect of model feature extraction through the dehazed image.

[0026] Specifically, the input image I is a three-channel RGB image of size 256×256. First, the image is converted into an image P of size 224×224 by random cropping, that is: ;

[0027] Then, the dark channel prior method is applied to defog the cropped image P, that is, the dark channel image needs to be calculated first : ; in, Indicates is the window centered on, c represents the color channel, and x and y represent each horizontal and vertical pixel on the image P.

[0028] Then estimate the atmospheric light intensity A and the perspective map t, and finally restore the fog-free image : ; The final fog-free image As output, the image is divided into 16×16 blocks and then fed into the feature extraction model. In the example above, we obtain the image feature information of the input image. .

[0029] Step 3: While defogging the preprocessed image using the dark channel prior method, the kitchen scene image is also input into the pre-trained monocular depth prediction model Depth Anythig to obtain the image depth information. ; Specifically, we first normalize the input image and scale the pixel values ​​to the [0, 1] interval to eliminate the impact of illumination changes, improve the generalization ability of the model, and accelerate model convergence: ; in, is the pixel position in the image, c is the color channel, and are the mean and standard deviation of channel c respectively.

[0030] Then, the normalized image Input into the Depth Anythig model to obtain a depth map D of size 224×224 containing a pixel-level depth annotation mask: ; Then, in order to extract the feature information in the depth map, the depth map D is divided into 16×16 blocks and input Image depth information is extracted from the model .

[0031] Step 4: The image feature information With the image depth information Input to the feature depth fusion module to obtain the fused depth feature image , the fused depth feature image Input to the availability segmentation detection decoding network LOCATE to obtain the location mask of the availability functions of the kitchen utensils and dishes that need to be used in the image.

[0032] Among them, the feature depth fusion module includes a depth information feature extraction module and an information fusion module; the depth information feature extraction module is used to extract feature information from image depth information; the information fusion module is used to fuse the image feature information with the feature information obtained from the image depth information.

[0033] Specifically, the feature depth fusion module uses the feature information from the original RGB image and the feature information from the depth image. , where each are the feature vectors extracted in the previous steps. To fuse the two to obtain a new feature map , first calculate each about The attention weight ,express and The correlation between: ; Among them, score is a scoring function used to measure the correlation between two vectors; exp is the exponential function of the natural logarithm e.

[0034] Then, according to the calculated attention weight , for image feature information The feature vectors in are weighted averaged to obtain the image depth information Context Similarly, the image depth information can be The feature vectors in are weighted averaged to obtain information about image features. Context , the calculation formula is as follows: ; Finally, the context is represented as and Image depth information and image feature information Perform fusion and splicing operations to obtain the final features , and then the features Send it to the pre-trained model LOCATE to get the availability segmentation detection result A: ; Among them, A is the availability segmentation image with pixel-level availability label mask, which has the same size as the input image. Each pixel value in the availability map represents the availability probability of the pixel for a specific task.

[0035] Then, in order to obtain a clear segmentation result, a threshold T is set for thresholding processing, and the part exceeding the threshold is defined as the availability area: ; Among them, S is a binary segmentation map, the value 1 represents the available area, and the value 0 represents the non-available area.

[0036] like Figure 2 As shown, the present invention also provides a kitchen scene tool understanding system based on an affordance segmentation network, comprising a data set construction module 1, an image feature information acquisition module 2, an image depth information acquisition module 3 and a mask acquisition module 4.

[0037] The data set construction module 1 is used to collect kitchen scene images, construct a data set containing elements in the scene, and obtain available real annotation masks.

[0038] The image feature information acquisition module 2 is used to preprocess the kitchen scene image, perform a defogging operation on the preprocessed image through a dark channel prior method to obtain a haze-free image, and input the haze-free image into a pre-trained self-supervised learning encoding network to obtain image feature information.

[0039] The image depth information acquisition module 3 is used to input the kitchen scene image into a pre-trained monocular depth prediction model to obtain image depth information while performing a defogging operation on the pre-processed image through a dark channel prior method.

[0040] The mask acquisition module 4 is used to input the image feature information and the image depth information into a feature depth fusion module to obtain a fused depth feature image, and input the fused depth feature image into an availability segmentation detection decoding network to obtain a position mask of the kitchenware functions that need to be used in the image and a dish position and category mask.

[0041] The beneficial effects of the present invention are as follows: 1. Based on the availability segmentation detection decoding network, the present invention distinguishes the objects in the kitchen scene into three categories: background, kitchen utensils, and dishes, and performs availability detection segmentation on the kitchen utensils to obtain the availability mask of the kitchen utensils and the dish category mask, thereby guiding the interaction between the robot arm and kitchen utensils; 2. The present invention proposes to use the dark channel priori method of outdoor environment defogging for the removal of oil smoke in indoor kitchen scenes, which reduces the interference of indoor kitchen oil smoke, steam, etc. on image data and improves the detection precision and accuracy; 3. The present invention combines a monocular depth prediction network to enrich image features, and uses a feature depth fusion module to obtain a depth feature image, eliminating the need for a binocular camera and improving the availability positioning accuracy.

[0042] The embodiments of the present invention are described above in conjunction with the accompanying drawings, but the present invention is not limited to the above-mentioned specific implementation modes, which are merely illustrative rather than restrictive. Under the guidance of the present invention, ordinary technicians in this field can also make many forms without departing from the scope of protection of the present invention and the claims, all of which are within the protection of the present invention.

Claims

1. A kitchen scene tool understanding method based on affordance segmentation network, characterized in that: The following steps are involved: Step 1: Collect kitchen scene images, build a dataset containing the elements in the scene, and obtain available real annotation masks; Step 2: preprocess the kitchen scene image, perform a defogging operation on the preprocessed image using a dark channel prior method to obtain a haze-free image, and input the haze-free image into a pre-trained self-supervised learning encoding network to obtain image feature information; Step 3, while performing a dehazing operation on the preprocessed image using a dark channel prior method, the kitchen scene image is input into a pre-trained monocular depth prediction model to obtain image depth information; Step 4: Input the image feature information and the image depth information into a feature depth fusion module to obtain a fused depth feature image, and input the fused depth feature image into an availability segmentation detection decoding network to obtain a position mask of the kitchenware functions that need to be used in the image and a dish position and category mask.

2. The kitchen scene tool understanding method based on the affordance segmentation network according to claim 1 is characterized in that: In step 1, the data set includes a training set, a test set and a validation set, and the training set, the test set and the validation set are divided in a ratio of 8:1:

1.

3. The kitchen scene tool understanding method based on the affordance segmentation network according to claim 2 is characterized in that: The training set includes a training set in which an experimenter interacts with kitchen utensils in a kitchen scene from a third-person perspective and a training set in which only one type of kitchen utensils is contained in a solid color background from a first-person perspective; the first-person perspective refers to the image content being an observation perspective of kitchen utensils in a solid color background; the third-person perspective refers to the image content being an operation perspective in an actual kitchen scene.

4. The kitchen scene tool understanding method based on affordance segmentation network according to claim 1, characterized in that: In step 2, the kitchen scene image is preprocessed, including cropping the image into an image of size 224×224.

5. The kitchen scene tool understanding method based on affordance segmentation network according to claim 1, characterized in that: In step 2, the image feature information includes a pixel-level category label map and an image feature vector, wherein the pixel-level category label map is used for structural scoring of affordance model training, and the image feature vector is used for affordance reasoning detection.

6. The kitchen scene tool understanding method based on affordance segmentation network according to claim 1, characterized in that: In step three, the image depth information includes pixel-level original image depth information.

7. The kitchen scene tool understanding method based on affordance segmentation network according to claim 1, characterized in that: In step 4, the feature depth fusion module includes a depth information feature extraction module and an information fusion module; the depth information feature extraction module is used to extract feature information from the image depth information; the information fusion module is used to fuse the image feature information with the feature information obtained from the image depth information.

8. A kitchen scene tool understanding system based on an affordance segmentation network for running the method described in any one of claims 1 to 7, characterized in that: include: The dataset construction module is used to collect kitchen scene images, construct a dataset containing the elements in the scene, and obtain the real annotation mask of the availability; An image feature information acquisition module is used to preprocess the kitchen scene image, perform a defogging operation on the preprocessed image by a dark channel prior method to obtain a haze-free image, and input the haze-free image into a pre-trained self-supervised learning encoding network to obtain image feature information; An image depth information acquisition module is used to input the kitchen scene image into a pre-trained monocular depth prediction model to obtain image depth information while performing a defogging operation on the pre-processed image using a dark channel prior method; The mask acquisition module is used to input the image feature information and the image depth information into the feature depth fusion module to obtain a fused depth feature image, and input the fused depth feature image into the availability segmentation detection decoding network to obtain the position mask of the kitchenware function that needs to be used in the image and the dish position and category mask.

Citation Information

Patent Citations

  • Method and device for generating availability detection model, equipment and storage medium

    CN114580542A

  • Availability detection method and related device

    CN114863105A

  • Multi-Label Semantic Boundary Detection System

    US20180336683A1

  • Multi-task deep learning-based real-time matting method for non-green-screen portraits

    US20230005160A1

  • Surround scene perception using multiple sensors for autonomous systems and applications

    US20240020953A1

Cited By

  • Three-dimensional person-object interaction element prediction method based on first person video

    CN119625588A