CN101915823B - Ultraviolet detection method for shell bacteria-carrying eggs and device thereof - Google Patents

Ultraviolet detection method for shell bacteria-carrying eggs and device thereof Download PDF

Info

Publication number
CN101915823B
CN101915823B CN201010223076.2A CN201010223076A CN101915823B CN 101915823 B CN101915823 B CN 101915823B CN 201010223076 A CN201010223076 A CN 201010223076A CN 101915823 B CN101915823 B CN 101915823B
Authority
CN
China
Prior art keywords
egg
camera
described
image
eggs
Prior art date
Application number
CN201010223076.2A
Other languages
Chinese (zh)
Other versions
CN101915823A (en
Inventor
王巧华
王树才
陈红
朱涛
Original Assignee
华中农业大学
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 华中农业大学 filed Critical 华中农业大学
Priority to CN201010223076.2A priority Critical patent/CN101915823B/en
Publication of CN101915823A publication Critical patent/CN101915823A/en
Application granted granted Critical
Publication of CN101915823B publication Critical patent/CN101915823B/en

Links

Abstract

The invention discloses an automatic detection method for shell bacteria-carrying eggs and a device thereof. The purpose of intelligent and non-destructive detection of the shell bacteria-carrying eggs is fulfilled by using the machine vision technology through a series of image processing and establishment of an identification mode. The method comprises the following steps of: shooting reflected ultraviolet images of the detected poultry eggs by using a digital camera, transmitting information to a computer through an image acquisition card, performing a series of image processing by the computer, and then establishing an automatic identification mode according to the statistical data and the set related parameters. The device for implementing the method consists of a detection point, a camera bellows, an ultraviolet light source, the digital camera and the computer. Whether the egg shells carry bacteria is identified by using an ultraviolet lamp as a light source, using black color for the camera bellows as a background, acquiring the images of the eggs in the camera bellows under the irradiation of the ultraviolet light source through the camera and establishing the identification mode. The method and the device realize non-destructive automatic detection of the shell bacteria-carrying eggs difficultly identified by naked eyes, the accuracy reaches 99 percent, and the method and the device are applied to the egg product processing and quality detection industry.

Description

A kind of ultraviolet detection method of shell bacteria-carrying eggs and device thereof

Technical field

The invention belongs to birds, beasts and eggs detection technique field, be specifically related to a kind of method and apparatus of quality of poultry eggs Non-Destructive Testing, the present invention utilizes a pick-up unit and image acquisition and a processing unit forming with computing machine, image pick-up card and digital camera, identification rapidly and accurately has bacterial plaque egg and clean egg, for the supermarket that enters of clean agricultural product provides a kind of green test technology.

Background technology

Birds, beasts and eggs case surface is dirty have a variety of, obviously dirty as dirt, ight soil, blood cake, feather etc., these are easily found, but have under cover a large amount of bacteriums of many eggshell surfaces, naked eyes are but difficult to find, the bright and new birds, beasts and eggs of some shells are so unclean, if female bird infects intestines problem, egg eggshell surface under it carries the germs of a disease conventionally, and these germs that attach at eggshell surface easily enter birds, beasts and eggs inside, affect birds, beasts and eggs edible safety.The egg that carries disease germs belongs to dirty egg, and country will put into effect the birds, beasts and eggs security quality standard of being correlated with, and the shell dirty egg that carries disease germs needs rejecting, after cleaning and sterilizing, could go on the market.Therefore, find a kind of method and apparatus that effectively detects shell bacteria-carrying eggs of crucial importance.

Retrieve existing document, not yet find whether related detection birds, beasts and eggs shell contains the green test technology of bacterium.

Summary of the invention

The object of the invention is to overcome the defect of prior art, use machine vision technique, by a series of image, process and set up recognition mode, realize the object to shell bacteria-carrying eggs intelligence, Non-Destructive Testing.The method utilizes digital camera to take the light reflection ultraviolet image of tested birds, beasts and eggs, by image pick-up card, information is sent to computing machine, and computing machine carries out a series of images processing, then according to the correlation parameter of statistics and setting, sets up automatic identification model.The device of realizing said method is comprised of camera bellows, ultraviolet source, camera, the computing machine of birds, beasts and eggs check point, band door.Adopt special ultraviolet light as light source, camera bellows with black as a setting, obtains the image of birds, beasts and eggs under ultraviolet lamp tube irradiates in camera bellows with camera, identifies eggshell whether carry disease germs by the discrimination model of setting up.The present invention has realized the harmless of the impalpable shell bacteria-carrying eggs of naked eyes and has automatically detected.Be applicable to egg processing and Quality Detection industry.

Evidence: detection method of the present invention and install reasonable in design feasiblely, easy and simple to handle, successful in this method and application of installation can being detected to other egg product, has application prospect simultaneously.

Technical scheme of the present invention is as follows:

The detection egg shell method of whether carrying disease germs, its step is as follows:

1) left and right two walls in the camera bellows that is black at an inwall (3) respectively level wavelength is housed is 256nm, power is the ultraviolet source (2) of 12w, above described camera bellows, a CCD digital camera (4) is equipped with in center, by data line, be connected with image pick-up card, described image pick-up card is inserted in computing machine (5) slot, in the bottom of described camera bellows, be provided with a check point (1), this check point be positioned at CCD digital camera (4) camera lens under, this check point is for placing egg to be detected;

