CN110954551B - Online detection method for quality of green rice ball - Google Patents

Online detection method for quality of green rice ball Download PDF

Info

Publication number
CN110954551B
CN110954551B CN201911234759.5A CN201911234759A CN110954551B CN 110954551 B CN110954551 B CN 110954551B CN 201911234759 A CN201911234759 A CN 201911234759A CN 110954551 B CN110954551 B CN 110954551B
Authority
CN
China
Prior art keywords
value
green
whiteness
gray
camera
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201911234759.5A
Other languages
Chinese (zh)
Other versions
CN110954551A (en
Inventor
陈召桂
朱玲琳
陈铖
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhejiang Wufangzhai Industry Co Ltd
Original Assignee
Zhejiang Wufangzhai Industry Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhejiang Wufangzhai Industry Co Ltd filed Critical Zhejiang Wufangzhai Industry Co Ltd
Priority to CN201911234759.5A priority Critical patent/CN110954551B/en
Publication of CN110954551A publication Critical patent/CN110954551A/en
Application granted granted Critical
Publication of CN110954551B publication Critical patent/CN110954551B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N21/00Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
    • G01N21/84Systems specially adapted for particular applications
    • G01N21/88Investigating the presence of flaws or contamination
    • G01N21/89Investigating the presence of flaws or contamination in moving material, e.g. running paper or textiles
    • G01N21/8914Investigating the presence of flaws or contamination in moving material, e.g. running paper or textiles characterised by the material examined
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N21/00Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
    • G01N21/84Systems specially adapted for particular applications
    • G01N21/88Investigating the presence of flaws or contamination
    • G01N21/8851Scan or image signal processing specially adapted therefor, e.g. for scan signal adjustment, for detecting different kinds of defects, for compensating for structures, markings, edges
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N21/00Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
    • G01N21/84Systems specially adapted for particular applications
    • G01N21/88Investigating the presence of flaws or contamination
    • G01N21/89Investigating the presence of flaws or contamination in moving material, e.g. running paper or textiles
    • G01N21/892Investigating the presence of flaws or contamination in moving material, e.g. running paper or textiles characterised by the flaw, defect or object feature examined
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/0002Inspection of images, e.g. flaw detection
    • G06T7/0004Industrial image inspection
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/10Segmentation; Edge detection
    • G06T7/11Region-based segmentation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/10Image acquisition modality
    • G06T2207/10004Still image; Photographic image
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/30Subject of image; Context of image processing
    • G06T2207/30108Industrial image inspection
    • G06T2207/30128Food products

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Analytical Chemistry (AREA)
  • Pathology (AREA)
  • Immunology (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Chemical & Material Sciences (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Biochemistry (AREA)
  • Textile Engineering (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Signal Processing (AREA)
  • Investigating Materials By The Use Of Optical Means Adapted For Particular Applications (AREA)
  • Sorting Of Articles (AREA)

Abstract

The invention discloses an online detection method for quality of green rice balls, which comprises the following steps: s1, conveying the green pellets to a feeding end of a transparent conveying pipe; s2, a probe of the whiteness tester performs whiteness test on the cyan cluster from the through hole and sends a whiteness test value to a computer for processing; s3, comparing the whiteness value with a whiteness real test value sent by a whiteness tester in real time according to a preset minimum whiteness value; s4, carrying out image acquisition on the green clusters through a first camera and a second camera which are arranged on two sides of the transparent conveying pipe; s5, the computer divides the original image of the captured cyan cluster, and performs gray processing to obtain a corresponding gray value; s6, calculating a gray difference value between the minimum gray value and the maximum gray value; and S7, judging whether the quality of the green-breaking clusters is qualified or not by the computer according to a preset maximum gray level difference value. The online detection method for the quality of the green pellets improves the quality detection efficiency of the green pellets, and has high accuracy and good stability.

Description

On-line detection method for quality of green rice balls
Technical Field
The invention relates to the technical field of food quality detection, in particular to an online detection method for quality of green rice balls.
Background
The green ball is a traditional special snack in the south of the Yangtze river, is blue, is mixed with the juice of the wormwood into the glutinous rice flour, and then is wrapped with the sweetened bean paste stuffing or the lotus paste, is not sweet and greasy, and has light but long green grass fragrance. At present, the green ball is made in a shop by using straw pulp, moxa juice, other green vegetable juice and glutinous rice flour and then bean paste as stuffing. The function of the green ball as a sacrifice is gradually faded, and more people are used as spring tour snacks. The green ball is green oil like jade, glutinous, tough and soft, fragrant and pungent, and is a natural green healthy snack food which is fat but not well-brewed. Green and soft skin after steaming, sweet but not greasy stuffing of sweetened bean paste, light wormwood fragrance, and good taste.
After the green pellets are prepared, packaging is usually required for storage and transportation. Before packaging, the quality of the green lumps needs to be detected, and the green lumps with undesirable whiteness, cracked surfaces or mildew and other deterioration are removed.
However, the currently used quality detection method for the cyan cluster has the following problems:
1. the whiteness and the surface performance can not be simultaneously detected, and the high-efficiency online detection can not be realized;
2. the detection is carried out through human eyes, the efficiency is low, the detection standards are not uniform, and the stability of the detection result is poor.
3. The existing detection equipment has the problems of low efficiency, poor applicability, low accuracy of detection results, incapability of ensuring stability and the like.
Based on the situation, the invention provides an online detection method for the quality of the green agglomerates, which can effectively solve the problems.
Disclosure of Invention
The invention aims to provide an online detection method for the quality of a green ball. The online detection method for the quality of the green rice ball effectively combines the high-efficiency processing of the image with the mechanical automatic sorting; reasonable and feasible, simple and convenient operation and good effect; the quality of the green ball is detected and screened on line by an automatic machine instead of human eyes (unqualified green balls are removed, if the whiteness does not meet the requirement, the surface of the green balls is cracked, or mildew and other deterioration appear on the surface of the green balls), the quality detection efficiency of the green balls is improved, and the method has high accuracy, good stability and good application and popularization prospects.
In order to solve the technical problems, the technical scheme provided by the invention is as follows:
an on-line detection method for the quality of green lumps is characterized by comprising the following steps:
s1, conveying the green pellets to a feeding end of a transparent conveying pipe, enabling the green pellets to sequentially enter the transparent conveying pipe one by one, and continuously conveying the green pellets downwards;
can realize carrying in proper order like this, detect in proper order, effectively avoid lou examining, detect inaccurate scheduling problem.
S2, closing a first blocking piece switch at the upper part of the transparent conveying pipe, enabling the green pellets to stay, starting a whiteness tester arranged in a mounting box at one side of the upper part of the transparent conveying pipe, enabling a probe of the whiteness tester to perform whiteness test on the green pellets from the through hole, and sending whiteness test values to a computer for processing;
s3, the computer compares the whiteness with a whiteness real test value sent by the whiteness tester in real time according to a preset minimum whiteness value;
if the brightness value is smaller than the minimum brightness value, judging that the green pellets are unqualified, controlling a first baffle switch, a third baffle switch and a fourth baffle switch to be opened, closing a second baffle switch at the same time, and conveying the unqualified green pellets to an unqualified product area from a second channel;
if the whiteness value is larger than or equal to the minimum whiteness value, judging the green rice balls to be qualified, controlling a first baffle switch to be opened, and controlling a fourth baffle switch to be closed, so that the qualified green rice balls stay on the fourth baffle switch;
and carrying out whiteness test on the green ball on line from the through hole through a probe of the whiteness tester, and removing green balls (unqualified green balls) with unsatisfactory whiteness, such as yellowish green balls.
S4, carrying out image acquisition on the green ball through a first camera and a second camera which are arranged on two sides of the transparent conveying pipe, capturing an original image of the green ball from the video, and transmitting the original image to a computer for processing;
the first camera and the second camera described herein may be cameras commonly used in the art, and those skilled in the art may determine the type of the camera according to the need, and purchase, assemble and use the camera.
S5, the computer divides the original image of the captured cyan cluster, and then each divided area is subjected to gray level processing to obtain a corresponding gray level value; the range of the gray value is 0-256;
the segmentation of the original image capturing the cyan cluster is to reduce the number of gray value identification areas, improve the processing efficiency, and avoid small local color changes, which are mistakenly considered as unqualified cyan clusters.
S6, the computer compares the minimum gray value with the maximum gray value according to all the gray value results, and calculates the gray difference value between the minimum gray value and the maximum gray value;
s7, the computer compares the preset maximum gray difference value with the gray difference value between the minimum gray value and the maximum gray value to judge whether the quality of the green ball is qualified;
if the gray level difference is larger than or equal to the maximum gray level difference, determining that the green pellets are unqualified, controlling a third baffle switch and a fourth baffle switch to be opened, closing a second baffle switch at the same time, and conveying the unqualified green pellets to an unqualified product area from a second channel;
if the gray difference value is smaller than the maximum gray difference value, judging that the product is qualified, controlling a third baffle switch to be closed, simultaneously opening a fourth baffle switch and a second baffle switch, and conveying the qualified cyan cluster to a qualified product area from a first channel;
if the surface of the green ball is cracked or has mildew and other deterioration, and the color difference (gray difference) exists between the color of the damaged part and the color of other parts, the method judges the damage or deterioration condition through the gray difference, and has high identification efficiency and good accuracy.
In step S3, the preset minimum whiteness value may be set and changed by computer software; in step S5, the preset maximum gray scale difference value may be set and changed by computer software.
The on-line detection method for the quality of the green pellets continuously conveys the green pellets through the transparent conveying pipe, performs on-line whiteness test on the green pellets through the through hole by the probe of the whiteness tester, and eliminates the green pellets (unqualified green pellets) with unsatisfactory whiteness, such as yellow green pellets; then, carrying out image acquisition on the green clusters through a first camera and a second camera which are arranged on two sides of the transparent conveying pipe, acquiring images at fixed points, completing the acquired images of the green clusters, then carrying out a series of processing on the captured original images of the green clusters through a computer, judging whether the green clusters are qualified, controlling different baffle switches (first to fourth baffle switches) to be opened or closed, and eliminating green clusters which do not meet the requirements (unqualified green clusters), such as the green clusters which are seriously cracked on the surface or go mouldy spots and the like on the surface; the efficient processing of the images is effectively combined with mechanical automatic sorting; the method is reasonable and feasible, simple and convenient to operate and good in effect; the automatic detection device has the advantages that the automatic machine replaces human eyes, the quality of the green pellets is detected and screened (unqualified products are removed) on line, the quality detection efficiency of the green pellets is improved, the accuracy is high, the stability is good, and the application and popularization prospects are good.
Preferably, in step S1, the feeding end of the transparent conveying pipe is provided with a stopper for allowing the green pellets to sequentially enter the transparent conveying pipe one by one.
Preferably, in step S2, the first camera and the second camera are symmetrically disposed at two sides of the extending direction of the transparent conveying pipe.
More preferably, the two sides of the extending direction of the first camera are respectively provided with an illuminating lamp, the two sides of the extending direction of the second camera are respectively provided with an illuminating lamp, and the illuminating lamp is arranged above the middle part between the first camera and the second camera.
More preferably, a light shield is covered on the periphery of the area where the first camera, the second camera and the illuminating lamp are located.
Preferably, in step S3, the computer divides the original image of the captured cyan blob so that the size of each divided region is 0.81 to 1.69mm2.
More preferably, in step S3, the computer segments the original image of the captured cyan blob so that each segmented region has a size of 1mm2.
Preferably, in step S5, the preset maximum gray scale difference value is 40 to 60.
More preferably, in step S5, the preset maximum gray scale difference value is 50.
Preferably, in step S7, the determining whether the quality of the cyan cluster is acceptable is further performed by:
s71, comparing the preset maximum gray difference value with the gray difference value between the minimum gray value and the maximum gray value by the computer, and judging whether the quality of the green ball is qualified;
s72, if the gray level difference is larger than or equal to the maximum gray level difference, determining that the green pellets are unqualified, controlling a third baffle switch and a fourth baffle switch to be opened, closing a second baffle switch at the same time, and conveying the unqualified green pellets to an unqualified product area from a second channel;
and S73, if the gray level difference value is smaller than the maximum gray level difference value, judging that the green pellets are qualified, controlling a third baffle switch to be closed, simultaneously opening a fourth baffle switch and a second baffle switch, and conveying the qualified green pellets to a qualified product area from a first channel.
Compared with the prior art, the invention has the following advantages and beneficial effects:
the on-line detection method for the quality of the green lumps is characterized in that the green lumps are continuously conveyed through a transparent conveying pipe, subjected to whiteness test on line through a probe of a whiteness tester from a through hole, and removed from the green lumps (unqualified green lumps) with unsatisfactory whiteness, such as yellow green lumps; then, carrying out image acquisition on the green groups through a first camera and a second camera which are arranged on two sides of the transparent conveying pipe, carrying out fixed-point image acquisition and complete image acquisition on the green groups, then carrying out a series of processing on the original images of the captured green groups through a computer, judging whether the green groups are qualified, controlling different baffle switches (a first baffle switch to a fourth baffle switch) to be opened or closed, and eliminating green groups which do not meet the requirements (unqualified green groups), such as deteriorated green groups with serious surface cracking or mildew spots on the surface; the efficient processing of the images is effectively combined with mechanical automatic sorting; the method is reasonable and feasible, simple and convenient to operate and good in effect; the automatic detection device has the advantages that the automatic machine replaces human eyes, the quality of the green pellets is detected and screened (unqualified products are removed) on line, the quality detection efficiency of the green pellets is improved, the accuracy is high, the stability is good, and the application and popularization prospects are good.
Drawings
FIG. 1 is a schematic structural diagram of the present invention.
Detailed Description
In order that those skilled in the art will better understand the technical solutions of the present invention, the following description will be given with reference to specific examples, but it should not be construed as limiting the present patent.
The test methods or test methods described in the following examples are all conventional methods unless otherwise specified; the reagents and materials, unless otherwise indicated, are conventionally obtained commercially or prepared by conventional methods.
Example 1:
an on-line detection method for the quality of green lumps comprises the following steps:
s1, conveying the green pellets 7 to a feeding end of a transparent conveying pipe 1, enabling the green pellets 7 to sequentially enter the transparent conveying pipe 1 one by one, and continuously conveying downwards;
s2, closing the first baffle switch 11 at the upper part of the transparent conveying pipe 1, enabling the green ball 7 to stay, starting a whiteness tester 8 arranged in an installation box body 14 at one side of the upper part of the transparent conveying pipe 1, enabling a probe of the whiteness tester 8 to carry out whiteness test on the green ball 7 through a through hole 141, and sending a whiteness test value to the computer 4 for processing;
s3, the computer 4 compares the whiteness with a whiteness real test value sent by the whiteness tester 8 in real time according to a preset minimum whiteness value;
if the whiteness value is smaller than the minimum whiteness value, judging that the green pellets are unqualified, controlling the first baffle switch 11, the third baffle switch 13 and the fourth baffle switch 15 to be opened, closing the second baffle switch 12 at the same time, and conveying the unqualified green pellets 7 to an unqualified product area from the second channel 17;
if the whiteness value is larger than or equal to the minimum whiteness value, judging the green ball to be qualified, and controlling the first baffle switch 11 to be opened and the fourth baffle switch 15 to be closed to enable the qualified green ball 7 to stay on the fourth baffle switch 15;
s4, carrying out image acquisition on the green ball 7 through the first camera 2 and the second camera 3 which are arranged on the two sides of the transparent conveying pipe 1, capturing an original image of the green ball 7 from the video, and transmitting the original image to the computer 4 for processing;
s5, the computer 4 segments the original image of the captured cyan cluster 7, and then performs gray processing on each segmented area to obtain a corresponding gray value; the range of the gray value is 0-256;
s6, the computer 4 compares the minimum gray value with the maximum gray value according to all the gray value results, and calculates the gray difference value between the minimum gray value and the maximum gray value;
s7, the computer 4 compares the preset maximum gray difference value with the gray difference value between the minimum gray value and the maximum gray value to judge whether the quality of the green ball is qualified;
if the gray difference is larger than or equal to the maximum gray difference, determining that the green pellets are unqualified, controlling a third baffle switch 13 and a fourth baffle switch 15 to be opened, closing a second baffle switch 12 at the same time, and conveying the unqualified green pellets 7 to an unqualified product area from a second channel 17;
if the gray difference value is smaller than the maximum gray difference value, the product is judged to be qualified, the third baffle switch 13 is controlled to be closed, the fourth baffle switch 15 and the second baffle switch 12 are opened at the same time, and the qualified cyan cluster 7 is conveyed to a qualified product area from the first channel 16;
in step S3, the preset minimum whiteness value may be set and changed by computer software; in step S5, the preset maximum gray scale difference value may be set and changed by computer software.
Preferably, in step S1, a stopper is disposed at the feeding end of the transparent conveying pipe 1, and is used for allowing the green pellets 7 to sequentially enter the transparent conveying pipe 1 one by one.
Preferably, in step S2, the first camera 2 and the second camera 3 are symmetrically disposed at two sides of the extending direction of the transparent conveying pipe 1.
Preferably, the two sides of the extending direction of the first camera 2 are respectively provided with an illuminating lamp 6, the two sides of the extending direction of the second camera 3 are respectively provided with an illuminating lamp 6, and the illuminating lamps 6 are arranged above the middle part between the first camera 2 and the second camera 3.
More preferably, a light shield is provided around the area where the first camera 2, the second camera 3, and the illumination lamp 6 are located.
Preferably, in step S3, the computer 4 divides the original image of the captured cyan blob 7, and the size of each divided region is 0.81 to 1.69mm2.
More preferably, in step S3, the computer 4 segments the original image of the captured cyan blob 7, and the size of each segmented region is 1mm2 after segmentation.
Preferably, in step S5, the preset maximum gray scale difference value is 40 to 60.
More preferably, in step S5, the preset maximum gray scale difference value is 50.
Preferably, in step S7, the determining whether the quality of the cyan cluster is qualified further comprises:
s71, comparing the preset maximum gray difference value with the gray difference value between the minimum gray value and the maximum gray value by the computer 4, and judging whether the quality of the green ball is qualified;
s72, if the gray scale difference is larger than or equal to the maximum gray scale difference, determining that the product is unqualified, controlling a third baffle switch 13 and a fourth baffle switch 15 to be opened, closing a second baffle switch 12 at the same time, and conveying the unqualified green pellets 7 to an unqualified product area from a second channel 17;
and S73, if the gray level difference value is smaller than the maximum gray level difference value, judging that the green pellets are qualified, controlling the third shutter switch 13 to be closed, simultaneously opening the fourth shutter switch 15 and the second shutter switch 12, and conveying the qualified green pellets 7 to a qualified product area from the first channel 16.
Example 2:
an on-line detection method for the quality of green lumps comprises the following steps:
s1, conveying the green pellets 7 to a feeding end of a transparent conveying pipe 1, enabling the green pellets 7 to sequentially enter the transparent conveying pipe 1 one by one, and continuously conveying downwards;
s2, closing a first baffle switch 11 on the upper part of the transparent conveying pipe 1, enabling the green pellets 7 to stay, starting a whiteness tester 8 arranged in an installation box body 14 on one side of the upper part of the transparent conveying pipe 1, enabling a probe of the whiteness tester 8 to carry out whiteness test on the green pellets 7 through a through hole 141, and sending a whiteness test value to a computer 4 for processing;
s3, the computer 4 compares the whiteness with a whiteness real test value sent by the whiteness tester 8 in real time according to a preset minimum whiteness value;
if the whiteness value is smaller than the minimum whiteness value, judging that the green pellets are unqualified, controlling the first baffle switch 11, the third baffle switch 13 and the fourth baffle switch 15 to be opened, closing the second baffle switch 12 at the same time, and conveying the unqualified green pellets 7 to an unqualified product area from the second channel 17;
if the whiteness value is larger than or equal to the minimum whiteness value, judging the green ball to be qualified, and controlling the first baffle switch 11 to be opened and the fourth baffle switch 15 to be closed to enable the qualified green ball 7 to stay on the fourth baffle switch 15;
s4, carrying out image acquisition on the green ball 7 through the first camera 2 and the second camera 3 which are arranged on the two sides of the transparent conveying pipe 1, capturing an original image of the green ball 7 from the video, and transmitting the original image to the computer 4 for processing;
s5, the computer 4 divides the original image of the captured cyan blob 7, and then each divided area is subjected to gray level processing to obtain a corresponding gray level value; the range of the gray value is 0-256;
s6, the computer 4 compares the minimum gray value and the maximum gray value according to all the gray value results, and calculates the gray difference between the minimum gray value and the maximum gray value;
s7, the computer 4 compares the preset maximum gray difference value with the gray difference value between the minimum gray value and the maximum gray value to judge whether the quality of the green ball is qualified;
if the gray difference is larger than or equal to the maximum gray difference, determining that the green pellets are unqualified, controlling a third baffle switch 13 and a fourth baffle switch 15 to be opened, closing a second baffle switch 12 at the same time, and conveying the unqualified green pellets 7 to an unqualified product area from a second channel 17;
if the gray difference value is smaller than the maximum gray difference value, judging the product to be qualified, controlling a third baffle switch 13 to be closed, simultaneously opening a fourth baffle switch 15 and a second baffle switch 12, and conveying the qualified cyan cluster 7 to a qualified product area from a first channel 16;
in step S3, the preset minimum whiteness value may be set and changed by computer software; in step S5, the preset maximum gray scale difference value may be set and changed by computer software.
In this embodiment, in step S1, the feeding end of the transparent conveying pipe 1 is provided with a stopper for allowing the green pellets 7 to sequentially enter the transparent conveying pipe 1 one by one.
In this embodiment, in step S2, the first camera 2 and the second camera 3 are symmetrically disposed on both sides of the extending direction of the transparent conveying pipe 1.
In this embodiment, the two sides of the extending direction of the first camera 2 are respectively provided with an illuminating lamp 6, the two sides of the extending direction of the second camera 3 are respectively provided with an illuminating lamp 6, and the illuminating lamp 6 is arranged above the middle part between the first camera 2 and the second camera 3.
In the present embodiment, a light shield is provided around the area where the first camera 2, the second camera 3, and the illumination lamp 6 are located.
In the present embodiment, in step S3, the computer 4 segments the original image of the captured cyan blob 7, and the size of each segmented region after segmentation is 0.81mm2.
In this embodiment, in step S5, the preset maximum gray scale difference value is 60.
In this embodiment, in step S7, the determining whether the quality of the cyan cluster is qualified is further performed as follows:
s71, the computer 4 compares the preset maximum gray difference value with the gray difference value between the minimum gray value and the maximum gray value to judge whether the quality of the green ball is qualified;
s72, if the gray level difference is larger than or equal to the maximum gray level difference, determining that the green pellets are unqualified, controlling the third baffle switch 13 and the fourth baffle switch 15 to be opened, closing the second baffle switch 12 at the same time, and conveying the unqualified green pellets 7 to an unqualified product area from the second channel 17;
and S73, if the gray level difference value is smaller than the maximum gray level difference value, judging that the green pellets are qualified, controlling the third shutter switch 13 to be closed, simultaneously opening the fourth shutter switch 15 and the second shutter switch 12, and conveying the qualified green pellets 7 to a qualified product area from the first channel 16.
Example 3:
an on-line detection method for the quality of green lumps comprises the following steps:
s1, conveying the green pellets 7 to a feeding end of a transparent conveying pipe 1, enabling the green pellets 7 to sequentially enter the transparent conveying pipe 1 one by one, and continuously conveying downwards;
s2, closing the first baffle switch 11 at the upper part of the transparent conveying pipe 1, enabling the green ball 7 to stay, starting a whiteness tester 8 arranged in an installation box body 14 at one side of the upper part of the transparent conveying pipe 1, enabling a probe of the whiteness tester 8 to carry out whiteness test on the green ball 7 through a through hole 141, and sending a whiteness test value to the computer 4 for processing;
s3, the computer 4 compares the whiteness with a whiteness real test value sent by the whiteness tester 8 in real time according to a preset minimum whiteness value;
if the whiteness value is smaller than the minimum whiteness value, judging that the green pellets are unqualified, controlling the first baffle switch 11, the third baffle switch 13 and the fourth baffle switch 15 to be opened, closing the second baffle switch 12 at the same time, and conveying the unqualified green pellets 7 to an unqualified product area from the second channel 17;
if the whiteness value is larger than or equal to the minimum whiteness value, judging the green ball to be qualified, and controlling the first baffle switch 11 to be opened and the fourth baffle switch 15 to be closed to enable the qualified green ball 7 to stay on the fourth baffle switch 15;
s4, carrying out image acquisition on the green ball 7 through the first camera 2 and the second camera 3 which are arranged on the two sides of the transparent conveying pipe 1, capturing an original image of the green ball 7 from the video, and transmitting the original image to the computer 4 for processing;
s5, the computer 4 divides the original image of the captured cyan blob 7, and then each divided area is subjected to gray level processing to obtain a corresponding gray level value; the range of the gray value is 0-256;
s6, the computer 4 compares the minimum gray value with the maximum gray value according to all the gray value results, and calculates the gray difference value between the minimum gray value and the maximum gray value;
s7, the computer 4 compares the preset maximum gray difference value with the gray difference value between the minimum gray value and the maximum gray value to judge whether the quality of the green ball is qualified;
if the gray scale difference is larger than or equal to the maximum gray scale difference, determining that the product is unqualified, controlling a third baffle switch 13 and a fourth baffle switch 15 to be opened, closing a second baffle switch 12 at the same time, and conveying the unqualified green pellets 7 to an unqualified product area from a second channel 17;
if the gray difference value is smaller than the maximum gray difference value, the product is judged to be qualified, the third baffle switch 13 is controlled to be closed, the fourth baffle switch 15 and the second baffle switch 12 are opened at the same time, and the qualified cyan cluster 7 is conveyed to a qualified product area from the first channel 16;
in step S3, the preset minimum whiteness value may be set and changed by computer software; in step S5, the preset maximum gray scale difference value may be set and changed by computer software.
In this embodiment, in step S1, the feeding end of the transparent conveying pipe 1 is provided with a stopper for allowing the green pellets 7 to sequentially enter the transparent conveying pipe 1 one by one.
In this embodiment, in step S2, the first camera 2 and the second camera 3 are symmetrically disposed on both sides of the extending direction of the transparent conveying pipe 1.
In this embodiment, the two sides of the extending direction of the first camera 2 are respectively provided with an illuminating lamp 6, the two sides of the extending direction of the second camera 3 are respectively provided with an illuminating lamp 6, and the illuminating lamp 6 is arranged above the middle part between the first camera 2 and the second camera 3.
In the present embodiment, a light shield is provided around the area where the first camera 2, the second camera 3, and the illumination lamp 6 are located.
In this embodiment, in step S3, the computer 4 segments the original image capturing the cyan blob 7, and the size of each segmented region after segmentation is 1.69mm2.
In this embodiment, in step S5, the preset maximum gray scale difference value is 40.
In this embodiment, in step S7, the determining whether the quality of the cyan blob is qualified further comprises the following steps:
s71, the computer 4 compares the preset maximum gray difference value with the gray difference value between the minimum gray value and the maximum gray value to judge whether the quality of the green ball is qualified;
s72, if the gray level difference is larger than or equal to the maximum gray level difference, determining that the green pellets are unqualified, controlling the third baffle switch 13 and the fourth baffle switch 15 to be opened, closing the second baffle switch 12 at the same time, and conveying the unqualified green pellets 7 to an unqualified product area from the second channel 17;
and S73, if the gray difference value is smaller than the maximum gray difference value, judging that the product is qualified, controlling the third baffle switch 13 to be closed, simultaneously opening the fourth baffle switch 15 and the second baffle switch 12, and conveying the qualified cyan cluster 7 to a qualified product area from the first channel 16.
Example 4:
an on-line detection method for the quality of green rice balls comprises the following steps:
s1, conveying the green pellets 7 to a feeding end of a transparent conveying pipe 1, enabling the green pellets 7 to sequentially enter the transparent conveying pipe 1 one by one, and continuously conveying downwards;
s2, closing a first baffle switch 11 on the upper part of the transparent conveying pipe 1, enabling the green pellets 7 to stay, starting a whiteness tester 8 arranged in an installation box body 14 on one side of the upper part of the transparent conveying pipe 1, enabling a probe of the whiteness tester 8 to carry out whiteness test on the green pellets 7 through a through hole 141, and sending a whiteness test value to a computer 4 for processing;
s3, the computer 4 compares the whiteness with a whiteness real test value sent by the whiteness tester 8 in real time according to a preset minimum whiteness value;
if the whiteness value is smaller than the minimum whiteness value, judging that the green pellets are unqualified, controlling the first baffle switch 11, the third baffle switch 13 and the fourth baffle switch 15 to be opened, closing the second baffle switch 12 at the same time, and conveying the unqualified green pellets 7 to an unqualified product area from the second channel 17;
if the brightness value is larger than or equal to the minimum brightness value, the blue rice is judged to be qualified, the first baffle switch 11 is controlled to be opened, the fourth baffle switch 15 is controlled to be closed, and the qualified blue rice 7 stays on the fourth baffle switch 15;
s4, carrying out image acquisition on the green ball 7 through the first camera 2 and the second camera 3 which are arranged on the two sides of the transparent conveying pipe 1, capturing an original image of the green ball 7 from the video, and transmitting the original image to the computer 4 for processing;
s5, the computer 4 segments the original image of the captured cyan cluster 7, and then performs gray processing on each segmented area to obtain a corresponding gray value; the range of the gray value is 0-256;
s6, the computer 4 compares the minimum gray value with the maximum gray value according to all the gray value results, and calculates the gray difference value between the minimum gray value and the maximum gray value;
s7, the computer 4 compares the preset maximum gray difference value with the gray difference value between the minimum gray value and the maximum gray value to judge whether the quality of the green ball is qualified;
if the gray difference is larger than or equal to the maximum gray difference, determining that the green pellets are unqualified, controlling a third baffle switch 13 and a fourth baffle switch 15 to be opened, closing a second baffle switch 12 at the same time, and conveying the unqualified green pellets 7 to an unqualified product area from a second channel 17;
if the gray difference value is smaller than the maximum gray difference value, the product is judged to be qualified, the third baffle switch 13 is controlled to be closed, the fourth baffle switch 15 and the second baffle switch 12 are opened at the same time, and the qualified cyan cluster 7 is conveyed to a qualified product area from the first channel 16;
in step S3, the preset minimum whiteness value may be set and changed by computer software; in step S5, the preset maximum gray scale difference value may be set and changed by computer software.
In this embodiment, in step S1, the feeding end of the transparent conveying pipe 1 is provided with a stopper for allowing the cyan balls 7 to sequentially enter the transparent conveying pipe 1 one by one.
In this embodiment, in step S2, the first camera 2 and the second camera 3 are symmetrically disposed on both sides of the extending direction of the transparent conveying pipe 1.
In this embodiment, the two sides of the extending direction of the first camera 2 are respectively provided with an illuminating lamp 6, the two sides of the extending direction of the second camera 3 are respectively provided with an illuminating lamp 6, and the illuminating lamp 6 is arranged above the middle part between the first camera 2 and the second camera 3.
In the present embodiment, a light shield is provided around the area where the first camera 2, the second camera 3, and the illumination lamp 6 are located.
In the present embodiment, in step S3, the computer 4 segments the original image of the captured cyan blob 7, and the size of each segmented region after segmentation is 1mm2.
In this embodiment, in step S5, the preset maximum gray scale difference is 50.
In this embodiment, in step S7, the determining whether the quality of the cyan blob is qualified further comprises the following steps:
s71, comparing the preset maximum gray difference value with the gray difference value between the minimum gray value and the maximum gray value by the computer 4, and judging whether the quality of the green ball is qualified;
s72, if the gray level difference is larger than or equal to the maximum gray level difference, determining that the green pellets are unqualified, controlling the third baffle switch 13 and the fourth baffle switch 15 to be opened, closing the second baffle switch 12 at the same time, and conveying the unqualified green pellets 7 to an unqualified product area from the second channel 17;
and S73, if the gray level difference value is smaller than the maximum gray level difference value, judging that the green pellets are qualified, controlling the third shutter switch 13 to be closed, simultaneously opening the fourth shutter switch 15 and the second shutter switch 12, and conveying the qualified green pellets 7 to a qualified product area from the first channel 16.
The above is only a preferred embodiment of the present invention, and it should be noted that the above preferred embodiment should not be considered as limiting the present invention, and the protection scope of the present invention should be subject to the scope defined by the claims. It will be apparent to those skilled in the art that various modifications and adaptations can be made without departing from the spirit and scope of the invention, and these modifications and adaptations should be considered within the scope of the invention.

Claims (9)

1. An on-line detection method for the quality of green lumps is characterized by comprising the following steps:
s1, conveying the green pellets (7) to a feeding end of a transparent conveying pipe (1), and enabling the green pellets (7) to sequentially enter the transparent conveying pipe (1) one by one and continue to be conveyed downwards;
s2, closing a first baffle switch (11) at the upper part of the transparent conveying pipe (1), stopping the green ball (7), starting a whiteness tester (8) in an installation box body (14) arranged at one side of the upper part of the transparent conveying pipe (1), enabling a probe of the whiteness tester (8) to carry out whiteness test on the green ball (7) from a through hole (141), and sending a whiteness test value to a computer (4) for processing;
s3, the computer (4) compares the whiteness with a whiteness real test value sent by the whiteness tester (8) in real time according to a preset minimum whiteness value;
if the whiteness value is smaller than the minimum whiteness value, judging that the green pellets are unqualified, controlling a first baffle switch (11), a third baffle switch (13) and a fourth baffle switch (15) to be opened, closing a second baffle switch (12) at the same time, and conveying the unqualified green pellets (7) to an unqualified product area from a second channel (17);
if the whiteness value is larger than or equal to the minimum whiteness value, judging the green ball to be qualified, controlling a first baffle switch (11) to be opened, and controlling a fourth baffle switch (15) to be closed, so that the qualified green ball (7) stays on the fourth baffle switch (15);
s4, carrying out image acquisition on the cyan group (7) through a first camera (2) and a second camera (3) which are arranged on two sides of the transparent conveying pipe (1), capturing an original image of the cyan group (7) from a video, and transmitting the original image to a computer (4) for processing;
s5, the computer (4) divides the original image of the captured cyan cluster (7), and then each divided area is subjected to gray level processing to obtain a corresponding gray level value; the range of the gray value is 0-256;
s6, the computer (4) compares the gray value results according to all the gray value results, selects the minimum gray value and the maximum gray value and calculates the gray difference value between the minimum gray value and the maximum gray value;
s7, comparing the preset maximum gray difference value with the gray difference value between the minimum gray value and the maximum gray value by the computer (4) to judge whether the quality of the green ball is qualified;
if the gray difference is larger than or equal to the maximum gray difference, determining that the green pellets are unqualified, controlling a third baffle switch (13) and a fourth baffle switch (15) to be opened, closing a second baffle switch (12) at the same time, and conveying the unqualified green pellets (7) to an unqualified product area from a second channel (17);
if the gray difference value is smaller than the maximum gray difference value, judging the green cluster to be qualified, controlling a third baffle switch (13) to be closed, simultaneously opening a fourth baffle switch (15) and a second baffle switch (12), and conveying the qualified green cluster (7) to a qualified product area from a first channel (16);
in step S3, the preset minimum whiteness value is set and changed by computer software; in step S5, the preset maximum gray scale difference value is set and changed through computer software.
2. The on-line detection method for green ball quality according to claim 1, characterized in that in step S1, the feeding end of the transparent conveying pipe (1) is provided with a stopper for allowing green balls (7) to enter the transparent conveying pipe (1) one by one in sequence.
3. The on-line detection method for cyan cluster quality according to claim 1, wherein in step S2, the first camera (2) and the second camera (3) are symmetrically arranged at two sides of the extending direction of the transparent conveying pipe (1).
4. The on-line detection method for the quality of the green agglomerates, according to claim 3, characterized in that illuminating lamps (6) are respectively arranged on two sides of the extending direction of the first camera (2), illuminating lamps (6) are respectively arranged on two sides of the extending direction of the second camera (3), and the illuminating lamps (6) are arranged above the middle part between the first camera (2) and the second camera (3).
5. The on-line detection method for the quality of the cyan ball according to claim 4, characterized in that the peripheral cover of the area where the first camera (2), the second camera (3) and the illuminating lamp (6) are located is provided with a light shield.
6. The on-line detection method for cyan cluster quality according to claim 1, wherein in step S3, the computer (4) segments the original image of the captured cyan cluster (7), and the size of each segmented region is 0.81-1.69mm2.
7. The on-line detection method for cyan blob quality as claimed in claim 1, wherein in step S3, the computer (4) segments the original image capturing the cyan blob (7), and the size of each segmented region is 1mm2 after segmentation.
8. The on-line detection method for cyan cluster quality according to claim 1, wherein in step S5, the preset maximum gray scale difference is 40-60.
9. The on-line detection method for cyan cluster quality according to claim 1, wherein in step S5, the preset maximum gray scale difference value is 50.
CN201911234759.5A 2019-12-05 2019-12-05 Online detection method for quality of green rice ball Active CN110954551B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911234759.5A CN110954551B (en) 2019-12-05 2019-12-05 Online detection method for quality of green rice ball

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911234759.5A CN110954551B (en) 2019-12-05 2019-12-05 Online detection method for quality of green rice ball

Publications (2)

Publication Number Publication Date
CN110954551A CN110954551A (en) 2020-04-03
CN110954551B true CN110954551B (en) 2023-02-10

Family

ID=69979951

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911234759.5A Active CN110954551B (en) 2019-12-05 2019-12-05 Online detection method for quality of green rice ball

Country Status (1)

Country Link
CN (1) CN110954551B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06129990A (en) * 1992-10-21 1994-05-13 Satake Eng Co Ltd Method and instrument for measuring whiteness of sake-making rice
JP2000009653A (en) * 1998-06-23 2000-01-14 Toyota Motor Corp Device for judging degree of whiteness of object
CA2416966A1 (en) * 2003-01-22 2004-07-22 Centre De Recherche Industrielle Du Quebec Method and apparatus for testing the quality of reclaimable waste paper matter containing contaminants
CN101194161A (en) * 2005-06-03 2008-06-04 株式会社前川制作所 Apparatus for detecting contaminants in food
CN102495068A (en) * 2011-12-01 2012-06-13 浙江工商大学 Method and system for detecting chalky rice on line
CN103674816A (en) * 2013-12-25 2014-03-26 浙江工商大学 Detection method for detecting rice grains with chalkiness and detection system adopting same
CN107655901A (en) * 2017-10-25 2018-02-02 沈阳大学 3 D stereo defect dumpling cognitron
CN110221032A (en) * 2019-07-09 2019-09-10 浙江五芳斋实业股份有限公司 A kind of rice quality detection method based near infrared spectrum

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06129990A (en) * 1992-10-21 1994-05-13 Satake Eng Co Ltd Method and instrument for measuring whiteness of sake-making rice
JP2000009653A (en) * 1998-06-23 2000-01-14 Toyota Motor Corp Device for judging degree of whiteness of object
CA2416966A1 (en) * 2003-01-22 2004-07-22 Centre De Recherche Industrielle Du Quebec Method and apparatus for testing the quality of reclaimable waste paper matter containing contaminants
CN101194161A (en) * 2005-06-03 2008-06-04 株式会社前川制作所 Apparatus for detecting contaminants in food
CN102495068A (en) * 2011-12-01 2012-06-13 浙江工商大学 Method and system for detecting chalky rice on line
CN103674816A (en) * 2013-12-25 2014-03-26 浙江工商大学 Detection method for detecting rice grains with chalkiness and detection system adopting same
CN107655901A (en) * 2017-10-25 2018-02-02 沈阳大学 3 D stereo defect dumpling cognitron
CN110221032A (en) * 2019-07-09 2019-09-10 浙江五芳斋实业股份有限公司 A kind of rice quality detection method based near infrared spectrum

Also Published As

Publication number Publication date
CN110954551A (en) 2020-04-03

Similar Documents

Publication Publication Date Title
CN104871175B (en) Food quality is scored and is controlled
Wan et al. Rice quality classification using an automatic grain quality inspection system
Edreschi et al. Classification of potato chips using pattern recognition
CN101832941B (en) Fruit quality evaluation device based on multispectral image
Fashi et al. The relationship between the appearance of pomegranate fruit and color and size of arils based on image processing
Eissa et al. Understanding color image processing by machine vision for biological materials
CA2061865C (en) Methods and apparatus for optically determining the acceptability of products
US11003958B2 (en) Food quality image classification
KR101703542B1 (en) Automatic sorting method of sea-squirt using feature measurement and HSV color model
Arefi et al. Wheat class identification using computer vision system and artificial neural networks
CN105466950A (en) Bamboo dice online detection method and system based on vision
Taghadomi-Saberi et al. Determination of Cherry Color Parameters during Rip ening by Artificial Neural Network Assisted Image Process ing Technique
CN104658014A (en) Method for detecting in-vivo chromaticity abnormality
CN103528967B (en) Overdone indigo fruit fruit identification method based on high spectrum image
Pearson et al. A machine vision system for high speed sorting of small spots on grains
CN109100350B (en) Flour bran star detection method
CN109089992A (en) A kind of classification method and system of the Estimation of The Fish Freshness based on machine vision
Jitanan et al. Quality grading of soybean seeds using image analysis
Arefi et al. Recognition of weed seed species by image processing
CN110954551B (en) Online detection method for quality of green rice ball
CN111860125A (en) Method for identifying fruit maturity based on machine vision
Ganganagowdar et al. Recognition and classification of White Wholes (WW) grade cashew kernel using artificial neural networks
Reyes et al. Image analysis of real-time classification of cherry fruit from colour features
CN115880282A (en) Monitoring method and monitoring device for uniform charging of hotpot condiment
CN114082675A (en) Automatic grading device for waxberry quality detection and grading method thereof

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant