Computational method for color vision of coffee bean roasting using openCV
Keywords:
Computer vision, Digital image processing, Programmatic object, HSV color space, Histogram equalization, Probability distribution, Expected value, Random variablesAbstract
Development of software for computer vision system which does not depend upon computer platforms can be accomplished by appropriate programming language. This paper presents the computational method for color vision of coffee bean roasting using the open source of C++ programing language. Digital image processing is performed on the image file recording in secondary memory unit of computer system. The programmatic object of image file is created by the library of OpenCV (open source computer vision) using HSV (hue-saturation-value) color space where the color channels separate into the instances of object-oriented programming. The histogram equalization operates on selected instance for intensity stretching before all of them are modeled with discrete probability distribution of color intensity in red green and blue. The numerical color representations of roast coffee beans are determined by expected values and standard deviation of random variables. The developed program can execute in both personal computer and Raspberry Pi computer single board with Widows and Linux operating system respectively.
References
[2] Mery D, Pedreschi F, Soto A. Automated Design of a Computer Vision System for Visual Food Quality Evaluation. Food and Bioprocess Technology, 2013; 6(8): 2093-2108.
[3] Priyadharshini K, Akila R. A Survey on Computer Vision Technology for Food Quality Evaluation. IJIRCCE 2016; 4(8): 14860–65.
[4] Habib MT, Majumder A, Jakaria AZM, et al. Machine Vision Based Papaya Disease Recognition. Journal of King Saud Uni versity-Computer and Infor mation Sciences, 2018.
[5] Trientin D, Hidayat B, Darana S. Beef Freshness Classification by Using Color Analysis, Multi-wavelet Transformation and Artificial Neural Network. 2015 International Conference on Automa tion, Cognitive Science, Optics, Micro Electro-Mechanical System, and Infor mation Technology (ICACOMIT); 2015 Oct 29-30; Bandung, Indonesia: IEEE; 2015:181-85.
[6] Adi K, Pujiyanto S, Nurhayati OD, et al. Beef Quality Identifica tion Using Color Analysis and K-nearest Neighbor Classification. 2015 4th International Conference on Instrumen tation, Communications, Information Technology, and Biomedical Engineering (ICICI-BME); 2015 Nov 2-3; Bandung, Indonesia: IEEE; 2015:180-4.
[7] Laurent B, Ousman B, Dzudie T,et al. Digital Camera Images Processing of Hard-to-Cook Beans. J Eng Tech Res, 2010; 2(9): 177 – 88.
[8] Garcia G, Suarez OD, Aranda JLE, et al. Learning Image Processing with Open CV. Birmingham: Packt Publishing Ltd; 2015
[9] Burger W, Burge MJ. Principles of Digital Image Processing: Fundamental Techniques. London: Springer-Verlag London Limited; 2009.
[10] Rao S. The Coffee Roaster's Compa nion. Canada: Scott Rao; 2014.
[11] Kaehler A, Bradski G. Learning OpenCV 3: Computer Vision in C++ with The OpenCV library. Tokyo: O'Reilly Media, Inc.; 2017.
[12] Gonzalez RC, Woods RE. Digital Image Processing. New Jersey: Prentice Hall; 2002.
[13] Sinnott K. The Art and Craft of Coffee: An Enthusiast's Guide to Selecting, Roasting, and Brewing Exquisite Coffee. Massachusetts: Quarry Books; 2011.
Downloads
Published
How to Cite
Issue
Section
License
กองบรรณาธิการวารสารวิชาการ มหาวิทยาลัยเทคโนโลยีราชมงคลกรุงเทพ มีความยินดีที่จะรับบทความจากอาจารย์ นักวิจัย นักวิชาการทั้งภายในและภายนอกมหาวิทยาลัย ในสาขาวิชาวิทยาศาสตร์และเทคโนโลยี ได้แก่ สาขาวิชาวิทยาศาสตร์ วิศวกรรมศาสตร์ และสาขาอื่นๆ ที่เกี่ยวข้อง รวมถึงสาขาต่างๆ ที่มีการบูรณาการข้ามศาสตร์ที่เกี่ยวข้องวิทยาศาสตร์และเทคโนโลยี ที่เขียนเป็นภาษาไทยหรือภาษาอังกฤษ ซึ่งผลงานวิชาการที่ส่งมาขอตีพิมพ์ต้องไม่เคยเผยแพร่ในสิ่งพิมพ์อื่นใดมาก่อน และต้องไม่อยู่ในระหว่างการพิจารณาของวารสารอื่น
การละเมิดลิขสิทธิ์ถือเป็นความรับผิดชอบของผู้ส่งบทความโดยตรง บทความที่ได้รับการตีพิมพ์ต้องผ่านการพิจารณากลั่นกรองคุณภาพจากผู้ทรงคุณวุฒิและได้รับความเห็นชอบจากกองบรรณาธิการ
ข้อความที่ปรากฏอยู่ในแต่ละบทความที่ตีพิมพ์ในวารสารวิชาการเล่มนี้ เป็นความคิดเห็นส่วนตัวของผู้เขียนแต่ละท่าน ไม่เกี่ยวข้องกับมหาวิทยาลัยเทคโนโลยีราชมงคลกรุงเทพแต่อย่างใด ความรับผิดชอบด้านเนื้อหาและการตรวจร่างบทความแต่ละบทความเป็นของผู้เขียนแต่ละท่าน หากมีความผิดพลาดใดๆ ผู้เขียนแต่ละท่านจะต้องรับผิดชอบบทความของตนเองแต่ผู้เดียว
กองบรรณาธิการขอสงวนสิทธิ์มิให้นำเนื้อหา หรือข้อคิดเห็นใดๆ ของบทความในวารสารวิชาการ มหาวิทยาลัยเทคโนโลยีราชมงคลกรุงเทพ ไปเผยแพร่ก่อนได้รับอนุญาตจากกองบรรณาธิการ อย่างเป็นลายลักษณ์อักษร ผลงานที่ได้รับการตีพิมพ์ถือเป็นลิขสิทธิ์ของวารสาร