2) with described CCD digital camera, take the ultraviolet image of being examined egg, and these ultraviolet image data are sent in described image pick-up card, computing machine reads this ultraviolet image data of being examined egg from described image pick-up card;

3) extract the carry disease germs characteristic parameter in region of the egg that carries disease germs, to set up the detection template of the egg that carries disease germs, take following steps to carry out: computing machine utilizes image processing software, to being examined the rgb value of egg ultraviolet image, carry out grey level histogram adjustment, contrast enhancing, medium filtering respectively, make the bacterial plaque feature of image obvious, choose 200, the egg bacterial plaque place unique point of carrying disease germs, then statistical computation goes out maximal value and the minimum value of the RGB of bacterial plaque place component again, and egg feature templates parameter obtains carrying disease germs;

4) utilize image processing software, to being examined the rgb value of egg ultraviolet image, carry out gray scale adjustment, the pre-service of medium filtering respectively;

5) to being examined R, G, the B component of egg image, fill processing, make R, the G, the B value that in image, meet the pixel that detects template parameter condition all become a certain constant;

6) to being examined egg image, carry out whole detection, 5 * 5 matrix templates are set, the rgb value in image in a certain 5 * 5 matrixes all equals 5) described constant, show that this egg carries disease germs, otherwise, show that this egg is aseptic, to judge whether its shell carries disease germs.

In order to realize said method, the invention provides a kind of ultraviolet detector for shell bacteria-carrying eggs.It by being examined the check point, ultraviolet source of egg, camera bellows, CCD digital camera, image pick-up card and computing machine with door forms.Described ultraviolet source produces the parallel ultraviolet that wavelength is 256nm, described camera is to be furnished with the digital camera of obtained egg shell digital picture of ccd sensor (purchased from CANON, product type: Canon Powershot A640), described computer is furnished with image acquisition board, be equipped with the image capture software that digital camera carries (purchased from CANON, product type: CanonPowershot A640).Above-mentioned digital camera and other components and parts can be purchased and obtain from the market.

The ins and outs of device of the present invention are such:

Detect the device whether egg shell carries disease germs, it comprises a detection case, and it also comprises ultraviolet source, CCD digital camera, image pick-up card and computing machine, described detection case is the camera bellows (3) that an inwall is black, its side has chamber door (6), a left side in described camera bellows (3), on right two walls, wavelength is installed is 256nm to level correspondence, power is the ultraviolet source (2) (left and right each) of 12w, the center, top of described camera bellows (3) is provided with the hole that CCD digital camera (4) camera lens is passed, CCD digital camera is connected with image pick-up card by data line, described image pick-up card is inserted in computing machine (5) slot, in the bottom of described camera bellows, be provided with a check point (1), this check point be positioned at digital camera (4) camera lens under, described check point is for placing egg to be detected (or claiming to be examined egg), examined the switch of egg by chamber door (6) and be put into or be removed detection case, described device is by image acquisition units, graphics processing unit, image transmitting unit and image-display units (graphoscope) form (shown in accompanying drawing 1).

Method and apparatus provided by the invention can be realized fast for shell bacteria-carrying eggs, accurately, convenient, automatically, harmless detection, through practice examining, Detection accuracy reaches 99%, greatly improves the edible safety of birds, beasts and eggs, for clean egg input supermarket provides a kind of green test technology.

Accompanying drawing explanation

Fig. 1: be that image of the present invention is processed and pattern discrimination process flow diagram.

