Automatic roast sausage cooking method based on AI vision

Using AI vision technology to monitor the maturity of sausages in real time and intelligently adjust the temperature, combined with the automatic turning system, it solves the problems of high labor intensity and uneven baking of manual turning in traditional sausage making, and achieves consistent quality and efficiency of sausages. promote.

CN118526097APending Publication Date: 2024-08-23FUJIAN ANJOY FOODS CO LTD +7
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410858109.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-28
Publication Date
2024-08-23

AI Technical Summary

Technical Problem

The traditional grilled sausage making process requires manual turning, which is labor-intensive and difficult to ensure the baking uniformity and grilling effect. The existing automatic equipment lacks intelligent judgment and temperature adjustment, and cannot effectively prevent problems such as scorching and scorching.

Method used

Using an automatic cooking method based on AI vision, the maturity of the sausage is monitored in real time through the AI ​​visual analysis system, and the baking temperature is intelligently adjusted according to the maturity. Combined with the automatic turning system and intelligent temperature control, it ensures the temperature of the sausage in each grilling unit. Uniformity and quality.

Benefits of technology

It realizes the intelligent monitoring and precise control of the sausage baking process, ensures the consistency and superiority of the quality of the sausage, reduces labor costs, improves the sales efficiency of the sausage, and meets the demand for quick food in fast-paced life.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118526097A
    Figure CN118526097A
Patent Text Reader

Abstract

The invention relates to an AI vision-based automatic roasted sausage cooking method, which is realized through an intelligent sausage roasting machine, the intelligent sausage roasting machine comprises a machine body, a controller, an AI vision analysis system and an automatic turnover system, a roasting area is arranged in the machine body, and the roasting area is provided with a plurality of mutually independent roasting units; the AI visual analysis system comprises an image acquisition unit, an image processing unit and an AI model execution unit, the AI model execution unit is connected with the image processing unit and the controller, the controller is connected with the baking unit, and the controller controls the baking temperature of the baking unit according to a result output by the AI model execution unit. By integrating the AI visual technology and intelligent temperature control, intelligent monitoring and precise regulation and control of the sausage baking process are achieved, and the consistency and superiority of the sausage quality are guaranteed.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of food processing and automation equipment, and in particular to an automatic cooking method for grilled sausages based on AI vision. Background Art

[0002] As people's pace of life accelerates, the demand for fast and convenient food increases day by day. As a popular fast food, the market demand for grilled sausages continues to expand. There are some problems in the production and sales of traditional grilled sausages. For example, the grilled sausages need to be turned over manually during the baking process to ensure that the grilled sausages are heated evenly. This is not only labor-intensive and inefficient, but also difficult to ensure that each grilled sausage is baked to the same degree, affecting the food quality.

[0003] At present, although there are some automatic flipping devices for sausages on the market, most of these devices can only realize simple automatic flipping functions, lack intelligent judgment and adjustment of the maturity of the sausages, cannot ensure that the sausages can achieve the ideal baking effect under various environments, and cannot promptly remove burnt, burnt, and cracked products. Summary of the invention

[0004] In view of the shortcomings of the prior art, the purpose of the present invention is to provide an automatic cooking method for grilled sausages based on AI vision, which uses AI vision technology to monitor the maturity of the grilled sausages in real time and intelligently adjusts the baking temperature according to the maturity to ensure that each grilled sausage can reach the ideal edible state.

