{"title":"基于Haar级联分类器和图像处理技术的烟叶检测","authors":"Charlie S. Marzan, N. Marcos","doi":"10.1145/3282286.3282292","DOIUrl":null,"url":null,"abstract":"Tobacco grading needs an effective leaf detection algorithm to ensure accurate results in segmentation and feature extraction. Leaf detection in this research used Haar cascade classifier and image processing techniques to automatically detect tobacco leaves in images. The proposed detection algorithm was implemented through OpenCV Python. The Haar cascade classifier was trained with 1,000 images and tested with 150 images. To improve the detection results of the classifier and ultimately detecting tobacco leaves, image processing techniques such as converting RGB to grayscale, blurring, thresholding, and finding connected components were applied. The experimental results show that the classifier can successfully distinguish tobacco leaves from other objects even those having resemblance to the characteristics of tobacco leaves in terms of color and shape. The accuracy rate of at least 91.33% proves the capability of the Haar cascade classifier to detect single and multiple tobacco leaves posed at different angles and taken at different distances from the camera. After applying some image processing techniques, the detection rate reached 100.00% and took 62 ms on average.","PeriodicalId":324982,"journal":{"name":"Proceedings of the 2nd International Conference on Graphics and Signal Processing","volume":"1 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2018-10-06","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"5","resultStr":"{\"title\":\"Towards Tobacco Leaf Detection Using Haar Cascade Classifier and Image Processing Techniques\",\"authors\":\"Charlie S. Marzan, N. Marcos\",\"doi\":\"10.1145/3282286.3282292\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"Tobacco grading needs an effective leaf detection algorithm to ensure accurate results in segmentation and feature extraction. Leaf detection in this research used Haar cascade classifier and image processing techniques to automatically detect tobacco leaves in images. The proposed detection algorithm was implemented through OpenCV Python. The Haar cascade classifier was trained with 1,000 images and tested with 150 images. To improve the detection results of the classifier and ultimately detecting tobacco leaves, image processing techniques such as converting RGB to grayscale, blurring, thresholding, and finding connected components were applied. The experimental results show that the classifier can successfully distinguish tobacco leaves from other objects even those having resemblance to the characteristics of tobacco leaves in terms of color and shape. The accuracy rate of at least 91.33% proves the capability of the Haar cascade classifier to detect single and multiple tobacco leaves posed at different angles and taken at different distances from the camera. After applying some image processing techniques, the detection rate reached 100.00% and took 62 ms on average.\",\"PeriodicalId\":324982,\"journal\":{\"name\":\"Proceedings of the 2nd International Conference on Graphics and Signal Processing\",\"volume\":\"1 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2018-10-06\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"5\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Proceedings of the 2nd International Conference on Graphics and Signal Processing\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1145/3282286.3282292\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Proceedings of the 2nd International Conference on Graphics and Signal Processing","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/3282286.3282292","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
Towards Tobacco Leaf Detection Using Haar Cascade Classifier and Image Processing Techniques
Tobacco grading needs an effective leaf detection algorithm to ensure accurate results in segmentation and feature extraction. Leaf detection in this research used Haar cascade classifier and image processing techniques to automatically detect tobacco leaves in images. The proposed detection algorithm was implemented through OpenCV Python. The Haar cascade classifier was trained with 1,000 images and tested with 150 images. To improve the detection results of the classifier and ultimately detecting tobacco leaves, image processing techniques such as converting RGB to grayscale, blurring, thresholding, and finding connected components were applied. The experimental results show that the classifier can successfully distinguish tobacco leaves from other objects even those having resemblance to the characteristics of tobacco leaves in terms of color and shape. The accuracy rate of at least 91.33% proves the capability of the Haar cascade classifier to detect single and multiple tobacco leaves posed at different angles and taken at different distances from the camera. After applying some image processing techniques, the detection rate reached 100.00% and took 62 ms on average.