Fig. 2: the ultraviolet detector block diagram that is shell bacteria-carrying eggs of the present invention.In figure, number definition is as follows: 1-check point (egg to be measured, is examined egg); 2-ultraviolet source; 3-camera bellows; 4-CCD digital camera; 5-computing machine; 6-chamber door.

Fig. 3: the actual detection design sketch that is the same piece of egg that carries disease germs in the present invention in fact.Same piece is carried disease germs egg under three kinds of Different Light are irradiated, demonstrate three kinds of different images features: figure is left is general nature light reflected light image, it in figure, is incandescent lamp transmitted light images, the figure right side is ultraviolet reflectance light image of the present invention, as can be seen here, the egg that carries disease germs adopts the present invention to be detected rapidly and accurately.

Embodiment

Embodiment 1

The detection egg shell method of whether carrying disease germs, its step is as follows:

1) left and right two walls in the camera bellows that is black at an inwall (3) respectively level wavelength is housed is 256nm, power is the ultraviolet source (2) of 12w (voltage is 220V), above described camera bellows, a CCD digital camera (4) is equipped with in center, by data line, be connected with image pick-up card, described image pick-up card is inserted in computing machine (5) slot, in the bottom of described camera bellows, be provided with a check point (1), this check point be positioned at CCD digital camera (4) camera lens under, this check point is for placing egg to be detected;

2) with described CCD digital camera, take the ultraviolet image of being examined egg, and these ultraviolet image data are sent in described image pick-up card, computing machine reads this ultraviolet image data of being examined egg from described image pick-up card;

3) extract the carry disease germs characteristic parameter in region of the egg that carries disease germs, to set up the detection template of the egg that carries disease germs, take following steps to carry out: computing machine utilizes image processing software, to being examined the rgb value of egg ultraviolet image, carry out grey level histogram adjustment, contrast enhancing, medium filtering respectively, make the bacterial plaque feature of image obvious, choose 200, the egg bacterial plaque place unique point of carrying disease germs, then statistical computation goes out maximal value and the minimum value of the RGB of bacterial plaque place component again, and egg feature templates parameter obtains carrying disease germs;

4) utilize image processing software, to being examined the rgb value of egg ultraviolet image, carry out gray scale adjustment, the pre-service of medium filtering respectively;

5) to being examined R, G, the B component of egg image, fill processing, make R, the G, the B value that in image, meet the pixel that detects template parameter condition all become a certain constant;

6) to being examined egg image, carry out whole detection, 5 * 5 matrix templates are set, the rgb value in being examined egg image in a certain 5 * 5 matrixes all equals step 5) described constant, show that this is examined egg and carries disease germs, otherwise showing to be examined egg is clean egg.

In order to realize said method, the invention provides a kind of ultraviolet detector for shell bacteria-carrying eggs.It is comprised of check point, ultraviolet source, camera bellows, CCD digital camera, image pick-up card and the computing machine of being examined egg.Described ultraviolet source produces the parallel ultraviolet that wavelength is 256nm, described camera is to be furnished with the digital camera of obtained egg shell digital picture of ccd sensor (purchased from CANON, product type: Canon Powershot A640), described computer is furnished with image acquisition board, be equipped with the image capture software that digital camera carries (purchased from CANON, product type: Canon PowershotA640).Above-mentioned digital camera and other components and parts can be purchased and obtain from the market.

The ins and outs of device of the present invention are such: a kind ofly detect the device whether egg shell carries disease germs, it comprises a detection case, and it also comprises ultraviolet source, CCD digital camera, image pick-up card and computing machine, described detection case is the camera bellows (3) that an inwall is black, its side has chamber door (6), a left side in described camera bellows (3), on right two walls, wavelength is installed is 256nm to level correspondence, power is the ultraviolet source (2) of 12w, the center, top of described camera bellows (3) is provided with the hole that CCD digital camera (4) camera lens is passed, CCD digital camera is connected with image pick-up card by data line, described image pick-up card is inserted in computing machine (5) slot, in the bottom of described camera bellows, be provided with a check point (1), this check point be positioned at digital camera (4) camera lens under, described check point is for placing egg to be detected, examined the switch of egg by chamber door (6) and be put into or be removed detection case, described device is by image acquisition units, image transmitting unit, graphics processing unit and image-display units (graphoscope) form.