[0005] To achieve the above object, the technical solution adopted by the present invention is: An automatic sausage cooking method based on AI vision is implemented by an intelligent sausage grilling machine, the intelligent sausage grilling machine comprises a body, a controller, an AI visual analysis system and an automatic flipping system, a baking area is provided in the body, and a plurality of independent baking units are provided in the baking area; the automatic flipping system is used to control the flipping frequency of the baking unit; the AI ​​visual analysis system comprises an image acquisition unit, an image processing unit and an AI model execution unit, the image acquisition unit is installed on the body and located above the baking area; the image processing unit is connected to the image acquisition unit, the AI ​​model execution unit is connected to the image processing unit and the controller, and the controller is connected to the baking unit; the automatic sausage cooking method specifically comprises the following steps: S1, capturing the image of the sausage placed in the baking area in real time through the image acquisition unit; S2, the image processing unit pre-processes the captured sausage image; S3, the pre-processed sausage image is input to the AI ​​model execution unit to analyze the color and texture of the sausage, determine the state and maturity of the sausage, and output the position information, sausage state and / or maturity of the sausage to the controller; the state of the sausage includes a normal state and an abnormal state, and the abnormal state includes but is not limited to burnt, scorched, cracked, and over-dehydrated; S4. When the state of the grilled sausage is abnormal, the controller sends information about the abnormal state of the grilled sausage to the background management system; when the state of the grilled sausage is normal, the controller adjusts the heating temperature of the corresponding grilling unit according to the position information and maturity of the grilled sausage.

[0006] The AI ​​model execution unit uses the trained AI model to identify the maturity of the sausage; The AI ​​model training process is performed before the intelligent sausage roasting machine is used, and includes the following: S311, obtaining a training data set; Collect various normal and abnormal sausage images, and use annotation tools to mark the maturity label of each sausage image to obtain a labeled training data set; wherein the normal sausage images include sausage images of different maturity levels, and the abnormal sausage images include but are not limited to burnt, scorched, cracked, and over-dehydrated sausage images; S312, preprocessing the sausage images in the training data set, extracting color features and texture features, and then integrating the features to obtain input features of the AI ​​model; S313, inputting the input features corresponding to the training data set into the AI ​​model for training, adjusting the model parameters, and using cross-validation technology to find the best model configuration to obtain a trained AI model; The process of using the trained AI model to identify the maturity of sausage is to integrate the trained AI model into the intelligent sausage baking machine, which is as follows: S321, extracting color features and texture features from the sausage image captured in real time, and then integrating the features to obtain input features; S32. Input the input features into the AI ​​model, and the AI ​​model outputs the maturity of the sausage.

[0007] The preprocessing of the sausage image is as follows: S21, Image standardization: adjust the image to a uniform resolution, use interpolation and white balance methods to process the image, and then normalize the pixel values ​​of the image to adjust the value range to between 0 and 1 or -1 and 1; S22. Image enhancement processing: Apply histogram equalization technology to enhance the contrast of the image, use image sharpening technology to enhance image details and improve image quality; apply noise removal algorithm to the image to remove image noise caused by mechanical vibration of the sausage or camera sensor.

[0008] The image sharpening technology enhances image details by creating a blurred version of the image from the original image, then subtracting the blurred version of the image from the original image to obtain a mask image containing the details of the original image, the mask image showing the difference between the original image and its blurred version, then multiplying the mask image by a sharpening strength coefficient, and adding the result back to the original image.

[0009] The color feature and texture feature extraction of the sausage image are as follows: Color feature extraction: Convert the sausage image from RGB to HSV color space and obtain HSV histogram data; Texture feature extraction: In the sausage image, different distance and angle parameters are selected to calculate the grayscale co-occurrence matrix, which includes contrast, energy, homogeneity, and entropy. Among them, contrast is used to measure the intensity of local changes in the image. The higher the contrast, the rougher the image texture; energy, also known as uniformity, indicates the consistency and repeatability of the image texture; homogeneity is used to measure the similarity of the grayscale values ​​of adjacent pixels in the image; entropy is used to represent the complexity of the image texture. The higher the entropy value, the more complex the texture.

[0010] The baking area is provided with a plurality of baking tubes arranged in sequence, each baking tube is provided with at least one heater connected to a controller, and the temperature of each heater is independently controlled by the controller; at least one baking unit is formed between two adjacent baking tubes, and the temperature of the baking unit is determined by two heaters respectively arranged in the two baking tubes.

