Movatterモバイル変換


[0]ホーム

URL:


CN113989355B - Tobacco width detection method, system, terminal and storage medium - Google Patents

Tobacco width detection method, system, terminal and storage medium
Download PDF

Info

Publication number
CN113989355B
CN113989355BCN202111229548.XACN202111229548ACN113989355BCN 113989355 BCN113989355 BCN 113989355BCN 202111229548 ACN202111229548 ACN 202111229548ACN 113989355 BCN113989355 BCN 113989355B
Authority
CN
China
Prior art keywords
straight line
tobacco
straight lines
straight
remaining
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.)
Active
Application number
CN202111229548.XA
Other languages
Chinese (zh)
Other versions
CN113989355A (en
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.)
Beijing Yuanshan Intelligent Technology Co Ltd
Original Assignee
Beijing Yuanshan Intelligent Technology Co Ltd
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 Beijing Yuanshan Intelligent Technology Co LtdfiledCriticalBeijing Yuanshan Intelligent Technology Co Ltd
Priority to CN202111229548.XApriorityCriticalpatent/CN113989355B/en
Publication of CN113989355ApublicationCriticalpatent/CN113989355A/en
Application grantedgrantedCritical
Publication of CN113989355BpublicationCriticalpatent/CN113989355B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Classifications

Landscapes

Abstract

Translated fromChinese

本申请涉及一种烟丝宽度检测方法、系统、终端及存储介质,其属于烟丝检测领域,包括获取切丝后传送带上的烟丝图片;对烟丝图片进行直线检测后得到多根直线和每根直线的直线长度值;将每根直线的直线长度值与预设的长度阈值进行比较后得到多根剩余直线,若某直线的直线长度值大于预设的长度阈值时,则保留该直线;若某直线的直线长度值小于预设的长度阈值时,则去除该直线;对剩余直线进行直线检测后得到多个平行直线组,平行直线组包括两根互相平行的直线;根据平行直线组计算得到两根互相平行的直线之间的距离值,该距离值即为烟丝宽度值本申请具有提高了烟丝宽度检测效率的效果。

The present application relates to a tobacco width detection method, system, terminal and storage medium, which belongs to the field of tobacco detection, including obtaining a tobacco image on a conveyor belt after cutting; performing straight line detection on the tobacco image to obtain multiple straight lines and a straight line length value of each straight line; comparing the straight line length value of each straight line with a preset length threshold to obtain multiple remaining straight lines, if the straight line length value of a straight line is greater than the preset length threshold, then the straight line is retained; if the straight line length value of a straight line is less than the preset length threshold, then the straight line is removed; performing straight line detection on the remaining straight lines to obtain multiple parallel straight line groups, the parallel straight line group includes two mutually parallel straight lines; calculating the distance value between the two mutually parallel straight lines according to the parallel straight line group, and the distance value is the tobacco width value. The present application has the effect of improving the efficiency of tobacco width detection.

Description