Under identical shooting condition, the egg that carries disease germs is the G of bacterial plaque, on the luminance difference of two components of B with the maximum differential of clean egg.After processing by a series of images, this color distortion can be more obvious, this is also the key point that egg can be automatically recognized of carrying disease germs, as long as the color characteristic that bacterial plaque fluorescence area is contained in certain region in a width egg image so just judges that this piece of egg carries disease germs.In the present embodiment, if the template region of setting is too small, differentiate that result is subject to picture noise impact and processing speed is slow, therefore applicant sets the matrix square of 5 * 5 according to actual needs, if the pixel in this matrix square all meets the condition of a pixel of carrying disease germs, so just judge that this egg carries disease germs.

According to the correlation parameter of statistics and setting, set up detecting pattern, the matrix that pattern contains the field color parameter of carrying disease germs, while containing the matrix that meets set model in the matrix of the pixel representative of birds, beasts and eggs image, system judges that this piece of egg carries disease germs, otherwise is clean egg.Based on this, the present invention sets up corresponding automatic identification model by the technology path shown in Fig. 1, and the detailed process of this recognition mode is:

(1) computing machine reads in ultraviolet image;

(2) respectively the rgb value of egg image is carried out to gray scale adjustment, medium filtering etc. in interior Image Adjusting measure;

(3) R of image, G, B component are filled to processing, make R, the G, the B value that in image, meet the pixel that detects template parameter condition all become a certain constant;

(4) image is carried out to whole detection, 5 * 5 matrix templates are set, the rgb value in image in a certain 5 * 5 matrixes all equals 5) described constant, show that this egg carries disease germs, otherwise, show that egg is clean.

(5) detect rear demonstration dialog box and illustrate that tested egg is clean or carries disease germs.In order to guarantee accuracy, as long as there is qualified matrix just to judge and carry disease germs on image, ad hoc permanent several V=0, once there is qualified matrix, it ejects dialog box with regard to assignment 1 simultaneously.

The device the invention provides as shown in Figure 2 is always schemed.By figure (2), tested egg (1) is put into camera bellows (3) by chamber door (6), can be produced the light source (2) that wavelength is the parallel ultraviolet of 256nm irradiates, digital camera (4) is taken tested egg simultaneously, and by the Digital Image Transmission of this acquisition to being furnished with in the computing machine (5) of image pick-up card, computing machine is through a series of image processing and analyzing, whether be carry disease germs egg, and on display, provide corresponding dialog box and demonstrate result if differentiating tested egg.

In order to check reliability of the present invention, applicant provides the actual detection design sketch of the same piece of egg that carries disease germs as shown in Figure 3.Same piece is carried disease germs egg under three kinds of Different Light are irradiated, demonstrate three kinds of different images features, a figure left side is general nature light reflected light image, it in figure, is incandescent lamp transmitted light images, the figure right side is ultraviolet reflectance light image of the present invention, as can be seen here, the egg that carries disease germs adopts the method for the invention to be detected.

Above example is only unrestricted in order to technical scheme of the present invention to be described, those of ordinary skill in the art is to be understood that, technical scheme of the present invention is modified or is replaced on an equal basis, and does not depart from the spirit and scope of technical solution of the present invention, all should be encompassed in claim scope of the present invention.

Claims (1)

1. based on machine vision technique, detect the device whether carry disease germs on egg shell surface, be provided with a detection case, it is characterized in that: it is also provided with ultraviolet source CCD digital camera, image pick-up card and computing machine, described detection case is the camera bellows (3) that an inwall is black, its side has chamber door (6), on a described left side of seeing case (3), on right two walls, level correspondence is provided with ultraviolet source (2), the center, top of described camera bellows (3) is provided with the hole that CCD digital camera (4) camera lens is passed, CCD digital camera is connected with image pick-up card by data line, described image pick-up card is inserted in computing machine (5) slot, in the bottom of described camera bellows, be provided with a check point (1), this check point be positioned at digital camera (4) camera lens under, described check point is examined egg for placing, examined the switch of egg by chamber door (6) and be put into or be removed detection case,
Wherein: the wavelength of described ultraviolet source is 256nm, power supply is 220V, 50Hz, and power is 12W.
CN201010223076.2A 2010-07-05 2010-07-05 Ultraviolet detection method for shell bacteria-carrying eggs and device thereof CN101915823B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201010223076.2A CN101915823B (en) 2010-07-05 2010-07-05 Ultraviolet detection method for shell bacteria-carrying eggs and device thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201010223076.2A CN101915823B (en) 2010-07-05 2010-07-05 Ultraviolet detection method for shell bacteria-carrying eggs and device thereof

Publications (2)

Publication Number Publication Date
CN101915823A CN101915823A (en) 2010-12-15
CN101915823B true CN101915823B (en) 2014-02-26