[0011] The flipping system is used to flip the baking tube, and the flipping system includes a flipping motor, a transmission belt, a limiter, a first transmission wheel, and a second transmission wheel corresponding to the baking tube one by one, the second transmission wheel is connected to one end of the baking tube, and the second transmission wheel rotates synchronously with the baking tube; the first transmission wheel is arranged on the output shaft of the flipping motor, the flipping motor drives the first transmission wheel to rotate, and the flipping motor is connected to a controller; the transmission belt is meshed with the first transmission wheel and all the second transmission wheels; all the second transmission wheels are arranged side by side, the limiter is arranged close to the second transmission wheel, and the length direction of the limiter is parallel to the connecting line of the second transmission wheels, and a limit gap for limiting the transmission belt is formed between the limiter and the second transmission wheel.

[0012] When two adjacent baking units share a heater, if the temperature difference between the two baking units is not greater than the set value, the heating temperature of the heater shared by the two baking units takes the lower value; The intelligent sausage grill also includes a conveying system for moving the sausages. If two adjacent grilling units have a common heater and the heating temperature difference between the two adjacent grilling units is greater than a set value, the sausages in one of the grilling units are grabbed and moved to other grilling units through the conveying system.

[0013] The conveying system includes an X-axis moving module, a Y-axis moving module, a Z-axis moving module and a clamping module for clamping the sausage, the X-axis moving module drives the Y-axis moving module to move along the X-axis direction, the Y-axis moving module drives the Z-axis moving module to move along the Y-axis direction, and the Z-axis moving module drives the clamping module to move along the Z-axis direction; the X-axis moving module, the Y-axis moving module, the Z-axis moving module and the clamping module are connected to a controller.

[0014] The intelligent sausage grilling machine also includes an intelligent payment system, which is connected to a controller, and a delivery port is provided on the machine body; when the intelligent payment system receives the payment, the controller controls the conveying system to grab the mature sausages and deliver them to the delivery port for customers.

[0015] After adopting the above scheme, the present invention realizes intelligent monitoring and precise regulation of the sausage baking process by integrating AI vision technology and intelligent temperature control, thereby ensuring the consistency and superiority of the sausage quality.

[0016] At the same time, the present invention adds an automatic vending function, significantly improves the efficiency of grilled sausage sales, reduces labor costs, meets the demand for fast and healthy food in fast-paced life, and has broad market application prospects. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] Figure 1 This is a schematic diagram of an intelligent sausage grilling machine according to the first embodiment; Figure 2 This is a schematic diagram of the intelligent sausage grilling machine of Example 1 with part of the body hidden; Figure 3 for Figure 2 An enlarged schematic diagram of part A in FIG. Figure 4 This is a schematic diagram of the intelligent sausage grilling machine of Example 2; Description of reference numerals: Body 1, image acquisition unit 2, baking tube 3, X-axis moving module 4, Y-axis moving module 5, Z-axis moving module 6, mounting frame 7, driving cylinder 8, baffle 9, synchronous part 10, swing arm 11, clamping arm 12, flip motor 13, transmission belt 14, limiter 15, first transmission wheel 16, second transmission wheel 17, delivery port 18, notch 19. DETAILED DESCRIPTION

[0018] Embodiment 1 like Figure 1-3 As shown, this embodiment discloses an automatic cooking method for sausages based on AI vision, which is implemented by an intelligent sausage grilling machine. The intelligent sausage grilling machine includes a body 1, a controller, an AI vision analysis system and an automatic flipping system. A baking area is provided in the body 1, and the baking area is provided with a plurality of independent baking units; the automatic flipping system is used to control the flipping frequency of the baking unit; the AI ​​vision analysis system includes an image acquisition unit 2, an image processing unit and an AI model execution unit, and the image acquisition unit 2 is installed on the body 1 and is located above the baking area; the image processing unit is connected to the image acquisition unit 2, the AI ​​model execution unit is connected to the image processing unit and the controller, the controller is connected to the baking unit, and the controller controls the baking temperature of the baking unit according to the result output by the AI ​​model execution unit.

