CN202599818U - Machine vision-based red globe grape automatic-classifying device - Google Patents

Machine vision-based red globe grape automatic-classifying device Download PDF

Info

Publication number
CN202599818U
CN202599818U CN 201220247652 CN201220247652U CN202599818U CN 202599818 U CN202599818 U CN 202599818U CN 201220247652 CN201220247652 CN 201220247652 CN 201220247652 U CN201220247652 U CN 201220247652U CN 202599818 U CN202599818 U CN 202599818U
Authority
CN
China
Prior art keywords
machine vision
automatic
box
grape
lamp box
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.)
Expired - Fee Related
Application number
CN 201220247652
Other languages
Chinese (zh)
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.)
Huazhong Agricultural University
Original Assignee
Huazhong Agricultural University
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 Huazhong Agricultural University filed Critical Huazhong Agricultural University
Priority to CN 201220247652 priority Critical patent/CN202599818U/en
Application granted granted Critical
Publication of CN202599818U publication Critical patent/CN202599818U/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Abstract

The utility model discloses a machine vision-based red globe grape automatic-classifying device, relating to the technical field of fruit classifying. The machine vision-based red globe grape automatic-classifying device is structurally characterized in that a closed box and a lamp box are connected into a whole up and down, and a clapboard between the closed box and the lamp box is provided with a circular hole; a tablet computer is arranged on the lateral walls of the closed box and the lamp box; an annular florescent lamp is arranged in the middle of the upper part of the lamp box, and an industrial camera is arranged in the middle of the lower part of the closed box, and a camera of the industrial camera is over against the circular hole; the industrial camera is connected with the tablet computer through a data wire; and red globe grapes are arranged in the lamp box. The machine vision-based red globe grape automatic-classifying device can finish automatic classifying due to adopting a machine vision technology, is uniform in standard, accurate to classify, high in efficiency because the computer is adopted for processing images, capable of realizing nondestructive detection and classification and capable of being suitable for modernized automatic detection industry by using a machine instead of human eyes and has a favorable application and popularization prospect.

Description