Family

ID=43323384

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201010223076.2A CN101915823B (en) 2010-07-05 2010-07-05 Ultraviolet detection method for shell bacteria-carrying eggs and device thereof

Country Status (1)

Country Link
CN (1) CN101915823B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102323271A (en) * 2011-06-13 2012-01-18 南通大学 Tow blot information acquisition device
CN102840831A (en) * 2011-06-24 2012-12-26 上海瑞伯德智能系统科技有限公司 Vision measurement system for width of corner brace
CN102692498B (en) * 2012-06-11 2014-11-12 华中农业大学 Automatic code reading device and automatic code reading method of sulfanilamide type medicine residue detecting reagent strip
CN103454285A (en) * 2013-08-28 2013-12-18 南京师范大学 Transmission chain quality detection system based on machine vision
CN104297439B (en) * 2014-10-21 2019-09-13 南京农业大学 A kind of double yellow duck egg automatic identification detection method based on computer vision

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4039259A (en) * 1974-11-18 1977-08-02 Kewpie Kabushiki Kaisha Egg inspecting apparatus
EP1505390A1 (en) * 2003-07-08 2005-02-09 Deans Foods Limited Screening apparatus and method
CN1804620A (en) * 2005-12-30 2006-07-19 南京农业大学 Method and apparatus for detecting surface quality of egg

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS553667B2 (en) * 1975-09-19 1980-01-26

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4039259A (en) * 1974-11-18 1977-08-02 Kewpie Kabushiki Kaisha Egg inspecting apparatus
EP1505390A1 (en) * 2003-07-08 2005-02-09 Deans Foods Limited Screening apparatus and method
CN1804620A (en) * 2005-12-30 2006-07-19 南京农业大学 Method and apparatus for detecting surface quality of egg

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
基于机器视觉的鸡蛋品质无损检测研究;王巧华等;《中国家禽》;20070930;第29卷(第18期);21-23 *
王巧华等.基于机器视觉的鸡蛋品质无损检测研究.《中国家禽》.2007,第29卷(第18期),

Also Published As

Publication number Publication date
CN101915823A (en) 2010-12-15

Similar Documents

Publication Publication Date Title
Qiao et al. Pork quality and marbling level assessment using a hyperspectral imaging system
US8238623B2 (en) Method and apparatus for characterizing the imperfections of skin and method of assessing the anti-aging effect of a cosmetic product
Li et al. Detection of common defects on oranges using hyperspectral reflectance imaging
CN1995987B (en) Non-destructive detection method for agricultural and animal products based on hyperspectral image technology
EP1625936A2 (en) Method for qualitative evaluation of a material with at least one identification characteristic
JP6091489B2 (en) Bioimaging method
Zion et al. Real-time underwater sorting of edible fish species
Alfatni et al. Oil palm fruit bunch grading system using red, green and blue digital number
CN102525381B (en) The recording equipment of image processing apparatus, image processing method and embodied on computer readable
CN101701916B (en) Method for quickly identifying and distinguishing variety of corn
CN101144780B (en) Pork freshness intelligent detection device
Wu et al. Colour measurements by computer vision for food quality control–A review
WO2008115547A1 (en) A method of automated image color calibration
CN101030259B (en) SVM classifier, method and apparatus for discriminating vehicle image therewith
JP5707399B2 (en) Microorganism detection method, microorganism detection apparatus, and program
CN100480680C (en) Multiple spectrum meat freshness artificial intelligence measurement method and system
Mertens et al. Dirt detection on brown eggs by means of color computer vision
CN101063662A (en) Method for detecting empty bottle bottom defect and device for detecting empty bottle bottom defect based on DSP
CN102288613B (en) Surface defect detecting method for fusing grey and depth information
WO2011055791A1 (en) Device for harvesting bacterial colony and method therefor
JP6266017B2 (en) Method for distinguishing microbial colonies in images
KR20100015628A (en) Lumber inspection method, device and program
CN202002894U (en) Quick online paper flaw detecting system based on machine vision
US8126213B2 (en) Method and system for wholesomeness inspection of freshly slaughtered chickens on a processing line
Chen et al. Evaluating fabric pilling with light-projected image analysis

Legal Events

Date Code Title Description
PB01 Publication
C06 Publication
SE01 Entry into force of request for substantive examination
C10 Entry into substantive examination
GR01 Patent grant
C14 Grant of patent or utility model
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20140226

Termination date: 20160705

CF01 Termination of patent right due to non-payment of annual fee