[0019] The automatic cooking method for grilled sausages of this embodiment specifically comprises the following steps: S1. The image acquisition unit 2 captures the image of the sausage placed in the baking area in real time.

[0020] S2. The image processing unit pre-processes the captured sausage image.

[0021] The preprocessing of the sausage image is as follows: S21. Image normalization: All captured images are first resized to a uniform resolution, such as 224x224 pixels, using interpolation methods such as bilinear or cubic interpolation to ensure that image quality is not compromised during the size change. A white balance algorithm is implemented to correct color deviations caused by different lighting conditions to ensure the authenticity and consistency of image colors. Gamma correction is performed on the image to adjust the image brightness to make it more consistent with human eye perception. The pixel values ​​of the image are normalized to adjust the value range to between 0 and 1 or -1 to 1, which helps the convergence and performance of the neural network model.

[0022] S22. Image enhancement processing: Apply histogram equalization technology to enhance the contrast of the image, making the color and texture of the sausage more prominent, which is convenient for subsequent feature extraction. Especially at different stages of sausage baking, the changes in surface color and texture details can be observed more clearly through enhancement processing. Use image sharpening technology to enhance image details and improve image quality. Sharpening can help the model more accurately capture the subtle texture differences on the surface of the sausage, which is particularly important for judging maturity. Apply noise removal algorithms such as median filtering or Gaussian blur to the image to remove image noise caused by mechanical vibration of the sausage or camera sensor. Clean images help improve the accuracy of the algorithm in identifying the maturity of the sausage and avoid misjudgment caused by noise interference.

[0023] Image sharpening techniques enhance image details as follows: First, create a blurred version from the original image. This is usually achieved by applying a Gaussian blur filter to the original image. Gaussian blur reduces the level of detail in an image by weighted averaging each pixel of the image with its neighboring pixels. Subtract the blurred image from the original image to obtain a "mask" image that contains the details of the original image (especially the edges). This mask shows the difference between the original image and its blurred version. Multiply this mask image by a coefficient called the "sharpening strength" and then add the result back to the original image. This step strengthens the high-frequency details of the original image, making the image look sharper.

[0024] S3. The preprocessed sausage image is input into the AI ​​model execution unit to analyze the color and texture of the sausage, determine the state and maturity of the sausage, and output the position information, state and / or maturity of the sausage to the controller; the state of the sausage includes a normal state and an abnormal state, and the abnormal state includes but is not limited to burnt, scorched, cracked, and over-dehydrated.

[0025] The AI ​​model execution unit uses a trained AI model to identify the maturity of sausages.

[0026] The AI ​​model training process is carried out before the intelligent sausage roasting machine is used, which includes the following: S311. Obtain a training data set.

[0027] Collect sausage images in various normal and abnormal states, and use annotation tools to mark the labels of each sausage image to obtain a labeled training data set; wherein, the normal state sausage images include sausage images of different maturity levels, and the abnormal state sausage images include but are not limited to burnt, scorched, cracked, and over-dehydrated sausage images. Therefore, the labels include normal state labels and abnormal state labels. The normal state labels include labels of different maturity levels, and the labels of different maturity levels can be in categorical form (such as undercooked, half-cooked, and well-done) or continuous form (such as maturity percentage). The abnormal state labels include burnt, scorched, cracked, and over-dehydrated.

[0028] S312. Preprocess the grilled sausage images in the training data set, extract color features and texture features, and then perform feature integration to obtain input features of the AI ​​model.

[0029] S313. Input the input features corresponding to the training data set into the AI ​​model for training, adjust the model parameters, and use cross-validation technology to find the optimal model configuration to obtain a trained AI model.

[0030] The process of using the trained AI model to identify the maturity of sausage is to integrate the trained AI model into the intelligent sausage baking machine, which is as follows: S321, extracting color features and texture features from the sausage image captured in real time, and then integrating the features to obtain input features.

[0031] S32. Input the input features into the AI ​​model, and the AI ​​model outputs the maturity of the sausage.

[0032] The color feature and texture feature extraction of the sausage image are as follows: Color feature extraction: Convert the sausage image from RGB to HSV color space and obtain HSV histogram data; Texture feature extraction: In the sausage image, different distance and angle parameters are selected to calculate the grayscale co-occurrence matrix, which includes contrast, energy, homogeneity, and entropy. Among them, contrast is used to measure the intensity of local changes in the image. The higher the contrast, the rougher the image texture; energy, also known as uniformity, indicates the consistency and repeatability of the image texture; homogeneity is used to measure the similarity of the grayscale values ​​of adjacent pixels in the image; entropy is used to represent the complexity of the image texture. The higher the entropy value, the more complex the texture.

[0033] The AI ​​model execution unit can also identify the position of the sausage. When the image acquisition unit 2 (usually a camera) is fixed in the body 1, the image acquisition unit 2 takes an image of the grilling area in the body 1, and then marks the position information of each grilling area in the image, and the AI ​​model execution unit stores the position information of the grilling area. When the sausage grill is in normal use, the AI ​​model execution unit can obtain the position of the sausage based on the position information of each grilling area stored in it.

[0034] S4. When the state of the grilled sausage is abnormal, the controller sends information about the abnormal state of the grilled sausage to the background management system; when the state of the grilled sausage is normal, the controller adjusts the heating temperature of the corresponding grilling unit according to the position information and maturity of the grilled sausage.

[0035] Specifically, when the maturity of the sausage is lower, the heating temperature of the corresponding baking unit is higher, and when the maturity of the sausage reaches an edible state, the heating temperature of the corresponding baking unit is adjusted to the insulation temperature. For example, the maturity is classified into: undercooked, half-cooked and well-done. When the maturity of the sausage is undercooked, the temperature of the corresponding baking unit is 120°C, when the maturity of the sausage is half-cooked, the temperature of the corresponding baking unit is 80°C, and when the maturity of the sausage is well-done, the temperature of the corresponding baking unit is 60°C.

[0036] The operating status of the intelligent sausage grill can also be sent to the background management system, including baking temperature, maturity analysis results, etc., so as to grasp the operating status of the intelligent sausage grill in real time.

[0037] In this embodiment, a plurality of sequentially arranged baking tubes 3 are provided in the baking area, and at least one heater connected to a controller is provided inside each baking tube 3, and the temperature of each heater is independently controlled by the controller. At least one baking unit is formed between two adjacent baking tubes 3, and the temperature of the baking unit is determined by two heaters respectively provided in the two baking tubes 3.

[0038] In the structure of this embodiment, there may be a situation where two adjacent grilling units share a heater. When the temperature difference between the two grilling units is not large (i.e., not greater than the set value), the heating temperature of the heater shared by the two grilling units takes a lower value. For example, grilling unit A and grilling unit B have a common heater. According to the maturity of the grilled sausage in grilling unit A, the temperature of the two heaters of grilling unit A should be controlled at 80°C; according to the maturity of the grilled sausage in grilling unit B, the temperature of the two heaters of grilling unit B should be controlled at 60°C. Then, the temperature of the common heater between grilling unit A and grilling unit B should be controlled at 60°C.

[0039] Alternatively, this embodiment adds a conveying system. When two adjacent baking units have a common heater and the heating temperatures of the two adjacent baking units differ greatly (i.e., greater than a set value), the conveying system is used to grab the sausages from one of the baking units and transfer them to other baking units.

[0040] The conveying system includes an X-axis moving module 4, a Y-axis moving module 5, a Z-axis moving module 6 and a clamping module for clamping the sausage. The X-axis moving module 4 drives the Y-axis moving module 5 to move along the X-axis direction, the Y-axis moving module 5 drives the Z-axis moving module 6 to move along the Y-axis direction, and the Z-axis moving module 6 drives the clamping module to move along the Z-axis direction. The X-axis moving module 4, the Y-axis moving module 5, the Z-axis moving module 6 and the clamping module are all connected to the controller. Among them, the X-axis moving module 4 and the Y-axis moving module 5 are linear moving modules based on motors, which are prior art and will not be repeated here. The Z-axis moving module 6 can directly use a linear cylinder. The clamping module only needs to be able to clamp the sausage. For example, the clamping module may include a mounting frame 7, a driving cylinder 8, a baffle 9, a synchronous member 10, two swing arms 11 and two clamp arms 12. The two clamp arms 12 are arranged opposite to each other, and the middle part of the clamp arm 12 is pivoted to the mounting frame 7. The swing arm 11 corresponds to the clamp arm 12 one by one. One end of the swing arm 11 is pivoted to the upper end of the clamp arm 12, and the other end of the swing arm 11 is pivoted to the synchronous member 10. The synchronous member 10 is locked to the middle section of the push rod of the driving cylinder 8, and the baffle 9 is locked to the end of the push rod of the driving cylinder 8. When the push rod of the driving cylinder 8 is extended, the lower ends of the two clamp arms 12 can be driven to move outward, and the sausage can be placed between the two clamp arms 12. At this time, the push rod of the driving cylinder 8 is contracted, which can drive the lower ends of the two clamp arms 12 to move inward and clamp the sausage. The setting of the baffle 9 can set an upper limit on the sausage. The X-axis moving module 4, the Y-axis moving module 5, the Z-axis moving module 6 and the driving cylinder 8 are connected to the controller. For another example, the clamping module may include a motor, a gear, two racks and two clamping plates, the two racks are arranged parallel to each other, the gear is placed in the middle of the two racks, and the gear is meshed with the two racks at the same time, the motor drives the gear to rotate, the clamping plate corresponds to the rack one by one, and one end of the clamping plate is connected to the rack, at this time, by controlling the forward and reverse rotation of the motor, the two clamping plates can be close to or away from each other.

[0041] The flipping system is used to flip the grill tube 3, and includes a flipping motor 13, a transmission belt 14, a stopper 15, a first transmission wheel 16, and a second transmission wheel 17 corresponding to the grill tube 3. The second transmission wheel 17 is connected to one end of the grill tube 3, and the second transmission wheel 17 rotates synchronously with the grill tube 3. The first transmission wheel 16 is arranged on the output shaft of the flipping motor 13, and the flipping motor 13 drives the first transmission wheel 16 to rotate. The flipping motor 13 is connected to the controller. The transmission belt 14 is meshed with the first transmission wheel 16 and all the second transmission wheels 17. In this case, all the second transmission wheels 17 are arranged side by side, and the stopper 15 is arranged close to the second transmission wheel 17, and the length direction of the stopper 15 is parallel to the connecting line of the second transmission wheels 17. A limit gap for limiting the transmission belt 14 is formed between the stopper 15 and the second transmission wheel 17. By setting the stopper 15, the transmission belt 14 can be limited from being disengaged from the second transmission wheel 17, so as to ensure that each grill tube can rotate reliably. The transmission belt 14 may be a chain, and the first transmission wheel 16 and the second transmission wheel 17 may be sprockets. Alternatively, the transmission belt 14 may be a toothed belt, and the first transmission wheel 16 and the second transmission wheel 17 may be gears.

[0042] This embodiment can not only automatically flip the sausages to ensure uniform baking, but also monitor the maturity of the sausages in real time through AI vision technology, and intelligently adjust the baking temperature according to the maturity to ensure that each sausage can reach the ideal eating state. At the same time, combined with AI vision, it can identify abnormal products, such as burnt, charred, cracked, etc., to improve customer satisfaction.