Tobacco shred width detection method, system, terminal and storage medium
Technical Field
The application relates to the field of tobacco shred detection, in particular to a tobacco shred width detection method, a tobacco shred width detection system, a tobacco shred width detection terminal and a tobacco shred width detection storage medium.
Background
The tobacco shred refers to tobacco products obtained by cutting tobacco leaves into filaments, grains, sheets, powder or other shapes, adding auxiliary materials, fermenting, storing and selling or sucking without rolling; in the cigarette processing process, the tobacco shred width is an important index for influencing the quality of cigarettes, and the tobacco shreds with unqualified width influence the filling effect and the burning quality of the cigarettes; therefore, in the cigarette processing process, the width of the cut tobacco needs to be detected, and the earlier detection mode is to manually measure the width of the cut tobacco through manual sampling detection; the inventor finds that the detection efficiency is lower by detecting the tobacco shred width in a manual spot check mode.
Disclosure of Invention
The application provides a tobacco width detection method, a tobacco width detection system, a terminal and a storage medium, which have the characteristic of improving the tobacco width detection efficiency.
The application aims at providing a tobacco shred width detection method.
The first object of the present application is achieved by the following technical solutions:
a tobacco width detection method, comprising:
Acquiring cut tobacco pictures on a conveyor belt after shredding;
the method comprises the steps of performing linear detection on tobacco shred pictures to obtain a plurality of straight lines and a linear length value of each straight line;
comparing the linear length value of each straight line with a preset length threshold value to obtain a plurality of residual straight lines, and if the linear length value of a certain straight line is larger than the preset length threshold value, reserving the straight line; if the length value of a certain straight line is smaller than a preset length threshold value, the straight line is removed;
The method comprises the steps of carrying out straight line detection on the remaining straight lines to obtain a plurality of parallel straight line groups, wherein each parallel straight line group comprises two mutually parallel straight lines;
And calculating according to the parallel straight line group to obtain a distance value between two mutually parallel straight lines, wherein the distance value is the tobacco shred width value.
By adopting the technical scheme, a plurality of straight lines in the cut tobacco picture and the length value of each straight line are obtained, and then the length value is compared with a preset length threshold value to obtain the remaining straight lines; in the photographed tobacco picture, if one tobacco shred covers the other tobacco shred, removing the straight line smaller than the preset length threshold value, and leaving the straight line representing the complete tobacco shred; then detecting the distance between two parallel straight lines, wherein the distance is the tobacco shred width value; in this way, the detection efficiency of the tobacco shred width is improved.
The present application may be further configured in a preferred example to: the step of obtaining the cut tobacco picture on the conveyor belt after shredding comprises the steps of obtaining the cut tobacco picture through a shooting device, wherein the shooting device is located above the conveyor belt, and the shooting device shoots the picture along the vertical downward direction.
By adopting the technical scheme, the possibility of the appearance of the near-large and far-small cut tobacco in the picture is reduced.
The present application may be further configured in a preferred example to: after the cut tobacco pictures on the conveyor belt after shredding are obtained, binarization processing is carried out on the cut tobacco pictures.
By adopting the technical scheme, the binarized image of the cut tobacco picture is obtained, so that the straight line detection is convenient.
The present application may be further configured in a preferred example to: the step of obtaining a plurality of parallel straight line groups after the straight line detection of the plurality of residual straight lines comprises the following steps:
calculating a linear equation of each residual straight line according to the straight line detection;
Obtaining the slope of each residual straight line according to a straight line equation;
And judging the slopes of the residual straight lines, and dividing the two residual straight lines into a parallel straight line group if the slopes of the two residual straight lines are equal.
By adopting the technical scheme, whether the two straight lines are parallel or not is judged according to the slope of each straight line, and if the two straight lines are parallel, the two straight lines are divided into a group, so that the distance between the straight lines is convenient to calculate.
The present application may be further configured in a preferred example to: the step of calculating the distance value between two parallel straight lines according to the parallel straight line group comprises the step of obtaining the distance value between two parallel straight lines according to image recognition.
By adopting the technical scheme, the distance value between two mutually parallel straight lines can be obtained by carrying out image recognition on each parallel straight line group, and the recognition efficiency is improved.
The present application may be further configured in a preferred example to: after the distance between two adjacent straight lines is calculated to obtain a distance value, the average value of the distance values is calculated to obtain the average value of the tobacco shred width.
By adopting the technical scheme, the calculated average value of the tobacco shred widths can further reflect the widths of the batch of tobacco shreds, and the detection efficiency of the tobacco shred widths is improved.
The application aims at providing a tobacco shred width detection system.
The second object of the present application is achieved by the following technical solutions:
a tobacco width detection method system, comprising:
The acquisition module is used for acquiring cut tobacco pictures on the conveyor belt after shredding;
The detection module is used for detecting the straight lines of the tobacco shred pictures to obtain a plurality of straight lines and straight line length values of each straight line;
The comparison module is used for comparing the linear length value of each straight line with a preset length threshold value to obtain a plurality of residual straight lines;
the measuring module is used for carrying out linear detection on the residual straight lines to obtain a plurality of parallel straight line groups;
and the calculation module is used for calculating and obtaining a distance value between two mutually parallel straight lines according to the parallel straight line group.
The present application may be further configured in a preferred example to: the system also comprises a processing module; the processing module is used for carrying out binarization processing on the cut tobacco pictures.
The application aims at providing an intelligent terminal.
The third object of the present application is achieved by the following technical solutions:
An intelligent terminal comprises a memory and a processor, wherein the memory stores computer program instructions of the tobacco width detection method which can be loaded and executed by the processor.
A fourth object of the present application is to provide a computer medium capable of storing a corresponding program.
The fourth object of the present application is achieved by the following technical solutions:
a computer-readable storage medium storing a computer program loadable by a processor and performing any one of the above tobacco width detection methods.
In summary, the present application includes at least one of the following beneficial technical effects:
The method comprises the steps of obtaining a plurality of straight lines in a cut tobacco picture and length values of the straight lines after the straight lines are detected, then judging the length values, leaving the straight lines representing the complete cut tobacco in the picture, then judging slopes of the straight lines to obtain the straight lines parallel to each other, calculating the distance between the two straight lines, wherein the obtained distance value is the cut tobacco width value, and in this way, the cut tobacco width detection efficiency is improved.
Drawings
Fig. 1 is a schematic flow chart of a tobacco shred width detection method in an embodiment of the application.
Fig. 2 is a schematic structural diagram of a tobacco width detection system according to an embodiment of the present application.
Reference numerals illustrate: 1. an acquisition module; 2. a processing module; 3. a detection module; 4. a comparison module; 5. a measurement module; 6. and a calculation module.
Detailed Description
The present embodiment is only for explanation of the present application and is not to be construed as limiting the present application, and modifications to the present embodiment, which may not creatively contribute to the present application as required, are within the scope of the claims of the present application as far as they are protected by patent law.
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present application more apparent, the technical solutions of the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application, and it is apparent that the described embodiments are some embodiments of the present application, but not all embodiments of the present application. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
Embodiments of the application are described in further detail below with reference to the drawings.
In the tobacco shred processing process, tobacco shreds are required to be shredded firstly, then the shredded tobacco shreds are transported to the next stage through a conveyor belt, the tobacco shred width detection method provided by the embodiment of the application is characterized in that in the conveying stage, the tobacco shreds in a shot tobacco shred picture are subjected to sampling detection, screening, detection and calculation, the width of the tobacco shreds is finally obtained, and then the quality of the batch of tobacco shreds is judged according to the width of the tobacco shreds.
The application provides a tobacco shred width detection method which is applied to shredded tobacco shreds, and the main flow of the method is described as follows.
As shown in fig. 1:
Step S101: and obtaining cut tobacco pictures on the conveyor belt after shredding.
The obtained cut tobacco pictures can be shot through shooting devices such as cameras, but errors which are far, small and big due to imaging in the pictures in shooting angles easily occur in the shooting process, so that the detection of the cut tobacco width is caused; in order to solve the problems, the shooting device in the embodiment of the application adopts a double telecentric lens and a high-resolution area array camera; arranging an area array camera above a conveyor belt, and aligning a lens of the area array camera to the conveyor belt along a vertical downward angle, so that tobacco shreds in images shot by the area array camera are all of real size and cannot be far small and near large; the detection efficiency and the detection accuracy of the tobacco shred width detection are improved by using the area array camera.
After the cut tobacco picture is obtained, contour extraction is carried out on the cut tobacco picture by utilizing a contour extraction algorithm, and then the cut tobacco picture is filtered, namely binarization processing is carried out on the cut tobacco picture; binarization of an image, namely setting the gray value of a pixel point on the image to be 0 or 255, namely displaying the whole image with obvious visual effects of only black and white; a binary image is a digital image with only two possible values per pixel.
Step S102: and (3) detecting the straight lines of the tobacco shred pictures to obtain a plurality of straight lines and straight line length values of each straight line.
After the binarized image of the cut tobacco picture is obtained, the line length values of a plurality of lines and each line in the image can be obtained by carrying out Hough transformation line detection on the binarized image of the cut tobacco picture.
Hough transform is one of the basic methods for identifying geometric shapes from images in image processing, and has wide application and many improved algorithms; the method is mainly used for separating geometric shapes with certain same characteristics, such as straight lines, circles and the like, from the images; the most basic Hough transform is to detect straight lines from black-and-white images; therefore, in order to detect the cut tobacco picture, binarization processing is carried out on the cut tobacco picture to change the cut tobacco picture into a black-and-white image, and then a straight line is detected from the cut tobacco picture according to Hough transformation; after detecting the straight lines, measuring each straight line to obtain the length value of the straight line; the length measurement mode of each straight line can be an image recognition mode, which is a common technical means in the related field and is not described herein.
Step S103: and comparing the linear length value of each linear with a preset length threshold value to obtain a plurality of residual linear.
In the embodiment of the application, if the length value of a straight line is larger than a preset length threshold value, the straight line is reserved; and if the length value of the straight line of a certain straight line is smaller than the preset length threshold value, removing the straight line.
Through the mode, the straight line which can represent the complete tobacco shred can be screened from the tobacco shred pictures; when an area array camera shoots tobacco shred photos, the tobacco shreds are randomly placed on a conveyor belt, and when the photo shot at the moment can be used for shielding one tobacco shred from the other tobacco shred, a straight line with different lengths can appear when the photo is detected by using Hough transformation; in step S101, contour extraction and binarization processing are performed on the cut tobacco picture, so that the following two situations are avoided, firstly, hough transformation straight line detection is performed on the complete cut tobacco on the picture, and then countless straight lines are detected, so that the width detection of the cut tobacco cannot be realized; the second is that the picture is not subjected to binarization processing, so that the cut tobacco picture cannot be subjected to straight line detection by using Hough transformation.
Therefore, after steps S101 and S102, the straight lines in the obtained cut tobacco pictures are contour straight lines of the cut tobacco, and then the shorter straight lines in the straight lines are removed, and the remaining straight lines are straight lines capable of representing the complete cut tobacco.
Step S104: and carrying out straight line detection on the remaining straight lines to obtain a plurality of parallel straight line groups.
In an embodiment of the present application, the parallel straight line group includes two straight lines parallel to each other.
In step S103, a plurality of remaining straight lines are obtained, and the remaining straight lines are all straight lines capable of representing the complete tobacco shreds; then the straight lines parallel to each other are found among the remaining straight lines, and then the two straight lines parallel to each other represent two long sides of one complete tobacco shred.
The steps of obtaining a plurality of parallel straight line groups after the straight line detection of the plurality of residual straight lines in the embodiment of the application comprise the following steps:
1. and calculating a linear equation of each residual straight line according to the straight line detection.
2. And obtaining the slope of each residual straight line according to the straight line equation.
3. And judging the slopes of the residual straight lines, and dividing the two residual straight lines into a parallel straight line group if the slopes of the two residual straight lines are equal.
Firstly, detecting according to Hough transformation straight lines to obtain a straight line equation of each remaining straight line, obtaining the slope of each straight line according to the straight line equation, if the slopes of the two straight lines are the same, indicating that the two straight lines are parallel, and dividing the two parallel straight lines into a parallel straight line group, namely, each parallel straight line group corresponds to one complete cut tobacco.
Step S105: and calculating according to the parallel straight line group to obtain a distance value between two mutually parallel straight lines.
The calculated distance value is the width value of each cut tobacco; in the embodiment of the application, the distance value between two mutually parallel straight lines can be calculated in an image recognition mode; the above process is a common technical means in the related field, and is not described herein.
After the width value of each cut tobacco is obtained, the cut tobacco is detected by adopting random sampling, so that the width value of the cut tobacco can be calculated; and (3) taking an average value of the plurality of tobacco shred width values to obtain a tobacco shred width average value, wherein the tobacco shred width average value can reflect the width value of the batch of tobacco shreds, and further the quality of the batch of tobacco shreds can be judged through the tobacco shred width average value.
By the cooperation execution of the steps S101-S105, the width value of the tobacco shreds and the average width value of the tobacco shreds can be rapidly and accurately calculated, so that the quality of the batch of tobacco shreds can be obtained, and the efficiency and the accuracy of tobacco shred width detection are improved.
The application also provides a tobacco shred width detection system, as shown in fig. 2, which comprises an acquisition module 1 for acquiring tobacco shred pictures on a shredded conveyor belt; the processing module 2 is used for carrying out binarization processing on the cut tobacco pictures; the detection module 3 is used for detecting the straight lines of the tobacco shred pictures to obtain a plurality of straight lines and straight line length values of each straight line; the comparison module 4 is used for comparing the length value of the straight line of each straight line with a preset length threshold value to obtain a plurality of residual straight lines; the measuring module 5 is used for carrying out linear detection on the residual straight lines to obtain a plurality of parallel straight line groups; and the calculating module 6 is used for calculating and obtaining the distance value between two mutually parallel straight lines according to the parallel straight line group.
In order to better execute the program of the method, the application also provides an intelligent terminal, which comprises a memory and a processor.
Wherein the memory may be used to store instructions, programs, code, sets of codes, or sets of instructions. The memory may include a stored program area and a stored data area, wherein the stored program area may store instructions for implementing an operating system, instructions for at least one function, instructions for implementing the above-described tobacco width detection method, and the like; the data storage area may store data and the like related to the tobacco width detection method.
The processor may include one or more processing cores. The processor performs the various functions of the application and processes the data by executing or executing instructions, programs, code sets, or instruction sets stored in memory, calling data stored in memory. The processor may be at least one of an application specific integrated circuit, a digital signal processor, a digital signal processing device, a programmable logic device, a field programmable gate array, a central processing unit, a controller, a microcontroller, and a microprocessor. It will be appreciated that the electronics for implementing the above-described processor functions may be other for different devices, and embodiments of the present application are not particularly limited.
The present application also provides a computer-readable storage medium, for example, comprising: a U-disk, a removable hard disk, a Read Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a magnetic disk, or an optical disk, or other various media capable of storing program codes. The computer readable storage medium stores a computer program that can be loaded by a processor and that performs the tobacco width detection method described above.
The above description is only illustrative of the preferred embodiments of the present application and the principles of the technology being employed. It will be appreciated by persons skilled in the art that the scope of the disclosure referred to in the present application is not limited to the specific combinations of technical features described above, but also covers other technical features which may be formed by any combination of the technical features described above or their equivalents without departing from the spirit of the disclosure. Such as the above-mentioned features and the technical features disclosed in the present application (but not limited to) having similar functions are replaced with each other.