The automatic grading plant of a kind of red grape based on machine vision
Technical field
The utility model relates to the fruit grading technical field, relates in particular to the automatic grading plant of a kind of red grape based on machine vision.Specifically, the utility model is to utilize machine vision technique to gather the image of red grape, through a series of Flame Image Process, carries out classification according to the size and the whole string color of red grape individual particle; For the classification of red grape, come into the market to provide a kind of means fast and effectively.
Background technology
For a long time, the classification of red grape is to rely on people's naked eyes to judge that subjective, classification work is uninteresting and loaded down with trivial details; And owing to the subjective judgement of criteria for classification from the people, different people's resolution standard varies especially, so error in classification is bigger.
The research of machine vision aspect is existing a lot, especially extensive especially aspect agricultural product Non-Destructive Testing and classification, yet the research of this type both at home and abroad is that object is studied with the single fruit target of regular shape such as orange, apple, tomato all mostly.And for red grape, because its out-of-shape, image segmentation and intractability are very big, both at home and abroad to the research of this type all seldom, also mainly are that size or form to whole string studied even have, and be then rarely found to the size discriminating of simple grain grape.
Utilize machine vision to come the size of judgment object of common occurrence.An Aiqin, Yu Zetong etc. measure the diameter of apple through to the apple Flame Image Process, thus according to size to apple classify (An Aiqin, Yu Zetong, Wang Hongqiang, 2008).Xiong Lirong, a chess-playing circles etc. extract and calculate the pixel count of simple grain peanut, and then have realized the classification (Xiong Lirong, a chess-playing circles, Xiao Renqin, 2007) to simple grain peanut size.Utilize Zhu Lianhai, Liu Muhua minimum rectangle method and centre of form Edge Distance method have realized the quick online detection classification (Zhu Lianhai, Liu Muhua, 2008) to the navel orange size.Like that, at present most utilize machine vision to carry out size to differentiate it all is, and relate to for the size discriminating few people of the single individuality in the such bunchiness object of red grape to single integral body.
Utilize machine vision that the research of red grape is rounded string mostly at present and be research object, research direction mainly concentrates on the Target Recognition and the prevention and control of plant diseases, pest control.For example, Tian Rui, Guo Yanling set about from the color characteristic of grape, have realized under natural scene the identification to grape, and the exploitation picking robot is had certain experiences meaning (Tian Rui, Guo Yanling, 2008).And the existing machine vision of utilizing is carried out grape in the research of classification, also is to carry out to the form of whole string.For example; People such as Chen Ying, Liao Tao uses projected area method and fruit direction of principal axis drop shadow curve to calculate the size and the form parameter of the whole string of grape; And then realization is to the quality classification of grape; The accuracy rate of color grading up to 90%, has then been reached 88.3% (Chen Ying, Liao Tao, woods just lean on etc., 2010) to the classification accuracy rate of size shape.
Through retrieval, domestic automatic classification technique of relevant red grape and the screening installation do not found as yet is applied to produce actual.
Summary of the invention
The purpose of the utility model overcomes the problem that prior art exists with regard to being, provides a kind of red grape based on machine vision automatic grading plant.
The purpose of the utility model is achieved in that
The utility model utilizes machine vision, uses specific algorithm, and the image of red grape is cut apart calculating; Size to the simple grain grape is differentiated; Thereby realize objectifying of grape magnitude classification standard, the robotization of assorting process, the high efficiency of classification work.Adopt machine vision to carry out the magnitude classification of red grape, can from loaded down with trivial details uninteresting grape classification work, free the workman, increase work efficiency and accuracy, significance is arranged.
The utility model is primarily aimed at the red grape size and differentiates, different with other existing researchs is that the utility model is classified according to the size of simple grain in the whole string grape, but not puts in order the size of going here and there.In the utility model, several work below main the completion:
1, gather the image of bunchiness red grape, mainly comprise the selection of test with red grape, the preparation of test equipment is taken pictures etc.
2, seek appropriate algorithm, carry out Flame Image Process, extract characteristic parameter;
This is the most key place, is divided into two main steps, the firstth, and the image pre-service adopts suitable algorithm to realize cutting apart of grape and background; The secondth, the extraction of characteristic parameter and calculating, the border array is extracted on the border after the utility model utilization is cut apart, and then the angle of curvature of every bit on the computation bound, differentiates the size of grape according to the mean value of the angle of curvature.
3, set up the red of different order of magnitude and carry automatic model of cognition, and check.
Emphasis of the utility model and difficult point are how to carry out the image pre-service and extract the standard of any characteristic parameter as classification, and this two closely bound up.The target that finally will realize is can extract reasonable parameter through the machine vision image technique, sets up the red size fractionation model of carrying, and realizes the size of harmless fast detecting red grape.
Specifically, the technical scheme of the utility model is following:
One, based on the automatic grading plant of the red grape of machine vision (abbreviation device)
Like Fig. 1, this device is made up of lamp box, closed box, annular daylight lamp, industrial camera and panel computer;
Closed box and lamp box connect into an integral body up and down, and the dividing plate between two casees is provided with a circular hole; Two casees sidewall is provided with panel computer;
In the middle of the top of lamp box, be built-in with annular daylight lamp, in the middle of the bottom of closed box, be built-in with industrial camera, the camera of industrial camera is over against circular hole;
Industrial camera links to each other with panel computer through data line;
Red grape places lamp box.
Two, based on the red grape automatic grading method (abbreviation method) of machine vision
This method comprises the following steps:
1. red grape to be measured is numbered;
2. put into the closed box images acquired to red grape successively
One of every shooting is preserved and rename, with specific name sequence the image of gathering is classified;
In the image acquisition process, keep the clean and clean and tidy of background as far as possible, avoid making troubles to the image and the processing in later stage.
Each take 2~4, has clapped once after, with its upset, change the angle of putting, repeat shooting, thereby realization is from the information extraction as much as possible of red sage grape;
3. after images acquired is accomplished, write down image, image handled:
A, to figure image intensifying:
Through the conversion of gradation of image grade is stressed the characteristic paid close attention to reach, suppress the characteristic do not paid close attention to, picture quality is improved, quantity of information is enriched;
B, to image segmentation:
Through detecting the profile of object, object and background segment are come;
The characteristic parameter of C, extraction image:
The boundary curve degree of crook can reflect the size of simple grain grape indirectly, and boundary curve degree of crook measurement way the most intuitively is to use the curvature or the angle of curvature; Utilize the red profile of carrying of computer software search, and with the node of individual particle that individual particle is separated, calculate the average angle of curvature and average arc length line;
D, substitution model tormulation formula are judged the grape size;
Like Fig. 2, on (red grape) camber line, choose three some P 1, P, P 2, P wherein 1Arrive P and P to P 2Distance be equal, then the P angle of curvature of ordering is defined as vectorial P P 1With vectorial P 2The angle of P.
Said model tormulation formula is: θ = Arccos ( a → · b → | a → | · | b → | )
The principle of work of the utility model is:
Red grape 00 is placed lamp box 10 from the side door 11 of lamp box 10, turn on annular daylight lamp 30,, regulate the camera 41 of industrial camera 40 and aim at red grape 00, gather the image of red grape 00 through circular hole K for red grape 00 provides light source; Panel computer 50 is built-in with image pick-up card and image processing software, judges the simple grain size of bunchiness red grape 00, thereby detects various other red grapes 00 of level.
The utlity model has following advantage and good effect:
1, adopts machine vision technique, can accomplish automatic classification;
2, standard is unified, and classification is accurate;
3, utilize the Computer Processing image, efficient is high;
4, can realize the Non-Destructive Testing classification;
5, replace human eye with machine, can adapt to modernization and detect industry automatically, have a good promotion prospects.
Description of drawings
Fig. 1 is the structural representation of this device, among the figure:
The 00-red grape,
The 10-lamp box, 11-lamp box side door;
The 20-closed box, 12-closed box roof door;
The 30-annular daylight lamp;
The 40-industrial camera, the 41-camera;
50-panel computer.
Fig. 2 is the specification of a model figure of red grape;
Fig. 3 is the workflow diagram of image processing software.
Embodiment
Specify below in conjunction with accompanying drawing and embodiment:
One, device
1, overall
Like Fig. 1, this device is made up of lamp box 10, closed box 20, annular daylight lamp 30, industrial camera 40 and panel computer 50;
Closed box 20 connects into an integral body up and down with lamp box 10, and the dividing plate between two casees is provided with a circular hole (about 40mm) K; Two casees sidewall is provided with panel computer 50;
In the middle of the top of lamp box 10, be built-in with annular daylight lamp 30, in the middle of the bottom of closed box 20, be built-in with industrial camera 40, the camera 41 of industrial camera 40 is over against circular hole K;
Industrial camera 40 links to each other with panel computer 50 through data line;
Red grape 00 places lamp box 10.
2, functional block
1) annular daylight lamp 30
Annular daylight lamp 30 is a kind of general outsourcing pieces.
As select Philips TLSC type annular daylight lamp for use; Its function is for red grape 00 light source to be provided.
2) industrial camera 40
Industrial camera 40 is a kind of general outsourcing pieces.
As select the UI-2210RE-C-HG industrial camera for use; Its function is the view data of gathering red grape.
3) panel computer 50
Panel computer 50 is a kind of general outsourcing pieces.
Select D525 for use, cpu dominant frequency 1GHz, internal memory 1G, Lan/com/12-28v Adaptor.
Be built-in with image pick-up card and image processing software in the panel computer 50.
The workflow of described image processing software is:
1. reading images 1;
2. the RGB component is extracted in supplement, the gray-scale map computing, and histogram equalization is handled, and detects the edge, closed operation 2;
3. whether the surveyed area area is then to get into step 4. greater than 50003, otherwise continues step 3.;
4. only keep the zone greater than 5000, dilation operation rewrites and reads the RGB component, and the self-adaptation adjustment detects the edge, closed operation, filling cavity 4;
5. whether the surveyed area area is then to get into step 6. greater than 20005, otherwise continues step 5.;
6. only keep zone greater than 2000, closed operation, filling cavity is removed burr, extracts boundary information 6;
7. be divided into two types of calculating: computing curvature angle A; Calculate catastrophe point B;
Computing curvature angle A
Whether be infinitely great A1, be 1. A1 of repeating step then if 1. detecting the angle of curvature of asking, otherwise 2. A2 of entering step;
2. store this and put bent angle of curvature A2;
3. detecting whether finish A3, is then to get into 4. A4 of step, jumps to 1. A1 of step otherwise change;
4. ask average, output is A4 as a result;
5. set up and the inspection-classification MODEL C;
Calculate catastrophe point B
1. detect and adjacent become the angle at 3, be 1. B1 of repeating step then, otherwise get into 2. B2 of step whether greater than threshold value B1;
2. store this this point mutation point of some storage B2;
3. detecting whether finish B3, is then to get into 4. B4 of step, jumps to 1. B1 of step otherwise change;
4. extract the border total length, calculate the long B4 of average camber line;
5. set up and the inspection-classification MODEL C.
3, testing result
The test specimen of present embodiment is divided into two types with red grape by color available from the agricultural supermarket of China: red, aubergine; Be divided three classes by size: especially big, bigger than normal, less than normal.
The color judgment accuracy rate is 96%, and big or small correct judgment rate is 85%.