[0043] Embodiment 2 like Figure 4 As shown, the difference between this embodiment and the first embodiment is that the intelligent sausage grilling machine also includes an intelligent payment system, and the intelligent payment system is connected to the controller. A delivery port 18 is provided on the body 1. When the intelligent payment system receives the payment, the controller controls the conveying system to grab the mature sausages and deliver them to the delivery port 18 for the customers. The size of the delivery port 18 is adapted to the size of the sausages. The delivery port 18 has a top opening, so that the conveying system can put the sausages into the delivery port 18 and it is also convenient for customers to take them out. A container can be placed next to the delivery port 18, and the container is used to place bamboo sticks for stringing the sausages. At the same time, a notch 19 is provided at either end or both ends of the delivery port 18 for the bamboo sticks to string the sausages.

[0044] This embodiment can automatically provide the grilled sausages to customers after they are baked, realizing fully automated operations from baking to sales, significantly improving the production and sales efficiency of grilled sausages, and improving customer experience.

Claims

1. An automatic sausage cooking method based on AI vision, which is implemented by an intelligent sausage roasting machine, characterized in that: The intelligent sausage roasting machine comprises a machine body, a controller, an AI visual analysis system and an automatic flipping system. A baking area is arranged in the machine body, and a plurality of independent baking units are arranged in the baking area. The automatic flipping system is used to control the flipping frequency of the baking unit. The AI ​​visual analysis system comprises an image acquisition unit, an image processing unit and an AI model execution unit. The image acquisition unit is installed on the machine body and is located above the baking area. The image processing unit is connected to the image acquisition unit, the AI ​​model execution unit is connected to the image processing unit and the controller, and the controller is connected to the baking unit. The automatic cooking method for sausages specifically comprises the following steps: S1, capturing the image of the sausage placed in the baking area in real time through the image acquisition unit; S2, the image processing unit pre-processes the captured sausage image; S3, the pre-processed sausage image is input to the AI ​​model execution unit to analyze the color and texture of the sausage, determine the state and maturity of the sausage, and output the position information, sausage state and / or maturity of the sausage to the controller; the state of the sausage includes a normal state and an abnormal state, and the abnormal state includes but is not limited to burnt, scorched, cracked, and over-dehydrated; S4. When the state of the grilled sausage is abnormal, the controller sends information about the abnormal state of the grilled sausage to the background management system; when the state of the grilled sausage is normal, the controller adjusts the heating temperature of the corresponding grilling unit according to the position information and maturity of the grilled sausage.

2. The method for automatically cooking sausages based on AI vision according to claim 1, characterized in that: The AI ​​model execution unit uses the trained AI model to identify the maturity of the sausage; The AI ​​model training process is performed before the intelligent sausage roasting machine is used, and includes the following: S311, obtaining a training data set; Collect various normal and abnormal sausage images, and use annotation tools to mark the maturity label of each sausage image to obtain a labeled training data set; wherein the normal sausage images include sausage images of different maturity levels, and the abnormal sausage images include but are not limited to burnt, scorched, cracked, and over-dehydrated sausage images; S312, preprocessing the sausage images in the training data set, extracting color features and texture features, and then integrating the features to obtain input features of the AI ​​model; S313, inputting the input features corresponding to the training data set into the AI ​​model for training, adjusting the model parameters, and using cross-validation technology to find the best model configuration to obtain a trained AI model; The process of using the trained AI model to identify the maturity of sausage is to integrate the trained AI model into the intelligent sausage baking machine, which is as follows: S321, extracting color features and texture features from the sausage image captured in real time, and then integrating the features to obtain input features; S32. Input the input features into the AI ​​model, and the AI ​​model outputs the maturity of the sausage.

3. The AI ​​vision-based automatic sausage cooking method according to claim 1 or 2, characterized in that: The preprocessing of the sausage image is as follows: S21, Image standardization: adjust the image to a uniform resolution, use interpolation and white balance methods to process the image, and then normalize the pixel values ​​of the image to adjust the value range to between 0 and 1 or -1 and 1; S22. Image enhancement processing: Apply histogram equalization technology to enhance the contrast of the image, use image sharpening technology to enhance image details and improve image quality; apply noise removal algorithm to the image to remove image noise caused by mechanical vibration of the sausage or camera sensor.