Claims (7)

Translated fromChinese
1.一种烟丝宽度检测方法,其特征在于,包括:1. A method for detecting tobacco width, comprising:获取切丝后传送带上的烟丝图片;Get pictures of tobacco on the conveyor belt after cutting;对烟丝图片进行直线检测后得到多根直线和每根直线的直线长度值;After performing straight line detection on the tobacco image, multiple straight lines and the length value of each straight line are obtained;将每根直线的直线长度值与预设的长度阈值进行比较后得到多根剩余直线,若某直线的直线长度值大于预设的长度阈值,则保留该直线;若某直线的直线长度值小于预设的长度阈值,则去除该直线;Compare the straight line length value of each straight line with the preset length threshold to obtain multiple remaining straight lines. If the straight line length value of a straight line is greater than the preset length threshold, the straight line is retained; if the straight line length value of a straight line is less than the preset length threshold, the straight line is removed;对剩余直线进行直线检测后得到多个平行直线组,所述平行直线组包括两根互相平行的直线;After performing line detection on the remaining lines, a plurality of parallel line groups are obtained, wherein the parallel line group includes two mutually parallel lines;根据平行直线组计算得到两根互相平行的直线之间的距离值,该距离值即为烟丝宽度值;The distance between two mutually parallel straight lines is calculated based on the parallel straight line group, and the distance is the width of the tobacco;对多根剩余直线进行直线检测后得到多个平行直线组的步骤包括:The steps of obtaining a plurality of parallel straight line groups after performing straight line detection on the plurality of remaining straight lines include:根据直线检测计算每根剩余直线的直线方程;Calculate the line equation of each remaining line based on the line detection;根据直线方程得到每根剩余直线的斜率;Obtain the slope of each remaining line from the equation of the line;对剩余直线的斜率进行判断,若两根剩余直线的斜率相等,则将该两根剩余直线划分为一个平行直线组;The slopes of the remaining straight lines are judged. If the slopes of the two remaining straight lines are equal, the two remaining straight lines are divided into a parallel straight line group.所述根据平行直线组计算得到两根互相平行的直线之间的距离值的步骤包括,根据图像识别得到两根互相平行的直线之间的距离值;The step of calculating the distance value between two mutually parallel straight lines according to the parallel straight line group includes obtaining the distance value between the two mutually parallel straight lines according to image recognition;在计算相邻两根直线之间的距离得到距离值之后,对多个距离值进行取平均值计算,得到烟丝宽度平均值。After calculating the distance between two adjacent straight lines to obtain a distance value, an average value of the multiple distance values is calculated to obtain an average value of the tobacco shred width.2.根据权利要求1所述的烟丝宽度检测方法,其特征在于,所述获取切丝后传送带上的烟丝图片的步骤包括,通过拍摄装置获取烟丝图片,所述拍摄装置位于传送带的上方,且拍摄装置沿竖直向下的方向拍摄图片。2. The tobacco shred width detection method according to claim 1 is characterized in that the step of obtaining a picture of the tobacco shreds on the conveyor belt after cutting includes obtaining the picture of the tobacco shreds through a shooting device, wherein the shooting device is located above the conveyor belt, and the shooting device shoots the picture in a vertical downward direction.3.根据权利要求1所述的烟丝宽度检测方法,其特征在于,在获取切丝后传送带上的烟丝图片之后,对烟丝图片进行二值化处理。3. The method for detecting tobacco shred width according to claim 1 is characterized in that after obtaining the image of tobacco shreds on the conveyor belt after cutting, the image of tobacco shreds is binarized.4.一种烟丝宽度检测系统,其特征在于,包括:4. A tobacco width detection system, characterized by comprising:获取模块(1),用于获取切丝后传送带上的烟丝图片;An acquisition module (1) is used to acquire an image of the tobacco shreds on the conveyor belt after being cut;检测模块(3),用于对烟丝图片进行直线检测后得到多根直线和每根直线的直线长度值;A detection module (3) is used to perform straight line detection on the tobacco image to obtain a plurality of straight lines and a straight line length value of each straight line;比较模块(4),用于将每根直线的直线长度值与预设的长度阈值进行比较后得到多根剩余直线;若某直线的直线长度值大于预设的长度阈值,则保留该直线;若某直线的直线长度值小于预设的长度阈值,则去除该直线;A comparison module (4) is used to compare the straight line length value of each straight line with a preset length threshold to obtain a plurality of remaining straight lines; if the straight line length value of a straight line is greater than the preset length threshold, the straight line is retained; if the straight line length value of a straight line is less than the preset length threshold, the straight line is removed;测量模块(5),用于对剩余直线进行直线检测后得到多个平行直线组,所述平行直线组包括两根互相平行的直线;A measuring module (5) is used to perform straight line detection on the remaining straight lines to obtain a plurality of parallel straight line groups, wherein the parallel straight line groups include two straight lines that are parallel to each other;对多根剩余直线进行直线检测后得到多个平行直线组的步骤包括:The steps of obtaining a plurality of parallel straight line groups after performing straight line detection on the plurality of remaining straight lines include:根据直线检测计算每根剩余直线的直线方程;Calculate the line equation of each remaining line based on the line detection;根据直线方程得到每根剩余直线的斜率;Obtain the slope of each remaining line from the equation of the line;对剩余直线的斜率进行判断,若两根剩余直线的斜率相等,则将该两根剩余直线划分为一个平行直线组;The slopes of the remaining straight lines are judged. If the slopes of the two remaining straight lines are equal, the two remaining straight lines are divided into a parallel straight line group.计算模块(6),用于根据平行直线组计算得到两根互相平行的直线之间的距离值,该距离值即为烟丝宽度值;A calculation module (6) is used to calculate the distance value between two mutually parallel straight lines according to the parallel straight line group, and the distance value is the tobacco width value;所述根据平行直线组计算得到两根互相平行的直线之间的距离值的步骤包括,根据图像识别得到两根互相平行的直线之间的距离值;The step of calculating the distance value between two mutually parallel straight lines according to the parallel straight line group includes obtaining the distance value between the two mutually parallel straight lines according to image recognition;在计算相邻两根直线之间的距离得到距离值之后,对多个距离值进行取平均值计算,得到烟丝宽度平均值。After calculating the distance between two adjacent straight lines to obtain a distance value, an average value of the multiple distance values is calculated to obtain an average value of the tobacco shred width.5.根据权利要求4所述的烟丝宽度检测系统,其特征在于,还包括处理模块(2);所述处理模块(2)用于对烟丝图片进行二值化处理。5. The tobacco width detection system according to claim 4, characterized in that it also comprises a processing module (2); the processing module (2) is used to perform binarization processing on the tobacco image.6.一种智能终端,其特征在于,包括存储器和处理器,所述存储器上存储有能够被处理器加载并执行如权利要求1-3中任一种方法的计算机程序指令。6. An intelligent terminal, characterized in that it comprises a memory and a processor, wherein the memory stores computer program instructions that can be loaded by the processor and execute any one of the methods according to claims 1-3.7.一种计算机可读存储介质,其特征在于,存储有能够被处理器加载并执行如权利要求1-3中任一种方法的计算机程序。7. A computer-readable storage medium, characterized in that it stores a computer program that can be loaded by a processor and executes any one of the methods of claims 1-3.
CN202111229548.XA2021-10-212021-10-21 Tobacco width detection method, system, terminal and storage mediumActiveCN113989355B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN202111229548.XACN113989355B (en)2021-10-212021-10-21 Tobacco width detection method, system, terminal and storage medium

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN202111229548.XACN113989355B (en)2021-10-212021-10-21 Tobacco width detection method, system, terminal and storage medium

