Claims
- 1. An apparatus for detecting an item having a defect characterized by a defect color and a hole through which a background color is detectable as the item travels through a medium characterized by the background color, comprising:
- a scanning camera scanning the medium to produce a background image signal that indicates the presence of the background color, an item image signal that indicates the absence of the background color and therefore the presence of the item, and a defect image signal that indicates the presence of the defect color; an image memory for storing the background image signals, the item image signals, and the defect image signals at image memory locations associated with an image of the colors being scanned;
- a signal processor implemented to bound with an item-bounding box the image memory locations containing the item image signals to produce an identifying code identifying the item-bounding box, and to place a hole-bounding box within the item-bounding box; and
- a communications link sending the identifying code to a sorting processor if a predetermined number of background image signals is found to be bounded by the coordinates of the hole-bounding box or if a predetermined number of defect image signals is found to be bounded by the coordinates of the item-bounding box.
- 2. The apparatus of claim 1 in which the item-bounding box has a centroid, and the identifying code includes the centroid.
- 3. The apparatus of claim 1 in which the sorting processor actuates an air ejector to deflect the item having the hole and the defect.
- 4. A method for detecting an item having a defect characterized by a defect color and a hole through which a background color is detectable as the item travels through a medium characterized by the background color, comprising:
- scanning the medium to produce a background image signal that indicates the presence of the background color, an item image signal that indicates the absence of the background color and therefore the presence of the item, and a defect image signal that indicates the presence of the defect color;
- storing in an image memory the background image signals, the item image signals, and the defect image signals at image memory locations associated with an image of the colors being scanned;
- bounding with an item-bounding box the image memory locations of the item image signals and producing an identifying code identifying the item-bounding box;
- placing a hole-bounding box within the item-bounding box; and
- sending the identifying code to a sorting processor if a predetermined number of background image signals is found to be bounded by the hole-bounding box or if a defect image signal is found to be bounded by the item-bounding box.
- 5. The method of claim 4, in which the item-bounding box has a centroid, and the identifying code includes the centroid.
- 6. The method of claim 4 in which the sorting processor actuates an air ejector to deflect the item including the hole and the defect.
- 7. An apparatus for detecting an item having a defect characterized by a defect color and a hole through which a background color is detectable as the item travels through a medium characterized by the background color, comprising:
- a scanning camera scanning the medium to produce a background image signal that indicates the presence of the background color, an item image signal that indicates the absence of the background color and therefore the presence of the item, and a defect image signal that indicates the presence of the defect color;
- an image memory storing the background image signals, the item image signals, and the defect image signals at image memory locations associated with an image of the colors being scanned;
- an image processor identifying a set of image memory locations that store the item image signals, determining from the set of image memory locations a centroid location associated with the item, and determining whether background image signals are stored within the set of image memory locations; and
- an air ejector ejecting the item by directing an air blast at the centroid location of the item if the image processor determines that a predetermined number of background image signals is stored within the set of image memory locations.
- 8. The apparatus of claim 7 in which the air ejector will also eject the item if the image processor determines whether a defect image signal is stored within the set of image memory locations.
- 9. The apparatus of claim 7 in which the image processor further determines whether the background image signals are stored within a subset of the image memory locations and the air ejector is actuated only if a predetermined number of background image signals is stored within the subset of image memory locations.
- 10. A method for detecting an item having a defect characterized by a defect color and a hole through which a background color is detectable as the item travels through a medium characterized by the background color, comprising:
- scanning the medium to produce a background image signal that indicates the presence of the background color, an item image signal that indicates the absence of the background color and therefore the presence of the item, and a defect image signal that indicates the presence of the defect color;
- storing in an image memory the background image signals, the item image signals, and the defect image signals at image memory locations associated with an image of the colors being scanned;
- identifying a set of image memory locations that store the item image signals;
- determining from the set of image memory locations a centroid location associated with the item;
- determining whether background image signals are stored within the set of image memory locations; and
- ejecting the item by directing an air blast at the centroid location of the item if a predetermined number of background image signals is stored within the set of image memory locations.
- 11. The method of claim 10 in which the ejecting step further includes ejecting the item if a defect image signal is determined to be stored within the set of image memory locations.
- 12. The method of claim 10 in which the determining step further includes determining whether background image signals are stored within a subset of the image memory locations and the ejecting step is executed only if a predetermined number of background image signals is stored within the subset of image memory locations.
Parent Case Info
This is a continuation, of application Ser. No. 07/890,967, filed May 29, 1992, now U.S. Pat. No. 5,318,173.
US Referenced Citations (5)
Foreign Referenced Citations (1)
Number |
Date |
Country |
5169037 |
Jul 1993 |
JPX |
Continuations (1)
|
Number |
Date |
Country |
Parent |
890967 |
May 1992 |
|