4. The AI ​​vision-based automatic sausage cooking method according to claim 3 is characterized in that: The image sharpening technology enhances image details by creating a blurred version of the image from the original image, then subtracting the blurred version of the image from the original image to obtain a mask image containing the details of the original image, the mask image showing the difference between the original image and its blurred version, then multiplying the mask image by a sharpening strength coefficient, and adding the result back to the original image.

5. The AI ​​vision-based automatic sausage cooking method according to claim 1 or 2, characterized in that: The color feature and texture feature extraction of the sausage image are as follows: Color feature extraction: Convert the sausage image from RGB to HSV color space and obtain HSV histogram data; Texture feature extraction: In the sausage image, different distance and angle parameters are selected to calculate the grayscale co-occurrence matrix, which includes contrast, energy, homogeneity, and entropy. Among them, contrast is used to measure the intensity of local changes in the image. The higher the contrast, the rougher the image texture; energy, also known as uniformity, indicates the consistency and repeatability of the image texture; homogeneity is used to measure the similarity of the grayscale values ​​of adjacent pixels in the image; entropy is used to represent the complexity of the image texture. The higher the entropy value, the more complex the texture.

6. The AI ​​vision-based automatic sausage cooking method according to claim 1, characterized in that: The baking area is provided with a plurality of baking tubes arranged in sequence, each baking tube is provided with at least one heater connected to a controller, and the temperature of each heater is independently controlled by the controller; at least one baking unit is formed between two adjacent baking tubes, and the temperature of the baking unit is determined by two heaters respectively arranged in the two baking tubes.

7. The AI ​​vision-based automatic sausage cooking method according to claim 6 is characterized by: The flipping system is used to flip the baking tube, and the flipping system includes a flipping motor, a transmission belt, a limiter, a first transmission wheel, and a second transmission wheel corresponding to the baking tube one by one, the second transmission wheel is connected to one end of the baking tube, and the second transmission wheel rotates synchronously with the baking tube; the first transmission wheel is arranged on the output shaft of the flipping motor, the flipping motor drives the first transmission wheel to rotate, and the flipping motor is connected to a controller; the transmission belt is meshed with the first transmission wheel and all the second transmission wheels; all the second transmission wheels are arranged side by side, the limiter is arranged close to the second transmission wheel, and the length direction of the limiter is parallel to the connecting line of the second transmission wheels, and a limit gap for limiting the transmission belt is formed between the limiter and the second transmission wheel.

8. The AI ​​vision-based automatic sausage cooking method according to claim 6 is characterized by: When two adjacent baking units share a heater, if the temperature difference between the two baking units is not greater than the set value, the heating temperature of the heater shared by the two baking units takes the lower value; The intelligent sausage grill also includes a conveying system for moving the sausages. If two adjacent grilling units have a common heater and the heating temperature difference between the two adjacent grilling units is greater than a set value, the sausages in one of the grilling units are grabbed and moved to other grilling units through the conveying system.

9. The AI ​​vision-based automatic sausage cooking method according to claim 8, characterized in that: The conveying system includes an X-axis moving module, a Y-axis moving module, a Z-axis moving module and a clamping module for clamping the sausage, the X-axis moving module drives the Y-axis moving module to move along the X-axis direction, the Y-axis moving module drives the Z-axis moving module to move along the Y-axis direction, and the Z-axis moving module drives the clamping module to move along the Z-axis direction; the X-axis moving module, the Y-axis moving module, the Z-axis moving module and the clamping module are connected to a controller.

10. The AI ​​vision-based automatic sausage cooking method according to claim 8 or 9, characterized in that: The intelligent sausage grilling machine also includes an intelligent payment system, which is connected to a controller, and a delivery port is provided on the machine body; when the intelligent payment system receives the payment, the controller controls the conveying system to grab the mature sausages and deliver them to the delivery port for customers.