Apple defect detection method and system based on convolutional neural network
A technology of convolutional neural network and defect detection, which is applied in the field of apple defect detection method and system based on convolutional neural network, can solve the problems of defect part segmentation and identification interference, low detection efficiency and accuracy, etc., to improve efficiency, Effects of improving accuracy and reducing costs
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0036] Such as figure 1 As shown, Embodiment 1 of the present disclosure provides a method for detecting apple defects based on a convolutional neural network, comprising the following steps:
[0037] Get the image data of Apple;
[0038] Preprocessing the acquired image data;
[0039] Input the preprocessed image data into the preset convolutional neural network model to obtain the apple defect detection result;
[0040] Among them, the preprocessing of the acquired image data includes: removing the apple background by using the maximum inter-class variance method, and adjusting the image resolution to preset pixels.
[0041] In detail, include the following:
[0042] S1: image acquisition;
[0043] S2: image preprocessing;
[0044] S3: data set expansion;
[0045] S4: Construct a convolutional neural network model;
[0046] S5: Model training test.
[0047] In S1, in the collection of image training data, a white background is used, and apples are placed on white pap...
Embodiment 2
[0094] Embodiment 2 of the present disclosure provides an apple defect detection system based on a convolutional neural network, including:
[0095] The data acquisition module is configured to: acquire image data of apples;
[0096] The preprocessing module is configured to: preprocess the acquired image data;
[0097] The defect detection module is configured to: input the preprocessed image data into a preset convolutional neural network model to obtain an apple defect detection result;
[0098] Among them, the preprocessing of the acquired image data includes: removing the apple background by using the maximum inter-class variance method, and adjusting the image resolution to preset pixels.
[0099] The working method of the system is the same as the convolutional neural network-based apple defect detection method provided in Embodiment 1, and will not be repeated here.
Embodiment 3
[0101] Embodiment 3 of the present disclosure provides a medium on which a program is stored, and when the program is executed by a processor, the steps in the apple defect detection method based on a convolutional neural network as described in the first aspect of the present disclosure are implemented. The steps are:
[0102] Get the image data of Apple;
[0103] Preprocessing the acquired image data;
[0104] Input the preprocessed image data into the preset convolutional neural network model to obtain the apple defect detection result;
[0105] Among them, the preprocessing of the acquired image data includes: removing the apple background by using the maximum inter-class variance method, and adjusting the image resolution to preset pixels.
[0106] The detailed steps are the same as the convolutional neural network-based apple defect detection method provided in Embodiment 1, and will not be repeated here.
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com