Publications (2)

Publication NumberPublication Date
CN113989355A CN113989355A (en)2022-01-28
CN113989355Btrue CN113989355B (en)2024-11-19

Family

ID=79740099

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN202111229548.XAActiveCN113989355B (en)2021-10-212021-10-21 Tobacco width detection method, system, terminal and storage medium

Country Status (1)

CountryLink
CN (1)CN113989355B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN114972277A (en)*2022-06-012022-08-30上海威士顿信息技术股份有限公司Method for measuring width of tobacco shreds
CN119845156A (en)*2024-06-262025-04-18云南昆船设计研究院有限公司Device and method capable of continuously collecting orthographic projection images of tobacco shreds

Citations (1)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN104913739A (en)*2015-06-262015-09-16北方工业大学Visual measurement method and device for eccentricity of crank throw of crankshaft

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN202057304U (en)*2011-05-062011-11-30川渝中烟工业公司A rapid measurement apparatus for tobacco shred widths
DK2649888T3 (en)*2012-04-102020-04-27Swedish Match North Europe Ab Smokeless tobacco composition comprising non-tobacco fibers and a process for making them
CN102679883B (en)*2012-05-092014-06-18中国科学院光电技术研究所Tobacco shred width measuring method based on image processing
CN105654088B (en)*2016-03-072019-04-09西安交通大学 Tobacco stem extraction method based on local symmetry relationship
CN106483131A (en)*2016-10-192017-03-08河南中烟工业有限责任公司A kind of cigarette cut stem form characterizes evaluation methodology
CN208030250U (en)*2018-01-292018-11-02湖北省烟草科学研究院Device for the detection of tobacco leaf physical characteristic and chopping
WO2020012761A1 (en)*2018-07-122020-01-16株式会社 東亜産業Filler for fragrance cartridge, aerosol-forming base material for fragrance cartridge having same, and fragrance cartridge having same
CN112529014B (en)*2020-12-142023-09-26中国平安人寿保险股份有限公司Linear detection method, information extraction method, device, equipment and storage medium

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN104913739A (en)*2015-06-262015-09-16北方工业大学Visual measurement method and device for eccentricity of crank throw of crankshaft

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
基于线阵CCD数字图像处理技术的叶丝宽度测量装置;赵维一;温若愚;曾建;邸成良;严伟;李东亮;刘民昌;刘洋;;烟草科技;20131020(第10期);第12-16页*
基于视觉形态特征检测的烟梗切丝质量分析;张超凡;董浩;刘勇;夏营威;高震宇;张龙;王锦平;周明珠;邢军;;烟草科技;20170115(第01期);第67-73页*

