Method and system for determining tobacco length based on machine vision
The invention discloses a tobacco length determination method and a tobacco length determination system based on machine vision. The camera image of the tested tobacco is preprocessed and converted into a binary image; calculating the area of each connected region in the binary image of the tobacco...
Saved in:
Main Authors | , , , , , , , , , , , , , , , , , |
---|---|
Format | Patent |
Language | Chinese English |
Published |
15.01.2019
|
Subjects | |
Online Access | Get full text |
Cover
Loading…
Summary: | The invention discloses a tobacco length determination method and a tobacco length determination system based on machine vision. The camera image of the tested tobacco is preprocessed and converted into a binary image; calculating the area of each connected region in the binary image of the tobacco to be measured, removing the connected region whose area is smaller than the set area threshold value, and reserving the connected region whose area is greater than or equal to the area threshold value; obtaining the smallest circumscribed rectangle of the reserved connected region; according to theminimum circumscribed rectangle, the image length of the tested tobacco is obtained, and the image length of the tested tobacco is converted to the actual length according to the ratio data of the image length of the standard sample to the actual length. As the method and the system of the invention, the length of the cut tobacco can be accurately determined.
本发明公开了种基于机器视觉的烟丝长度确定方法及系统,该方法包括步骤:获取被测烟丝的相机图像;将被测烟丝的相机图像进行预处理, |
---|---|
Bibliography: | Application Number: CN201811109206 |