{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2025,10,11]],"date-time":"2025-10-11T01:48:26Z","timestamp":1760147306498,"version":"build-2065373602"},"reference-count":49,"publisher":"MDPI AG","issue":"3","license":[{"start":{"date-parts":[[2023,1,25]],"date-time":"2023-01-25T00:00:00Z","timestamp":1674604800000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/"}],"funder":[{"name":"Kyushu Institute of Technology\u2014National Taiwan University of Science and Technology Joint Research Program","award":["Kyutech-NTUST-111-04"],"award-info":[{"award-number":["Kyutech-NTUST-111-04"]}]}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["Sensors"],"abstract":"<jats:p>In the last decade, deep learning has enjoyed its spotlight as the game-changing addition to smart farming and precision agriculture. Such development has been predominantly observed in developed countries, while on the other hand, in developing countries most farmers especially ones with smallholder farms have not enjoyed such wide and deep adoption of this new technologies. In this paper we attempt to improve the image classification part of smart farming and precision agriculture. Agricultural commodities tend to possess certain textural details on their surfaces which we attempt to exploit. In this work, we propose a deep learning based approach called Selective Context Adaptation Network (SCANet). SCANet performs feature enhancement strategy by leveraging level-wise information and employing context selection mechanism. In exploiting contextual correlation feature of the crop images our proposed approach demonstrates the effectiveness of the context selection mechanism. Our proposed scheme achieves 88.72% accuracy and outperforms the existing approaches. Our model is evaluated on the cocoa bean dataset constructed from the real cocoa bean industry scene in Indonesia.<\/jats:p>","DOI":"10.3390\/s23031358","type":"journal-article","created":{"date-parts":[[2023,1,26]],"date-time":"2023-01-26T01:30:30Z","timestamp":1674696630000},"page":"1358","update-policy":"https:\/\/doi.org\/10.3390\/mdpi_crossmark_policy","source":"Crossref","is-referenced-by-count":1,"title":["SCANet: Implementation of Selective Context Adaptation Network in Smart Farming Applications"],"prefix":"10.3390","volume":"23","author":[{"ORCID":"https:\/\/orcid.org\/0000-0002-2421-3313","authenticated-orcid":false,"given":"Xanno","family":"Sigalingging","sequence":"first","affiliation":[{"name":"Department of Electronic and Computer Engineering, National Taiwan University of Science and Technology, Taipei City 10607, Taiwan"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-7601-6039","authenticated-orcid":false,"given":"Setya Widyawan","family":"Prakosa","sequence":"additional","affiliation":[{"name":"Department of Electronic and Computer Engineering, National Taiwan University of Science and Technology, Taipei City 10607, Taiwan"}]},{"ORCID":"https:\/\/orcid.org\/0000-0001-7197-9912","authenticated-orcid":false,"given":"Jenq-Shiou","family":"Leu","sequence":"additional","affiliation":[{"name":"Department of Electronic and Computer Engineering, National Taiwan University of Science and Technology, Taipei City 10607, Taiwan"}]},{"given":"He-Yen","family":"Hsieh","sequence":"additional","affiliation":[{"name":"Department of Electronic and Computer Engineering, National Taiwan University of Science and Technology, Taipei City 10607, Taiwan"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-4968-3450","authenticated-orcid":false,"given":"Cries","family":"Avian","sequence":"additional","affiliation":[{"name":"Department of Electronic and Computer Engineering, National Taiwan University of Science and Technology, Taipei City 10607, Taiwan"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-9135-5864","authenticated-orcid":false,"given":"Muhamad","family":"Faisal","sequence":"additional","affiliation":[{"name":"Department of Electronic and Computer Engineering, National Taiwan University of Science and Technology, Taipei City 10607, Taiwan"}]}],"member":"1968","published-online":{"date-parts":[[2023,1,25]]},"reference":[{"key":"ref_1","doi-asserted-by":"crossref","first-page":"773","DOI":"10.1007\/s11042-020-09740-6","article-title":"An efficient IoT based smart farming system using machine learning algorithms","volume":"80","author":"Rezk","year":"2021","journal-title":"Multimed. Tools Appl."},{"key":"ref_2","doi-asserted-by":"crossref","unstructured":"Prakosa, S.W., Faisal, M., Adhitya, Y., Leu, J.S., K\u00f6ppen, M., and Avian, C. (2021). Design and Implementation of LoRa Based IoT Scheme for Indonesian Rural Area. Electronics, 10.","DOI":"10.3390\/electronics10010077"},{"key":"ref_3","doi-asserted-by":"crossref","first-page":"105587","DOI":"10.1109\/ACCESS.2020.3000175","article-title":"Smart Farming Becomes Even Smarter With Deep Learning\u2014A Bibliographical Analysis","volume":"8","year":"2020","journal-title":"IEEE Access"},{"key":"ref_4","unstructured":"Kumari, B.S., Kumar, R.A., Abhijeet, M., and Kumar, S.P. (2020). Identification, classification & grading of fruits using machine learning & computer intelligence: A review. J. Ambient. Intell. Humaniz. Comput., 1\u201311."},{"key":"ref_5","doi-asserted-by":"crossref","unstructured":"Zawbaa, H.M., Hazman, M., Abbass, M., and Hassanien, A.E. (2014, January 14\u201316). Automatic fruit classification using random forest algorithm. Proceedings of the 2014 14th International Conference on Hybrid Intelligent Systems, Kuwait, Kuwait.","DOI":"10.1109\/HIS.2014.7086191"},{"key":"ref_6","unstructured":"Wayan, A.I., Mohamad, S., Andri, K., and Yunindri, W. (2010, January 4\u20137). Determination of Cocoa Bean Quality with Image Processing and Artificial Neural Network. Proceedings of the AFITA, Bogor, Indonesia."},{"key":"ref_7","doi-asserted-by":"crossref","first-page":"1027","DOI":"10.1109\/TII.2018.2875149","article-title":"Automatic Fruit Classification Using Deep Learning for Industrial Applications","volume":"15","author":"Hossain","year":"2019","journal-title":"IEEE Trans. Ind. Inform."},{"key":"ref_8","doi-asserted-by":"crossref","first-page":"e13175","DOI":"10.1111\/jfpe.13175","article-title":"Sensing fermentation degree of cocoa (Theobroma cacao L.) beans by machine learning classification models based electronic nose system","volume":"42","author":"Tan","year":"2019","journal-title":"J. Food Process. Eng."},{"key":"ref_9","doi-asserted-by":"crossref","first-page":"100009","DOI":"10.1016\/j.array.2019.100009","article-title":"The Digitisation of Agriculture: A Survey of Research Activities on Smart Farming","volume":"3\u20134","author":"Bacco","year":"2019","journal-title":"Array"},{"key":"ref_10","doi-asserted-by":"crossref","first-page":"207672","DOI":"10.1109\/ACCESS.2020.3038184","article-title":"Using Fuzzy Mask R-CNN Model to Automatically Identify Tomato Ripeness","volume":"8","author":"Huang","year":"2020","journal-title":"IEEE Access"},{"key":"ref_11","doi-asserted-by":"crossref","first-page":"2995","DOI":"10.1109\/LRA.2018.2849514","article-title":"Fruit Quantity and Ripeness Estimation Using a Robotic Vision System","volume":"3","author":"Halstead","year":"2018","journal-title":"IEEE Robot. Autom. Lett."},{"key":"ref_12","doi-asserted-by":"crossref","first-page":"1","DOI":"10.1109\/TIM.2020.3011334","article-title":"Development of an Optical Smart Portable Instrument for Fruit Quality Detection","volume":"70","author":"Abasi","year":"2021","journal-title":"IEEE Trans. Instrum. Meas."},{"key":"ref_13","doi-asserted-by":"crossref","unstructured":"Luo, L., Chang, Q., Wang, Q., and Huang, Y. (2021). Identification and Severity Monitoring of Maize Dwarf Mosaic Virus Infection Based on Hyperspectral Measurements. Remote Sens., 13.","DOI":"10.3390\/rs13224560"},{"key":"ref_14","doi-asserted-by":"crossref","unstructured":"Khan, I.H., Liu, H., Li, W., Cao, A., Wang, X., Liu, H., Cheng, T., Tian, Y., Zhu, Y., and Cao, W. (2021). Early Detection of Powdery Mildew Disease and Accurate Quantification of Its Severity Using Hyperspectral Images in Wheat. Remote Sens., 13.","DOI":"10.3390\/rs13183612"},{"key":"ref_15","doi-asserted-by":"crossref","unstructured":"Li, S., Jiao, J., and Wang, C. (2021). Research on Polarized Multi-Spectral System and Fusion Algorithm for Remote Sensing of Vegetation Status at Night. Remote Sens., 13.","DOI":"10.3390\/rs13173510"},{"key":"ref_16","doi-asserted-by":"crossref","unstructured":"He, K., Zhang, X., Ren, S., and Sun, J. (2016, January 27\u201330). Deep Residual Learning for Image Recognition. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Las Vegas, NV, USA.","DOI":"10.1109\/CVPR.2016.90"},{"key":"ref_17","doi-asserted-by":"crossref","first-page":"104534","DOI":"10.1016\/j.chemolab.2022.104534","article-title":"Efficacy of Transfer Learning-based ResNet models in Chest X-ray image classification for detecting COVID-19 Pneumonia","volume":"224","author":"Showkat","year":"2022","journal-title":"Chemom. Intell. Lab. Syst."},{"key":"ref_18","doi-asserted-by":"crossref","first-page":"110749","DOI":"10.1016\/j.chaos.2021.110749","article-title":"Using handpicked features in conjunction with ResNet-50 for improved detection of COVID-19 from chest X-ray images","volume":"145","author":"Rajpal","year":"2021","journal-title":"Chaos Solitons Fractals"},{"key":"ref_19","unstructured":"Balas, V.E., Hassanien, A.E., Chakrabarti, S., and Mandal, L. (2020, January 25\u201327). Detection of COVID-19 Using ResNet on CT Scan Image. Proceedings of the International Conference on Computational Intelligence, Data Science and Cloud Computing, Kolkata, India."},{"key":"ref_20","doi-asserted-by":"crossref","unstructured":"Zhao, Y., Zhang, X., Feng, W., and Xu, J. (2022). Deep Learning Classification by ResNet-18 Based on the Real Spectral Dataset from Multispectral Remote Sensing Images. Remote Sens., 14.","DOI":"10.3390\/rs14194883"},{"key":"ref_21","doi-asserted-by":"crossref","unstructured":"Gao, L., Huang, Y., Zhang, X., Liu, Q., and Chen, Z. (2022). Prediction of Prospecting Target Based on ResNet Convolutional Neural Network. Appl. Sci., 12.","DOI":"10.3390\/app122211433"},{"key":"ref_22","doi-asserted-by":"crossref","unstructured":"Thum, G.W., Tang, S.H., Ahmad, S.A., and Alrifaey, M. (2020). Toward a Highly Accurate Classification of Underwater Cable Images via Deep Convolutional Neural Network. J. Mar. Sci. Eng., 8.","DOI":"10.3390\/jmse8110924"},{"key":"ref_23","doi-asserted-by":"crossref","first-page":"74961","DOI":"10.1109\/ACCESS.2022.3191328","article-title":"Deep Learning Based Classification of Military Cartridge Cases and Defect Segmentation","volume":"10","author":"Tural","year":"2022","journal-title":"IEEE Access"},{"key":"ref_24","doi-asserted-by":"crossref","unstructured":"Bai, C.H., Prakosa, S.W., Hsieh, H.Y., Leu, J.S., and Fang, W.H. (2021, January 28\u201330). Progressive Contextual Excitation for Smart Farming Application. Proceedings of the International Conference on Computer Analysis of Images and Patterns, Salerno, Italy.","DOI":"10.1007\/978-3-030-89128-2_32"},{"key":"ref_25","doi-asserted-by":"crossref","unstructured":"Rajak, P., Lachure, J., and Doriya, R. (2022, January 8\u20139). CNN-LSTM-based IDS on Precision Farming for IIoT data. Proceedings of the 2022 IEEE 4th International Conference on Cybernetics, Cognition and Machine Learning Applications (ICCCMLA), Goa, India.","DOI":"10.1109\/ICCCMLA56841.2022.9988997"},{"key":"ref_26","doi-asserted-by":"crossref","unstructured":"Hazarika, A., Sistla, P., Venkatesh, V., and Choudhury, N. (July, January 27). Approximating CNN Computation for Plant Disease Detection. Proceedings of the 2022 IEEE 46th Annual Computers, Software, and Applications Conference (COMPSAC), Los Alamitos, CA, USA.","DOI":"10.1109\/COMPSAC54236.2022.00175"},{"key":"ref_27","doi-asserted-by":"crossref","first-page":"90940","DOI":"10.1109\/ACCESS.2022.3200603","article-title":"Hybrid CNN Model for Classification of Rumex Obtusifolius in Grassland","volume":"10","author":"Ismail","year":"2022","journal-title":"IEEE Access"},{"key":"ref_28","doi-asserted-by":"crossref","first-page":"5189","DOI":"10.1109\/ACCESS.2019.2960873","article-title":"CRowNet: Deep Network for Crop Row Detection in UAV Images","volume":"8","author":"Bah","year":"2019","journal-title":"IEEE Access"},{"key":"ref_29","doi-asserted-by":"crossref","unstructured":"Goel, L., and Mishra, A. (2022, January 1\u20133). A Survey Of Recent Deep Learning Algorithms Used In Smart Farming. Proceedings of the 2022 IEEE Region 10 Symposium (TENSYMP), Mumbai, India.","DOI":"10.1109\/TENSYMP54529.2022.9864477"},{"key":"ref_30","doi-asserted-by":"crossref","first-page":"112066","DOI":"10.1109\/ACCESS.2022.3216285","article-title":"Crop Disease Recognition Based on Modified Light-Weight CNN with Attention Mechanism","volume":"10","author":"Liu","year":"2022","journal-title":"IEEE Access"},{"key":"ref_31","doi-asserted-by":"crossref","unstructured":"Adhitya, Y., Prakosa, S.W., K\u00f6ppen, M., and Leu, J.S. (2020). Feature Extraction for Cocoa Bean Digital Image Classification Prediction for Smart Farming Application. Agronomy, 10.","DOI":"10.3390\/agronomy10111642"},{"key":"ref_32","doi-asserted-by":"crossref","first-page":"2242","DOI":"10.1109\/TII.2020.2979237","article-title":"Aerial Visual Perception in Smart Farming: Field Study of Wheat Yellow Rust Monitoring","volume":"17","author":"Su","year":"2021","journal-title":"IEEE Trans. Ind. Inform."},{"key":"ref_33","doi-asserted-by":"crossref","first-page":"17608","DOI":"10.1109\/JSEN.2021.3049471","article-title":"Unmanned Aerial Vehicles in Smart Agriculture: Applications, Requirements, and Challenges","volume":"21","author":"Maddikunta","year":"2021","journal-title":"IEEE Sens. J."},{"key":"ref_34","doi-asserted-by":"crossref","first-page":"105100","DOI":"10.1109\/ACCESS.2019.2932119","article-title":"Unmanned Aerial Vehicles in Agriculture: A Review of Perspective of Platform, Control, and Applications","volume":"7","author":"Kim","year":"2019","journal-title":"IEEE Access"},{"key":"ref_35","doi-asserted-by":"crossref","unstructured":"Wang, L., Huang, X., Li, W., Yan, K., Han, Y., Zhang, Y., Pawlowski, L., and Lan, Y. (2022). Progress in Agricultural Unmanned Aerial Vehicles (UAVs) Applied in China and Prospects for Poland. Agriculture, 12.","DOI":"10.3390\/agriculture12030397"},{"key":"ref_36","doi-asserted-by":"crossref","unstructured":"Hafeez, A., Husain, M.A., Singh, S., Chauhan, A., Khan, M.T., Kumar, N., Chauhan, A., and Soni, S. Implementation of drone technology for farm monitoring & pesticide spraying: A review. Inf. Process. Agric., 2022. in press.","DOI":"10.1016\/j.inpa.2022.02.002"},{"key":"ref_37","unstructured":"Vaswani, A., Shazeer, N., Parmar, N., Uszkoreit, J., Jones, L., Gomez, A.N., Kaiser, L., and Polosukhin, I. (2017, January 4\u20139). Attention is All you Need. Proceedings of the NeurIPS, Long Beach, CA, USA."},{"key":"ref_38","doi-asserted-by":"crossref","unstructured":"Wang, X., Girshick, R.B., Gupta, A., and He, K. (2018, January 18\u201323). Non-Local Neural Networks. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Salt Lake City, UT, USA.","DOI":"10.1109\/CVPR.2018.00813"},{"key":"ref_39","doi-asserted-by":"crossref","unstructured":"Lin, T., Doll\u00e1r, P., Girshick, R.B., He, K., Hariharan, B., and Belongie, S.J. (2017, January 21\u201326). Feature Pyramid Networks for Object Detection. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Honolulu, HI, USA.","DOI":"10.1109\/CVPR.2017.106"},{"key":"ref_40","unstructured":"Badan Standardisasi Nasional (BSN) (2008). Biji Kakao SNI 2323:2008 ICS 1.67.140.30 Kakao, Badan Standardisasi Nasional."},{"key":"ref_41","doi-asserted-by":"crossref","first-page":"610","DOI":"10.1109\/TSMC.1973.4309314","article-title":"Textural Features for Image Classification","volume":"3","author":"Haralick","year":"1973","journal-title":"IEEE Trans. Syst. Man Cybern."},{"key":"ref_42","doi-asserted-by":"crossref","unstructured":"Prakosa, S.W., Leu, J.S., Hsieh, H.Y., Avian, C., Bai, C.H., and V\u00edtek, S. (2022). Implementing a Compression Technique on the Progressive Contextual Excitation Network for Smart Farming Applications. Sensors, 22.","DOI":"10.3390\/s22249717"},{"key":"ref_43","doi-asserted-by":"crossref","first-page":"143824","DOI":"10.1109\/ACCESS.2021.3120379","article-title":"Corn Leaf Diseases Diagnosis Based on K-Means Clustering and Deep Learning","volume":"9","author":"Yu","year":"2021","journal-title":"IEEE Access"},{"key":"ref_44","doi-asserted-by":"crossref","first-page":"8887","DOI":"10.1007\/s00521-019-04228-3","article-title":"Maize leaf disease classification using deep convolutional neural networks","volume":"31","author":"Arivazhagan","year":"2019","journal-title":"Neural Comput. Appl."},{"key":"ref_45","doi-asserted-by":"crossref","first-page":"105456","DOI":"10.1016\/j.compag.2020.105456","article-title":"An optimized dense convolutional neural network model for disease recognition and classification in corn leaf","volume":"175","author":"Waheed","year":"2020","journal-title":"Comput. Electron. Agric."},{"key":"ref_46","doi-asserted-by":"crossref","first-page":"105146","DOI":"10.1016\/j.compag.2019.105146","article-title":"Research on deep learning in apple leaf disease recognition","volume":"168","author":"Zhong","year":"2020","journal-title":"Comput. Electron. Agric."},{"key":"ref_47","doi-asserted-by":"crossref","unstructured":"Liu, B., Zhang, Y., He, D., and Li, Y. (2018). Identification of Apple Leaf Diseases Based on Deep Convolutional Neural Networks. Symmetry, 10.","DOI":"10.3390\/sym10010011"},{"key":"ref_48","doi-asserted-by":"crossref","first-page":"105","DOI":"10.1007\/s12530-019-09289-2","article-title":"Artificial bee colony optimization (ABC) for grape leaves disease detection","volume":"11","author":"Andrushia","year":"2020","journal-title":"Evol. Syst."},{"key":"ref_49","doi-asserted-by":"crossref","first-page":"e12569","DOI":"10.1111\/exsy.12569","article-title":"Entropy-controlled deep features selection framework for grape leaf diseases recognition","volume":"39","author":"Adeel","year":"2022","journal-title":"Expert Syst."}],"container-title":["Sensors"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/www.mdpi.com\/1424-8220\/23\/3\/1358\/pdf","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,10,10]],"date-time":"2025-10-10T18:15:43Z","timestamp":1760120143000},"score":1,"resource":{"primary":{"URL":"https:\/\/www.mdpi.com\/1424-8220\/23\/3\/1358"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2023,1,25]]},"references-count":49,"journal-issue":{"issue":"3","published-online":{"date-parts":[[2023,2]]}},"alternative-id":["s23031358"],"URL":"https:\/\/doi.org\/10.3390\/s23031358","relation":{},"ISSN":["1424-8220"],"issn-type":[{"type":"electronic","value":"1424-8220"}],"subject":[],"published":{"date-parts":[[2023,1,25]]}}}