Claims (1)

1. automatic grading plant of the red grape based on machine vision is characterized in that:
Form by lamp box (10), closed box (20), annular daylight lamp (30), industrial camera (40) and panel computer (50);
Closed box (20) and lamp box (10) connect into an integral body up and down, and the dividing plate between two casees is provided with a circular hole (K); Two casees sidewall is provided with panel computer (50);
In the middle of the top of lamp box (10), be built-in with annular daylight lamp (30), in the middle of the bottom of closed box (20), be built-in with industrial camera (40), the camera (41) of industrial camera (40) is over against circular hole (K);
Industrial camera (40) links to each other with panel computer (50) through data line;
Red grape (00) places lamp box (10).
CN 201220247652 2012-05-30 2012-05-30 Machine vision-based red globe grape automatic-classifying device Expired - Fee Related CN202599818U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201220247652 CN202599818U (en) 2012-05-30 2012-05-30 Machine vision-based red globe grape automatic-classifying device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201220247652 CN202599818U (en) 2012-05-30 2012-05-30 Machine vision-based red globe grape automatic-classifying device

Publications (1)

Publication Number Publication Date
CN202599818U true CN202599818U (en) 2012-12-12

Family

ID=47317347

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201220247652 Expired - Fee Related CN202599818U (en) 2012-05-30 2012-05-30 Machine vision-based red globe grape automatic-classifying device

