DOI QR코드

DOI QR Code

Implementation of the Stone Classification with AI Algorithm Based on VGGNet Neural Networks

VGGNet을 활용한 석재분류 인공지능 알고리즘 구현

  • 최경남 (원광대학교 SW중심대학사업단)
  • Received : 2021.02.01
  • Accepted : 2021.03.12
  • Published : 2021.03.31

Abstract

Image classification through deep learning on the image from photographs has been a very active research field for the past several years. In this paper, we propose a method of automatically discriminating stone images from domestic source through deep learning, which is to use Python's hash library to scan 300×300 pixel photo images of granites such as Hwangdeungseok, Goheungseok, and Pocheonseok, performing data preprocessing to create learning images by examining duplicate images for each stone, removing duplicate images with the same hash value as a result of the inspection, and deep learning by stone. In addition, to utilize VGGNet, the size of the images for each stone is resized to 224×224 pixels, learned in VGG16 where the ratio of training and verification data for learning is 80% versus 20%. After training of deep learning, the loss function graph and the accuracy graph were generated, and the prediction results of the deep learning model were output for the three kinds of stone images.

사진 이미지에서의 딥러닝 학습을 통한 이미지 분류는 지난 수년간 매우 활발한 연구 분야로 자리하고 있다. 본 논문에서는 국내산 석재 이미지로부터 딥러닝 학습을 통해 자동으로 석재를 판별하는 방법을 제안한다. 제안된 방법은 300×300픽셀의 황등석, 고흥석, 포천석의 사진 이미지들을 파이썬의 해시 라이브러리를 이용하여 석재별 중복된 이미지를 검사하고, 검사 결과로 해시값이 같은 중복된 이미지를 제거하여 석재별 딥러닝 학습이미지를 만드는 데이터 전처리 과정을 수행한다. 또한 미리 학습된 모델인 VGGNet을 활용하기 위해 학습된 이미지 사이즈인 224×224픽셀로 석재별 이미지들의 사이즈를 재조정하고, 학습데이터와 학습을 위한 검증데이터의 비율을 80% 대 20%로 나누어 딥러닝 학습을 수행한다. 딥러닝 학습을 수행한 후 손실 함수 그래프와 정확도 그래프를 출력하고 세 종류의 석재 이미지에 대해 딥러닝 학습 모델의 예측 결과를 출력하였다.

Keywords

References

  1. 전소연, 박종화, 윤상병, 김영수, 이용성, 전지혜, "딥러닝 기반 영상 분석 알고리즘을 이용한 실시간 작업자 안전관리 시스템 개발," 스마트미디어저널, 제9권 제3호, 25-30쪽, 2020년 9월 https://doi.org/10.30693/SMJ.2020.9.3.25
  2. 노순국, "인공지능 기반 구글넷 딥러닝과 IoT를 이용한 의류 분류," 스마트미디어저널, 제9권 제3호, 41-45쪽, 2020년 9월 https://doi.org/10.30693/smj.2020.9.3.41
  3. 이병우, 이우창, 채승완, 김동현, 이충권, "딥러닝 기반 이미지 특징 추출 모델을 이용한 유사 디자인 검출에 대한 연구," 스마트미디어저널, 제9권 제4호, 162-169쪽, 2020년 12월
  4. 오렐리앙 제롱, 박해선, "핸즈온 머신러닝: 사이킷런, 케라스, 텐서플로2를 활용한 머신러닝," 한빛미디어, 2020년 5월
  5. Gao Huang, Zhuang Liu, Laurens van der Maaten, Kilian Q. Weinberger, "Densely Connected Convolutional Networks," Computer Vision and Pattern Recognition, Aug. 2017.
  6. Karen Simon and Andrew Zisserman, "Very Deep Convolutional Networks for Large-Scale Image Recognition," Conference paper at ICLR, 2015.
  7. Francois Chollet, "Xception: Deep Learning with Depthwise Separable Convolutions," Computer Vision and Pattern Recognition, Apr. 2017.
  8. 박응용, "Do it! 점프 투 파이썬", 이지스퍼블리싱, 2019년 6월
  9. Github Source(2020), http://github.com/Finfra/AI_Vision (accessed Dec., 2020).
  10. keras 공식 한글 문서: https://keras.io/ko/ (accessed Dec., 2020).
  11. Convolutional neural network의 이해, http://deeplearning.stanford.edu/tutorial/supervised/FeatureExtractionUsingConvolution/(accessed Dec. 2020).
  12. NNA(Neural Network Architecture) 소개 및 특성 비교: http://blog.naver.com/PostView.nhn?blogId=laonple&logNo=220654387455(accessed Dec. 2020).
  13. Gao Huang, Zhuang Liu, Laurens van der Maaten, Kilian Q. Weinberger, "Densely Connected Convolutional Networks," Computer Vision and Pattern Recognition, Aug. 2017.
  14. Francois Chollet, "Xception: Deep Learning with Depthwise Separable Convolutions," Computer Vision and Pattern Recognition, Apr. 2017.
  15. A. Krizhevsky, I. Sutskever, and G. E. Hinton, "ImageNet classification with deep convolutional neural networks," Advances in Neural Information Processing Systems, vol. 25, pp. 1106-1114, 2012.