Also Published As

Publication numberPublication date
CN113989355A (en)2022-01-28

Similar Documents

PublicationPublication DateTitle
CN110660066B (en)Training method of network, image processing method, network, terminal equipment and medium
CN113989355B (en) Tobacco width detection method, system, terminal and storage medium
CN104537671B (en)A kind of cigarette filter stick on-line counting and quality determining method based on machine vision
EP2956907B1 (en)Evaluating porosity distribution within a porous rod
CN103051872B (en)Based on the belt deflection detection method of Edge extraction
CN109671078B (en)Method and device for detecting product surface image abnormity
CN110517265A (en) A detection method, device and storage medium for product surface defects
US20040037457A1 (en)Detecting and classifying blemishes on the transmissive surface of an image sensor package
CN111598827A (en)Appearance flaw detection method, electronic device and storage medium
CN101464418A (en)Flaw detection method and apparatus
CN105321191B (en) Method and electronic device for processing reflective regions in an image
CN118505634A (en) Defect detection method and system for printed contact lenses based on cloud-machine vision
CN111122590A (en)Ceramic surface defect detection device and detection method
CN113628161B (en)Defect detection method, device and computer readable storage medium
CN113019973A (en)Online visual inspection method for manufacturing defects of ring-pull cans
CN116485764B (en)Structural surface defect identification method, system, terminal and medium
CN117274251B (en)Tablet quality detection method in medicine production process based on image data
CN111208147A (en)Stitch detection method, device and system
CN117853494B (en)Visual inspection method for drug particle production process
CN107290347A (en)Honeycomb substrate defect automated detection method
CN115082819A (en)Food foreign matter detection method and device, computer equipment and storage medium
CN117635590A (en)Defect detection method, defect detection device and storage medium for notebook computer shell
CN114708214A (en)Cigarette case defect detection method, device, equipment and medium
CN119228791B (en)Board detection method and system based on visual recognition
CN116051505A (en)Brake pad detection method, system and storage medium based on CCD camera

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant

[8]ページ先頭

©2009-2025 Movatter.jp