Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Tablet missing detection method and system based on machine vision

A machine vision and detection method technology, applied in the field of visual inspection, can solve the problems of inability to accurately detect packaging errors, labor-intensive, and manual omissions, etc., to achieve the effect of improving detection accuracy and detection efficiency and reducing labor costs

Pending Publication Date: 2022-07-12
GUANGZHOU UNIVERSITY
View PDF0 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Usually, after the pills are packaged by the machine, an inspection is required to ensure the integrity and accuracy of the packaged pills. However, the current inspection is usually through manual inspection. Error, when the pill board leaks the pills and the pills are missing, or the number of pills packed in the pill board is correct but the type of pills packed in a certain area does not correspond, it is easy to miss manually, and the error rate is high

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Tablet missing detection method and system based on machine vision
  • Tablet missing detection method and system based on machine vision
  • Tablet missing detection method and system based on machine vision

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0073] Embodiments of the present invention provide a device for detecting missing tablets based on machine vision, such as image 3 As shown, it includes: a memory 30, a processor 32 and a computer program stored on the memory 30 and running on the processor 32, the computer program being executed by the processor 32 to implement the following method steps:

[0074] S1. Obtain a standard image and an image to be detected of the tablet packaging, and perform grayscale processing on the standard image and the image to be detected to obtain a grayscale image;

[0075] S2. Based on the grayscale difference between different areas of the standard image, threshold segmentation is performed on the standard image according to a preset threshold range, and a first packaging area and a first tablet area are determined;

[0076] S3. Based on the grayscale difference between the different areas of the image to be detected, threshold segmentation is performed on the image to be detected a...

Embodiment 2

[0081] An embodiment of the present invention provides a computer-readable storage medium, where an implementation program for information transmission is stored on the computer-readable storage medium, and when the program is executed by the processor 52, the following method steps are implemented:

[0082] S1. Obtain a standard image and an image to be detected of the tablet packaging, and perform grayscale processing on the standard image and the image to be detected to obtain a grayscale image;

[0083] S2. Based on the grayscale difference between different areas of the standard image, threshold segmentation is performed on the standard image according to a preset threshold range, and a first packaging area and a first tablet area are determined;

[0084] S3. Based on the grayscale difference between the different areas of the image to be detected, threshold segmentation is performed on the image to be detected according to a preset threshold range, and a second packaging ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The embodiment of the invention provides a tablet missing detection method and system based on machine vision, and the method comprises the steps: obtaining a standard image and a to-be-detected image of a tablet package, and carrying out the graying processing; threshold segmentation is carried out on the standard image according to a preset threshold range, and a first packaging area and a first tablet area are determined; performing threshold segmentation on the to-be-detected image according to a preset threshold range, and determining a second packaging area; coordinates of angular points of the first packaging area and the second packaging area are calculated, and a projection transformation matrix is calculated according to the coordinates of the angular points of the first packaging area and the second packaging area; projecting the first tablet area onto the to-be-detected image according to the projection transformation matrix to obtain a second tablet area, and obtaining a target image through matting; according to the obtained target image, the contrast ratio of the target image is calculated, and whether the tablets are missing or not is judged. The problems that omission is prone to occurring and the error rate is high in manual detection are solved.

Description

technical field [0001] This document relates to the technical field of visual inspection, in particular to a method and system for detecting missing pills based on machine vision. Background technique [0002] At present, it is a common packaging method to place the tablets in the tablet board of the aluminum-plastic blister. When packaging, the machine needs to package several tablets into the tablet board, and then put them into the corresponding packaging box and sell them in the market. Usually after the pills are encapsulated by the machine, in order to ensure the integrity and accuracy of the encapsulated pills, an inspection needs to be carried out. The current inspection is usually done manually, which is labor-intensive and error-prone, and there is no way to accurately detect the encapsulation. Error, when the pill board misses the pills and the pills are missing, or the number of pills encapsulated by the pill board is correct but the types of pills encapsulated i...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06T7/00G06T7/136
CPCG06T7/001G06T7/136G06T2207/10004
Inventor 陈从桂朱健业黄锦华朱春锦龚伟东吴狄
Owner GUANGZHOU UNIVERSITY
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products