Country Status (1)

Country Link
CN (1) CN202599818U (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102680414A (en) * 2012-05-30 2012-09-19 华中农业大学 Automatic grading device for red globe grapes based on machine vision and method thereof
CN105606473A (en) * 2016-01-20 2016-05-25 华中农业大学 Red globe grape hardness nondestructive detection method based on machine vision
CN106111556A (en) * 2016-08-22 2016-11-16 华中农业大学 Automatically the detection of spike fruit is equipped with classification

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102680414A (en) * 2012-05-30 2012-09-19 华中农业大学 Automatic grading device for red globe grapes based on machine vision and method thereof
CN102680414B (en) * 2012-05-30 2014-06-25 华中农业大学 Automatic grading device for red globe grapes based on machine vision and method thereof
CN105606473A (en) * 2016-01-20 2016-05-25 华中农业大学 Red globe grape hardness nondestructive detection method based on machine vision
CN105606473B (en) * 2016-01-20 2018-06-15 华中农业大学 A kind of red grape rigidity nondestructive testing method based on machine vision
CN106111556A (en) * 2016-08-22 2016-11-16 华中农业大学 Automatically the detection of spike fruit is equipped with classification
CN106111556B (en) * 2016-08-22 2018-02-23 华中农业大学 The automatic detection of spike fruit is equipped with classification

Similar Documents

Publication Publication Date Title
CN102680414B (en) Automatic grading device for red globe grapes based on machine vision and method thereof
CN105203543B (en) FCL red grape fruit size fractionation devices and methods therefor based on machine vision
CN105046700B (en) Fruit surface defect detection method and system based on gamma correction and color classification
CN104766097B (en) Surface of aluminum plate defect classification method based on BP neural network and SVMs
CN107486415A (en) Thin bamboo strip defect on-line detecting system and detection method based on machine vision
CN103593670A (en) Copper sheet and strip surface defect detection method based on-line sequential extreme learning machine
CN111652883B (en) Glass surface defect detection method based on deep learning
CN107084992A (en) A kind of capsule detection method and system based on machine vision
CN202599818U (en) Machine vision-based red globe grape automatic-classifying device
CN112893159B (en) Coal gangue sorting method based on image recognition
TW201906038A (en) Semiconductor wafer analyzing system and method thereof
CN106872473A (en) A kind of potato defects detection identifying system design based on machine vision
CN110575973B (en) Crop seed quality detection and screening system
CN103245666B (en) Automatic detecting method for appearance defects of storage battery polar plate
CN112560896A (en) Fruit quality screening and classifying system based on image processing
CN103528967A (en) Hyperspectral image based overripe Lonicera edulis fruit identification method
CN109446964A (en) Face detection analysis method and device based on end-to-end single-stage multiple scale detecting device
TWM550465U (en) Semiconductor wafer analyzing system
CN105973910A (en) Structure and texture characteristic-based lamp tube quality detection and flaw classification method and system thereof
CN106940292A (en) Bar denier wood raw material quick nondestructive discrimination method of damaging by worms based on multi-optical spectrum imaging technology
CN110174063A (en) A kind of neutral pen ink height detecting system and detection method based on machine vision
CN107767372A (en) The online vision detection system of chip pin and its method that a kind of hierarchic parallel calculates
Cui et al. Walnut Ripeness Detection Based on Coupling Information and Lightweight YOLOv4
CN111359892A (en) Device and method for detecting and grading appearance of Tianbao honey pomelos based on machine vision
CN112179846A (en) Prefabricated convex window defect detection system based on improved Faster R-CNN

Legal Events

Date Code Title Description
C14 Grant of patent or utility model
GR01 Patent grant
C17 Cessation of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20121212

Termination date: 20140530